Part 2: Anticipation
In Part 1 we looked at how our body senses. It's a common belief that the brain sends signals to the body and the body then performs the action and it's intuitive but in reality that notion breaks down. I will set a premise first, Imagine you pick up a bolt that already has a nut on it, you hold it in your left hand, you loosen the nut with your right hand, and once the nut comes off you put both in a tray.
A person does this without thinking cause its simple. For a robot it turns out to be some of the hardest things we at Newlithic Robotics have tried, and the reasons why says a lot about what our bodies are doing out of sight.
We trained a pi0.5 policy for 100k steps, about three days of training, on roughly four hours of human demonstrations of exactly this task, collected with our own wearable grippers. On our arms it follows the human trajectories quite well, it reaches, it grasps, it brings the two hands together. And then it fails in the same few ways again and again.
None of those failures are about where the hand went in terms of trajectory following. They are about how hard to squeeze, how stiff to be, and in which direction. The bolt head is about 9.8mm across, and if you record the gripper jaw opening perfectly and train on that then you might think the gripper should close to 9.8 mm to hold the bolt, but that holds nothing. To hold it, the jaws have to be told to go further inside the head than the head allows, and the force you get comes from how far inside you ask them to go and how much the fingers bend. On our arms the fingers bend about 2 N for every millimeter, so the grip we were actually using pressed about 2.1 N on each side, and a quick calculation says that friction hold resists only about 8 mN m of twist before the head spins in the jaws. Our contact simulation found the same number on its own. Meanwhile the right hand, landing just off the nut as it closed, was pressing on the bolt with 15 to 47 N. That is ten to thirty times more than the left hand could hold.
So is this a data problem? You could make that argument, that four hours is not enough and we should collect thirty, with more variation, and the policy will learn it. I don't deny that, and for the aim it is probably right, our policy closes its jaws about an average error of 12mm from where the human's jaws closed in the same recordings, and more data should shrink that. But I think for this other part the answer is different, and we can actually measure why. We went through 1,077 of our recorded demonstrations, 4,620 turning strokes in all. While the right jaw is closed on the nut and turning, the two hands hold their relation to each other within about 0.7 mm in every direction, which is about as fine as we can measure. Nothing in that number says how stiff the hand was while it held still. A human pressing gently and a human pressing hard look exactly the same in the trajectory. The demonstration tells you where the hand went, it doesn't tell you how hard it pushed, and a model can't learn what was never recorded.
We also tried the obvious move of putting reinforcement learning on top of the policy. In simulation we let RL steer which plan pi0.5 produced, the way a few recent papers do. Out of 36 held-out starts the nut came off 5 times without it and 5 times with it. Changing the plan didn't help, because the plan wasn't what was failing.
So how does the body do it? Our body handles this in layers, and each layer has its own clock. The muscle itself acts like a spring the instant you push on it, with no signal at all. The stretch reflex closes a loop in the spinal cord in about 20 to 50 milliseconds. Anything the brain corrects on purpose takes 100 milliseconds or more.
But the layer I keep coming back to sits between those, in the brainstem, and it isn't a reflex. It doesn't happen after the disturbance, it happens before it. Stand up and raise your arm quickly, and the muscles in your legs and back fire about 50 milliseconds before the muscle that lifts the arm, so the push your own arm is about to make on your body is cancelled before it arrives. The motor cortex decides the movement, and much of the bracing that goes with it is written in the brainstem, from a copy of that plan. So if your robots aim was to be precise at some part of the movement then it needs to anticipate where the disturbance will come from and how the control will counter it.
My favorite example of this is what people call the waiter experiment. Hold a book on your palm and lift it off with your other hand, and the supporting arm stays perfectly still, because its muscles let go at exactly the right moment. If someone else lifts the book off your palm, your arm jumps up. The only difference is whether the disturbance was yours. When it is yours, the body already has the plan that causes it, and the plan is the warning.
That is almost exactly our unscrew problem. The disturbance on the left hand comes from the right hand's stroke, which our own system planned. My bet is that a person turning a nut firms up the holding hand just before each stroke, the same way grip force rises together with the load when you move something you are holding, with no lag, because it is predicted. In our demonstrations the left hand even turns its half of every stroke, about 55 degrees of a 110 degree stroke, so the human is not holding still at all, it is moving and bracing at the same time.
Which raises the question I really wanted to answer. How does the body learn that? You can't be born knowing when to stiffen your left hand for a nut. The answer, as far as the textbooks go, is that the reflex teaches it. The first time, the bracing is late, you get disturbed, the fast feedback loops catch it, and that correction is the lesson. With repetition the correction moves earlier, into the plan, until it happens before the disturbance. People can learn a brand new two-handed timing like the waiter's with practice, and patients whose cerebellum is damaged struggle to. Control engineers will recognize this as iterative control, where the feedback command on one try becomes part of the feedforward on the next, and the error shrinks try by try.
So could a robot learn it the same way? My first thought was that we would need to record stiffness from the human hand, but this suggests we don't. The robot can watch its own errors. But that left me with a question I couldn't get past, to measure an error you need a target. Our policy gives a trajectory that could be right or wrong. It has no idea that if the two hands are not on the same axis you twist the bolt instead of unscrewing the nut. I know that because I understand what unscrewing is. So yes, the robot could measure an error, but what should it measure?
The brain seems to split this into two different kinds of error. One is the outcome, did it work, did the nut come off. That needs context, and it is learned from reward. The other is much simpler, did what I planned happen? That one needs no idea of the task at all. There is a nice experiment where people were given a strategy that cancelled a visual distortion and hit the target perfectly, and the part of the brain that learns from prediction kept adapting anyway, dragging their aim off the target, because it only cares whether what happened matched what was predicted.
That second kind is what a stabilizing layer would need, and on the robot it can be measured without knowing anything about bolts. The left hand's plan says hold here, so any drift the right hand causes is error. The joints feel force the robot's own model didn't predict. The object in the hand should not move relative to the jaws. The two hands should keep the relation the plan gave them. And there should be no sideways push where the plan expects free motion, because turning a nut should not need one. A bolt twisting in the left hand shows up in two of those at once, and none of them needs the word bolt. The plan is the target, even when the plan is wrong. Judging whether the plan was good is the job one level up, and that is where the context lives.
Architecturally this fits quite well with how VLAs already work. Our policy answers about every 0.3 seconds with a plan for the next stretch of time. Next to it you could have another head that takes that plan, the copy of the command, and writes the bracing for it, how firm the left grip should be at each moment, how stiff each hand should be and in which direction, small corrections toward where the other hand really is. And here's the part I like. The bracing has to be early more than it has to be fast. If the plan covers more than 0.3 seconds ahead, the head can run at the same rate as the policy and still be early, and only the reflex part, catching a slip our system likely didn't predict, so it has to be fast and should be written as a direct coltrol at the motors.
There are honest limits to what we are suggesting here. Some of those limits can be easily solved via LLMs now, example our arms can't feel the thread, the nut needs around a hundredth of a newton metre to turn and the joints' torque readings are noisy to provide anything close at those resolutions, so the moment the nut comes free has to be known some other way. It could come from counting turns, it could come from a semantics model or an LLM, or you could adapt to a more forgiving data collection technique from simply keeping the jaws shut through the last turn so a free nut has nowhere to fall.
We collect human demonstrations because they carry how people move, and they do that really well. What we are learning is that the other half of the skill, how the body prepares for the forces it is about to make, has to be learned by the robot itself, from its own mistakes, the same way we did. Which leaves the question I'll take into the next post, if the plan is the target, what happens when the plan itself is what's wrong?
Also on X ↗ · LinkedIn ↗