Ground Your Steps: Optimizing Sampling Schedules in Flow Matching Robot Policies

Licheng Yang1,2,3 Yonghao He2,† Lingfeng Qian2 Xin Shi2 Wei Sui2,✉︎ Hu Su1,✉︎

1 State Key Laboratory of Multimodal Artificial Intelligence Systems,
Institute of Automation, Chinese Academy of Sciences
2 D-Robotics
3 School of Artificial Intelligence, University of Chinese Academy of Sciences

† Project lead ✉︎ Corresponding authors

D-Robotics University of Chinese Academy of Sciences
arXiv Code

Five-steps flow matching, closer to demonstrations

Same learned velocity field. Different sampling schedules, different endpoint distributions.

Uniform schedule

100 steps of integration

The dense grid samples the late bend, shifting and spreading the endpoints.

GYS-optimized schedule

5 steps of integration

The last step spans the Lipschitz window and lands closer to the demonstrations.

Generated Demonstrated Lipschitz window (τ ≥ 0.8)

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 π0.5 and GR00T N1.7. The gains also transfer to three real-world manipulation tasks, reaching up to 3.3 percentage points.

Introduction

Flow-matching VLAs default to uniform sampling schedules, so what happens when the schedule is no longer uniform?

Flow matching vision-language-action (VLA) policies generate action chunks by integrating a learned marginal velocity field from Gaussian noise to actions under a finite budget of neural function evaluations (NFEs). Under finite-step integration, the generated action distribution can deviate from the demonstrated distribution for two reasons. Averaging differently directed path velocities creates curved marginal trajectories that coarse steps fail to resolve, while near the action endpoint the marginal field becomes sensitive to small perturbations and amplifies integration errors. In closed-loop evaluations across 50 RoboTwin 2.0 tasks (Figure 1(a)), uniform sampling exhibits non-monotonic performance as the NFE budget B increases. At a fixed budget of B = 5, shifting sampling nodes moderately toward the noise start (s = 0.25) outperforms the uniform grid (s = 0.5), whereas pushing nodes too close to either endpoint degrades success.

These findings show that when a policy evaluates matters as much as how many steps it takes, making the sampling schedule a direct lever on task success. We propose Ground Your Steps (GYS), a training-free method that grounds the sampling schedule in task demonstrations. By optimizing a distribution-matching objective offline for each task and NFE budget, GYS aligns the generated action distribution with the demonstrations and improves closed-loop success without modifying policy weights or adding inference cost.

Figure 1. Ground Your Steps overview showing how sampling schedules affect robot policy performance.
Figure 1. Motivation, optimized sampling schedules, pairwise-difference alignment, and closed-loop RoboTwin 2.0 benchmark gains of Ground Your Steps (GYS).

Method

More steps don’t always help, and where you step matters just as much. Under a fixed NFE budget, can we unlock higher closed-loop success from a frozen flow matching policy purely by choosing when to evaluate?

Ground Your Steps (GYS) is a training-free method that optimizes the sampling schedule \(\boldsymbol{\tau}\) of a frozen flow matching policy with weights \(\theta\) offline under a fixed NFE budget \(B\), using a calibration set \(\{(o_m, y_m)\}_{m=1}^M\) of observations \(o_m\) and demonstrated action chunks \(y_m\). Let \(\xi(o)\) denote the observation summary from the backbone, and let \(p^{\boldsymbol{\tau}}_{\xi}\) and \(q_{\xi}\) denote the generated and demonstrated action-chunk distributions conditioned on \(\xi\). Ideally, the schedule should align these two conditional distributions (Eq. (1)). To suppress schedule-invariant offsets between the frozen policy and demonstrations, GYS transforms each chunk through a truncated fractional-difference operator \(\Phi_{\nu}\) of differencing order \(\nu\) along each arm joint’s action sequence, yielding the transformed target for \(X \sim p^{\boldsymbol{\tau}}_{\xi}\) and \(Y \sim q_{\xi}\) (Eq. (2)).

\begin{equation} p^{\boldsymbol{\tau}}_{\xi} = q_{\xi} \qquad \text{for almost every } \xi \end{equation}
\begin{equation} \operatorname{Law}\bigl(\Phi_{\nu}(X) \mid \xi\bigr) = \operatorname{Law}\bigl(\Phi_{\nu}(Y) \mid \xi\bigr) \qquad \text{for almost every } \xi \end{equation}

