Why Must a Robot Model Run on the Device?
Jason Ma says a robot model has to run on the device because the robot must infer fast enough to act. A language model or a coding agent can wait. ChatGPT can take a couple of seconds before it answers. A robot cannot hold a knife and do nothing for three seconds, and gravity does not pause while the robot juggles a ball with a tennis racket.
A call to a remote model has no latency guarantee, and self-driving a car has no guarantee either. The model that gets deployed has to stay a reasonable size so it can be served locally, on-prem. The model trained first can still be large. The best way to make a small model very smart is distillation: train the biggest model, then distill it. Robotics is getting there, and people are going to converge on that pattern.
Latency makes the whole stack matter. He builds an inference stack in-house for whatever model gets deployed and optimizes inference speed for the kind of model running.
Dyna-2: General Purpose Physical Agents with Hour-Long Autonomy — Jason Ma, Dyna Robotics ·
From the transcript
Yeah. Then there's a larger one that's fit for a single GPU. Do you work in the constraints of robot model on device in cloud, a hybrid? And then how does that affect your scaling law of data? A million hours is great, but do we just scale up parameters, data? Yeah. No, that's a great question. So I think... What's really different about robots versus language model and other applications is that for coding agents, language model, it's okay if it has latency, right? Today, whenever I ask ChatGPT, it takes a couple of seconds before it spits out anything.
But for robots, the inference latency has to be very short. The robot needs to act. You can't just hold a knife and not do anything for three seconds. That's going to freak people out, right? And we saw someone put their real hand under a knife. Our model's pretty smart, so that's okay. But in general, like if you think about very dynamic tasks, like for example, you want your robot to like, you know, hold a, I don't know, a tennis racket and, you know, juggle the ball, right? It's very dynamic, very reactive.