Ground Your Steps: Optimizing Sampling Schedules in Flow Matching Robot Policies
Organizations: Institute of Automation, Chinese Academy of Sciences · D-Robotics · School of Artificial Intelligence, University of Chinese Academy of Sciences
Abstract
Flow matching robot policies generate action chunks by integrating a learned velocity field at inference. However, under a fixed budget of neural function evaluations (NFEs), the integration result depends on the sampling schedule. This motivates optimizing the schedule to bring the generated action distribution closer to the demonstrations and improve task success. We propose Ground Your Steps (GYS), a training-free method that optimizes the sampling schedule by matching the generated and demonstrated chunk distributions at each observation. GYS applies truncated fractional differencing along each arm joint's action sequence and compares two types of pairwise differences between action chunks at each observation: differences of a generated chunk against a demonstration, and differences of two independent generated chunks against each other. After fractional differencing, these two pairwise-difference distributions coincide exactly when the distributions of generated and demonstrated action chunks match. GYS minimizes the energy distance between these distributions to obtain an improved schedule for each task and NFE budget. Compared with the uniform grid, GYS brings the generated chunk distribution closer to the demonstrated distribution and raises the success rate through the sampling schedule alone. On RoboTwin 2.0 benchmarks, GYS improves success rates at nearly every budget, with gains of 2.8 percentage points for both and GR00T N1.7. The gains also transfer to three real-world manipulation tasks, reaching up to 3.3 percentage points. Code is available at https://github.com/D-Robotics-AI-Lab/GroundYourSteps.
Figures & tables
| Policy | Schedule | Avg. | ||||||
|---|---|---|---|---|---|---|---|---|
| Uniform | 67.7 0.6 | 68.2 0.4 | 68.0 0.5 | 67.7 0.4 | 66.9 0.4 | 66.6 0.2 | 67.5 0.6 | |
| SharpEuler | 67.5 | 67.4 | 66.8 | 66.5 | 65.0 | 64.4 | 66.3 1.3 | |
| Dense-Jump | 59.1 | 60.1 | 59.6 | 59.1 | 60.1 | 59.7 | 59.6 0.4 | |
| GYS (ours) | 70.9 0.3 | 71.7 0.3 | 70.8 0.2 | 69.6 0.4 | 69.3 0.2 | 69.3 0.3 | 70.3 1.0 | |
| Gain | +3.2 | +3.5 | +2.8 | +1.9 | +2.4 | +2.7 | +2.8 | |
| Latency (ms) | 185 | 196 | 215 | 230 | 269 | 302 | – |
| GYS Ablation Study | Generalization Study | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Policy | NFEs | Uniform | Full | w/o self | Uniform | Full | |||||||
| 3 | 67.7 | 70.9 | 68.1 | 68.0 | 70.2 | 71.0 | 71.4 | 70.6 | 70.8 | 63.0 | 41.2 | 44.5 | |
| 4 | 68.2 | 71.7 | 66.1 | 67.9 | 70.5 | 70.8 | 71.2 | 70.9 | 71.5 | 62.6 | 42.7 | 45.9 | |
| GR00T N1.7 | 3 | 47.8 | 51.0 | 38.8 | 47.3 | 51.0 | 51.3 | 50.5 | 50.8 | 50.6 | 44.9 | 15.0 | 19.6 |
| 4 | 48.6 | 51.9 | 46.2 | 46.3 | 51.1 | 51.7 | 52.4 | 51.5 | 52.0 | 44.2 | 16.2 | 21.2 | |
Appendix figures & tables7 assets
Supplementary material from the paper’s appendix.
Appendix
| Budget | 3 | 4 | 5 | 6 | 8 | 10 |
|---|---|---|---|---|---|---|
| Initial candidates (%) | 30.0 | 57.6 | 16.9 | 18.3 | 55.7 | 33.4 |
| Additional PSO (%) | 9.9 | 3.2 | 12.3 | 5.9 | 1.4 | 3.1 |
| Total (%) | 39.9 | 60.7 | 29.1 | 24.3 | 57.1 | 36.5 |
| GPU | Micro-batch | Budget | |||||
|---|---|---|---|---|---|---|---|
| 3 | 4 | 5 | 6 | 8 | 10 | ||
| A100-80 GB | 512 | 15 | 18 | 20 | 23 | 28 | 32 |
| L4-23 GB | 32 | 38 | 47 | 56 | 65 | 83 | 101 |
| Nodes | ||
|---|---|---|
| GR00T N1.7 | ||
| Image input | ||
| Action space | absolute joint (14-D RoboTwin 2.0, 16-D real robot) | |
| Chunk length | 32 | 32 |
| Fine-tuned modules | all | vision tower, projector, action head |
| Batch size | 64 (8 per GPU) | 64 (8 per GPU) |
| Training steps | 40,000 | 40,000 |
| Method | blocks_ranking_rgb | stack_bowls_three | |
|---|---|---|---|
| 3 | Uniform | 0, 0.333, 0.667, 1 | |
| Dense-Jump | 0, 0.250, 0.500, 1 | ||
| SharpEuler ( ) | 0, 0.442, 0.802, 1 | 0, 0.441, 0.800, 1 | |
| SharpEuler (GR00T N1.7) | 0, 0.450, 0.802, 1 | 0, 0.450, 0.802, 1 | |
| GYS ( ) | 0, 0.27, 0.723, 1 (+20.8%) | 0, 0.175, 0.685, 1 (+13.3%) | |
| GYS (GR00T N1.7) | 0, 0.218, 0.692, 1 (+38.0%) | 0, 0.475, 0.740, 1 (+47.8%) | |
| GR00T N1.7 | ||||||||
|---|---|---|---|---|---|---|---|---|
| Task | Uniform | GYS ( ) | Uniform | GYS ( ) | Uniform | GYS ( ) | Uniform | GYS ( ) |
| adjust bottle | 95 | 99 (0.425) | 98 | 96 (0.45) | 100 | 100 (1) | 100 | 100 (1.125) |
| beat block hammer | 67 | 64 (0.15) | 73 | 75 (0.225) | 44 | 52 (1) | 58 | 57 (1.15) |
| blocks ranking rgb | 36 | 55 (0.4) | 41 | 52 (0.45) | 79 | 88 (1) | 81 | 88 (1.175) |
| blocks ranking size | 10 | 11 (0.475) | 12 | 8 (0.55) | 40 | 44 (0.975) | 40 | 44 (1.125) |