A pre-registered study of shrinking a learned quadruped simulator. 8-bit weights keep at least 90% of its edge over predicting no change at 368 steps. On a laptop CPU, whether int8 is faster depends on the runtime.
Going deeper
Metrics. The error e(h) of a forecast at horizon h is the relative L1 error averaged over forecast steps up to h: at each step, the sum over state dimensions of the absolute error divided by the sum of the absolute true values. The floor predicts that nothing changes: it holds the last history state for every forecast step. For variant v, with means over trajectories: the extra error is Δv(h)=ev-efp32; the relative degradation is Dv(h)=Δv(h)/efp32; the fp32 model’s skill is its advantage over the floor, S(h)=efloor-efp32; and the skill retained is Kv(h)=1-Δv(h)/S(h). K=1 means nothing is lost and K<0 that the variant is worse than predicting no change; we report K as a percentage. Kctrl is the same with the control in place of the fp32 model. The per-step versions use the error r(k) of step k alone in place of e(h), so e(h) is the mean of r(k) up to h (exploratory). The unit of analysis is the trajectory: errors are averaged over a fold’s seeds within each trajectory, and 95% intervals are percentiles of 20 000 bootstrap re-draws of whole trajectories with replacement [33, 34]. The trajectories come in pairs from 10 held-out episodes, so every pre-registered reading was also re-read with whole episodes re-drawn (exploratory, added after all results existed). No primary label changes; of all 40 labels, 2 secondary ones become NOT SETTLED, both pooled readings of Q4 at width 128 (Section IV-B).
Picture a weather forecaster who predicts tomorrow, then uses that guess to predict the day after, and so on for a year. Any small slip gets carried forward. The simplest rival forecast is "same as today". A good forecaster beats it. The question is by how much.
Now give the forecaster a smaller notebook: rougher numbers, or some pages torn out. Judged only on tomorrow, the rougher notes look fine. But the slips are carried forward, so the paper checks how much of the forecaster's lead over "same as today" survives a day out, a week out and much later. Rough numbers keep most of the lead. Tearing out pages without relearning loses it all, and by the end the forecaster is worse than just saying "same as today".
The forecaster here is a learned simulator of a four-legged robot walking, and the notebook is its network. The paper also times the smaller versions on an old laptop. The rougher notes are quicker only when the model is first compiled into a fixed form. Run the ordinary way, they are slower.
The abstract, word for word, with the seven densest phrases unpacked.
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 back1. 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 change2. Pre-registered tests show that 8-bit dynamic quantization keeps at least 90% of that advantage3; whether its damage grows with the horizon is not settled4. Removing recurrent units and fine-tuning keeps most of the advantage of an equally fine-tuned full-width model5 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 it6. 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 slower7. Timing followed an idle check, with the processor cooled before each block.
Three lines of work end at this paper. Each stop says what it showed and what this paper uses it for.
Read six places, in this order.
Skip Section II if you know RWM and standard compression methods.
If the results are weaker than they look, start here. Each is short.
| Width 192 | Width 128 | |
| Q3: | 84% [77%, 90%] | 53% [40%, 65%] |
| label | KEEPS MOST | NOT SETTLED |
| replication | 90% [84%, 94%] | 44% [4%, 65%] |
| label | KEEPS MOST | NOT SETTLED |
| 100 steps (s) | 98% [95%, 100%] | 88% [82%, 95%] |
| label | NEARLY AS SKILLED | KEEPS MOST |
| Q4: scratch pruned | 1.2% [6.4%, 10.2%] | 13.2% [21.2%, 5.4%] |
| label | NOT SETTLED | SCRATCH BETTER |
| replication | 10.6% [0.4%, 25.2%] | 8.6% [26.6%, 5.1%] |
| label | NOT SETTLED | NOT SETTLED |
| 100 steps (s) | SCRATCH BETTER | SCRATCH BETTER |
| 2 500 iterations (s) | NOT SETTLED | NOT SETTLED |
| Control: vs. original | 108% [103%, 120%] | |
| replication | 102% [99%, 105%] | |
Metrics. The error e(h) of a forecast at horizon h is the relative L1 error averaged over forecast steps up to h: at each step, the sum over state dimensions of the absolute error divided by the sum of the absolute true values. The floor predicts that nothing changes: it holds the last history state for every forecast step. For variant v, with means over trajectories: the extra error is Δv(h)=ev-efp32; the relative degradation is Dv(h)=Δv(h)/efp32; the fp32 model’s skill is its advantage over the floor, S(h)=efloor-efp32; and the skill retained is Kv(h)=1-Δv(h)/S(h). K=1 means nothing is lost and K<0 that the variant is worse than predicting no change; we report K as a percentage. Kctrl is the same with the control in place of the fp32 model. The per-step versions use the error r(k) of step k alone in place of e(h), so e(h) is the mean of r(k) up to h (exploratory). The unit of analysis is the trajectory: errors are averaged over a fold’s seeds within each trajectory, and 95% intervals are percentiles of 20 000 bootstrap re-draws of whole trajectories with replacement [33, 34]. The trajectories come in pairs from 10 held-out episodes, so every pre-registered reading was also re-read with whole episodes re-drawn (exploratory, added after all results existed). No primary label changes; of all 40 labels, 2 secondary ones become NOT SETTLED, both pooled readings of Q4 at width 128 (Section IV-B).
With fine-tuning, weight pruning recovers. A later pre-registered study [11] fine-tuned the 30%-pruned copies of the first three seeds of each fold (15 models) for 500 iterations, as the narrow models were but with the pruned weights held at zero, and scored them on the same 20 trajectories with its own error measure, the mean absolute error of the normalized state. At 100 steps, its primary horizon, fine-tuning raised the skill kept against the original model from 38% to 102% (gain 63.9 points, 97.5% interval 54.4 to 76.0), and the fine-tuned copies kept 99.9% of the skill of the equally fine-tuned control (99.5% to 100.4%): NEARLY AS SKILLED by Q3’s rule. Secondary there, with 95% intervals, they kept 99.4% [97.9%, 100.6%] of the control’s skill at 368 steps, and the 50%-pruned copies 99.0% [98.4%, 99.7%] at 100 steps.
Nothing on this page was recomputed. Every claim points to the paper so you can check it.
More latest news
Read all