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)
29 held-out scenes × 20 perturbations
Operator's commands
Frozen model
With corrections
Corrections minus frozen (paired)
Task success
35.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 up
87.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 table
15.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 plate
9.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
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.
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
Scene. Two hands, a table, a plate and an eraser in MuJoCo. Plate, eraser and table are placed per recording from the stereo cameras and the recorded fingertips. 301 recordings of the task give 240 training scenes, 32 validation scenes and 29 held-out scenes; the held-out scenes are the model's own held-out episodes. Friction, masses and five scene corrections were calibrated on 60 training scenes so that the operator's commands complete the task as often as possible.
Frozen model. The released four-expert model reads the recorded observations and re-predicts every 8 frames. Its commands are the reference. It does not see the simulated scene.
Corrections. Every 0.2 s a network with two hidden layers of 256 units (the actor) outputs 12 numbers: a position offset of each hand base, within ±2 cm per axis, and three finger synergies per hand, within ±0.75 standard deviations, both rate-limited.
What the actor sees. The frozen model's contact and phase read-outs, the plate and the eraser relative to the hands, the simulated fingertip forces, the hand posture, and how far hands and fingers are from their commands. Nothing that identifies the recording.
Learning. Facet-0's online adaptation with the robot replaced by the simulator: twin critics, a readiness gate on the critic before any of its gradient reaches the actor, and imitation of the corrections of successful episodes with a weight that falls from 1.0 to 0.3. The critic also sees the reference motion and the simulator's object state; it is not deployed.
Reward. Dense progress, at most 1 per episode: plate lifted, eraser lifted, plate held during the wipe, wiped path, plate set down.
Perturbation. Every training episode shifts both objects by up to 1 cm, turns the eraser by up to 8° and scales friction and mass by 0.7 to 1.3. The evaluation uses 20 fixed perturbations per scene, the same for every policy.
Where the gain comes from
Share of the 580 held-out runs
Frozen model
With corrections
Success
29.3 %
62.9 %
Eraser travel under 10 cm
37.6 %
18.1 %
Plate never picked up
14.5 %
5.3 %
Plate dropped off the table
14.3 %
8.3 %
Wiped, plate not set down properly
4.3 %
5.3 %
In place of the actor
Task success
Minus frozen (paired)
Frozen model
29.3 %
The actor's mean correction, held constant
36.4 %
+7.1 points [+0.3, +13.3]
Its mean while the recording wipes, and its mean otherwise
39.3 %
+10.0 points [+2.6, +17.4]
The actor
62.9 %
+33.6 points [+24.7, +42.6]
Fewer wipes that are too short, fewer failed pick-ups. The left table sorts every held-out run by how it ended.
It is a reaction to the scene, not a fixed adjustment. Replacing the actor with its own mean correction, or with one mean for the wiping phase and one for the rest, recovers a small part of the gain. The actor is +23.6 points [+14.3, +32.2] above the better of the two.
The critic's gradient is what makes it work. The matched control keeps the schedule, the exploration and the imitation of successful episodes and removes only the critic's gradient. It ends below the frozen model at 14 %.
A second training run confirms the size. Another seed reaches 58 % (+28.6 points [+19.7, +37.2]). It picks the plate up more often and wipes further, as the first run does; it does not drop the plate less often, so that part of the first run's gain is not a stable effect.
What failed first
First design: the actor also read the frozen model's pooled token. Success in the training scenes rose from 24 % to 50 %; on the held-out scenes it went from 43 % to 37 %. The token is computed from the recorded cameras, so it identifies the recording, and the actor had learned one set of corrections per training scene.
Second design: no token, but the actor still saw the reference motion. Stopped after 6,550 episodes with the training scenes at 45 % and the validation scenes flat at 34 to 38 %. The reference motion identifies the recording as well. In the final design only the critic sees it.
First task definition. "Plate back on the table" required a tilt under 45°, which cut through the pose the model plate comes to rest in, and the wipe path counted contact jitter. Both were replaced. The numbers of the first two designs are under the first definition.
The held-out scenes were looked at once before the final run, to diagnose the first design. Every later choice was made on the 32 validation scenes, and the final actor is the last checkpoint, not a selected one.
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)
total loss (all terms, weighted)joint targets (L1, normalised units)fingertip-force forecast
Held-out joint error, mrad (mean of 3 seeds)
25,000 steps
50,000 steps
Four experts, with force (released)
14.14
13.95
Same model without force
15.24
14.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
critic: |value − return| on held-out episodesconstant guess (mean return of the training episodes)
critic training loss, mean of the last 2,000 steps
critic: cross-entropy to its projected target
flow-matching loss on joint targets, mean of 3 seeds, one batch every 200 steps
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 labels
17.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
A rough simulation, not a robot. Simulated fingertip forces peak at about 200 N where the recorded ones peak at about 40 N; the plate is a disc on a stem; the arms are left out. The operator's own commands complete the task in a third of the runs, so most failures of the frozen model are failures of the reconstruction. What the corrections learned is in part how to do the task in this simulation.
The frozen model does not close the loop. It reads the recorded observations; only the corrections react to the simulated scene.
The actor is given the object poses from the simulator. On a robot they would have to come from the cameras.
The critic sees the simulator's state. It is used in training only.
One task, two training runs.
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.