Because a calibration dataset provides only one demonstrated chunk per observation, \(q_{\xi}\) cannot be estimated directly. GYS instead draws two independent generated chunks \(X, X' \sim p^{\boldsymbol{\tau}}_{\xi}\) alongside the demonstration \(Y \sim q_{\xi}\) at each observation and compares two transformed pairwise-difference distributions, differences of a generated chunk against a demonstration and differences of two independent generated chunks against each other (Eq. (3)). GYS pairs each difference with its observation summary \(\xi(o)\), forming joint samples \(c\) and \(s\) with population distributions \(C^{*}\) and \(S^{*}\) (Eq. (4)). \(C^{*}\) and \(S^{*}\) coincide if and only if the transformed generated and demonstrated action distributions match.

\begin{equation} C_{\xi} = \operatorname{Law}\bigl(\Phi_{\nu}(X - Y) \mid \xi\bigr), \qquad S_{\xi} = \operatorname{Law}\bigl(\Phi_{\nu}(X - X') \mid \xi\bigr) \end{equation}
\begin{equation} c = \bigl(\xi(o),\, \Phi_{\nu}(X - Y)\bigr) \sim C^{*}, \qquad s = \bigl(\xi(o),\, \Phi_{\nu}(X - X')\bigr) \sim S^{*} \end{equation}

GYS measures the discrepancy between \(C^{*}\) and \(S^{*}\) under a weighted Euclidean metric \(\mathcal{D}_{\lambda}\) with observation weight \(\lambda > 0\) (Eq. (5)) and minimizes their energy distance \(\mathcal{E}_{\lambda}(C^{*}, S^{*})\) over independent copies \(\tilde{c} \sim C^{*}\) and \(\tilde{s} \sim S^{*}\) (Eq. (6)), as illustrated in Figure 1(c). Minimizing the energy distance \(\widehat{\mathcal{E}}_{\lambda}\) on the calibration set at a calibrated differencing order \(\nu^{\star}\) over \(h \in \mathcal{H}_B\), GYS delivers a non-uniform schedule \(\boldsymbol{\tau}^{\star}\) (Eq. (7), Figure 1(b)). At deployment, \(\boldsymbol{\tau}^{\star}\) replaces the uniform grid and raises the success rate across budgets without changing the policy weights \(\theta\) or the inference cost (Figure 1(d)).

\begin{equation} \mathcal{D}_{\lambda}\bigl((\xi, \phi),\, (\xi', \phi')\bigr) = \sqrt{\,\lambda^{2} \lVert \xi - \xi' \rVert^{2} + \lVert \phi - \phi' \rVert^{2}\,} \end{equation}
\begin{equation} \mathcal{E}_{\lambda}(C^{*}, S^{*}) = 2\,\mathbb{E}\,\mathcal{D}_{\lambda}(c, s) - \mathbb{E}\,\mathcal{D}_{\lambda}(c, \tilde{c}) - \mathbb{E}\,\mathcal{D}_{\lambda}(s, \tilde{s}) \end{equation}
\begin{equation} \boldsymbol{\tau}^{\star} = \boldsymbol{\tau}(h^{\star}), \qquad h^{\star} = \arg\min_{h \in \mathcal{H}_B} \widehat{\mathcal{E}}_{\lambda}\bigl(\nu^{\star};\, \boldsymbol{\tau}(h)\bigr) \end{equation}

Experiments

Simulation Experiments

We evaluate GYS against the default uniform sampling schedule on the RoboTwin 2.0 benchmark across 50 manipulation tasks, using π0.5 and GR00T N1.7 fine-tuned on the official clean datasets. As summarized in Figure 1(d) and Table 1, GYS consistently outperforms the uniform schedule at every tested budget for both policies, raising the mean closed-loop success rate across budgets by 2.8 percentage points for both π0.5 (67.5% → 70.3%) and GR00T N1.7 (49.2% → 52.0%). For GR00T N1.7, GYS also prevents the sharp degradation of uniform sampling at larger budgets, delivering gains of +5.0 percentage points at B = 8 and +4.1 percentage points at B = 10.

Table 1. Closed-loop success rate (%) on 50 RoboTwin 2.0 tasks. For each NFE budget B ∈ {3, 4, 5, 6, 8, 10}, values are the mean ± std over four evaluation rounds (100 episodes per task per round). Avg. reports the mean and std across the six budgets.
Policy Schedule B = 3 B = 4 B = 5 B = 6 B = 8 B = 10 Avg.
π0.5 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
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
GR00T N1.7 Uniform 47.8±0.7 48.6±0.6 50.7±0.7 52.1±0.5 48.0±0.6 47.7±0.5 49.2±1.8
GYS (ours) 51.0±0.5 51.9±0.4 51.7±0.4 52.5±0.6 53.0±0.5 51.8±0.5 52.0±0.7
Gain +3.2 +3.3 +1.0 +0.4 +5.0 +4.1 +2.8

Real-world Experiments

We further validate GYS on a ROKAE AR5 dual-arm platform across three manipulation tasks of increasing difficulty, pulling a drawer and picking cubes (PaP), sorting cubes by color (SbC), and stacking cubes and covering them (SaC). Both π0.5 and GR00T N1.7 are evaluated against the uniform schedule at NFE budgets B ∈ {3, 4} over 100 episodes per task. As shown in Table 2, the simulation gains transfer cleanly to the real robot, with GYS improving the three-task average for both policies at both budgets by 1.7 to 3.3 percentage points.

Table 2. Closed-loop success rate (%) on three ROKAE AR5 tasks. Both schedules use the same 100-episode benchmark. Avg. is the mean across PaP, SbC, and SaC at each NFE budget. Gain is GYS minus Uniform, in percentage points.
Policy Schedule B = 3 B = 4
PaP SbC SaC Avg. PaP SbC SaC Avg.
π0.5 Uniform 78 71 52 67.0 77 73 55 68.3
GYS (ours) 77 74 55 68.7 80 75 56 70.3
Gain −1 +3 +3 +1.7 +3 +2 +1 +2.0
GR00T N1.7 Uniform 72 67 47 62.0 75 69 51 65.0
GYS (ours) 74 70 52 65.3 75 73 55 67.7
Gain +2 +3 +5 +3.3 0 +4 +4 +2.7
Pulling a drawer and picking cubes (PaP)
Sorting cubes by color (SbC)
Stacking cubes and covering them (SaC)

Citation

@article{yang2026ground,
  title={Ground Your Steps: Optimizing Sampling Schedules in Flow Matching Robot Policies},
  author={Yang, Licheng and He, Yonghao and Qian, Lingfeng and Shi, Xin and Sui, Wei and Su, Hu},
  journal={arXiv preprint arXiv:2611.34148},
  year={2026}
}