PaperPatch Policy (CLS versus Dense)
Patch Policy: Efficient Embodied Control via Dense Visual Representations
Claim tested: Dense patch features improve real-robot task success over CLS features from the same pretrained visual encoder.
Tested
Result
Improvement over baseline
Replicated
- Reported
- +17 pts
- Ours
- +22 pts
- Gain vs baseline
- 95% CI, +12 pts to +32 pts
- Paper's reported gain
- No difference
Success rate
- Reported
- 82%
- Ours
- 26%
- Measured on our stations
- 95% CI, 18%–35%
- Reported in the paper
Across iterations
- Iteration 1vs CLS token+7 pts
- Iteration 2vs CLS token+22 pts
By task
| Task | BaselineCLS token | MethodPatch Policy (CLS versus Dense) | Improvement |
|---|---|---|---|
| e01Connect DC jack | 0%0/30 | 0%0/30 | 0 pts−11 to +11 |
| e02Place spray bottles upright, nozzle forward (bimanual handover) | 0%0/30 | 27%8/30 | +27 pts+10 to +44 |
| e03Pour screws into the funnel | 10%3/30 | 50%15/30 | +40 pts+17 to +58 |
| All tasks | 3%3/90 | 26%23/90 | +22 pts+12 to +32 |
| Reported in the paper | 65% | 82% | +17 pts |
Rollouts
One clip per environment from this entry's evaluation, beside where each evaluation episode placed the environment's objects, coloured by its rating. Use the button beside each environment to open its evaluation dataset in the dataset viewer.
e01Connect DC jack BaselineCLS token0/300%
Show in dataset viewer of CLS token on Connect DC jackMethodPatch Policy (CLS versus Dense)0/300%
Show in dataset viewer of Patch Policy (CLS versus Dense) on Connect DC jacke03Pour screws into the funnel BaselineCLS token3/3010%
Show in dataset viewer of CLS token on Pour screws into the funnelMethodPatch Policy (CLS versus Dense)15/3050%
Show in dataset viewer of Patch Policy (CLS versus Dense) on Pour screws into the funnel- Held-out benchmark environment
e02Place spray bottles upright, nozzle forward (bimanual handover) BaselineCLS token0/300%
Show in dataset viewer of CLS token on Place spray bottles upright, nozzle forward (bimanual handover)MethodPatch Policy (CLS versus Dense)8/3027%
Show in dataset viewer of Patch Policy (CLS versus Dense) on Place spray bottles upright, nozzle forward (bimanual handover)
Implementation Details
What we changed
We compare dense patch features with CLS features to test the paper’s claim that spatially detailed visual features improve manipulation success. Both policies use the same frozen DINOv2 encoder and the authors’ VQ-BeT architecture, with reference-code components reused. Both receive images only. Training and execution settings are matched between the two arms.
- Three cameras. Both arms read three cameras, resized from 256 to 224 pixels, instead of the paper’s two.
- Longer chunks. Both arms predict 30 steps instead of 5 or 10 because controls run at 30 Hz, giving one second of planned motion.
- Crossfade instead of temporal ensembling. Both arms replan every 100 ms. Execution mixes old and new target trajectories over a 400 ms crossfade, increasing the new plan’s weight; overlapping updates revise the ongoing motion. This replaces the paper’s per-step prediction and uniform averaging, identically in both arms.
- History spacing. Both visual history frames are 100 ms apart. The paper does not specify the control rate needed to establish exact timing parity.
- Normalized actions. Actions are scaled to the range from -1 to 1 by their minimum and maximum, because the two arms’ positions, rotations and grippers have different units. The reference code uses raw actions.
- Larger tokenizer and offset head. Two-arm actions and longer chunks increased reconstruction error. We raised each codebook from 16 to 64 entries and widened encoder/decoder MLPs from 128 to 512, adding one hidden layer. Held-out reconstruction improved by 19–28%, but the offset head grew to about 79M parameters. Both arms share these changes.
- Tokenizer fitting budget. We fit the tokenizer for 20k optimization steps instead of the reference’s epoch-based budget, then freeze it during policy training.
- Final-checkpoint evaluation. Both arms use the final checkpoint after 50k steps at batch 128, split over two GPUs, without intermediate checkpoint selection. The paper reports best-checkpoint selection in simulation; its real-robot selection procedure is not established.
- Mixed precision. The visual encoder and transformer run in BF16, while action heads, VQ decoding and losses remain FP32. Both arms use the same precision.
Prompt summary
Relaunch from scratch with a stricter setup: keep the encoder frozen, use image observations only (no proprioception or goal conditioning), use the paper's visual observation history in training and serving, adapt horizon, replanning and blending to keep the paper's reactive closed loop, and size the VQ tokenizer by reconstruction checks. Keep settings identical across tasks and arms, and do not use clamp_electrical_component. (Implemented with 2 frames 100 ms apart, 1 s chunks replanned every 100 ms and a 2x64-code tokenizer.)
Response summary
Dense clearly won: SR 3.3% vs 25.6% (+22.2 pp, CI 13.3 to 31.1, p < 0.001) and AP 13.5% vs 43.5% (+30.0 pp, p < 0.001); spray 0/30 vs 8/30, pour 3/30 vs 15/30, dc_jack 0/30 for both.
Conclusion
Reproduced: dense patches clearly beat CLS on success and progress. Run in parallel with iteration 3 on a different task set.