[Haller]
Data and policies
§Data

π0.5 as a diagnostic, not an upgrade

A 45% ACT baseline whose failures are all missed grasps, two exhausted training levers, and a π0.5 run designed to eliminate a hypothesis rather than chase a number. Includes a walk through π0.5's actual mechanism, verified against the installed source, the training-set defect that decides how the first two runs can be read, and the day a null result from one metric was overturned by another on the same checkpoints.

Haller can pick up a cube and put it in a box 45% of the time. This page explains how that number was reached, why the obvious ways to improve it have already been tried and measured, what π0.5 actually does inside, and how a π0.5 run was set up to settle which of two very different problems the 45% represents.

The framing matters more than the outcome. Training a bigger policy to get a bigger number is not an experiment. Training it so that either result eliminates a hypothesis is. Most of this page is about the difference, including the part where the first attempt at it was set up wrong and how that was caught.

It is written to be read by someone who has not been following along, and it keeps the dead ends in. The dead ends are most of the value: two of them cost real time, one was killed by a two-minute measurement instead of a two-hour experiment, and one was a configuration defect that would have quietly produced a publishable-looking answer to the wrong question.

It also keeps a retracted conclusion, in §9, rather than editing it away. The experiment that closes this page returned a clean null on its headline metric, that null was recorded as settling the question, and a second metric on the same checkpoints reversed it within the hour. Three separate ways of being wrong show up in that one afternoon: a null from a proxy read as a null about the world, a confounded comparison that inflated the effect it did find by about 40%, and a dramatic-looking fivefold gap that shrank to a quarter once a control group existed. Each has a general form, and each is easier to recognise the second time.

1. The baseline, and the shape of its failures

One SO-101 arm. One camera, looking down at the table. No wrist cameras, because the rig did not have any when the data was recorded.

Episodes recorded113 (74,382 frames at 30 fps)
Kept after review91 (56,505 frames)
Rejected as failed takes22 (17,877 frames)
Median kept episode18.3 s
Taskpick up the cube, place it in the box
PolicyACT, chunk size 100
Real-world success9/20 = 45% (95% Wilson CI 26–66%)

Note the three-way frame split rather than just the episode counts. It looks like bookkeeping here. In §7 it turns out to be the most important number on the page.

The headline success rate matters less than the shape of the failures. Of the eleven failed attempts, almost all were missed grasps, with a few grasped-then-dropped. There were no wrong-place failures and no freezing.

That absence is the interesting part. A policy that has not seen enough situations fails by going to the wrong place, or by stalling when the scene does not match anything it knows. Haller does neither. It goes to the right place, at the right time, and closes on air by a few millimetres.

That is a precision signature, and precision failures point somewhere very specific.

2. Why more training and more data are not the lever

The instinct after a 45% result is to train longer or record more. Both were tried. Both are measured. Neither is the lever.

Training longer bought almost nothing. Eighteen times the training steps, 5k to 90k, moved held-out loss from 0.4213 to 0.4026. That is a 4.4% improvement for 18× the compute, and the curve was still creeping down at the end. Real, but a terrible exchange rate.

(Held-out loss is doing a lot of work in that sentence, and §9 is about exactly how much weight it will bear. The short version, for anyone reading these numbers as quality scores: not this much. Here it is being used for what it is good at, showing that a curve has stopped moving, and the conclusion is backed by a rollout series rather than resting on the loss alone.)

Augmentation confirmed the ceiling is not overfitting. The train/validation gap was over 5× at 19 epochs, which looks exactly like a model memorising its training set. So augmentation was switched on as a regulariser, and it worked as a regulariser: training L1 rose from 0.0598 to 0.0723, and the gap narrowed from 6.73× to 5.65×. The ceiling did not move. Best validation loss was 0.4083 against 0.4026 without.

That result is worth sitting with, because it settles more than it appears to:

The anti-overfitting treatment took effect, and the ceiling did not move. So the ceiling was never overfitting. And since more data acts largely as a regulariser too, more data of the same kind is unlikely to move it either.

The reason is visible in the failure mode. At the instant that decides a grasp, the gripper is directly above the cube, and from a top-down camera the gripper is occluding the very thing it is trying to grasp. The few-millimetre relationship that determines success is not in the image.

More episodes give you more samples of an observation that is ambiguous exactly when it matters. That is an observability problem, not a sample-count problem. No amount of additional data from the same viewpoint conjures information the viewpoint does not contain.

The fix is a camera that can see the gripper and the cube together. That is the wrist camera, and it is the reason the project is not grinding on this dataset.

3. The measurement bottleneck

There is a harder constraint underneath all of this, and it shapes every decision.

Rollout trials are the scarce resource, not GPU time. Every real-robot success rate on this page was scored by a human watching an arm and writing down yes or no. Twenty of those take an evening. Twenty thousand training steps take a few hours and no attention at all.

And twenty trials cannot answer the questions people want to ask of them:

Fig. 1: why twenty trials cannot settle a ten-point question
20intervals overlap: cannot tell them apart
0%25%50%75%100%95% Wilson interval on the true success rateACT 45%26–66%a 70% policy48–85%
Two policies, one truly at 45% and one truly at 70%, each scored 20 times. Drag the trial count: at 20 the intervals overlap, so a good result and a lucky one are indistinguishable. Rollout trials, not GPU time, are the scarce resource on this project, which is why a change gets screened offline before it is allowed to spend any.

At 20 trials, a policy that is genuinely at 45% and one genuinely at 70% produce confidence intervals that overlap. A no-change re-test of the same checkpoint returns ≥12/20 about 13% of the time, so a "promising" result is more often luck than progress.

The consequence is a working rule: screen changes offline before spending trials on them. That rule has now paid for itself twice, once by killing an experiment (below) and once by catching a broken setup (§7).

The ensembling experiment, killed for the price of one rollout

Temporal ensembling was the leading candidate to fix missed grasps: it is inference-only, costs no retraining, and makes a chunked policy look at the world every step instead of every 3.33 seconds. Two keys in a config file.

Offline replay of recorded episodes through the modified checkpoint showed it cuts the gripper's peak closing speed by 32% at the default coefficient of +0.01, and by 18% at −0.05. Against a policy whose dominant failure is already missed grasps, that is precisely the wrong direction.

It also turned out that at the default coefficient, ensembling is on average staler than the baseline it replaces. The weighting runs opposite to everyone's intuition. That argument, with the arithmetic, is on its own page:

Temporal ensembling: the overlapping-chunk picture, the exponential weighting whose sign surprises people, and why the mechanism is a low-pass filter rather than a freshness fix.

Forty planned rollouts, cancelled on a measurement that took two minutes. That is the bottleneck rule working.

4. What π0.5 actually is

With inference tricks ruled out and more same-viewpoint data ruled out, the remaining question is whether the policy architecture is the limit. That is what π0.5 is here to answer.

Everything in this section was verified against the installed lerobot/policies/pi05/ source rather than recalled from papers.

π0.5 is a vision-language model with a separate action expert bolted alongside it. Two networks, deliberately different sizes:

HalfSizeJob
PaliGemma backbonegemma_2blook at the scene, read the instruction, build a rich representation of both
Action expertgemma_300mturn that representation into joint numbers

The split exists because the two jobs have completely different requirements. Understanding "the red cube on the left" needs world knowledge and scale, which is what pretraining on internet-scale image-text data buys, and it is why the backbone is a real VLM rather than a vision encoder. Emitting a smooth 32-dimensional trajectory needs neither; it needs speed, because it happens repeatedly per decision.

