SharpaDex force policy · stage 3 in simulation

Corrections learned from reward around the frozen four-expert model

The released model is frozen. A small network learns bounded corrections to its commands from the outcome alone, in a physics simulation of clean_plate_with_eraser. On 29 scenes it never trained in, task success rises from 29 % to 63 %.

29 %
Frozen model
Task success on 29 held-out scenes, 20 perturbations each
63 %
With stage-3 corrections
+33.6 points [+25.0, +42.4]
58 %
Second training seed
+28.6 points [+19.7, +37.2]
14 %
Matched control
Same training without the critic's gradient: −15.7 points [−25.0, −7.1]

24 of the 29 held-out scenes improve. The corrections were trained in 240 other scenes and never saw these. Every run is scored the same way: the eraser must travel at least 10 cm over the plate while it presses on it and the plate is held, and the plate must lie on the table again at the end.

task success on the held-out scenes, % (line = 95 % interval over scenes)
0%10%20%30%40%50%60%70%80%operator's commands: 35.9% [26.9, 45.5]36%operator'scommandsfrozen model: 29.3% [21.4, 38.1]29%frozenmodelmatched control (no critic gradient): 13.6% [9.5, 18.1]14%matched control(no critic gradient)with stage-3 corrections: 62.9% [54.3, 71.2]63%with stage-3correctionsstage 3, second seed: 57.9% [49.5, 66.0]58%stage 3,second seed
29 held-out scenes × 20 perturbationsOperator's commandsFrozen modelWith correctionsCorrections minus frozen (paired)
Task success35.9 % [26.9, 45.5]29.3 % [21.4, 38.1]62.9 % [54.3, 71.2]+33.6 points [+25.0, +42.4]
Plate picked up87.8 % [82.4, 92.2]85.5 % [78.4, 91.9]94.7 % [90.0, 97.6]+9.1 points [+4.3, +14.7]
Plate dropped off the table15.3 % [11.0, 19.7]15.0 % [11.4, 18.8]8.4 % [5.0, 12.8]−6.6 points [−11.2, −1.6]
Eraser travel on the held plate9.1 cm [7.5, 10.7]8.6 cm [6.8, 10.6]15.4 cm [13.3, 17.6]+6.8 cm [+5.0, +8.6]

Brackets are 95 % bootstrap intervals over scenes; the difference is paired by scene and perturbation. Without perturbation (one run per scene, the videos below) success is 31 % for the frozen model and 72 % with the corrections. The table is the first training run.

The operator's own commands succeed in only 36 % of the simulated runs. The simulation is a rough reconstruction of each recording, so these are success rates in that simulation, not estimates for the robot (see limits).

Learning curve

success in episodes without exploration noise, last 300 such episodes
0%10%20%30%40%50%60%70%05101520training episodes, thousands64%60%59%23%
training scenesvalidation scenes (never trained in)second seed, validation scenesmatched control, validation scenesfrozen model in the validation scenesfrozen model in the training scenes

Every fifth training episode runs without exploration noise and stays out of training, alternately in a training scene and in one of 32 validation scenes set aside from them. The critic's gradient reaches the actor from about 2,500 episodes on. 24,000 episodes take 2.9 hours on 30 CPU processes and one GPU.

All 29 held-out scenes, frozen model against corrected model

Each video shows the same scene twice: the frozen model's commands on the left, the same commands with the learned corrections on the right. These are the scenes as reconstructed, without perturbation. In 13 the corrections turn a failure into a success, in 8 both succeed, in 7 both fail and in 1 the corrections break a success. Under each video: how the same scene went under 20 perturbations.

