Stored action normalization stats don't match the data (dim 4 std)

#1
by vedevpatel - opened

While auditing this dataset I found the stored normalization stats in meta/stats.json disagree with the actual data. For action dimension 4, the stored std is 0.00105746, outside the data's 99.9% bootstrap interval of [0.000628, 0.001054] (40-episode spread sample).

Checked at revision c4b7ed4b4bc05ef9475629ca7cfae1145f95550c:

stat stored data bootstrap 99.9% interval
action.std dim 4 0.00105746 [0.000628, 0.001054]

Impact: LeRobot normalizes actions with the stored stats at train and inference time, so a std that doesn't match the data mis-scales that dimension for every episode. Systematically wrong stats are measurably harmful - in a controlled diffusion-policy sweep (PushT, 20k steps, 3 seeds), offsetting the normalization stats from the training data cost +23.7% held-out action MSE (full table: vedevpatel.github.io/kinema/harm-table.html).

Recomputing meta/stats.json from the data (or re-exporting with a current lerobot) repairs it. Note this comes from a sampled audit - worth confirming against the full dataset.

Found with kinema's stats-drift check (github.com/vedevpatel/kinema)

Sign up or log in to comment