Fig. 2: one forward pass, and the part that runs ten times
top224×224, aspect keptleft_wrist224×224, aspect keptright_wristabsent → −1, mask 0SigLIPONE tower, sharedprompttask + statestate is TEXT, see Fig. 3attention prefiximg tokens ⧺ lang tokensPaliGemma 2Bruns ONCE per observationKV cachepast_key_values× 10 Euler stepst = 1 → 0, dt = −1/10noise x₁(chunk, 32)action expert 300Mattends the cached prefixvelocity v_tx_t ← x_t + dt·v_treused, not recomputedactions (chunk, 32)internal widthactions (chunk, 6)unpadded to Haller's arm32 dims internally · sliced back to the dataset’s real widththe training loss is truncated the same way, so padding never learnsa 6-dim arm needs no architectural change at all
Every camera passes through the same vision tower: embed_prefix loops over the images calling one embed_image, so there is no per-camera parameter anywhere. Images and language concatenate into a single attention prefix, which the 2B backbone processes once and hands on as a KV cache. The ten integration steps that actually produce the actions re-run only the 300M expert against that cache, which is why ten steps costs far less than ten forward passes.

One vision tower, any number of cameras

embed_prefix loops over the images and calls the same embed_image on each. There is no per-camera parameter anywhere in the model, so the architecture is genuinely N-camera flexible. You can hand it one camera or five without changing a weight.

The cost knob is subtle and worth knowing, because it is easy to get backwards. It is len(config.image_features), what the config declares, not how many images you actually put in the batch. A declared-but-absent camera is filled in with a −1 image and a zero attention mask, and that padded view still goes through the full tower:

# modeling_pi05.py, _preprocess_images
for _num_empty_cameras in range(len(missing_img_keys)):
    img = torch.ones_like(img) * -1   # padded with -1 for SigLIP
    mask = torch.zeros_like(mask)     # mask is zero for empty cameras

Omitting a camera from the batch saves nothing. Removing it from the config saves everything. (If every declared key is missing, it raises rather than guessing.)

Images are resized to 224×224, the value of DEFAULT_IMAGE_SIZE, through resize_with_pad_torch, which preserves aspect ratio and letterboxes rather than squashing, then rescales from [0, 1] to [−1, 1] for SigLIP.

The state is not embedded. It is written into the prompt.

This is the most surprising thing about π0.5 if you arrive from ACT, and it is easy to miss because there is no state encoder to find.

Fig. 3: the robot's joint angles become words
rawdegreesnormalisedq01/q99 → ±1discretised256 binspanliftelboww.flexw.rollgrip12.4-38.961.2-5.73.188.00.14-0.020.02-0.080.030.76145124130117132225the string the PaliGemma tokenizer actually receivesTask: pick up the cube…, State: 145 124 130 117 132 225; Action:
π0.5 has no separate state encoder. The pre-processor normalises the state to [−1, 1], bins it into 256 integers, and splices those integers into the language prompt as literal text. The model reads the arm’s pose the same way it reads the task. This is why quantile normalisation is load-bearing rather than a detail: the bin edges are fixed at ±1, so if one outlier stretched the scale, every real pose would collapse into a handful of bins.

The pre-processor normalises the joint vector to [−1, 1], bins each value into one of 256 integers, and splices those integers into the language prompt as text:

# processor_pi05.py
discretized_states = np.digitize(state_np, bins=np.linspace(-1, 1, 256 + 1)[:-1]) - 1
full_prompt = f"Task: {cleaned_text}, State: {state_str};\nAction: "

The model reads the arm's pose the same way it reads the instruction. predict_action_chunk passes no state tensor at all, and the source comments it as "no separate state needed for PI05".

This is also why the normalisation scheme is load-bearing rather than bookkeeping. π0.5 sets both state and action normalisation to QUANTILES, which maps q01 to −1 and q99 to +1. The bin edges are fixed at ±1, so the scale determines the resolution: with min/max normalisation, a single outlier stretches the range and every ordinary pose collapses into a handful of bins. Quantiles keep the 256 bins spread across poses that actually occur. A dataset without q01/q99 in its stats does not train at all; it raises on the first batch.

32 dimensions in, your dimensions out

State and action are padded to max_state_dim / max_action_dim, both 32, and cut back on the way out:

# modeling_pi05.py, predict_action_chunk
original_action_dim = self.config.output_features[ACTION].shape[0]
actions = actions[:, :, :original_action_dim]

The training loss is truncated the same way, so the padded dimensions never contribute a gradient.

A small action space is not a blocker, and it is worth saying plainly because the opposite assumption is very natural. Haller's single arm is 6-dimensional against a model that thinks in 32. That needs no architectural change, no wrapper, and no padding of your own. The model already does it, and undoes it. A bimanual 12-dim arm is equally a non-issue. Do not design around a problem that does not exist.

How the actions are actually generated

π0.5 does not regress actions directly. It generates them by flow matching, the same family as diffusion, run as an ODE.

Start from pure Gaussian noise shaped (chunk, 32). Then integrate a learned velocity field from t = 1 down to t = 0 in num_inference_steps forward-Euler steps (default 10):

# common/flow_matching.py, euler_integrate
dt = -1.0 / num_steps
x_t = noise
for step in range(num_steps):
    time = 1.0 + step * dt
    v_t = denoise_fn(x_t, time)
    x_t = x_t + dt * v_t

Each step asks "given this partly-formed trajectory and where we are in the schedule, which direction improves it?" and takes a small step that way. The trajectory starts as noise and is progressively pulled into a plausible motion.

The efficiency detail is the one worth carrying away. Those ten steps are not ten forward passes of a 2B model. The prefix, meaning images and language through the backbone, is computed once and kept as a KV cache. Each integration step re-runs only the 300M expert against that cache:

# sample_actions: prefix computed once, cached
_, past_key_values = self.paligemma_with_expert.forward(..., use_cache=True)
return euler_integrate(lambda x, t: self.denoise_step(
    prefix_pad_masks=..., past_key_values=past_key_values, x_t=x, timestep=t), ...)

denoise_step passes inputs_embeds=[None, suffix_embs]. The backbone half receives nothing, because its work is already done.

Chunks, again

π0.5 predicts a chunk of future actions per observation, exactly as ACT does, with chunk_size defaulting to 50 rather than ACT's 100. Everything on the temporal ensembling page about how you spend a chunk applies here too, and π0.5 additionally ships a real-time chunking mechanism for the case where inference latency matters. Both are downstream questions; neither is what these runs are testing.

5. What it took to get a run started

Three lessons came out of preparing this, and each is more general than its occasion.

The dataset was 5× larger than it needed to be, for a good reason that had stopped applying. The recorded video used a keyframe interval of 2, which is near-all-intra, so the operator UI can seek to any episode slice cheaply. Training reads frames in order and needs none of that. Re-encoding with the same codec and same quality setting, changing only video.g from 2 to 30, took it from 1.4 GB to 299 MB.

The check that made this safe to do was verifying frame counts per file with ffprobe, then loading both copies and confirming state and action tensors were bit-identical. Image PSNR came out at 34–41 dB at native resolution, and about 44 dB at the 224×224 the policy actually consumes. The metadata was updated to say video.g: 30, so the file describes its own contents.

A progress counter lied for twenty minutes. The upload tool reported 0/57 files while the network interface showed hundreds of KB/s leaving the machine. It was uploading and silently retrying the same file forever. The counter only ticks on whole-file completion, so it was technically honest and completely useless. What settled it was asking the destination what it actually held: one file, a placeholder. The lesson is to check remote state rather than local progress, and to distinguish "stalled" from "slow" by looking at bytes on the wire.