Show
frozen modelwith corrections
Corrections fix a failure · fail → success · wiped 1 → 12 cmunder 20 perturbations: 5 → 19 successesPOC22027_2026_04_18_16_43_25 / 000022
frozen modelwith corrections
Corrections fix a failure · fail → success · wiped 13 → 16 cmunder 20 perturbations: 3 → 18 successesPOC22027_2026_04_18_14_25_36 / 000061
frozen modelwith corrections
Corrections fix a failure · fail → success · wiped 0 → 29 cmunder 20 perturbations: 6 → 18 successesPOC22027_2026_04_18_19_27_11 / 000020
frozen modelwith corrections
Corrections fix a failure · fail → success · wiped 5 → 19 cmunder 20 perturbations: 9 → 16 successesPOC22027_2026_04_18_19_27_11 / 000030
frozen modelwith corrections
Corrections fix a failure · fail → success · wiped 0 → 14 cmunder 20 perturbations: 6 → 15 successesPOC22027_2026_04_18_16_43_25 / 000048
frozen modelwith corrections
Corrections fix a failure · fail → success · wiped 14 → 23 cmunder 20 perturbations: 9 → 15 successesPOC22027_2026_04_18_19_27_11 / 000098
frozen modelwith corrections
Corrections fix a failure · fail → success · wiped 0 → 36 cmunder 20 perturbations: 4 → 14 successesPOC22027_2026_04_18_19_27_11 / 000032
frozen modelwith corrections
Corrections fix a failure · fail → success · wiped 18 → 11 cmunder 20 perturbations: 4 → 11 successesPOC22027_2026_04_18_19_27_11 / 000018
frozen modelwith corrections
Corrections fix a failure · fail → success · wiped 17 → 14 cmunder 20 perturbations: 2 → 10 successesPOC22027_2026_04_18_19_27_11 / 000008
frozen modelwith corrections
Corrections fix a failure · fail → success · wiped 0 → 13 cmunder 20 perturbations: 1 → 9 successesPOC22027_2026_04_18_14_25_36 / 000020
frozen modelwith corrections
Corrections fix a failure · fail → success · wiped 3 → 21 cmunder 20 perturbations: 4 → 9 successesPOC22027_2026_04_18_14_25_36 / 000060
frozen modelwith corrections
Corrections fix a failure · fail → success · wiped 1 → 10 cmunder 20 perturbations: 1 → 6 successesPOC22027_2026_04_18_16_43_25 / 000043
frozen modelwith corrections
Corrections fix a failure · fail → success · wiped 0 → 19 cmunder 20 perturbations: 1 → 5 successesPOC22027_2026_04_18_14_25_36 / 000034
frozen modelwith corrections
Both succeed · success → success · wiped 26 → 36 cmunder 20 perturbations: 17 → 17 successesPOC22027_2026_04_18_10_54_31 / 000003
frozen modelwith corrections
Both succeed · success → success · wiped 16 → 15 cmunder 20 perturbations: 7 → 17 successesPOC22027_2026_04_18_14_25_36 / 000086
frozen modelwith corrections
Both succeed · success → success · wiped 19 → 20 cmunder 20 perturbations: 19 → 16 successesPOC22027_2026_04_18_19_27_11 / 000118
frozen modelwith corrections
Both succeed · success → success · wiped 29 → 29 cmunder 20 perturbations: 3 → 15 successesPOC22027_2026_04_18_19_27_11 / 000086
frozen modelwith corrections
Both succeed · success → success · wiped 19 → 14 cmunder 20 perturbations: 9 → 15 successesPOC22027_2026_04_18_19_27_11 / 000130
frozen modelwith corrections
Both succeed · success → success · wiped 29 → 19 cmunder 20 perturbations: 14 → 12 successesPOC22027_2026_04_18_19_27_11 / 000080
frozen modelwith corrections
Both succeed · success → success · wiped 11 → 22 cmunder 20 perturbations: 5 → 8 successesPOC22027_2026_04_18_16_43_25 / 000006
frozen modelwith corrections
Both succeed · success → success · wiped 10 → 16 cmunder 20 perturbations: 9 → 6 successesPOC22027_2026_04_18_10_54_31 / 000006
frozen modelwith corrections
Both fail · fail → fail · wiped 10 → 0 cmunder 20 perturbations: 3 → 16 successesPOC22027_2026_04_18_10_54_31 / 000030
frozen modelwith corrections
Both fail · fail → fail · wiped 0 → 9 cmunder 20 perturbations: 5 → 16 successesPOC22027_2026_04_18_19_27_11 / 000116
frozen modelwith corrections
Both fail · fail → fail · wiped 0 → 0 cmunder 20 perturbations: 9 → 13 successesPOC22027_2026_04_18_14_25_36 / 000026
frozen modelwith corrections
Both fail · fail → fail · wiped 27 → 36 cmunder 20 perturbations: 2 → 13 successesPOC22027_2026_04_18_14_25_36 / 000085
frozen modelwith corrections
Both fail · fail → fail · wiped 0 → 0 cmunder 20 perturbations: 1 → 13 successesPOC22027_2026_04_18_19_27_11 / 000097
frozen modelwith corrections
Both fail · fail → fail · wiped 6 → 7 cmunder 20 perturbations: 5 → 5 successesPOC22027_2026_04_18_14_25_36 / 000065
frozen modelwith corrections
Both fail · fail → fail · wiped 0 → 0 cmunder 20 perturbations: 0 → 2 successesPOC22027_2026_04_18_16_43_25 / 000010
frozen modelwith corrections
Corrections break a success · success → fail · wiped 24 → 21 cmunder 20 perturbations: 7 → 16 successesPOC22027_2026_04_18_19_27_11 / 000089

