Boston Dynamics š¤š: Studying Athletic IntelligenceĀ
The acrobatic dance videos are flashy, but what are the actual technical breakthroughs? What is happening to the Korean robotics industry?
The robotics company that has a knack for viral technology videos showcasingĀ little things robots can do,Ā parkour,Ā bullying robots, andĀ more. A central tenet of Boston Dynamics is the idea of athletic intelligence ā movement patterns that are robust, flexible, and maybe even human. These videos and technologies have gotten to the point where the mostĀ popular technology entertainer got a copy and reviewed it, they are for sale, and accessible. The most recent video was trying to showcase a newĀ humanĀ style of movement (below).Ā
Their focus on athletic intelligence really helped me understand the company, where it fits in with their videos, and why the owners donāt stick around. Boston Dynamics uses machine learning and artificial intelligence as a tool in an engineering stack, rather than throwing it at every sub-problem they encounter.
In this issue we:
clear up the history of Boston Dynamics (it isnāt a government contractor),
showcase the breakthroughs in their so-calledĀ Athletic Intelligence,
andĀ discuss what is next for the Hyundai subsidiary.
What is Boston Dynamics
Boston Dynamics ditched all DARPA contracts in 2014 (they were started with DARPA seed funding, but tons ofĀ technology we use was!) They have a somewhat convoluted history of buyers and sellers including Google, Softbank, and now Hyundaiā I think this is mostly a disconnect between their long-term goals and the shorter-term values of markets. The long term goal of Boston Dynamics is to create a demonstration of athletic intelligence and sell that to people who can solve other cognitive problems (planning, logistics, interaction).Ā
Athletic intelligence is the goal of making the combo of robustness and velocity possible in robotics. If this does not seem impressive to you, check out someĀ historical examplesĀ of the best robotics teams in competition.
Something I hear a lot (and I have perpetuated part of this idea) is that their technologies are partially funded by and fully designed for military applications. While their robots seem robust in their own environment, they do not fill many trends of what 21st contrary warfare will look like: remote, stealth, and robust when damaged (their robots are loud ā those big hydraulic actuators are not sneaking up on you!). For a full history, see Wikipedia,Ā their about page, anotherĀ longer historyĀ write up, or some more personal comments fromĀ RaibertĀ in a Boston paper.Ā
All in all, they have stayed focused on their goal of pushing the limits of legged locomotion by jointly developing hardware and software capabilities. They have struggled with how to monetize this advancement.
Athletic Intelligence with Machine Intelligence
In this section, I highlight how their magic happens. The hardware development they have done is top-notch, but the machine intelligence in the part that isĀ potentially scalable to many, many more platforms, so I focus on it. In short, their learning and control infrastructure is not revolutionary compared to the state of robotics research, but it is well-developed and highly-functional. Letās hope for Boston Dynamicsā future that their control methodology is not too linked to their hardware platform and that they can repeat the control engineering.
Broadly, athletic intelligence entails developing low-level control and agility in locomotion above all else. This agile robotic motionĀ is the core of the companies value. They study how mechanical pieces like hydraulics should be optimized to improve the control performance. They integrate precisely the sensors they need (LiDAR, motor encoders, IMUs, etc.) to solve the task and a many different computations.Ā
At the NeurIPs 2020Ā Real-world RL workshop,Ā they presented the high level of their approach (videoĀ here). The slide on control methodology summarizes their toolset: model-based, precomputation, and careful engineering (the piece that research labs miss).
Model-based
All models are wrong, but some are usefulĀ is the gist of their slide here.Ā
In reality, there is an interesting interplay because they can model some aspects of their robotics (e.g. one type of hydraulic actuator) in great detail, but as they start to put pieces together the cumulative model has gaps ā and it is impossible to know exactly where.Ā
The model is also a great tool where humans are going to be in the loop (can interpret results), but there are no laws that say model-based methods are more effective. Theyāre using it closely with the second point on the slide.
Precomputation
With model-based is the pairing, precomputation, that together make the tool of simulation. Simulation is the future of robotics (infinitely cheaper than running hardware experiments, especially in pandemics), and they seem to have leveraged it to great effect.Ā
The conversations at the real-world RL workshop highlighted the extent to which they leverage model predictive control (MPC), which is known as being one of the most computationally heavy approaches to control these days. Though, recent work has been shifting for MPC to be solved offline, and then run a simpler version online (they did not confirm this, but the answers point to at least something conceptually similar). In practice, this becomes: collect a lot of states from real robot trials, then solve for an optimal action at every possible state offline and run the controller reading those actions (really fast).
Rigorous logging
They use data-driven to mean a different thing here, āthe data doesnāt lie,ā which is actually much more common in EE and ME circles (pre deep learning hype, Choo Choo).
Something I think a lot of areas of RL could learn more from is analyzing exactly what happened in every trial. It is one thing to know that the agent was wrong, but figuring out why it was wrong and how the errors propagate over time is very important. Boston Dynamics is first and foremost not a machine learning company, and this is matched in their approach.Ā
Making the new robot dance move
Itās worth illustrating how they used motion capture, imitation learning, and rich simulations to made their recent video. To elaborate in more detail to what is in the figure below, they have human actors create movement primitives in recording environments (or specify movements in a physics simulator, which doesnāt seem very athletic), use techniques from imitation learning to generate a policy to match the motion, and then have the simulators set up correctly so the new policy transfers to the robot easily.
FromĀ IEEE Spectrum:
eventually we were able to use that toolchain to create one of Atlasā ballet moves in just one day, the day before we filmed, and it worked. So itās not hand-scripted or hand-coded, itās about having a pipeline that lets you take a diverse set of motions, that you can describe through a variety of different inputs, and push them through and onto the robot.
I only have one idea for what the bigger picture could be: pre-programming motions that a customer wants for a specific industry engagement. You want your Spot-with-arm fleet to be able to pick up packages of a certain dimension ā let us see if we canĀ validateĀ that motion and update your robot. Having a framework where the designers are confident enough in the output that they can ship it via software update would sound a lot like why so many people love their Teslas (software updates on hardware donāt really exist).
They put a lot of engineering time into these movements. Itās worth thinking more about what bigger picture motivation is here (it cannot just be videos). If they are trying to sell the robot in any human-interactive format, a richer set of movements could be very valuable, but nothing to date points to this. The human-style dance was likely pushing the limits of a package, maybe the new one they are announcing on February 2nd.
Artistic Emphasis and the Uncanny Valley
Making robots look human is something to be wary of. Of course, human movement is dynamic, elegant, and extremely efficient, but it does not mean that it is ever optimal with different actuators. HumanĀ styleĀ also would carry immense cultural baggage and unintended effects.Ā
This is not to say that I am against robots with humanĀ functionĀ ā society is structured around beings with our legs and height navigating buildings and solving routine tasks easily. What I propose and hope for is robots that take modules of human movement (such as using two legs or having arms with a hand and wrist-like entity), but do not target total emulation.Ā
If youāre curious about this, read myĀ piece on the uncanny valley.
Leveraging more learning
The slide with opportunities for learning is on point. Continual learning, model accuracy improvement, learning-based hardware optimization, and engineering assistance are all in the set of problems that learning can be helpful with today.Ā
Continual learning fits very nicely with model-free RL ā it is a system designed to learn from sparse rewards with no goal of transfer to other tasks.
Model accuracy in the real world comes down to fitting data to a disturbance, or the delta between the dynamics models they already optimized to get the initial agility and the observations from the onboard sensors. Simulation and physics to get the initial model, data, and machine learning to update it to match recent reality.
Hardware optimization with ML: humans are really bad at fitting multi-objective functions. When you are making physical devices the cost increases via materials and time, let machines do this for you (seeĀ something I am working on.
Engineering descent. I love their term, I think this is justĀ filling in the cracksĀ so to say, and a nod that learningĀ canĀ be useful, even for a company so grounded in real deliverables.Ā
Whatās next for Boston (Hyundai) Dynamics?
South Korea has a set ofĀ cultural valuesĀ making it ripe for the proliferation of robotic agents in multiple spheres of society. AnĀ analysis of a report (I know, double reference, painful, but so is doing industry research on robotics ā itās all hidden) from theĀ International Federation on Robotics concluded:
South Korea is the most automated nation on earth.
Korean Spirituality & Robots
More interestingly, as a Korean engineerĀ claims:
Any kind of non-human being might have a spiritual or super power beyond human capacity.
This is just one view, but history points to a set of values that are more open and optimistic of other beings. This feeling is definitely grounded in animals, but a small portion translating to robots can substantially restructure the society.
The story ofĀ Dangun, the first king of modern South Korea, and Koreaās affinity for animals and potentially spiritual non-human creatures is fantastic:
A tiger and a bear prayed to Hwanung that they might become human. Upon hearing their prayers, Hwanung gave them twenty cloves of garlic and a bundle of mugwort, ordering them to eat only this sacred food and remain out of the sunlight for 100 days. The tiger gave up after about twenty days and left the cave. However, the bear persevered and was transformed into a woman. The bear and the tiger are said to represent two tribes that sought the favor of the heavenly prince.
The bear-woman (Ungnyeo; ģ ė / Hanja: ē儳) was grateful and made offerings to Hwanung. However, she lacked a husband, and soon became sad and prayed beneath a "divine birch" tree (Korean: ģ ėØģ; Hanja: ē„ęŖęع; RR: shindansu) to be blessed with a child. Hwanung, moved by her prayers, took her for his wife and soon she gave birth to a son named Dangun Wanggeom.
From this, Korea has more openness to non-human creatures and the values they can bring. What a great change ā Americans canāt get away from the quagmire of social media regulation and thinking their speakers are listening.Ā
Korean Practicality & Robots
Hyuandai recently acquired Boston DynamicsĀ (and fromĀ The Verge) andĀ Bloomberg shows the company is not consistently profitable. Repeated sales and low profitability is not a good sign for a company (and maybe being inĀ Softbankās fundĀ is a bad sign for companies), soĀ whatās next?Ā
So why did Hyundai buy them? To use the robots for manufacturing. This is a big shift that I think most people didnāt see coming (flashy, agile robots are at a first glance a best fit for high-end consumer and niche products).Ā Hyundai Heavy Machinery entered the market for selling many classes of robots in 2020Ā and they claim to beĀ Korea's number 1 robot manufacturer. Some important context is that Korea already has a high concentration of industrial robots per their population (see this background on Korea's Robotics Industry).Ā
The locomotion primitives Boston Dynamics has made in Spot and Atlas really are things people can build on. Athletic intelligence in manufacturing translates into robustness, which is extremely valuable. It is just less publicly-exciting than agility.
New products
There is a newĀ product line announcement for February 2ndĀ expanding Spotās offerings. I expect this to be variants on hardware (think different arm attachments than just the single-arm showcased in videos) and different software packages that can solve tasks like exploration or more complicated locomotion challenges.
In interviews and in product, Boston Dynamics really seems like more of a research lab pushing the limits of synergized hardware-software design for legged locomotion. I like this from what they do for the field, but in reality, I expect more monetization for a few years and maybe less publicity as they become an industry research lab.
Wrap
Boston Dynamics is an important company driving excitement and investment in robotics. I would not invest in them, though, and that is okay. As an athlete, I am drawn to their ideals around athletic intelligence, but as a researcher, I am really more interested in practical intelligence. It doesnāt matter if a robot can do parkour if it cannot pick up a new object or make coffee. Hopefully, Hyundai adds a translational arm to their shiny new research organization.
Iām also thinking about re-branding this blog into something snappier. The themes wonāt change, but it could help with growth. Let me know if you have any comments.
I made aĀ new websiteĀ where you can learn about learning, robotics, and me.
If you want to support this: like, comment, orĀ reach out!