Five separate version-drift failures. The tooling was written against an older library release, and every one of these would have killed a run or a measurement outright:

  1. a dataset loader that moved into its own optional install;
  2. a required version tag on the uploaded dataset that raw file uploads do not create;
  3. a username lookup that parsed key: value from a tool that now prints key=value;
  4. an experiment tracker that demanded an API key even when told to run offline;
  5. and, surfacing later against the same library bump, replay_eval.py importing dataset_to_policy_features from lerobot.datasets.feature_utils when lerobot 0.6.1 had moved it to lerobot.utils.feature_utils.

None was hard. All five were invisible until they fired. The fifth is fixed at source with a try/except ImportError that works on either version, which is the right shape of fix when you are running the same scripts against two library releases:

try:  # lerobot >= 0.6: moved out of datasets/ into utils/
    from lerobot.utils.feature_utils import dataset_to_policy_features
except ImportError:  # lerobot <= 0.5
    from lerobot.datasets.feature_utils import dataset_to_policy_features

The general lesson is that version drift does not arrive all at once. Four of these fired at launch, and a fifth waited until the first time anyone tried to evaluate rather than train. Expect a tail.

Fig. 4: where the episodes come from, and where the next ones will
teleop113 episodesreview91 keep / 22 reject1-camera set74,382 framesre-encode1.4 GB → 299 MBtrainingin flightadding a camera forks the schema here3-camera settop + 2 wristswrist cams~6 Septsimulatorscripted expertauto-scoredsuccess predicatethe simulated route reaches the three-camera shape without waiting for the hardware
Solid boxes exist today. Dashed ones do not yet: the wrist channels arrive with the hardware, and the simulator can produce episodes in the three-camera shape before then. The fork in the middle is the reason not to record more single-camera demonstrations now, because adding a camera changes the dataset schema, and episodes recorded on the old one cannot train a policy on the new one.

6. The two runs, and what they produced

Two full fine-tunes were launched overnight on 2026-08-31, on a box with 2× RTX PRO 6000 Blackwell 96 GB, one run per card. Both completed with zero errors, zero OOM, and zero NaN.

Run 1Run 2
Batch size1632
Steps20,00020,000
Sample presentations320,000640,000
Epochs4.308.60
Throughput1.08 s/step2.01 s/step
Wall clock5 h 59 m~11 h
Resident memory37 GB42.9 GB
Final training loss0.0180.013

Run 1 was pushed to the Hub as Oskrt/pi05_so101_pick_cube: a 9.35 GB safetensors file plus the pre- and post-processor normalizer statistics. Shipping the processors alongside the weights is not optional housekeeping. §4 explained that π0.5 discretises the state into the prompt using q01/q99 quantiles; a checkpoint without those statistics cannot reconstruct the input the model was trained on.

Both loss curves fell smoothly and monotonically, and run 1's gradient norm came down from 3.581 to 0.575, which is what a stable full fine-tune looks like:

StepRun 1 (b16)Run 2 (b32)
2000.2420.237
4000.1630.152
2,0000.0800.064
4,0000.0570.043
6,0000.0470.034
8,0000.0360.027
10,0000.0320.022
12,0000.0260.018
14,0000.0230.016
16,0000.0210.014
18,0000.0200.013
20,0000.018not logged

Why full fine-tune and not LoRA, since LoRA is cheaper and the default: the library's default adapter targets hit only the action expert's attention projections and the small input/output heads. They leave the vision tower and the language model frozen. That configuration is measured as catastrophic for adapting to a new embodiment, 0.14 versus 0.76 on transfer, and it is easy to select by accident because it is what you get by asking for LoRA without reading which modules it touches. Adapting to a robot the model has never seen is exactly the case where the vision tower needs to move.

The comparison you are tempted to make, and why it is empty

Run 2 ended at a lower training loss than run 1. It is very natural to read that as "batch 32 generalises better", and it is worth being precise about why that reading is unsupported.

Run 2 made twice as many passes over the same frames. A model's training loss falls as it revisits data, because revisiting data is how memorisation happens as well as how learning happens. Training loss is the model's error on examples it has already been optimised against. Two runs that saw the same data a different number of times will differ in training loss mechanically, whether or not either one got better at the task.

Training loss is not comparable across runs that saw different amounts of data. The only thing that distinguishes memorising from generalising is error on data the model was never optimised against. Neither of these runs produced any, for reasons that turn out to be the point of the next section.

§9 adds the sharper version of that rule, learned the hard way: held-out data is necessary but not sufficient. Which error you compute on it decides whether you can see anything at all.

7. The defect that decides how to read them

Both runs completed cleanly and are, as experiments, badly broken. Two separate defects, both in the setup rather than the execution, and both worth understanding because they are easy to reproduce.

Defect 1: no held-out evaluation, by construction

Both runs set dataset.eval_split = 0.0 and left eval_steps at its default of 0. The consequence is blunt: neither run produced a single held-out number. Every figure in §6 is a training loss.

The trap is a coupling in the library that is only obvious once you have hit it. In lerobot 0.6.1, setting eval_steps > 0 raises unless eval_split > 0.0. The two settings are not independent knobs; they must be set together. Ask for evaluation without carving out a split and the run refuses to start, which is the failure you want. Leave both at their defaults and the run starts happily and evaluates nothing, which is the failure you get.

This is a general shape worth recognising. A default that produces a loud failure teaches you something. A default that produces a quiet absence, in this case a training log with no eval column, teaches you nothing until you go looking for the column that is not there.

Defect 2: a quarter of the training data was demonstrations of failing

The runs trained on all 113 episodes. The ACT baseline they are supposed to be compared against trained on a hand-curated 91 of those, split 77 train / 14 eval at random with seed 42.

The 22 episodes ACT excluded are failed takes, and the evidence that the exclusion was deliberate rather than arbitrary is unusually clean. Look at the frame counts:

Kept 91Excluded 22
Frame-count range340 to 1,54913 to 1,797
Episodes at exactly 1,797 frames04 (8, 56, 57, 61)
Episodes under 200 frames05 (9, 53, 54, 55, 90)

1,797 frames at 30 fps is 59.9 s, which is the recording timeout cap. An episode that sits exactly on the cap is one where the operator never completed the task and the recorder cut it off. An episode under 200 frames is an aborted take; episode 55 is 13 frames, 0.43 seconds, which is barely a twitch.

The separation is perfect at both ends. Zero kept episodes hit the cap, zero kept episodes are that short. That is not what a random split looks like. The full excluded list is [2, 3, 4, 5, 6, 8, 9, 12, 15, 19, 33, 53, 54, 55, 56, 57, 61, 72, 85, 86, 87, 90], and those 22 episodes are 17,877 frames, 24.0% of what π0.5 trained on.

Now the consequence, which is the part that actually matters:

π0.5 is trained by imitation and has no reward signal. Nothing in the objective distinguishes a demonstration of success from a demonstration of failure. Both are trajectories to reproduce. A quarter of this run's training signal was the model learning to imitate a human failing to pick up a cube, including four demonstrations of flailing for a full minute and one of stopping after 13 frames.

If you come from supervised learning this is the moment to slow down. There is no label saying "this one was bad". Behaviour cloning fits the conditional distribution of actions given observations in the data you hand it, and if a quarter of that data is failure, then failure is a quarter of what it models as correct behaviour. The dataset itself carries no scoring flags, so nothing in the files marks these episodes. The only record that they are failures is the ACT run's own saved episode list.

The epoch count was already saying so

Here is the detail that should have caught this before the runs launched, and did not.

Run 1's own log reports 4.30 epochs. Check that against the two candidate datasets:

  • 320,000 presentations over the kept 91 episodes (56,505 frames) is 5.66 epochs.
  • 320,000 presentations over all 113 episodes (74,382 frames) is 4.30 epochs.

The reported number matches the second one exactly. The run had been announcing which dataset it was training on, in a field that was being read as a throughput statistic rather than as evidence.

