Compressing a Learned Quadruped Simulator: Accuracy over Long Rollouts and Cost on a CPU
Robots can learn controllers inside a learned simulator, a network run forward on its own predictions (a rollout). Compressing it for a robot is usually judged one step ahead, yet a rollout feeds every error back. We compress a recurrent quadruped dynamics model and score each variant, at horizons up to 368 steps, by the share it keeps of the model's advantage over predicting no change. Pre-registered tests show that 8-bit dynamic quantization keeps at least 90% of that advantage; whether its damage grows with the horizon is not settled. Removing recurrent units and fine-tuning keeps most of the advantage of an equally fine-tuned full-width model at width 192, on the first seed and on two more (a pre-registered replication), and is not settled at width 128. Against scratch-trained narrow models it is not settled at width 192; at width 128 the first seed found scratch better and the replication did not settle it. On a 2017 laptop CPU (exploratory), the runtime decides whether 8-bit pays: a full-width one-robot step compiled with TorchScript takes 0.75 times as long as in 32-bit; in eager PyTorch it is slower. Timing followed an idle check, with the processor cooled before each block.
Discussion
Favourites
Add to your favouritesFollow this thread
A mail when somebody comments. No account needed.
The newsletter
Get our free newsletter with new robots, prices and robotics news.