Videos play at half the simulated frame rate (15 frames per second, real time). The strip above each half gives the verdict and the wiped path of that run. The hands float because the simulation moves the two hand bases directly, without arms.

The setup

Where the gain comes from

Share of the 580 held-out runsFrozen modelWith corrections
Success29.3 %62.9 %
Eraser travel under 10 cm37.6 %18.1 %
Plate never picked up14.5 %5.3 %
Plate dropped off the table14.3 %8.3 %
Wiped, plate not set down properly4.3 %5.3 %
In place of the actorTask successMinus frozen (paired)
Frozen model29.3 %
The actor's mean correction, held constant36.4 %+7.1 points [+0.3, +13.3]
Its mean while the recording wipes, and its mean otherwise39.3 %+10.0 points [+2.6, +17.4]
The actor62.9 %+33.6 points [+24.7, +42.6]

What failed first

Training curves of stages 1 and 2

The three stages follow Facet-0: supervised training, offline refinement with a critic, online corrections. Stage 3 above was applied directly to the stage-1 model. Stage 2 was run on an earlier flow-matching policy, gave no clear gain, and is not part of the released model.

Stage 1: supervised training of the released four-expert model

training loss, mean of 3 seeds, one batch every 200 steps (log scale)
0.020.050.10.20.5101020304050training steps, thousands0.2410.0690.017
total loss (all terms, weighted)joint targets (L1, normalised units)fingertip-force forecast
Held-out joint error, mrad (mean of 3 seeds)25,000 steps50,000 steps
Four experts, with force (released)14.1413.95
Same model without force15.2414.91

Training logs one batch every 200 steps (runs/headline/full/seed*/train_log.json). There is no held-out curve during training: each run keeps two checkpoints, and both were evaluated on the 115 held-out episodes.

Stage 2: offline refinement with a critic, on the flow-matching policy

|value − return| on held-out episodes
00.20.40.60.801020304050607080critic training steps, thousands0.29
critic: |value − return| on held-out episodesconstant guess (mean return of the training episodes)
critic training loss, mean of the last 2,000 steps
22.533.544.5501020304050607080critic training steps, thousands2.09
critic: cross-entropy to its projected target
flow-matching loss on joint targets, mean of 3 seeds, one batch every 200 steps
0.060.080.1012345678training steps, thousands (8k more steps from the trained flow policy)0.0880.0870.053
continued training (control)refined: plain branchrefined: branch tagged as positive credit
Held-out joint error, mrad (mean of 3 seeds)After 8,000 more steps
Continued training (control)17.29
Refined with the critic's labels17.19

The critic predicts the return of a reward built from the dataset's subtask labels, from the frozen policy's features. On held-out episodes it ends at 0.29 against 0.57 for a constant guess (correlation 0.77). Frames with the top 20 % of credit are tagged, and the policy is trained 8,000 more steps with a tagged branch. The difference to plain continued training is −0.10 mrad [−0.21, +0.02]. The critic curve is a re-run with the original settings and seed, because the first run printed its curve without saving it.

Limits

Reproduce

python scripts/s3_prepare.py                                   # commands of the frozen model for every episode
python scripts/s3_scenes.py                                    # build each episode's scene
python scripts/s3_train.py name=rl                             # the corrections (2.9 h)
python scripts/s3_train.py name=rl_seed1 learner.seed=1        # second seed
python scripts/s3_train.py name=control learner.actor_q_weight=0
python scripts/s3_eval.py name=rl seeds=20                     # held-out evaluation (also rl_seed1, control)
python scripts/s3_fixed.py name=rl                             # fixed corrections in place of the actor
python scripts/s3_video.py name=rl pick=29                     # the videos of this page
python scripts/stage_curves.py                                 # curves of stages 1 and 2
python scripts/build_stage3_page.py                            # this page

Settings: configs/stage3.yaml and configs/sim.yaml. Written up in RESULTS.md, section 7; commands in the README.