The transferable habit: when a run reports a derived quantity like epochs, and you also know the numerator, divide it out and check the denominator is the one you meant. Derived fields are free assertions about your configuration, and they are the cheapest audit available.

Why the checkpoints are still worth keeping

It would be reasonable to assume a run trained on 24% garbage is worthless. It is not, and the reason is a genuinely useful piece of experimental reasoning.

The confound is one-directional. Training on demonstrations of failure can plausibly hurt π0.5's success rate. There is no mechanism by which it helps. So the existing checkpoint is a handicapped version of the policy under test, and a handicapped result is still informative in one of the two directions:

  • If the dirty checkpoint clearly beats ACT's 45%, the conclusion "ACT was capacity-limited" holds a fortiori. π0.5 won while carrying a quarter of its training data as noise; a clean run can only do better. The confound cannot explain away a win.
  • If the dirty checkpoint lands near 45%, the result is genuinely ambiguous and answers nothing. "The data and the viewpoint are the ceiling" and "we fed it a quarter garbage" predict the same number, and one rollout series cannot separate them.

That asymmetry is the general lesson. A confounded experiment is not automatically void. Work out which direction the confound pushes, and you often find it still rules something out. What it costs you is the other outcome: the ambiguous branch is the one you have to pay to re-run.

Everything in this section is an argument about a size nobody had measured. §9 measures it: the 22 failure takes are worth about one degree of held-out joint error, roughly a tenth of the error the policy makes anyway. Large enough that curating is clearly worth doing, and small enough that it would never have explained away a large win. The direction of the confound was predicted correctly here; its magnitude was not knowable from the armchair, and one of the two attempts to measure it said zero.

8. The offline screen: a liveness check, not a score

Before spending an evening of rollouts on the batch-16 checkpoint, it went through the offline screen from §3. scripts/runpod/replay_eval.py replays recorded episodes through the policy and compares the predicted joint actions against what the human teleoperator actually did, reporting mean absolute error in degrees.

Twelve episodes:

EpisodeFramesMAE (deg)
08551.870
105461.950
254912.012
401,2063.033
55130.234
707752.933
851,2523.279
886891.888
941,5492.056
1005172.111
1065192.861
1125132.816
Mean2.254

Per joint: shoulder_pan 1.735, shoulder_lift 2.330, elbow_flex 3.047 (worst), wrist_flex 2.667, wrist_roll 2.496, gripper 1.246 (best).

Inference ran at 5.3 ms per frame, a 188 Hz ceiling against the rollout runner's 27 Hz control floor. Latency is not a constraint for this policy on this hardware, and that is worth knowing before it becomes a suspect in some later debugging session.

Two things about this table are more instructive than the numbers in it.

It measures fit, not generalisation. Every one of those twelve episodes was a training episode for this checkpoint, because the run held nothing out. 2.254 degrees says the policy loads, reacts to observations, and emits trajectories in the right neighbourhood of the human's. That is a liveness check: it rules out "the thing is broken" cheaply and it earns the right to spend rollouts. It is not a score, and quoting it as one would be quoting a model's performance on its own training set.

Episode 55 is the cautionary tale. It scored 0.234, roughly an order of magnitude "better" than everything else. It is also the 13-frame stub from §7, where the arm barely moves. A near-stationary trajectory is trivially easy to predict, so a degenerate input flatters the metric.

Read the frame count next to the error, always. A mean over episodes weights a 13-frame stub the same as a 1,549-frame episode, and the stub is the one most likely to be anomalous. This is the same property that made the excluded takes identifiable in the first place: degenerate episodes look different from real ones in ways that show up in simple statistics, if you look.

One warning about 2.254 before leaving it here, because the next section walks straight into the trap. A number that lands early and looks reasonable tends to become the anchor everything later is compared against, and this one did. When §9's checkpoints scored 11.318 degrees on genuinely held-out episodes, "five times worse than 2.254" was the obvious reading, and it was almost entirely wrong. 2.254 came from a checkpoint trained for 20,000 steps, scoring episodes it had memorised. The §9 checkpoints stopped at 1,500 to 2,000 steps. Comparing across that gap measures how hard two models were fitted, not how well either generalises. Two numbers from different checkpoints on different data are not a comparison, however natural it feels to subtract them, and the fix is cheap: score each checkpoint on its own training data too, and read the gap rather than the level. §9 does that, and the fivefold collapse turns into about a quarter.

9. The experiment, and the null that did not hold

Both defects from §7 are fixed by a two-arm experiment run on 2026-09-01, one arm per GPU. The arms differ in exactly one thing: whether the 22 failure takes are in the training set.

Arm A, "dirty"Arm B, "clean"
Train episodes99 = ACT's 77 plus the 22 failures77 = ACT's exact train set
Train frames64,44246,565
One epoch, at batch 164,028 steps2,910 steps
eval_split0.120.15
Held-out episodesthe same 14the same 14

The frame counts are worth one line of arithmetic before moving on, because they are the only cross-check available that the arms are what they claim to be. 64,442 − 46,565 = 17,877, which is exactly the failure-take frame count from §7. And Arm B's 46,565 is exactly the ACT baseline's training-frame count. The two arms differ by the 22 episodes and by nothing else.

Both hold out ACT's own eval set: [10, 11, 21, 23, 24, 27, 39, 42, 46, 71, 91, 97, 103, 110]. Everything else is identical between the arms: batch 16, seed 1000, learning rate 2.5e-5, full fine-tune, bfloat16, gradient checkpointing, max_eval_samples 1600. The step budget and the logging cadence changed once before any result existed, for a reason that turned out to be one of the findings.

Two properties fall out of that design, and they are different properties:

  • Arm A versus Arm B isolates the contamination. Same held-out set, same everything else, one variable. The difference between the arms is the cost of the 22 failure takes, measured rather than argued about.
  • Arm B versus the ACT baseline gives exact training-data parity. Arm B sees precisely the frames ACT saw and is scored on precisely the episodes ACT was scored on, so the architecture comparison from §10 finally has nothing else moving in it.

Also note the number that is not in that table: there is no third arm. Every comparison below is one seed against one seed. Hold on to that while reading the confidence intervals.

How the split is pinned, and why that needed verifying

Choosing which episodes are held out is not something lerobot exposes as a list. The mechanism is worth spelling out because it is not obvious and it is easy to get silently wrong.

make_train_eval_datasets holds out the last ceil(n_episodes * eval_split) episodes per task, taken from the episode list in the order you pass it. So the split is positional, not random, and it is controlled by list order rather than by any seed.

That gives you a lever, provided one thing is true: that LeRobotDataset actually preserves the order you hand it rather than sorting or re-indexing. It does, and that was checked empirically rather than assumed, because the whole design rests on it. Put the 14 chosen episodes at the end of the list and they are exactly the ones held out.

The two eval_split fractions then follow from arithmetic rather than taste. They are chosen so that ceil() lands on exactly 14:

  • Arm A: ceil(113 × 0.12) = ceil(13.56) = 14, leaving 99 to train on.
  • Arm B: ceil(91 × 0.15) = ceil(13.65) = 14, leaving 77 to train on.

And then it was confirmed against the log rather than trusted, which after §7 is the habit this whole page is arguing for. Arm B reports:

Train/eval split: 77 train, 14 eval (eval_split=0.15, 1 tasks)

Two restarts before there was a curve

The first launch copied the batch-16 run's budget: 20,000 steps, save_freq 5000, eval_steps 1000. It was killed after about 90 minutes, with the arms at steps 5,000 and 6,000, as soon as there were enough eval points to see the shape. The shape was not the expected one.

Both arms reached their held-out minimum before finishing one epoch, and rose afterwards. Arm A bottomed at step 3,000, which is 0.74 epochs; Arm B at step 2,000, which is 0.69 epochs. By step 4,000 both were clearly worse than they had been at 2,000, and Arm B's last point before the kill was its worst.

