Simulation May Be the Missing Piece Connecting General-Purpose Models and Embodied AI
Published:
This post supports English / 中文 switching via the site language toggle in the top navigation.
One question has been on my mind lately. Why is it still so hard to put data from general-purpose models to work in embodied AI and get data flowing between the two?
In embodied AI, much of the work on reinforcement learning and imitation learning still happens within small circles. Neither approach has achieved the kind of generalization we see in language models. Yet I think the way to connect these fields is already in front of us: simulation.
Step back from robotics for a moment and look at how general-purpose models developed. The same underlying logic runs through both.
1. Sandboxes and rewards: how models already learn by interacting with an environment
General-purpose models rely heavily on reinforcement learning to develop skills such as calling tools and executing code. The ingredients are simple: an isolated sandbox, an environment the model can interact with, and a reward we can define. With enough trial and error, we can train the particular skill we want to improve.
Carry that logic over to the physical world and a simulator becomes the robot’s code sandbox. A model can “call” its body much as it calls a tool, and learn to interact with the physical world through measurable rewards in simulation.
2. Where does the data come from? Models can already generate it offline
Many people see a shortage of data as the bottleneck in embodied AI. Consider what today’s models can already do, though. They can generate high-quality data themselves.
One approach has worked well for us. We keep refining what we ask of a model until it generates a good batch of data offline, then use that batch for training. The model already has the ability to get it right. For now, it takes considerable human effort to guide it and set constraints. It reminds me of the GPT-3.5 days, when we racked our brains over prompt engineering to draw out what the model could do.
As the underlying models grow more capable, I expect them to need less and less of that painstaking prompting. They’ll be able to generate good data on their own.
3. Can a model pull itself up by its bootstraps? Being the referee is always easier than being the athlete
When a model generates its own data and gives itself a score, an obvious objection comes up. How can it make any progress by grading its own work?
The rules, constraints, and evaluation criteria that people set are themselves an input from outside the model. More importantly, in any field, it’s always easier to be the referee than the athlete. You can appreciate a piece of music or taste a dish long before you can play the piece or cook the dish yourself. Likewise, it’s much easier for a model to judge whether a robot finished a task and whether its movements made sense than to generate the low-level actions that control the robot.
This is a case of training fast reactions through slow thinking, trading time for room to maneuver. Working offline in simulation, a general-purpose model can take its time reasoning through possibilities, generating examples, and choosing which ones to keep. That slow work eventually becomes muscle memory for an embodied model acting in the physical world.
4. Where things stand and what could break the bottleneck
General-purpose models already benefit from a mature training loop that brings together sandboxes, offline data generation and filtering, and reinforcement learning. In embodied AI, that way of working is still in its infancy.
I think we’ll finally break the data bottleneck in embodied AI when simulation lets us put general-purpose models’ ability to generate and judge data offline to work for robots.