Two consequences, and the second is the one that forced a restart:

  1. 20,000 steps is roughly four times too long for this dataset. That also reframes §6: the b16 run at 4.30 epochs and the b32 run at nearly twice that were trained far past the point where held-out loss stopped improving, and only their final states exist.
  2. save_freq 5000 would never have written a checkpoint near the optimum. The first save lands at step 5,000, well past a minimum at 2,000 to 3,000. The run would have finished, reported a curve with a clear best step, and handed over no weights from anywhere near it.

That second point is the more general trap, because the two settings look unrelated. eval_steps is a measurement cadence and save_freq is a disk decision: full fine-tune checkpoints carry model and optimizer state, roughly 20 to 43 GiB each, and lerobot prunes none of them, so saving often is expensive. But together they decide something neither of them is named after, namely which checkpoints you are able to choose between at the end. A measurement you cannot act on is not a measurement.

So the experiment was relaunched at 6,000 steps, save_freq 500, eval_steps 250. The step budget is not just truncated: finetune_pi05.sh passes --policy.scheduler_decay_steps="$STEPS", so the cosine decay is re-shaped to the new length and the learning rate at a given step is different from what it would have been. The aborted curves are therefore evidence about a different schedule, and they are the only copy of that evidence, since the logs were overwritten on relaunch. They are kept at ~/aborted_20k_eval_curves.json on the training box.

Then a host reboot killed both relaunched runs at step ~450, before any checkpoint had been written. Nothing was lost but the elapsed time, and the runs were simply started again. The lesson is still worth one line, because it is the kind of thing people believe they have already handled:

setsid and nohup protect a job against a dropped ssh connection. They do nothing about the host going down. Those are different failure modes and only one of them is solved by detaching. On this particular box there is a second edge: its glm-server systemd unit is enabled, so a reboot silently re-arms the thing that takes both GPUs on the next request. A machine that has rebooted is not the machine you left running, even when it looks identical.

Result 1: the held-out loss says nothing happened

The relaunched runs completed. Twenty-four eval points each, every 250 steps, saved at ~/ab_experiment_6k_result.json.

Arm A, dirtyArm B, clean
Best held-out eval_loss0.10490.1072
at step1,5001,750
which is0.37 epochs0.60 epochs

Note where those minima sit. Both arms reach their best inside their first pass over the data, on a schedule a quarter as long as the aborted one, which is the same message the aborted curves gave from a different direction. Whatever these runs are learning, they have learned most of it before they have seen every frame once.

Comparing the arms is where the care goes, and it is the first place this experiment could have been read wrong.

Compare the arms at matched epochs, never at matched steps. Arm A has 38% more frames, so one of its epochs is 4,028 steps against Arm B's 2,910. At any shared step Arm A is less far through its data than Arm B, and a model earlier in its schedule has a lower held-out loss for reasons that have nothing to do with the treatment. Read at matched steps, this experiment produced a spurious "dirty leads" twice and a spurious "clean overfits earlier" once, all in a single afternoon, all from the same artefact.

At matched epochs there are 18 comparable points, and they give:

mean(dirty − clean) = −0.0010, 95% CI [−0.0031, +0.0011], t = −0.95.

The interval straddles zero. Against a baseline loss of about 0.105 it bounds any effect at under 3%, and what sign there is nominally favours the dirty arm.

At that point the conclusion recorded was: the 22 failure takes cost nothing measurable, the b16 and b32 checkpoints are not compromised by their training data, and the curation question is retired.

That conclusion was wrong, and it was withdrawn within the hour. It is left here rather than quietly edited out, because the mistake in it is not a slip. Every number above is correct. The error is in the last step: a null from one instrument was read as a null about the world. What the experiment had actually established was that this metric could not see a difference, which is a claim about the metric until you know its resolution.

There is also one thing the earlier plan for this section promised that cannot be delivered, and the reason is instructive. The plan was to compare Arm B's held-out loss against the ACT baseline's 0.4026 on the same 14 episodes. Those two numbers do not share a unit. ACT's eval_loss is its full training objective, an L1 action error plus ten times a KL term. π0.5's is a mean-squared error on a flow-matching velocity target at a randomly chosen noise level (the mechanism is two subsections below). 0.1072 is not "better than" 0.4026; the comparison is not close to meaningful. Comparing two architectures requires a metric defined outside both of them, which is exactly what the replay eval and the rollouts are, and it is why the rest of this section stops quoting losses.

Result 2: the replay eval reverses it

The 14 held-out episodes were never trained on by either arm. So replaying them through each arm's checkpoint and scoring the emitted joint angles against the human's is a genuine generalisation measurement, unlike §8's screen, which replayed the b16 run's own training data because that run held nothing out.

Six trained-on episodes were replayed as well, through the same checkpoints, as a control. That second column is what makes the first one mean anything.

checkpointtrained-on (n = 6)held-out (n = 14)gap
dirty @ 1,5009.20311.318+2.115 (23%)
clean @ 2,0007.4109.888+2.477 (33%)

Mean absolute error in degrees, over all six joints.

Now the part that is easy to get wrong, and was got wrong first. Set 11.318 next to §8's 2.254 and it reads as a fivefold collapse in generalisation: the policy is five times worse on data it has not seen. That reading is almost entirely an artefact, and the control column is what exposes it.

2.254 came from a 20,000-step checkpoint scoring its own training data. These checkpoints score 7.4 to 9.2 degrees on their own training data. Most of the distance between 2.254 and 11.318 is a difference in how hard the checkpoints were fitted, not a difference in how well they generalise. Compare each checkpoint against its own training-data score, which is the only comparison that holds the fitting constant, and the generalisation gap is 23 to 33%, not 500%.

A number is not a result until you know what it should be compared against. 11.318 alone supports any story you like. 11.318 next to 9.203 from the same checkpoint supports exactly one. The trained-on column cost six extra replays on hardware that was already sitting there, and it is the difference between a dramatic false conclusion and a modest true one.

What that does say about the b16 checkpoint is narrower than it looks. It fits its training data three to four times more closely, which is what ten times the steps buys, and past the held-out optimum that is memorisation rather than learning. Whether it generalises better is unmeasurable, because it trained on all 113 episodes and therefore has no held-out set anywhere. That is the concrete price of §7's defect: not a wrong number, but a question that can no longer be asked of that run at all.

The 2×2 that separated the arm from the checkpoint

The natural comparison is each arm at its own best checkpoint. That is dirty@1500 against clean@2000, and the table above shows it as 11.318 against 9.888, a 1.43 degree advantage to the clean arm at t = 4.25.

Look at what differs between those two checkpoints. The arm differs, which is the treatment. And the step differs, which is not. (Arm B's eval-loss minimum at 1,750 falls between saves, since eval ran every 250 steps and checkpoints every 500, so the checkpoint taken was the neighbouring 2,000.) One comparison, two changed variables, and no way to attribute the difference to either.

The fix is to fill in the other two cells: run dirty@2000 and clean@1500 as well, and score all four on the same episodes, paired per episode.

Fig. 5: one comparison, two variables, and the square that pulls them apart
Arm A: dirty, 99 episodesArm B: clean, 77 episodesstep 1,500step 2,000dirty @ 1,50012.142 deg, its eval-loss bestclean @ 1,50011.471 deg, added by the squaredirty @ 2,00011.767 deg, added by the squareclean @ 2,00010.435 deg, nearest to its best+0.670 degt = 1.65clean better, 7/8+1.332 degt = 3.13clean better, 7/8+0.375 degt = 0.742,000 better, 6/8+1.036 degt = 2.452,000 better, 7/8the comparison actually made: +1.707 deg, the arm effect and the step effect summed0.375 + 1.332 = 1.707 across the top-then-right route; 0.670 + 1.036 = 1.706 across the left-then-bottom one
Held-out replay MAE, in degrees, over the eight episodes present in all four cells and paired per episode, which is why the cell means differ a little from the fourteen-episode means in the text. The two horizontal edges are the effect under test, the arm. The two vertical edges are a checkpoint-step effect nobody was trying to measure. Comparing each arm at its own eval-loss-best checkpoint takes the dashed diagonal, which is the sum of one of each and so overstates the arm effect. The square also audits itself: both routes from dirty@1500 to clean@2000 must add to the same number, and they agree to a thousandth of a degree.
effectestimate (deg)tdirection
arm, at step 2,000+1.332 ± 0.4253.13clean better, 7/8
arm, at step 1,500+0.670 ± 0.4071.65clean better, 7/8
step, dirty arm+0.375 ± 0.5080.74step 2,000 better, 6/8
step, clean arm+1.036 ± 0.4222.45step 2,000 better, 7/8
confounded original, dirty@1500 vs clean@2000+1.431 ± 0.3374.25arm and step, summed

Eight held-out episodes appear in all four cells, so every effect above is a paired within-episode difference. That pairing is what makes eight episodes usable at all: it removes the large episode-to-episode variation in difficulty, which would otherwise swamp a one-degree effect.

The square also checks itself, and this is worth doing every time. Going from dirty@1500 to clean@2000 the long way round gives 0.375 + 1.332 = 1.707 along one route and 0.670 + 1.036 = 1.706 along the other. Paired means are linear, so those two routes must agree exactly, and they do to a thousandth of a degree. Any real disagreement would mean the cells are not the same episodes.

(The last row's +1.431 is not that diagonal. It matches the fourteen-episode means above, 11.318 − 9.888 = 1.430, because it is the original comparison as it was actually made, over the full held-out set rather than the square's eight.)

Three things come out of the square:

  1. The 22 failure takes are worth about one degree of joint error. The arm effect is +1.332 at step 2,000 and +0.670 at step 1,500, averaging +1.0 degree against a held-out baseline of about 10 degrees, so roughly 10%. The clean arm wins 14 of the 16 paired episode comparisons. Curating the dataset is worth doing, and §7's worry was justified after all.
  2. The confounded comparison overstates it by about 40%. The number it produced, 1.43 degrees over the full fourteen, is the arm effect plus a checkpoint-step effect that has nothing to do with the treatment. On the square's own eight episodes the same diagonal is 1.707, and it splits into 1.332 of arm and 0.375 of step. Either way, a large fraction of the headline figure belongs to a variable nobody was testing. Choosing each arm's own best checkpoint feels like fairness. It is actually a second, uncontrolled variable, introduced by the selection rule itself.
  3. The held-out loss selects checkpoints too early. Both arms bottomed on eval_loss at step 1,500 to 1,750, and step 2,000 is better on MAE in both arms. The metric used to pick the checkpoint disagrees with the metric that describes what the arm will do. The follow-up below shows the disagreement is larger than the square alone reveals.

The sweep that kept going

The square used the two checkpoints the eval-loss curve pointed at. Extending it one save further, on the same eight episodes, says the curve was not pointing far enough:

stepArm B, cleanArm A, dirty
1,50011.47112.142
2,00010.43511.767
2,5009.75410.400

Held-out MAE in degrees, eight paired episodes. Both arms are still improving at 2,500: +0.681 for clean, better on all 8 of 8 episodes, and +1.367 for dirty. That is a bigger step effect than anything inside the square, and it lands 750 to 1,000 steps past where eval_loss bottomed out. A 3,000-step pass was still running when this was written, so the best checkpoint has not actually been located yet. What is settled is the direction: the eval-loss minimum is not it, and it is not close.

The arm effect survives the third column at +0.646 (t = 2.03, clean better in 6 of 8), which puts the three measured estimates at 0.646, 0.670 and 1.332 degrees. The treatment effect is real and consistently signed in every comparison, and its size moves around by a factor of two depending on which checkpoint you measure it at. That is worth saying out loud: an effect measured at one checkpoint is an effect at that checkpoint. The square separates the arm from the step. It does not make the arm effect independent of the step.

Result 3: the sweep that finally bracketed it

The 6,000-step schedule left the best checkpoint at its last save, in both arms. A curve still falling at its final point says only that it had not finished, so nothing above locates the optimum; it only says where the optimum is not. The clean arm was therefore re-run on 2026-09-01 at 20,000 steps with a save every 2,000: the same 77 train / 14 held-out split, batch 16, seed 1000 and learning rate, and all ten checkpoints were scored by replay-eval on the same eight paired episodes as the square.

step2,0004,0006,0008,00010,00012,00014,00016,00018,00020,000
epoch0.691.372.062.753.444.124.815.506.186.87
MAE, deg10.939.798.989.158.599.058.908.738.788.78

Held-out MAE in degrees, eight paired episodes, one seed.

The best checkpoint is step 10,000, at 3.44 epochs, and this time both neighbours are worse. Paired against 10,000 on the six episodes common to every cell, 8,000 is +0.68 degrees worse (t = 4.7, 6 of 6) and 12,000 is +0.42 worse (t = 5.5, 6 of 6). Past 10,000 the curve is a plateau at 8.7 to 8.9, within 0.3 degrees of the best, and with one seed the wiggles on that plateau mean nothing. Against the 6,000-step schedule's best, 9.24 degrees at its final save, this is about 0.65 degrees better.

Result 4: a second seed, and the optimum becomes a plateau

That paragraph lasted one day. On 2026-09-02 the measurement run was repeated with a different seed and nothing else changed, and all ten of its checkpoints were scored on the same eight episodes:

step2,0004,0006,0008,00010,00012,00014,00016,00018,00020,000
seed 110.939.788.989.158.599.058.908.728.878.78
seed 210.769.709.578.828.938.888.758.839.038.64

Held-out MAE in degrees, eight paired episodes. The per-checkpoint difference between the seeds has a mean of +0.01 and a standard deviation of 0.28 degrees. That number is the noise floor of this instrument on these eight episodes, and it was not known when Result 3 was written.

Read against it, the sentence "both neighbours are worse" does not hold. Seed 2 is better at 8,000 than at 10,000, and its best checkpoint is the last one. What both seeds agree on is the shape: clearly falling to step 8,000, then flat within 0.3 degrees to the end. The optimum is not a point at 3.44 epochs. It is a plateau that begins around 2.75 epochs, and where on that plateau a single seed's minimum lands is a draw.

Two things survive, and one does not:

  • The deploy pick survives. Index 5 sits on the plateau, and no checkpoint on the plateau can be told from it. There is nothing to redo.
  • The failure-take effect survives. At 0.65 to 1.3 degrees it is two to five times the seed noise, and the spread between its three estimates is about what two seeds would produce.
  • The paired t-tests within one seed were overconfident. Pairing removes the episode-to-episode variation, which is what makes eight episodes usable at all. It does nothing about the seed, which is a random draw the test never sees. A paired t of 4.7 between two checkpoints of one run said the difference was real; the second seed says it was that run's own weather. The rule that follows: a single-seed difference under about half a degree on eight episodes is noise, whatever its t-value.

Two statements made earlier in this section do not survive that table. They are left standing where they were, with this note, rather than edited:

  • "20,000 steps is roughly four times too long" was an eval_loss reading. The loss did bottom inside the first epoch. The actions kept improving for another two and a half. It is the same disagreement as Result 2 at a larger scale: the metric that watches the run and the metric that describes what the arm will do disagree by a factor of five about when to stop.
  • 6,000 steps was too short, not 20,000 too long. Every checkpoint the 6,000-step arms produced sits on the falling part of this curve.

Picking a checkpoint the arm will actually get

The measured curve belongs to a 77-episode training set, but the checkpoint that goes on the arm should train on all 91 curated episodes. Holding 14 out is the price of being able to measure, and once the measurement is made there is no reason to keep paying it. So a second run, on all 91, was trained alongside. It cannot be scored, because it has no held-out episodes; its checkpoint has to be chosen by transfer from the first, and the transfer has exactly the trap this page fell into in Result 1.

The second run's dataset is 18% larger, so the same step is a different epoch. Matching by step would put a checkpoint on the arm that is 18% earlier in its schedule than the one measured. The two runs were therefore laid out with save frequencies that cancel the difference: the measured run saves every 2,000 steps on 2,910 steps per epoch, the refit run every 2,427 on 3,532. Both land at 0.687 epochs per save and both end at 6.87. Checkpoint k of one run sits at the same epoch as checkpoint k of the other, and choosing the deploy checkpoint is an index lookup with nothing to correct.

The measured run's best is index 5. The arm gets the refit run's index 5, step 12,135, at the same 3.44 epochs, trained on all 91. It has no offline score of its own and cannot have one. What it rests on is the alignment, and one seed's worth of the measured run. It is on the Hub as Oskrt/pi05_so101_pick_cube_clean91_s24k_012135.

Why the two metrics disagreed

This is the transferable part of the whole page, so it is worth being exact. Both numbers come from the same checkpoints on the same held-out episodes. They still measure different things.

eval_loss is the training objective with gradients off. lerobot's eval loop calls policy.forward(eval_batch), the same function training calls. π0.5's forward draws fresh Gaussian noise and a fresh timestep for every sample, mixes the noise into the ground-truth action chunk, and scores the model's predicted velocity against the true one:

# modeling_pi05.py, the flow-matching forward
time_expanded = time[:, None, None]
x_t = time_expanded * noise + (1 - time_expanded) * actions   # a partly-noised chunk
u_t = noise - actions                                          # the true velocity
...
return F.mse_loss(u_t, v_t, reduction="none")

with time drawn from a Beta(1.5, 1.0) distribution scaled onto (0.001, 1.0). So eval_loss answers: given a partly corrupted version of the right answer, at a randomly chosen corruption level, does the model know which direction to push? It never runs the integrator. It never produces an action.

Replay-eval MAE is the action itself. It calls policy.select_action, which runs the entire sampler: the prefix through the backbone once, then ten Euler steps from pure noise down to t = 0, then the unpad back to the arm's six joints. It answers: what would this arm have been commanded to do, and how many degrees is that from what the human did?

Fig. 6: the ten steps that one metric never runs
eval_loss: a denoising scoretrue chunkthe answercorrupt at random tt ~ Beta(1.5, 1.0)one denoise callpredict a velocityMSE vs true velocitynever emits an actionone checkpoint, one held-out set, measured twicereplay-eval MAE: a control errorpure noiseno answer given10 Euler stepst = 1 down to 0emitted action6 joints, degreesMAE vs the humanwhat the arm would be toldthe errors of ten successive velocity predictions compose along the lower lane; the upper lane scores one of them, in isolation
Same checkpoint, same held-out episodes, two different quantities. eval_loss is the training objective with gradients off: it corrupts the known answer to a random degree and asks which way to push. Replay-eval MAE starts from pure noise, runs the whole integrator, and measures the joint angles that come out. A change can move either one while leaving the other flat, which is exactly what happened, so only the lower lane belongs in a decision about hardware.

Ten integration steps sit between the two quantities, and the model's errors compose along that path. A policy can get better at the one-step denoising score while emitting the same trajectories, and it can emit better trajectories while the denoising score sits flat. Nothing guarantees the two move together, and here they did not: an effect that MAE resolved at t = 3.13 was invisible to a metric whose confidence interval bounded it under 3%.

For anything destined for hardware, trust the metric that measures the action the policy actually emits. For a flow-matching or diffusion policy, the training and eval loss is a denoising score, not a control error. Use it to watch a run's health. Do not use it to decide whether A beats B, do not use it alone to pick a checkpoint, and never conclude "no effect" from it. A null from a proxy is a null about the proxy.

What this settles, and what it does not

Stated plainly rather than buried, because the caveats are load-bearing:

  • Eight episodes per cell of the 2×2, and one seed per arm. A one-degree effect measured this way is a good reason to curate, which is nearly free. It is not a precise coefficient.
  • The eval-loss confidence interval was a lower bound on the uncertainty. Points within one run are autocorrelated: consecutive evals share most of their training history, so they are not 18 independent samples. The true interval is wider than [−0.0031, +0.0011], which means the null was even weaker than it read.
  • MAE is not rollout success. It measures agreement with one human's trajectory, open loop, with the policy never seeing the scene respond to its own actions. Nothing on this project has yet established that any offline number predicts the real success rate; §2's ACT curve is the closest thing there is, and it shows a validation loss creeping down for 18× the compute with no evidence that anything on the bench changed. A degree of joint error is not a probability of a grasp, and the failure this page is chasing is measured in millimetres of gripper closure.
  • Every effect size in the square was measured on the falling part of the curve. Result 3 puts the optimum at step 10,000 on the 20,000-step schedule; the 1,500 to 2,500 checkpoints in the square are far short of it. That is a reason to trust the sign of the arm effect more than its magnitude.
  • The 45% question is untouched. Nothing here says whether π0.5 beats ACT on the arm. Only rollouts answer that, at twenty trials an evening, with the resolution from §3.

Both checkpoints are on the Hub as Oskrt/pi05_so101_pick_cube_clean77 and Oskrt/pi05_so101_pick_cube_dirty99, so the rollout comparison has its two candidates ready.

10. What the diagnostic is for

It would be easy to read all of the above as "trying a bigger model to get a better number." That is not the point, and the design of the runs is what makes the difference.

π0.5 trains on the same episodes, for the same task, and is evaluated on the same held-out episodes and the same rollout protocol as the ACT baseline. Holding all of that fixed is deliberate, because it turns one number into a diagnostic:

  • π0.5 also lands near 45% means the ceiling is in the data, not the model. Two different architectures, one small and one a pretrained generalist, hitting the same wall on the same observations is strong evidence that the observations are the wall. The wrist cameras are then exactly the right fix, and the priority is getting them in.
  • π0.5 lands well above 45% means ACT was capacity-limited, and the last stretch of tuning was aimed at the wrong thing. That redirects effort toward policy scale rather than sensing.

Either answer is worth more than another ACT run, because either one eliminates a hypothesis. A result that merely improves the number without distinguishing those two cases would be worth much less.

That question is still open, and §9 did not answer it. What §9 did is make it answerable. The near-45% branch was the one §7's contamination would have ruined, because near-45% would have had two live explanations instead of one. Arm B now exists: clean training data, exact parity with ACT's training frames, scored on ACT's own held-out episodes. Whichever branch the rollouts land on, there is a checkpoint that can carry the argument.

What §9 also did is settle which instrument reads which question. That was stated wrongly here before the results came in, so it is worth laying out as a hierarchy:

instrumentcostwhat it can seewhat it cannot
held-out eval_lossfree, every 250 stepsthat a run is healthy, and roughly when it stops improvingany difference between two policies that matters on hardware; it missed a one-degree effect entirely, and it picks checkpoints too early
replay-eval MAE, held-out episodesGPU time, no hardware and no humanthe actions the policy would actually emit, in degrees, against a human'swhether those actions succeed; the scene never responds
rollouts on the arman evening for 20success, the only thing anyone cares aboutanything finer than a large difference, per §3

The working rule that falls out: watch the run with the first, screen with the second, decide with the third. The failure mode this page walked into was using the first for the second's job.

The twenty-trial limit from §3 still governs the last row. It can answer "did something large happen". It cannot resolve a ten-point difference, and it should not be asked to. That is precisely why the offline screen has to be a metric worth trusting: it is the only high-resolution instrument available, and §9 is the story of it being the wrong one for an afternoon.

11. What comes next

Rollouts on the deploy checkpoint. Oskrt/pi05_so101_pick_cube_clean91_s24k_012135 is the one Result 3 chose: the measured optimum's epoch, trained on all 91 curated episodes. It is the outstanding obligation from §10. Twenty trials, same bench, same protocol, scored the same way. One thing about the runner is worth knowing before reading those trials. It was built for ACT, whose inference takes about 10 ms; π0.5's takes about 130 ms at every chunk boundary on the desktop card, four missed 30 Hz ticks with the servos holding their last target, fifty times a rollout. The runner also used to read camera frames in the order they arrived, so each of those stalls left four frames queued and the policy's view fell a further 130 ms behind at every boundary for the rest of the run. It now reads the newest frame, and the stall itself is inside the rate gate's tolerance, but a policy that plans 1.7 s ahead from a view that is occasionally 130 ms old is a different animal from one that re-plans every tick.

Wrist cameras, around 6 September. They convert the dataset to three channels, top / left_wrist / right_wrist, which is also exactly π0.5's pretrained camera-slot count, so the recording stays in the distribution the model was trained on. That alignment was the reason for freezing the camera set at three rather than five.

Do not record more single-camera episodes in the meantime. Adding a camera forks the dataset schema. The existing 113 episodes cannot train a three-camera policy, and neither can anything recorded this week; it would all have to be redone. Padding the dataset while waiting for hardware is work that deletes itself.

Score episodes at recording time, and this now has a price tag. §7 argued for it from first principles. §9 measured it: the 22 unmarked failures cost about one degree of joint error, around 10% of the held-out baseline, and the metric that runs during training could not see it. An episode marked pass or fail when it is recorded costs nothing at the time and removes an entire class of contamination that is both silent and, as it turns out, not free. The sim collection path already does this with a contact-based success predicate; the teleop path does not yet.

Long enough to bracket, saved often enough to choose. The eval_loss minimum sits inside the first epoch on every schedule tried; the replay-eval optimum sits at 3.4 epochs. Result 3 is the first run that went far enough to see the curve go flat, and Result 4 showed with a second seed that the flat part is a plateau rather than a point; on this dataset reaching it took about 8,000 steps at batch 16, and seeing that it stays flat took 20,000. The save cadence is the other half of the decision: finetune_pi05.sh now takes SAVE_FREQ as a knob rather than hard-coding 5,000, and when two runs on differently sized data have to be compared, choose the two cadences so that the saves land on the same epochs. Otherwise the comparison inherits the step-versus-epoch confound from Result 1, and this time there is no held-out set on the second run to catch it.

Simulation is the productive way to wait. A scripted expert reads the scene's true state and drives the arm through pick-and-place unattended, at whatever rate physics can be stepped. Episodes are scored by a contact-based success predicate, not by the script's own opinion of itself, so the labels mean something. Measured at 90/90 at default randomisation, and it degrades honestly: raise the position jitter 3.5× and it drops to 13/20, with every failure sorting cleanly by reach distance rather than at random. A generator that fails for legible reasons is one you can trust the successes from.

The simulated rig already renders and records the three-camera layout, so the top-only-versus-three-camera question can be answered there, with hundreds of auto-scored episodes instead of twenty hand-scored ones, before the hardware arrives. Sim-to-real means the number will not transfer, but the direction will, and occlusion geometry is one of the things simulation models honestly.

Then the longer arc. A large generalist trained in the cloud finds the ceiling: it is the best-eval producer and the teacher. A smaller policy runs onboard and is what actually ships untethered. They share one dataset and one evaluation harness, and the gap between them is the diagnostic. It separates "the policy is too small" from "the data is too thin", which are the two failure modes that get confused for months at a time, and which have opposite fixes.

That is the same logic as §10, applied continuously instead of once. With one amendment from §9: whatever metric that gap is measured in has to be one that can see the thing you are trying to detect. That is not automatic, and it is not something the number itself will ever tell you.

Reference

Verified against the installed library rather than papers:

  • lerobot/policies/pi05/configuration_pi05.py: DEFAULT_IMAGE_SIZE = 224, max_state_dim/max_action_dim = 32, num_inference_steps = 10, chunk_size = 50, empty_cameras = 0, the QUANTILES normalisation mapping, the gemma_2b / gemma_300m variant split, and the flow-matching time sampling (time_sampling_beta_alpha = 1.5, time_sampling_beta_beta = 1.0, scale = 0.999, offset = 0.001).
  • lerobot/policies/pi05/modeling_pi05.py: embed_prefix (one shared tower), _preprocess_images (the −1 padding and the all-missing error), sample_actions (prefix cached as past_key_values), denoise_step, the action unpadding, _get_default_peft_targets, and the flow-matching forward whose F.mse_loss(u_t, v_t) is the quantity eval_loss reports.
  • lerobot/policies/pi05/processor_pi05.py: Pi05PrepareStateTokenizerProcessorStep, the 256-bin discretisation, and the prompt template.
  • lerobot/policies/common/flow_matching.py: euler_integrate, the dt = −1/num_steps loop, and sample_time_beta.
  • lerobot/processor/normalize_processor.py: the q01/q99 requirement and the [−1, 1] mapping.
  • lerobot/datasets/factory.py: make_train_eval_datasets, whose docstring states the rule directly ("The last ceil(n_episodes * eval_split) episodes per task are held out for evaluation"), the per-task eps[len(eps) - n_eval :] slicing, and the Train/eval split: ... log line quoted in §9.
  • lerobot/configs/train.py: the eval_steps default of 0 and the validation that raises eval_steps > 0 requires dataset.eval_split > 0.0 to hold out eval data.
  • lerobot/scripts/lerobot_train.py: the eval loop, which calls policy.forward(eval_batch) under torch.no_grad() and averages the result. That single line is why eval_loss is the training objective rather than a control error, and therefore why §9 needed a second metric.

Verified against this repo's own artefacts:

  • outputs/runs/train-20260830-104258-act_hilti_box_91_pinned/spec.json: the ACT baseline's train_episodes (77) and eval_episodes (14) lists, eval_mode: random, eval_seed: 42.
  • meta/episodes/ of the so101_pick_cube dataset: the per-episode frame counts behind every count in §1 and §7, including the 1,797-frame cap group and the sub-200-frame aborts.
  • scripts/runpod/replay_eval.py: the replay-eval harness in §8 and §9, its select_action call, and the feature_utils import shim in §5.
  • scripts/runpod/finetune_pi05.sh: --policy.scheduler_decay_steps="$STEPS", which is why changing the step budget re-shapes the learning-rate schedule, and the checkpoint-size note behind the save_freq trade-off in §9.

Result files, on the training box rather than in this repo, since they are outputs rather than sources:

  • ~/ab_experiment_6k_result.json: both arms' 24-point held-out loss curves and the matched-epoch statistics.
  • ~/aborted_20k_eval_curves.json: the killed 20,000-step attempt, the only copy of that schedule's curves.
  • ~/replay_eval/: the per-episode replay summaries behind every MAE in §9. heldout_* and control_* are the fourteen held-out and six trained-on episodes; xstep_* are the extra checkpoints that fill in the square and continue the sweep; s20k_clean77_<step>/ are the ten cells of Result 3, and s20k_clean77_seed2_<step>/ the ten of Result 4.

On this page