MEKAWIRE
ExpertarXiv

Task Convergent Flow Matching for Generative Robotics

Lorenzo Paiola, Maximilian Stölzle, Giorgio Grioli, Daniela Rus, Cosimo Della Santina
From the abstract

Successful manipulation requires the manipulated objects to progress toward a desired task outcome. Generative policies can produce plausible robot motions without ensuring this progress, allowing successive action chunks to stall or undo earlier changes to the scene.

From the abstract. Our summary is in progress.

Full paper

Task Convergent Flow Matching for Generative Robotics

Lorenzo Paiola, Maximilian Stölzle, Giorgio Grioli, Daniela Rus, Cosimo Della Santina

Published under CC BY 4.0. Reproduced with attribution; original at arXiv:2611.22609 (PDF).

1 2 1,3 2 4 [0.4ex]

Abstract

Successful manipulation requires the manipulated objects to progress toward a desired task outcome. Generative policies can produce plausible robot motions without ensuring this progress, allowing successive action chunks to stall or undo earlier changes to the scene. We introduce a task-centric inference-time refinement framework for flow matching policies that evaluates candidate action chunks through parallel physics-based rollouts and searches for motions satisfying sufficient conditions for task convergence. Task-level performance funnels bound temporary regressions while requiring net progress over each chunk. We establish sufficient conditions under which repeated funnel satisfaction yields convergence throughout execution, and use interval-wise Lipschitz bounds to verify continuous-time funnel satisfaction from sampled rollouts. To accommodate contact-rich hybrid dynamics, we refine the flow’s source seeds using derivative-free Covariance Matrix Adaptation Evolution Strategy (CMA-ES), constrained to radial quantile bands of the source distribution to help retain the learned motion prior. This formulation supports both Euclidean and pose-valued Riemannian Flow Matching (RMFM) policies. On PushT and three-cube stacking, refinement raises success from 31.3% to 88.5% and from 77.0% to 86.0%. On PushT, whose coverage score responds continuously to the motion of the block, a learned funnel lowers the average maximum loss of achieved progress by 19% relative to constraining the endpoint of each chunk alone, at a similar success rate. With the radial band, 11.3% of the executed motion windows are out of distribution, a rate within the range of held-out demonstrations, compared with 34.1% for an unconstrained search.

1 Introduction

Figure 1: Generative policy candidates are evaluated through their predicted task evolution, refined against a performance funnel, and executed before replanning from the new scene.

Diffusion and flow matching policies learn multimodal distributions over action chunks, enabling complex manipulation behaviors from demonstrations (Chi et al., 2025; Rouxel et al., 2024; Black et al., 2025). Yet plausible motions do not by themselves ensure task completion: successive chunks can stall or undo earlier progress. For example, a robot folding a shirt may generate plausible grasping and sweeping motions while repeatedly disturbing an earlier fold. Progress must therefore be assessed through the evolution of the manipulated objects, whose desired arrangement defines completion even when many robot configurations are compatible with it.

Existing methods refine generative plans at inference time to satisfy safety and feasibility constraints, using barrier functions or constrained sampling (Xiao et al., 2025; Zhang et al., 2025). Stability-oriented methods also guide generation or constrain learned motion dynamics through conditions that encourage or require a Lyapunov function to decrease at each step (Mizuta and Leung, 2024; Pérez-Dattari et al., 2026). These approaches address collision avoidance, admissible trajectories, and convergence of robot motion. Such requirements do not by themselves ensure that successive action chunks advance the manipulated objects toward task completion.

A recent line of work instead evaluates and refines generated actions through their consequences predicted by learned world models (Qi et al., 2026; Du and Song, 2025). Task-oriented objectives include predicted progress or distance to a goal at the end of a chunk or planning horizon (Yan et al., 2026; Hegde et al., 2026), as well as accumulated rewards and terminal value estimates (Hamel, 2026). These objectives improve predicted outcomes, but do not specify how much intermediate regression is acceptable or provide sufficient conditions for convergence under repeated execution. In particular, a favorable endpoint can conceal substantial loss of progress within the chunk.

What remains unresolved is how to formulate task-progress conditions for successive action chunks of generative manipulation policies that accommodate temporary setbacks while ensuring convergence, and how to use these conditions for inference-time refinement through physics-based simulation. We introduce a framework for flow matching policies that evaluates candidate action chunks through parallel simulated world rollouts and searches for motions satisfying sufficient conditions for task convergence. The pretrained policy supplies candidate motions, while simulation predicts their effects on the manipulated task before execution. This framework is supported by three contributions: task-level performance funnels, verification from sampled rollouts, and constrained optimization of the flow’s source seed.

First, manipulation can require temporary setbacks, such as repositioning fabric before completing a fold (Mao et al., 2026). We introduce task-level performance funnels that bound these setbacks while requiring net progress over each action chunk, and establish sufficient conditions under which repeated funnel satisfaction yields convergence throughout execution. These funnels build on finite-step Lyapunov conditions, which permit intermediate increases while requiring net decrease (Noroozi et al., 2020), and on funnel MPC (MPC), which constrains transient error (Berger et al., 2022), applying both ideas to task error over action chunks.

Second, sampled rollouts can miss funnel violations between prediction times. We use interval-wise Lipschitz bounds (Lera and Sergeyev, 2013) to verify satisfaction throughout continuous execution, and introduce a practical variant based on locally estimated rates of change.

Third, contact-rich hybrid dynamics motivate sampling-based optimization. To exploit parallel candidate evaluation while seeking effective refinement within few sequential iterations, we use the CMA-ES (CMA-ES) (Hansen, 2023). We constrain the search to a radial band of the source distribution’s typical set to help retain the learned motion prior, extending earlier approaches based on noise standardization and typical-radius projection (Stölzle et al., 2026; Hegde et al., 2026).

In summary, our contributions are

  1. Inference-time refinement for task convergence. A framework for flow matching policies that evaluates candidate action chunks through parallel physics-simulated world rollouts and searches for motions satisfying sufficient conditions for task convergence.
  2. Task-level performance funnels. Bounds on task error that allow temporary setbacks while requiring net progress over each action chunk, with sufficient conditions for task convergence throughout execution.
  3. Verification from sampled rollouts. A procedure for checking continuous-time task-funnel satisfaction using interval-wise Lipschitz bounds, with a practical variant based on locally estimated residual rates.
  4. Seed refinement with radial quantile bands. An extension of prior seed-refinement methods (Stölzle et al., 2026; Hegde et al., 2026) that replaces fixed-radius normalization with radial quantile bands and applies CMA-ES in the Gaussian source coordinates of both Euclidean and pose-valued RMFM (RMFM) policies.

An extended discussion of related work is provided in Appendix A.

2 Overview

Figure 2: Whole-horizon task residual, Flow prior, Tracking controller, World dynamics.

Our aim is to turn the motions proposed by a learned policy into sustained progress toward task completion. At each planning step k, the policy observes the scene and proposes a finite-horizon motion, which is refined against its predicted effect on the task and executed before a new observation starts the next step (Figure 1).

Task Progress.

A task-error measure V quantifies how far the scene is from the desired outcome. We prescribe an envelope for this error over the duration of a motion and evaluate whether the predicted task evolution stays within it. The envelope allows useful temporary regressions while requiring a net improvement by the end. Repeating this requirement connects individual motion choices to task convergence.

Refining a policy proposal.

Conditioned on the observation history o_{k}, the learned flow map \psi_{\theta} transports a random seed z_{0} into a waypoint action chunk w=\psi_{\theta}(1\mid z_{0},o_{k}). Refinement searches over the seed while leaving this map fixed. A low-level controller \kappa tracks the chunk’s waypoints and produces the applied input u(t), e.g. motor torques. In (1), x_{w}^{k}(t) is the world trajectory from the current state x_{k}, T extracts its task state, V measures task error, and \rho_{k} is the envelope over the horizon [0,H]. The objective measures the largest departure from the desired task evolution over the entire horizon, and a plan with nonpositive worst-case residual satisfies the funnel throughout its rollout. The search ranks plans by a smooth maximum of the sampled residuals, which accounts for the worst residual together with the values close to it (\Crefsec:optimization).

3 Task-Centric Refinement

World dynamics, task state, and task potential.

Let x(t) denote the state of the robot and its environment, u(t) the applied input, and w a waypoint action chunk, which the controller \kappa tracks according to its execution timing. Under the controlled dynamics of (1), at iteration k the plan induces a rollout x_{w}^{k}(t)=\mathcal{R}_{\kappa}(x_{k},w;t) from the current world state over t\in[0,H], including tracking and contact dynamics (Appendix F.2 states the regularity assumptions).

We formalize task completion through the manipulated objects rather than a desired robot configuration. In stacking, for instance, the relative cube placement describes the target, while the arm can take many configurations compatible with it. We introduce a task state y=T(x)\in\mathcal{Y} and a goal set \mathcal{G}\subseteq\mathcal{Y}.1 The task rollout is y_{w}^{k}(t)=T(x_{w}^{k}(t)). Progress is measured by a task-level Lyapunov candidate V:\mathcal{Y}\to\mathbb{R}_{\geq 0}, which we call the task potential, with goal set \mathcal{G}=\{y:V(y)\leq v_{\mathrm{goal}}\}, v_{\mathrm{goal}}\geq 0. An exact goal has v_{\mathrm{goal}}=0, with V positive outside \mathcal{G}, and a positive threshold describes completion within tolerance. The potential encodes the goal and a useful ordering of intermediate task states, but it need not decrease under any prescribed controller.

Performance funnels and task convergence.

Although decreasing V expresses progress toward the goal, requiring it to decrease at every instant would exclude useful preparatory motions. We therefore describe acceptable task evolution through a nonnegative envelope \rho_{k}:[0,H]\to\mathbb{R}_{\geq 0}. Starting from the current value V_{k}=V(y_{k}), this envelope allows temporary increases while requiring a smaller terminal value, so that those maneuvers produce net progress:

\vbox{\hbox{\includegraphics[width=65.55084pt]{funneldetail.pdf}}}\quad\begin{cases}\hbox{\pagecolor{blue!15}$\rho_{k}(0)=V_{k}$},&\text{initial anchoring},\\[3.0pt]
\hbox{\pagecolor{orange!15}$\sup_{t\in[0,H]}\rho_{k}(t)\leq(1+d_{k})V_{k}$},&\text{bounded transient regression},\\[3.0pt]
\hbox{\pagecolor{red!15}$\rho_{k}(H)\leq(1-\gamma_{k})V_{k}$},&\text{terminal contraction},\end{cases}
(2)

with \gamma_{k}\in[0,1] and d_{k}\geq 0. We ask the candidate motion to remain within this envelope throughout execution:

\boxed{V(y_{w}^{k}(t))\leq\rho_{k}(t)\qquad\text{for every }t\in[0,H].}
(3)

The terminal condition controls progress at replanning times, while the transient bound limits how far the task may regress between those decisions. Any envelope that satisfies (2) can be used, fixed or chosen anew at each iteration.

Theorem 1 (Task convergence throughout execution).

Suppose each selected chunk w_{k}^{\star} satisfies its funnel (3) with an envelope obeying (2), is executed over the full horizon H>0 before replanning, and has an evaluated task rollout that matches execution. If the terminal contraction is uniformly positive, \gamma_{k}\geq\underline{\gamma}>0, and the relative transient allowance is uniformly bounded, d_{k}\leq\bar{d}<\infty, then

\sup_{t\in[0,H]}V(y_{w_{k}^{\star}}^{k}(t))\leq(1+\bar{d})(1-\underline{\gamma})^{k}V(y_{0}).
(4)

Task error therefore converges to zero throughout execution. For v_{\mathrm{goal}}>0, execution enters \mathcal{G} after finitely many chunks and remains there while these conditions hold.

The terminal contraction reduces the task error at replanning times, and the transient bound controls the error between them. Appendix F.1 gives the proof and the product form for iteration-dependent rates. It also extends the result to intermittent progress, history-dependent funnel parameters, a fading start allowance and bounded endpoint errors.

Continuous-time verification from samples.

Checking (3) directly requires the task state at every instant of the rollout, while numerical simulation supplies it only at finitely many instants. We therefore write the requirement through the residual and its worst value over the horizon,

g_{k}(w,t)=V(y_{w}^{k}(t))-\rho_{k}(t),\qquad S_{k}(w)=\sup_{t\in[0,H]}g_{k}(w,t),
(5)

so that the funnel holds over the whole horizon exactly when S_{k}(w)\leq 0. Simulating \mathcal{R}_{\kappa} gives the residual at instants 0=t_{1}<\cdots<t_{n}=H, with spacings \Delta_{i}=t_{i+1}-t_{i}, samples g_{i}=g_{k}(w,t_{i}), and largest sampled value M_{k}(w)=\max_{i}g_{i}. Requiring M_{k}(w)\leq 0, which we call sampled verification, checks the funnel at the samples. Verification over the whole horizon additionally accounts for the residual between consecutive samples, which the following result bounds through the regularity of the residual in physical time.

Theorem 2 (Continuous-time verification from samples).

Fix an iteration k and a plan w, and suppose that g_{k}(w,\cdot) is L_{i}-Lipschitz on each interval [t_{i},t_{i+1}]. Then,

S_{k}(w)\leq B_{k}(w)=\max_{1\leq i<n}\frac{g_{i}+g_{i+1}+L_{i}\Delta_{i}}{2}.
(6)

Consequently,

\boxed{B_{k}(w)\leq 0\quad\Longrightarrow\quad V(y_{w}^{k}(t))\leq\rho_{k}(t)\quad\forall t\in[0,H].}
(7)

On each interval, the residual lies below the two lines of slope L_{i} through its samples, and these lines meet at the value in (6) (proof in Appendix F.3). Appendix F.2 bounds the rates L_{i} through the task geometry and a bounded configuration speed. In the experiments we estimate each interval’s rate from the trace being judged, as the largest secant slope of the residual among the nearby intervals. Substituting these local rates \hat{L}_{i} into (6) gives estimated verification, the procedure we use and report (Appendix F.5). The guarantee of (7) holds whenever the rates upper-bound the true residual rates, and estimated verification applies the same bound with sample-derived rates.

4 Generation and Refinement

Flow-matching prior.

Given demonstrations \mathcal{D}=\{(o_{i},w_{i})\} of observation histories and action chunks, a conditional flow-matching policy learns a vector field v_{\theta}(z,\tau\mid o) (Lipman et al., 2023; Lipman et al., 2024). Integrating d\psi_{\theta}/d\tau=v_{\theta}(\psi_{\theta},\tau\mid o) from a source seed, \psi_{\theta}(0\mid z_{0},o)=z_{0}, to \tau=1 decodes the seed into an action chunk w=\psi_{\theta}(1\mid z_{0},o). Generative time \tau parameterizes the construction of the entire chunk, and physical time t describes the execution of the resulting motion. The framework supports Euclidean actions, trained with the OT (OT) path, and pose-valued actions, trained with RMFM (Chen and Lipman, 2024; Braun et al., 2024) from a data-centered wrapped-normal rotational source (Appendix B). With the policy, the observation and the sampler fixed, decoding is a deterministic map from seed to chunk, and refinement searches over its input.

Search objective.

The search ranks candidate plans by a smooth maximum of their sampled residuals, the unnormalized log-sum-exp

J_{k}(w)=\beta^{-1}\log\textstyle\sum_{i=1}^{n}e^{\beta g_{i}}.
(8)

It accounts for the worst residual and for the values close to it, and the temperature \beta>0 controls how closely it approximates the largest sampled residual M_{k} (Boyd and Vandenberghe, 2004, §3.1.5). This smoothing acts across the samples of one rollout and serves the ranking of candidates. The funnel verdict of a plan comes from estimated verification, which uses the regularity of the residual in physical time (\Crefsec:task_refinement; Appendix F.5). Each planning call starts from the nominal proposal of the policy, keeps the lowest-J_{k} plan among all evaluated candidates (Algorithm 3), and executes it together with its verification status. The results of \Crefsec:task_refinement apply to the executed chunks that satisfy their funnel. Appendix E.1 gives the stopping rules.

Radial quantile band.

Seeds drawn from a high-dimensional standard Gaussian concentrate on a thin shell around a typical radius, and the flow is trained to transport seeds from this shell. Prior work fixes the radius of the seed to its typical value (Stölzle et al., 2026; Hegde et al., 2026). We extend this projection to a radial band, so that the radius of the seed varies within a prescribed quantile interval of the shell. For standard Gaussian seed coordinates a\in\mathbb{R}^{d}, the projection onto the centered band is

\Psi(a)=(a-\bar{a}\mathbf{1})\,\frac{\operatorname{clip}(\|a-\bar{a}\mathbf{1}\|,r_{\mathrm{lo}},r_{\mathrm{hi}})}{\|a-\bar{a}\mathbf{1}\|},\qquad\bar{a}=d^{-1}\sum_{j=1}^{d}a_{j},
(9)

which shifts the entries to zero mean and clips the radius. The radii r_{\mathrm{lo}} and r_{\mathrm{hi}} are the quantiles of the source radius at tail probabilities \Phi(-\zeta) and \Phi(\zeta), with \Phi the standard normal distribution function (Appendix E.1). A typical seed therefore keeps its radius and is centered. The band encourages the search to stay where the flow was trained, so that the seeds decode into chunks that resemble the demonstrated motions, as \Crefsec:experiments measures.

Band-constrained CMA-ES.

Contact-rich rollouts are evaluated in parallel, which suits a population search. CMA-ES (Akimoto et al., 2012; Hansen, 2023) samples a_{\ell}\sim\mathcal{N}(m,\sigma^{2}C), \ell=1,\dots,\lambda, and ranks the samples by F_{k}(a)=J_{k}\bigl(\psi_{\theta}(1\mid\mathcal{C}(\Psi(a)),o_{k})\bigr). The seed chart \mathcal{C} maps the coordinates to a seed z_{0} of the source. It is the identity for a Euclidean flow and the exponential chart of the wrapped-normal source for a pose-valued flow, in which the source is exactly \mathcal{N}(0,I_{d}) (Appendix E.1). As in the standardized Sep-CMA-ES (Sep-CMA-ES) of Stölzle et al. (2026), every sampled seed is projected, and we additionally project the mean, m\leftarrow\Psi(m), after each update.

Figure 3: Task-funnel refinement of generative action chunks.

5 Experiments

We compare nominal execution, the flow-matching policy without refinement, with refined execution on planar PushT and three-cube stacking in robosuite (Zhu et al., 2020; Todorov et al., 2012), with stacking demonstrations from MimicGen StackThree_D1 (Mandlekar et al., 2023). Appendix E.4 gives the environment and execution details, and Appendix G reports further ablations and two-nut assembly.

Task progress and evaluation.

Refinement is guided by the task potential V, where lower is better: a weighted pose error on the single-stage PushT (Appendix C.4) and a phased potential on stacking, which also orders the intermediate task states (Appendix C.5). We measure the physical outcome with each environment’s own task score r\in[0,1], where higher is better, and its success predicate. On PushT, r is the coverage of the goal by the block, with success at r>0.95. Coverage changes continuously with the motion of the block, so the score registers progress within a chunk. On stacking, r=\tfrac{1}{2}a_{RG}(1+a_{BR}), where a_{XY} is the footprint overlap of cube X on cube Y times their contact, and success requires the tower to stand after the gripper releases it and retreats. The score also measures partial progress in episodes that do not succeed.

Policies.

On PushT we follow Diffusion Policy (Chi et al., 2025) and use its one-dimensional U-Net conditioned by FiLM (FiLM), trained with the Euclidean OT path. On stacking we use a transformer based on the DiT (DiT) architecture (Peebles and Xie, 2023) trained with RMFM (Chen and Lipman, 2024; Braun et al., 2024) along screw-motion paths on EE (EE) poses (Appendix B). Architectures and training settings are in Appendix E.3.

Refinement objectives.

All refined runs use the same framework, with the same potential, rollouts and search, and differ in the objective (Appendix D). Three objectives correspond to those of prior work. Endpoint-only keeps the terminal contraction of the funnel and constrains V at the end of the chunk, as progress- and goal-based objectives do (Yan et al., 2026; Hegde et al., 2026). \dot{V}\leq 0 asks V to decrease throughout the chunk, as stepwise Lyapunov conditions do (Mizuta and Leung, 2024; Pérez-Dattari et al., 2026). \Sigma V sums V over the chunk, as a model-predictive cost does (Hamel, 2026). The plateau funnel bounds the interior uniformly by (1+\delta)V_{k}, and the linear funnel prescribes steady progress. The remaining funnels are fitted to demonstrated traces of V and share one shape, which descends to (1-\gamma_{k})V_{k} and adds an allowance that vanishes by the end of the chunk (Appendix D). Calibrated funnels use constant parameters fitted over the whole task (global). Learned funnels predict the parameters from the observation with a small network, with allowances in units of V (additive) or as fractions of V_{k} (multiplicative). Fitting uses demonstrations only, never refined rollouts, so a fitted funnel describes the regressions and progress of demonstrated behavior. A funnel is more lenient when it requests less terminal progress or allows V to rise further within the chunk. The leniency \alpha of a learned funnel is a quantile level: given the observation, a fraction \alpha of the demonstrated chunks reaches the requested progress and a fraction \alpha stays within the allowance, so a larger \alpha gives a more lenient funnel (Appendix D.2).

Protocol and metrics.

An episode runs until the success predicate holds or its step budget is spent, and every chunk is executed in full. All configurations share 400 initial conditions and are paired: in each episode they use the same initial state, random seeds and initial source draw, from which refinement starts. The policy is trained on all demonstrations, and the fitted funnels on a separate split (Appendix D.2). We report success and the \text{\acs{CVaR}}_{10} of the final score, the mean over the 10% of episodes with the lowest score (Rockafellar and Uryasev, 2000). Progress retention is measured by the maximum drawdown \max_{t}(\max_{s\leq t}r_{s}-r_{t}), the largest fall of the score below its running maximum, in points (\times 100), through its mean and its \text{\acs{CVaR}}_{90}, the mean over the 10% of episodes with the largest drawdown. For funnels with an interior bound, we report the share of executed chunks that pass estimated verification. A difference is significant when its paired-bootstrap 95% interval excludes zero (Appendix G.1).

Table 1: Funnel ablation, selected configurations; best refined configuration in bold. Verified: share of complete executed chunks that pass estimated verification. Verified applies to funnels with an interior bound. Right: PushT drawdown exceedance; lower curves mean fewer episodes with large losses of achieved progress.
  • Objective
    Success
    [%] \uparrow
    Final score
    \text{\acs{CVaR}}_{10}\uparrow
    Max drawdown [pts] \downarrow
    Mean
    \text{\acs{CVaR}}_{90}
    Verified
    [%] \uparrow
  • No data
    Success
    PushT
    Stack.
    Final score
    PushT
    Stack.
    Max drawdown [pts] \downarrow
    PushT
    Stack.
    PushT
    Stack.
    Verified
    PushT
    Stack.
  • Nominal
    Success
    31.3
    77.0
    Final score
    .000
    .000
    Max drawdown [pts] \downarrow
    40.0
    8.5
    86.9
    46.1
    Verified
    n/a
  • Endpoint-only
    Success
    86.8
    86.0
    Final score
    .560
    .084
    Max drawdown [pts] \downarrow
    28.3
    6.8
    62.8
    46.1
    Verified
    n/a
  • \dot{V}\leq 0
    Success
    60.5
    85.5
    Final score
    .218
    .103
    Max drawdown [pts] \downarrow
    23.4
    5.8
    54.2
    41.8
    Verified
    n/a
  • \Sigma V
    Success
    80.0
    82.0
    Final score
    .499
    .000
    Max drawdown [pts] \downarrow
    22.6
    6.4
    54.4
    43.4
    Verified
    n/a
  • Plateau \delta=0.5
    Success
    73.0
    83.8
    Final score
    .494
    .075
    Max drawdown [pts] \downarrow
    23.9
    6.9
    56.7
    46.2
    Verified
    73.3
    41.9
  • Linear
    Success
    54.5
    78.8
    Final score
    .194
    .000
    Max drawdown [pts] \downarrow
    24.3
    7.6
    54.7
    44.3
    Verified
    0.5
    3.3
  • Calibrated global
    Success
    88.5
    80.5
    Final score
    .587
    .001
    Max drawdown [pts] \downarrow
    27.4
    7.5
    62.9
    46.2
    Verified
    60.5
    61.2
  • Learn. add. \alpha=0.5
    Success
    84.8
    85.0
    Final score
    .613
    .162
    Max drawdown [pts] \downarrow
    22.9
    7.6
    52.3
    47.0
    Verified
    38.0
    44.3
  • Learn. mult. \alpha=0.95
    Success
    63.8
    84.0
    Final score
    .424
    .107
    Max drawdown [pts] \downarrow
    23.5
    5.7
    54.0
    40.5
    Verified
    70.7
    54.2
Figure 4: Representative refined and nominal episodes on PushT (left, with V(t), its funnels and a framed planning call) and stacking (right, same initial condition).
Results.

Refinement raises success above nominal execution with every objective, and the terminal contraction of the funnel already gives most of the gain. Endpoint-only refinement raises success from 31.3% to 86.8% on PushT and from 77.0% to 86.0% on stacking, and funnels that also bound the interior reach the same level, with the highest PushT success, 88.5%, for the calibrated global funnel (Table 1; all configurations in Appendix G.3).

The interior bound works well when it admits the regressions that the task needs. On PushT, a useful motion often moves the T away from its target to set up a better push, so V rises within the chunk. Funnels with a transient allowance accommodate this rise, and the objectives that ask V to fall throughout the chunk, \dot{V}\leq 0 and the linear funnel, reach 54.5% to 60.5% success. On stacking, V decreases along successful executions, and the refined configurations reach 80.5% to 86.0% success, except the linear funnel, which requests steady progress throughout the chunk and reaches 78.8%.

Where the score registers progress within a chunk, the interior bound retains more of it. On PushT, every learned funnel significantly lowers the drawdown relative to endpoint-only and places the whole drawdown tail below that of nominal execution (Table 1, right; Appendix G.5). The learned additive funnel at \alpha=0.5 retains the most, lowering the drawdown \text{\acs{CVaR}}_{90} from 62.8 to 52.3 at a success statistically on par with endpoint-only. On stacking, the learned multiplicative funnel at \alpha=0.95 significantly lowers the drawdown \text{\acs{CVaR}}_{90}, from 46.1 to 40.5, at on-par success. Figure 4 shows representative refined and nominal episodes on both tasks.

Leniency trades requested progress for verification: more lenient funnels pass estimated verification on more of their executed chunks and succeed in fewer episodes (Appendix G.3). Appendix G.6 examines the choice of the potential.

Search method comparison.

On PushT, we compare our search with other searches on 200 new initial conditions, with the same U-Net policy and the plateau funnel at \delta=1 as the shared objective. Ours is CMA-ES on the band of (9) at \zeta=4, the setting of every other experiment. CMA-ES without the band isolates the role of the band. Best-of-N decodes a single batch of 200 seeds, and CEM (CEM) (Rubinstein and Kroese, 2004) is a second adaptive population search, both on the same band. L-BFGS (L-BFGS) (Nocedal and Wright, 2006) descends the same objective through the flow and a smoothed differentiable reimplementation of the PushT dynamics, and the population searches evaluate the objective on rollouts of the native simulator (Appendix E.2). Each iterative search runs for 1.5 s per chunk. We measure smoothness by the LDJ (LDJ) (Balasubramanian et al., 2015) within chunks, and similarity to the demonstrations by the share of executed windows that are OOD (OOD) with respect to the training demonstrations under a nearest-neighbor test (Sun et al., 2022).

Table 2: Search methods on PushT. Better/Worse than ours (significant). Significance refers to paired differences from our search. †Gradient.
  • L-BFGS†
    Succ.\uparrow
    70.0
    \text{\acs{CVaR}}_{10}\!\uparrow
    .765
    LDJ\uparrow
    -10.15
    OOD%\downarrow
    12.0
  • Best-of-N
    Succ.\uparrow
    82.5
    \text{\acs{CVaR}}_{10}\!\uparrow
    .768
    LDJ\uparrow
    -9.87
    OOD%\downarrow
    4.9
  • CEM
    Succ.\uparrow
    79.0
    \text{\acs{CVaR}}_{10}\!\uparrow
    .848
    LDJ\uparrow
    -10.28
    OOD%\downarrow
    8.0
  • CMA-ES, no band
    Succ.\uparrow
    96.0
    \text{\acs{CVaR}}_{10}\!\uparrow
    .941
    LDJ\uparrow
    -10.96
    OOD%\downarrow
    34.1
  • Ours, \zeta{=}4
    Succ.\uparrow
    86.5
    \text{\acs{CVaR}}_{10}\!\uparrow
    .877
    LDJ\uparrow
    -9.93
    OOD%\downarrow
    11.3

Band-constrained CMA-ES reaches 86.5% success, compared with 70.0% for L-BFGS, 82.5% for best-of-N and 79.0% for CEM (Table 2). Its success is significantly higher than that of L-BFGS, and its lower-tail final score is significantly higher than those of L-BFGS and best-of-N. The success differences from best-of-N and CEM have confidence intervals that contain zero. Removing the band raises success to 96.0%, increases the share of out-of-distribution windows from 11.3% to 34.1%, and lowers smoothness from an LDJ of -9.93 to -10.96. With the band, the OOD rate lies within the range of held-out demonstrations (9.6%, 95% interval 5.4–15.4%), and Table 2 marks the rates above this range. The band thus trades some success for motion that stays close to the demonstrations. Appendix G.8 reports the complete comparison, including Adam, MPPI (MPPI), the fixed-radius sphere and a sweep of the band width.

6 Conclusion, Limitations, and Future Work

We presented a task-centric inference-time refinement framework for flow matching policies, which evaluates candidate action chunks through parallel physics-based rollouts and searches the flow’s source seeds for motions that satisfy sufficient conditions for task convergence. These conditions take the form of task-level performance funnels, which accommodate the temporary regressions that manipulation often requires while asking for net progress over each chunk, so that their repeated satisfaction drives task error down throughout execution and can be verified from sampled rollouts through interval-wise Lipschitz bounds. On PushT and three-cube stacking, refinement raises success far above nominal execution, as the funnel’s terminal contraction steers each chunk toward net progress, and its transient bound helps retain the progress already achieved on PushT, where the task score registers it. Radial quantile bands on the source keep the refined motion close to the demonstrations.

Limitations and future work.

The quality of refinement follows the quality of the task potential V, which we design by hand from privileged world state. Learned progress measures are a natural route to perceptual and long-horizon tasks. Refinement also uses the simulator as its world model, so it requires the state of the scene and a simulator whose rollouts predict the executed motion. Learned world models could take this role on physical systems. The convergence results apply to executed chunks that satisfy their funnel, the search can execute a plan that does not, and estimated verification uses rates derived from the samples in place of certified bounds. Finally, planning takes seconds per chunk (Appendix H), during which the scene has to stay still, so refinement does not yet run in real time. Appendix I discusses these points further.

acknowledgments-disclosure-of-funding.

This work was supported in part by the European Union’s Horizon Europe Programs from Project EMERGE (Grant No. 101070918), the Singapore MIT Alliance on Research and Technology (SMART) under the Mens, Manus, et Machina (M3S) program.

Use of AI.

The authors used AI assistants to help write and debug the code, to draft and revise the text, to check the proofs, and to search for related literature. All ideas, methods, and scientific contributions are the authors’ own. The authors reviewed and verified everything the assistants produced and take full responsibility for the content of this paper.

References

  1. Akimoto et al. (2012) Youhei Akimoto, Yuichi Nagata, Isao Ono, and Shigenobu Kobayashi. Theoretical Foundation for CMA-ES from Information Geometry Perspective. Algorithmica, 64(4):698–716, 2012. 10.1007/s00453-011-9564-8.
  2. Allen et al. (2023) Kelsey R. Allen, Yulia Rubanova, Tatiana Lopez-Guevara, William F. Whitney, Alvaro Sanchez-Gonzalez, Peter Battaglia, and Tobias Pfaff. Learning rigid dynamics with face interaction graph networks. In International Conference on Learning Representations (ICLR), 2023. URL https://openreview.net/forum?id=J7Uh781A05p.
  3. Angelopoulos and Bates (2023) Anastasios N. Angelopoulos and Stephen Bates. Conformal prediction: A gentle introduction. Foundations and Trends in Machine Learning, 16(4):494–591, 2023. 10.1561/2200000101.
  4. Assran et al. (2025) Mido Assran, Adrien Bardes, David Fan, Quentin Garrido, Russell Howes, Mojtaba Komeili, Matthew Muckley, Ammar Rizvi, Claire Roberts, Koustuv Sinha, Artem Zholus, Sergio Arnaud, Abha Gejji, Ada Martin, Francois Robert Hogan, Daniel Dugas, Piotr Bojanowski, Vasil Khalidov, Patrick Labatut, Francisco Massa, Marc Szafraniec, Kapil Krishnakumar, Yong Li, Xiaodong Ma, Sarath Chandar, Franziska Meier, Yann LeCun, Michael Rabbat, and Nicolas Ballas. V-JEPA 2: Self-supervised video models enable understanding, prediction and planning. arXiv preprint arXiv:2506.09985, 2025.
  5. Baert et al. (2025) Mattijs Baert, Elias Malomgré, Sam Leroux, and Pieter Simoens. Reward Machine Inference for Robotic Manipulation. In Reinforcement Learning Conference (RLC), Workshop on Inductive Biases in Reinforcement Learning, 2025. URL https://openreview.net/forum?id=ItAMw1CMFC.
  6. Balasubramanian et al. (2015) Sivakumar Balasubramanian, Alejandro Melendez-Calderon, Agnes Roby-Brami, and Etienne Burdet. On the analysis of movement smoothness. Journal of NeuroEngineering and Rehabilitation, 12(1):112, 2015. 10.1186/s12984-015-0090-9.
  7. Beik-Mohammadi et al. (2024) Hadi Beik-Mohammadi, Søren Hauberg, Georgios Arvanitidis, Nadia Figueroa, Gerhard Neumann, and Leonel Rozo. Neural Contractive Dynamical Systems. In International Conference on Learning Representations (ICLR), 2024. URL https://proceedings.iclr.cc/paper_files/paper/2024/hash/d6520fa7f71dc8e09ed5939a60a64218-Abstract-Conference.html.
  8. Ben-Hamu et al. (2024) Heli Ben-Hamu, Omri Puny, Itai Gat, Brian Karrer, Uriel Singer, and Yaron Lipman. D-Flow: Differentiating through Flows for Controlled Generation. In Proceedings of the 41st International Conference on Machine Learning, volume 235 of Proceedings of Machine Learning Research, pages 3462–3483. PMLR, 2024. URL https://proceedings.mlr.press/v235/ben-hamu24a.html.
  9. Berger et al. (2022) Thomas Berger, Dario Dennstädt, Achim Ilchmann, and Karl Worthmann. Funnel Model Predictive Control for Nonlinear Systems with Relative Degree One. SIAM Journal on Control and Optimization, 60(6):3358–3383, 2022. 10.1137/21M1431655.
  10. Berger et al. (2025) Thomas Berger, Achim Ilchmann, and Eugene P. Ryan. Funnel control – a survey. Annual Reviews in Control, 60:101024, 2025. 10.1016/j.arcontrol.2025.101024.
  11. Bezanson et al. (2017) Jeff Bezanson, Alan Edelman, Stefan Karpinski, and Viral B Shah. Julia: A fresh approach to numerical computing. SIAM Review, 59(1):65–98, 2017. 10.1137/141000671.
  12. Bińkowski et al. (2018) Mikołaj Bińkowski, Danica J. Sutherland, Michael Arbel, and Arthur Gretton. Demystifying MMD GANs. In International Conference on Learning Representations (ICLR), 2018. URL https://arxiv.org/abs/1801.01401.
  13. Black et al. (2025) Kevin Black, Noah Brown, Danny Driess, Adnan Esmail, Michael Robert Equi, Chelsea Finn, Niccolo Fusai, Lachy Groom, Karol Hausman, Brian Ichter, Szymon Jakubczak, Tim Jones, Liyiming Ke, Sergey Levine, Adrian Li-Bell, Mohith Mothukuri, Suraj Nair, Karl Pertsch, Lucy Xiaoyang Shi, Laura Smith, James Tanner, Quan Vuong, Anna Walling, Haohuan Wang, and Ury Zhilinsky. \pi_{0}: A Vision-Language-Action Flow Model for General Robot Control. In Robotics: Science and Systems XXI, Los Angeles, CA, USA, 2025. 10.15607/rss.2025.xxi.010.
  14. Boyd and Vandenberghe (2004) Stephen P. Boyd and Lieven Vandenberghe. Convex Optimization. Cambridge University Press, Cambridge, UK ; New York, 2004. 10.1017/CBO9780511804441.
  15. Braun et al. (2024) Max Braun, Noémie Jaquier, Leonel Rozo, and Tamim Asfour. Riemannian Flow Matching Policy for Robot Motion Learning. In 2024 IEEE/RSJ International Conference on Intelligent Robots and Systems (IROS), pages 5144–5151, 2024. 10.1109/IROS58592.2024.10801521.
  16. Camacho et al. (2021) Alberto Camacho, Jacob Varley, Andy Zeng, Deepali Jain, Atil Iscen, and Dmitry Kalashnikov. Reward Machines for Vision-Based Robotic Manipulation. In 2021 IEEE International Conference on Robotics and Automation (ICRA), pages 14284–14290, Xi’an, China, 2021. IEEE. 10.1109/ICRA48506.2021.9561927.
  17. Carvalho et al. (2025) João Carvalho, An Thai Le, Piotr Kicki, Dorothea Koert, and Jan Peters. Motion Planning Diffusion: Learning and Adapting Robot Motion Planning with Diffusion Models. IEEE Transactions on Robotics, 41:4881–4901, 2025. 10.1109/TRO.2025.3593109.
  18. Chen et al. (2026a) Qianzhong Chen, Justin Yu, Mac Schwager, Pieter Abbeel, Yide Shentu, and Philipp Wu. SARM: Stage-Aware Reward Modeling for Long Horizon Robot Manipulation. In International Conference on Learning Representations (ICLR), 2026a. URL https://openreview.net/forum?id=aemqAxScl9.
  19. Chen et al. (2026b) Qianzhong Chen, Hau Zheng, Justin Yu, Suning Huang, Jiankai Sun, Ken Goldberg, Chuan Wen, Pieter Abbeel, Yide Shentu, Philipp Wu, and Mac Schwager. SARM2: Multi-task stage aware reward modeling for self improving robotic manipulation. arXiv preprint arXiv:2606.10305, 2026b.
  20. Chen and Lipman (2024) Ricky T. Q. Chen and Yaron Lipman. Flow Matching on General Geometries. In International Conference on Learning Representations (ICLR), 2024. URL https://openreview.net/forum?id=g7ohDlTITL.
  21. Chi et al. (2025) Cheng Chi, Zhenjia Xu, Siyuan Feng, Eric Cousineau, Yilun Du, Benjamin Burchfiel, Russ Tedrake, and Shuran Song. Diffusion policy: Visuomotor policy learning via action diffusion. The International Journal of Robotics Research, 44(10–11):1684–1704, 2025. 10.1177/02783649241273668.
  22. Chirikjian (2012) Gregory S. Chirikjian. Stochastic Models, Information Theory, and Lie Groups, Volume 2: Analytic Methods and Modern Applications. Applied and Numerical Harmonic Analysis. Birkhäuser Boston, Boston, 2012. 10.1007/978-0-8176-4944-9.
  23. Chisari et al. (2025) Eugenio Chisari, Nick Heppert, Max Argus, Tim Welschehold, Thomas Brox, and Abhinav Valada. Learning Robotic Manipulation Policies from Point Clouds with Conditional Flow Matching. In Proceedings of The 8th Conference on Robot Learning, volume 270 of Proceedings of Machine Learning Research, pages 982–993. PMLR, 2025. URL https://proceedings.mlr.press/v270/chisari25a.html.
  24. Christopher et al. (2024) Jacob K. Christopher, Stephen Baek, and Ferdinando Fioretto. Constrained synthesis with projected diffusion models. In Advances in Neural Information Processing Systems, volume 37, pages 89307–89333, 2024. 10.52202/079017-2834. URL https://proceedings.neurips.cc/paper_files/paper/2024/hash/a28af221f2f70be183afc16797a56b91-Abstract-Conference.html.
  25. Colutto et al. (2010) S. Colutto, F. Fruhauf, M. Fuchs, and O. Scherzer. The CMA-ES on Riemannian Manifolds to Reconstruct Shapes in 3-D Voxel Images. IEEE Transactions on Evolutionary Computation, 14(2):227–245, 2010. 10.1109/TEVC.2009.2029567.
  26. Didier et al. (2024) Alexandre Didier, Andrea Zanelli, Kim P. Wabersich, and Melanie N. Zeilinger. Predictive stability filters for nonlinear dynamical systems affected by disturbances. IFAC-PapersOnLine, 58(18):200–207, 2024. 10.1016/j.ifacol.2024.09.031.
  27. Ding et al. (2025) Haoran Ding, Noémie Jaquier, Jan Peters, and Leonel Rozo. Fast and Robust Visuomotor Riemannian Flow Matching Policy. IEEE Transactions on Robotics, 41:5327–5343, 2025. 10.1109/TRO.2025.3601293.
  28. Du and Song (2025) Maximilian Du and Shuran Song. DynaGuide: Steering Diffusion Polices with Active Dynamic Guidance. In Advances in Neural Information Processing Systems, volume 38, pages 49413–49442, 2025. 10.52202/085713-1473.
  29. Ebert et al. (2018) Frederik Ebert, Chelsea Finn, Sudeep Dasari, Annie Xie, Alex Lee, and Sergey Levine. Visual foresight: Model-based deep reinforcement learning for vision-based robotic control. arXiv preprint arXiv:1812.00568, 2018.
  30. Eyring et al. (2025) Luca Eyring, Shyamgopal Karthik, Alexey Dosovitskiy, Nataniel Ruiz, and Zeynep Akata. Noise hypernetworks: Amortizing test-time compute in diffusion models. In Advances in Neural Information Processing Systems, volume 38, 2025. 10.52202/085713-3190.
  31. Fainekos and Pappas (2009) Georgios E. Fainekos and George J. Pappas. Robustness of temporal logic specifications for continuous-time signals. Theoretical Computer Science, 410(42):4262–4291, 2009. 10.1016/j.tcs.2009.06.021.
  32. Feng et al. (2025) Ruiqi Feng, Chenglei Yu, Wenhao Deng, Peiyan Hu, and Tailin Wu. On the guidance of flow matching. In Proceedings of the 42nd International Conference on Machine Learning, volume 267 of Proceedings of Machine Learning Research, pages 16993–17029. PMLR, 2025. URL https://proceedings.mlr.press/v267/feng25s.html.
  33. Grandia et al. (2020) Ruben Grandia, Andrew Taylor, Andrew Singletary, Marco Hutter, and Aaron Ames. Nonlinear Model Predictive Control of Robotic Systems with Control Lyapunov Functions. In Robotics: Science and Systems XVI. Robotics: Science and Systems Foundation, 2020. 10.15607/RSS.2020.XVI.098.
  34. Hamel (2026) Chandon Hamel. FlowMPC: Improving Flow Matching policies with World Models. arXiv preprint arXiv:2606.16286, June 2026.
  35. Hansen (2023) Nikolaus Hansen. The CMA Evolution Strategy: A Tutorial. arXiv preprint arXiv:1604.00772, March 2023.
  36. Hartley et al. (2013) Richard Hartley, Jochen Trumpf, Yuchao Dai, and Hongdong Li. Rotation Averaging. International Journal of Computer Vision, 103(3):267–305, 2013. 10.1007/s11263-012-0601-0.
  37. Hegde et al. (2026) Shashank Hegde, Alexander Popov, Elie Aljalbout, and Nikolai Smolyanskiy. Diffusion-Steering-Based MPC with a JEPA World Action Model. arXiv preprint arXiv:2610.12407, October 2026.
  38. Ilchmann et al. (2002) Achim Ilchmann, E. P. Ryan, and C. J. Sangwin. Tracking with prescribed transient behaviour. ESAIM: Control, Optimisation and Calculus of Variations, 7:471–493, 2002. 10.1051/cocv:2002064.
  39. Karunratanakul et al. (2024) Korrawe Karunratanakul, Konpat Preechakul, Emre Aksan, Thabo Beeler, Supasorn Suwajanakorn, and Siyu Tang. Optimizing diffusion noise can serve as universal motion priors. In 2024 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), pages 1334–1345, 2024. 10.1109/CVPR52733.2024.00133.
  40. Koenker and Bassett (1978) Roger Koenker and Gilbert Bassett, Jr. Regression Quantiles. Econometrica, 46(1):33–50, 1978. 10.2307/1913643.
  41. Lee et al. (2026) Tony Lee, Andrew Wagenmaker, Karl Pertsch, Percy Liang, Sergey Levine, and Chelsea Finn. RoboReward: General-purpose vision-language reward models for robotics. arXiv preprint arXiv:2601.00675, 2026.
  42. Lembcke (2015) Scott Lembcke. Chipmunk2D: A fast and lightweight 2D physics library. https://codeberg.org/slembcke/Chipmunk2D, 2015.
  43. Lera and Sergeyev (2013) Daniela Lera and Yaroslav D. Sergeyev. Acceleration of univariate global optimization algorithms working with lipschitz functions and lipschitz first derivatives. SIAM Journal on Optimization, 23(1):508–529, 2013. 10.1137/110859129.
  44. Liang et al. (2026) Anthony Liang, Yigit Korkmaz, Jiahui Zhang, Minyoung Hwang, Abrar Anwar, Sidhant Kaushik, Aditya Shah, Alex S. Huang, Luke Zettlemoyer, Dieter Fox, Yu Xiang, Anqi Li, Andreea Bobu, Abhishek Gupta, Stephen Tu, Erdem Biyik, and Jesse Zhang. Robometer: Scaling general-purpose robotic reward models via trajectory comparisons. In Robotics: Science and Systems XXII, 2026. 10.15607/RSS.2026.XXII.140.
  45. Lipman et al. (2023) Yaron Lipman, Ricky T. Q. Chen, Heli Ben-Hamu, Maximilian Nickel, and Matt Le. Flow Matching for Generative Modeling. In International Conference on Learning Representations (ICLR), 2023. URL https://arxiv.org/abs/2210.02747.
  46. Lipman et al. (2024) Yaron Lipman, Marton Havasi, Peter Holderrieth, Neta Shaul, Matt Le, Brian Karrer, Ricky T. Q. Chen, David Lopez-Paz, Heli Ben-Hamu, and Itai Gat. Flow Matching Guide and Code. arXiv preprint arXiv:2412.06264, December 2024.
  47. Lynch and Park (2017) Kevin M. Lynch and Frank C. Park. Modern Robotics: Mechanics, Planning, and Control. Cambridge University Press, 1 edition, May 2017. 10.1017/9781316661239.
  48. Ma et al. (2023a) Yecheng Jason Ma, Vikash Kumar, Amy Zhang, Osbert Bastani, and Dinesh Jayaraman. LIV: Language-Image Representations and Rewards for Robotic Control. In Proceedings of the 40th International Conference on Machine Learning, volume 202 of Proceedings of Machine Learning Research, pages 23301–23320. PMLR, 2023a. URL https://proceedings.mlr.press/v202/ma23b.html.
  49. Ma et al. (2023b) Yecheng Jason Ma, Shagun Sodhani, Dinesh Jayaraman, Osbert Bastani, Vikash Kumar, and Amy Zhang. VIP: Towards Universal Visual Reward and Representation via Value-Implicit Pre-Training. In International Conference on Learning Representations (ICLR), 2023b. URL https://arxiv.org/abs/2210.00030.
  50. Mandlekar et al. (2023) Ajay Mandlekar, Soroush Nasiriany, Bowen Wen, Iretiayo Akinola, Yashraj Narang, Linxi Fan, Yuke Zhu, and Dieter Fox. MimicGen: A Data Generation System for Scalable Robot Learning using Human Demonstrations. In Proceedings of The 7th Conference on Robot Learning, volume 229 of Proceedings of Machine Learning Research, pages 1820–1864. PMLR, 2023. URL https://proceedings.mlr.press/v229/mandlekar23a.html.
  51. Mao et al. (2026) Yiming Mao, Zixi Yu, Weixin Mao, Yinhao Li, Qirui Hu, Zihan Lan, Minzhao Zhu, and Hua Chen. ARM: Advantage Reward Modeling for Long-Horizon Manipulation. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR) Workshops, pages 4468–4477, 2026. URL https://openaccess.thecvf.com/content/CVPR2026W/GigaBrainChallenge/html/Mao_ARM_Advantage_Reward_Modeling_for_Long-Horizon_Manipulation_CVPRW_2026_paper.html.
  52. Markley et al. (2007) F. Landis Markley, Yang Cheng, John L. Crassidis, and Yaakov Oshman. Averaging Quaternions. Journal of Guidance, Control, and Dynamics, 30(4):1193–1197, 2007. 10.2514/1.28949.
  53. Mayne et al. (2000) D.Q. Mayne, J.B. Rawlings, C.V. Rao, and P.O.M. Scokaert. Constrained model predictive control: Stability and optimality. Automatica, 36(6):789–814, 2000. 10.1016/S0005-1098(99)00214-9.
  54. Mizuta and Leung (2024) Kazuki Mizuta and Karen Leung. CoBL-Diffusion: Diffusion-Based Conditional Robot Planning in Dynamic Environments Using Control Barrier and Lyapunov Functions. In 2024 IEEE/RSJ International Conference on Intelligent Robots and Systems (IROS), pages 13801–13808, 2024. 10.1109/IROS58592.2024.10802549.
  55. Moses and Churavy (2020) William S. Moses and Valentin Churavy. Instead of rewriting foreign code for machine learning, automatically synthesize fast gradients. In Advances in Neural Information Processing Systems, volume 33, pages 12472–12485. Curran Associates, Inc., 2020. URL https://proceedings.neurips.cc/paper/2020/hash/9332c513ef44b682e9347822c2e457ac-Abstract.html.
  56. Nocedal and Wright (2006) Jorge Nocedal and Stephen J. Wright. Numerical Optimization. Springer, New York, 2 edition, 2006. 10.1007/978-0-387-40065-5.
  57. Noroozi et al. (2020) Navid Noroozi, Roman Geiselhart, Lars Grüne, and Fabian R. Wirth. Control of discrete-time nonlinear systems via finite-step control Lyapunov functions. Systems & Control Letters, 138:104631, 2020. 10.1016/j.sysconle.2020.104631.
  58. Pal (2025) Avik Pal. Lux: Explicit Parameterization of Deep Neural Networks in Julia. Zenodo, October 2025.
  59. Peebles and Xie (2023) William Peebles and Saining Xie. Scalable Diffusion Models with Transformers. In 2023 IEEE/CVF International Conference on Computer Vision (ICCV), pages 4172–4182, 2023. 10.1109/ICCV51070.2023.00387.
  60. Pérez-Dattari and Kober (2023) Rodrigo Pérez-Dattari and Jens Kober. Stable Motion Primitives via Imitation and Contrastive Learning. IEEE Transactions on Robotics, 39(5):3909–3928, 2023. 10.1109/TRO.2023.3289597.
  61. Pérez-Dattari et al. (2026) Rodrigo Pérez-Dattari, Francisco Leiva, Andrea Testa, Leonel Rozo, Javier Ruiz del Solar, and Noémie Jaquier. Let the Dynamics Flow: Stable Flow Matching Dynamical Systems. arXiv preprint arXiv:2606.03834, July 2026.
  62. Qi et al. (2026) Han Qi, Haocheng Yin, Aris Zhu, Yilun Du, and Heng Yang. Inference-Time Enhancement of Generative Robot Policies via Predictive World Modeling. IEEE Robotics and Automation Letters, 11(5):5534–5541, 2026. 10.1109/LRA.2026.3673995.
  63. Rockafellar and Uryasev (2000) R. Tyrrell Rockafellar and Stanislav Uryasev. Optimization of conditional value-at-risk. Journal of Risk, 2(3):21–41, 2000. 10.21314/JOR.2000.038.
  64. Ross et al. (2011) Stephane Ross, Geoffrey J. Gordon, and J. Andrew Bagnell. A Reduction of Imitation Learning and Structured Prediction to No-Regret Online Learning. In Proceedings of the Fourteenth International Conference on Artificial Intelligence and Statistics, volume 15 of Proceedings of Machine Learning Research, pages 627–635. PMLR, 2011. URL https://proceedings.mlr.press/v15/ross11a.html.
  65. Rouxel et al. (2024) Quentin Rouxel, Andrea Ferrari, Serena Ivaldi, and Jean-Baptiste Mouret. Flow Matching Imitation Learning for Multi-Support Manipulation. In 2024 IEEE-RAS 23rd International Conference on Humanoid Robots (Humanoids), pages 528–535, 2024. 10.1109/Humanoids58906.2024.10769838.
  66. Rubinstein and Kroese (2004) Reuven Y. Rubinstein and Dirk P. Kroese. The Cross-Entropy Method: A Unified Approach to Combinatorial Optimization, Monte-Carlo Simulation and Machine Learning. Information Science and Statistics. Springer, New York, 2004. 10.1007/978-1-4757-4321-0.
  67. Solà et al. (2021) Joan Solà, Jeremie Deray, and Dinesh Atchuthan. A micro Lie theory for state estimation in robotics. arXiv preprint arXiv:1812.01537, December 2021.
  68. Stölzle et al. (2026) Maximilian Stölzle, David Müller, Agon Serifi, Ruben Grandia, Espen Knoop, and Moritz Bächer. PhysibleMDM: Enforcing Inference-Time Physical Feasibility Constraints on Motion Diffusion Models via Noise Optimization. arXiv preprint arXiv:2610.30500, October 2026.
  69. Suh and Tedrake (2021) H. J. Terry Suh and Russ Tedrake. The Surprising Effectiveness of Linear Models for Visual Foresight in Object Pile Manipulation. In Steven M. LaValle, Ming Lin, Timo Ojala, Dylan Shell, and Jingjin Yu, editors, Algorithmic Foundations of Robotics XIV, volume 17, pages 347–363. Springer International Publishing, Cham, 2021. 10.1007/978-3-030-66723-8_21.
  70. Sun et al. (2022) Yiyou Sun, Yifei Ming, Xiaojin Zhu, and Yixuan Li. Out-of-distribution detection with deep nearest neighbors. In Proceedings of the 39th International Conference on Machine Learning, volume 162 of Proceedings of Machine Learning Research, pages 20827–20840, 2022.
  71. Tan et al. (2026) Huajie Tan, Sixiang Chen, Yijie Xu, Zixiao Wang, Cheng Chi, Yuheng Ji, Yaoxu Lyu, Zhongxia Zhao, Xiansheng Chen, Peterson Co, Shaoxuan Xie, Guocai Yao, Pengwei Wang, Zhongyuan Wang, and Shanghang Zhang. General process reward modeling for robotic reinforcement learning. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), pages 22412–22422, 2026. URL https://openaccess.thecvf.com/content/CVPR2026/html/Tan_General_Process_Reward_Modeling_for_Robotic_Reinforcement_Learning_CVPR_2026_paper.html.
  72. Todorov et al. (2012) Emanuel Todorov, Tom Erez, and Yuval Tassa. MuJoCo: A physics engine for model-based control. In 2012 IEEE/RSJ International Conference on Intelligent Robots and Systems, pages 5026–5033, Vilamoura-Algarve, Portugal, 2012. IEEE. 10.1109/IROS.2012.6386109.
  73. Wagenmaker et al. (2025) Andrew Wagenmaker, Mitsuhiko Nakamoto, Yunchu Zhang, Seohong Park, Waleed Yagoub, Anusha Nagabandi, Abhishek Gupta, and Sergey Levine. Steering your diffusion policy with latent space reinforcement learning. In Proceedings of The 9th Conference on Robot Learning, volume 305 of Proceedings of Machine Learning Research, pages 258–282. PMLR, 2025. URL https://proceedings.mlr.press/v305/wagenmaker25a.html.
  74. Watanabe et al. (2026) Akihisa Watanabe, Qing Yu, Edgar Simo-Serra, and Kent Fujiwara. ProjFlow: Projection sampling with flow matching for zero-shot exact spatial motion control. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), pages 2305–2315, 2026. URL https://openaccess.thecvf.com/content/CVPR2026/html/Watanabe_ProjFlow_Projection_Sampling_with_Flow_Matching_for_Zero-Shot_Exact_Spatial_CVPR_2026_paper.html.
  75. Wilson and Hilferty (1931) Edwin B. Wilson and Margaret M. Hilferty. The Distribution of Chi-Square. Proceedings of the National Academy of Sciences, 17(12):684–688, 1931. 10.1073/pnas.17.12.684.
  76. Wong et al. (2025) Kiwan Wong, Maximilian Stölzle, Wei Xiao, Cosimo Della Santina, Daniela Rus, and Gioele Zardini. Contact-aware safety in soft robots using high-order control barrier and Lyapunov functions. IEEE Robotics and Automation Letters, 10(12):12485–12492, 2025. 10.1109/lra.2025.3621965.
  77. Xiao et al. (2025) Wei Xiao, Tsun-Hsuan Wang, Chuang Gan, Ramin Hasani, Mathias Lechner, and Daniela Rus. SafeDiffuser: Safe Planning with Diffusion Probabilistic Models. In International Conference on Learning Representations (ICLR), 2025. URL https://proceedings.iclr.cc/paper_files/paper/2025/hash/f95606d8e870020085990d9650b4f2a1-Abstract-Conference.html.
  78. Xu et al. (2026) Yijie Xu, Haopeng Jin, Run Zhou, Shengbang Liu, Sixiang Chen, Hongyang Cheng, Sicheng Hu, Peterson Co, Jinwen Luo, Huajie Tan, and Shanghang Zhang. Robo-Dopamine 2.0: History-conditioned and OOD-aware process reward modeling for robotic manipulation. arXiv preprint arXiv:2608.15680, 2026.
  79. Yan et al. (2026) Hongyu Yan, Qiwei Li, Jiaolong Yang, and Yadong Mu. ProgressVLA: Progress-Guided Diffusion Policy for Vision-Language Robotic Manipulation. arXiv preprint arXiv:2603.27670, March 2026.
  80. Yuan et al. (2023) Ye Yuan, Jiaming Song, Umar Iqbal, Arash Vahdat, and Jan Kautz. PhysDiff: Physics-guided human motion diffusion model. In 2023 IEEE/CVF International Conference on Computer Vision (ICCV), pages 15964–15975, 2023. 10.1109/ICCV51070.2023.01467.
  81. Zhang et al. (2025) Jichen Zhang, Liqun Zhao, Antonis Papachristodoulou, and Jack Umenberger. Constrained Diffusers for Safe Planning and Control. In Advances in Neural Information Processing Systems, volume 38, pages 39283–39316, 2025. 10.52202/085713-1174.
  82. Zhou et al. (2025) Gaoyue Zhou, Hengkai Pan, Yann LeCun, and Lerrel Pinto. DINO-WM: World models on pre-trained visual features enable zero-shot planning. In Proceedings of the 42nd International Conference on Machine Learning, volume 267 of Proceedings of Machine Learning Research, pages 79115–79135. PMLR, 2025. URL https://proceedings.mlr.press/v267/zhou25t.html.
  83. Zhou et al. (2019) Yi Zhou, Connelly Barnes, Jingwan Lu, Jimei Yang, and Hao Li. On the Continuity of Rotation Representations in Neural Networks. In 2019 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), pages 5738–5746, 2019. 10.1109/CVPR.2019.00589.
  84. Zhu et al. (2020) Yuke Zhu, Josiah Wong, Ajay Mandlekar, Roberto Martın-Martın, Abhishek Joshi, Kevin Lin, Abhiram Maddukuri, Soroush Nasiriany, and Yifeng Zhu. Robosuite: A Modular Simulation Framework and Benchmark for Robot Learning. arXiv preprint arXiv:2009.12293, 2020.

Appendix A Related Work

Generative policies for robotics.

Generative policies learn expressive models of multimodal robot behavior from demonstrations, representing multiple valid ways to perform a task (Chi et al., 2025; Rouxel et al., 2024). Diffusion and flow matching support conditioning on robot state, images, point clouds, and language instructions (Chi et al., 2025; Chisari et al., 2025; Black et al., 2025), allowing motion generation to respond to both the scene and the requested task. These policies commonly generate action chunks: sequences of future commands whose initial segment is executed before replanning from updated observations in a receding-horizon loop (Chi et al., 2025; Black et al., 2025). Actions often specify desired joint configurations or end-effector poses over time, so a chunk describes a robot motion sequence tracked by a lower-level controller (Chi et al., 2025; Black et al., 2025). Manifold-aware formulations additionally account for the geometry of pose-valued actions (Braun et al., 2024; Ding et al., 2025). We use a pretrained flow matching policy as a fixed prior over waypoint chunks.

Inference-time refinement of generative policies.

Inference-time refinement can act on generated motions, intermediate sampling states, or source noise. Direct motion refinement uses generated action sequences to initialize trajectory optimization (Qi et al., 2026; Hamel, 2026), but subsequent updates can drift from the learned prior. Gradient guidance steers diffusion or flow updates using differentiable objectives (Carvalho et al., 2025; Feng et al., 2025). Projection methods enforce constraints on intermediate samples or their estimated clean outputs (Christopher et al., 2024; Yuan et al., 2023; Watanabe et al., 2026), requiring feasibility evaluation before generation is complete. Source-noise optimization evaluates objectives on fully generated motions: gradient-based updates differentiate through both the generator and the objective (Ben-Hamu et al., 2024; Karunratanakul et al., 2024), while sampling-based updates use only objective evaluations (Stölzle et al., 2026; Hegde et al., 2026). We use sampling-based source optimization with radial quantile bands to restrict the search to typical source-noise radii.

World models for task progress evaluation.

World models support action selection and refinement by predicting the task outcomes used to evaluate candidate actions (Ebert et al., 2018; Suh and Tedrake, 2021). Distances between predicted and goal representations guide planning in learned visual spaces (Zhou et al., 2025; Assran et al., 2025; Hegde et al., 2026). Generative policy proposals can also be ranked or refined using predicted rewards and task objectives (Qi et al., 2026; Du and Song, 2025; Hamel, 2026), or guided by learned progress estimates (Yan et al., 2026). We use physics-based world rollouts to evaluate task evolution under tracking and contact dynamics.

Task progress measures.

Quantifying this progress is difficult when tasks involve intermediate milestones, regressions, and recovery. Beyond geometric task potentials, visual and language-conditioned representations provide learned goal proximity and reward signals (Ma et al., 2023b; Ma et al., 2023a). Reward models learn completion and partial-success assessments from robot videos, incorporating failures and trajectory comparisons (Lee et al., 2026; Liang et al., 2026). Finer assessments model task stages and progress within them (Chen et al., 2026a; Chen et al., 2026b), or process-level advancement, regression, and recovery (Mao et al., 2026; Tan et al., 2026; Xu et al., 2026). Reward machines encode sequential milestones explicitly (Camacho et al., 2021; Baert et al., 2025). We express task progress through a scalar measure of deviation from desired object relationships, combining subtask measures to account for sequential goals.

Safety and convergence of robot motion.

One line of work incorporates Lyapunov or contraction conditions into training objectives or model architectures to obtain stable robot motion dynamics (Pérez-Dattari and Kober, 2023; Beik-Mohammadi et al., 2024; Pérez-Dattari et al., 2026). Another establishes closed-loop stability through online predictive optimization, using predictive control to select inputs or predictive filters to correct proposals from an existing policy (Mayne et al., 2000; Didier et al., 2024). Stability conditions also differ in how they treat transients. Finite-step Lyapunov conditions allow intermediate increases by requiring net decrease over several steps (Noroozi et al., 2020). To also regulate the transient error, prescribed-performance and funnel control specify admissible envelopes (Ilchmann et al., 2002; Berger et al., 2025), which can be incorporated into predictive control (Grandia et al., 2020; Berger et al., 2022). We apply these principles to progress of the manipulated objects, combining bounded transient regression with terminal contraction of a task potential over generated action chunks. Convergence remains conditional on finding satisfying chunks and agreement between evaluated and executed dynamics. Recursive feasibility is not established.

Continuous-time verification from sampled rollouts.

Extending discrete trajectory checks to continuous-time satisfaction requires regularity assumptions and margins (Fainekos and Pappas, 2009). Lipschitz optimization bounds function values between samples and uses local rate estimates to reduce conservatism (Lera and Sergeyev, 2013). Our verification procedure uses bounds on how quickly the task-funnel residual can change to rule out violations between consecutive rollout samples. With valid upper bounds on this rate of change, passing the check guarantees that the task error stays within the prescribed envelope throughout the chunk. In our experiments, we estimate these rates from the sampled rollouts, and call the resulting check estimated verification.

Appendix B Flow-Matching Priors and Pose-Valued Waypoints

Conditional flow-matching training.

The flow map \psi_{\theta} of the learned vector field v_{\theta}(z,\tau\mid o) transports a source distribution p_{0} to the conditional data distribution, (\psi_{\theta}(1\mid\cdot,o))_{\#}p_{0}\approx p_{\mathrm{data}}(\cdot\mid o), where the pushforward f_{\#}p denotes the distribution of f(z) for z\sim p (Lipman et al., 2023; Lipman et al., 2024). For Euclidean actions, v_{\theta} regresses the velocity of the path z_{\tau}=(1-\tau)z_{0}+\tau w, with loss \mathbb{E}\,\|v_{\theta}(z_{\tau},\tau\mid o)-(w-z_{0})\|_{2}^{2} over (o,w)\sim\mathcal{D}, z_{0}\sim p_{0} and \tau\sim\mathcal{U}[0,1]. For pose-valued actions we use RMFM (Chen and Lipman, 2024; Braun et al., 2024) with the data-centered wrapped-normal rotational source described below. In both cases a seed z_{0} is decoded into an action chunk by integrating d\psi_{\theta}/d\tau=v_{\theta}(\psi_{\theta},\tau\mid o) from \psi_{\theta}(0\mid z_{0},o)=z_{0} to \tau=1.

Pose notation.

We use standard Lie-group notation for \mathrm{SO}(3) and \mathrm{SE}(3): exponential and logarithm maps, and the hat and vee operators identifying a body twist \xi\in\mathbb{R}^{6} with its Lie-algebra matrix \widehat{\xi} (Solà et al., 2021; Lynch and Park, 2017).

Interface, carrier, and velocity representations.

The world-facing waypoint representation is eight values: position, a unit quaternion, and a gripper variable. The Euclidean (OT) policy flows these eight coordinates directly and predicts eight coordinate velocities. Before execution, its quaternion block is normalized and converted to a rotation. Quaternions, however, are a discontinuous representation of rotations for a regression target (Zhou et al., 2019), so the Riemannian (RMFM) policy flows a continuous carrier instead: the nine rotation-matrix entries, three translation coordinates, and the gripper channel. This 13-dimensional carrier represents a state in \mathrm{SE}(3)\times\mathbb{R}, and the group operations act on it directly as matrix products, which keeps the pose kernels of the flow simple. The model reads the 13 carrier channels and outputs seven tangent channels, a body twist (v,\omega) and a gripper rate. Quaternions appear only in the world-facing interface. The RMFM flow evolves the 13-dimensional carrier, and the refinement search operates on chart coordinates of its source (Appendix E.1). Rotation observations use the distinct six-dimensional representation of Zhou et al. (2019).

Coupled pose interpolation and integration.

Write G\in\mathrm{SE}(3) for the pose and r\in\mathbb{R} for the gripper variable. For source and target poses, let \xi=\log(G_{0}^{-1}G_{1})^{\vee}. The training path is

G_{\tau}=G_{0}\exp(\tau\widehat{\xi}),\qquad r_{\tau}=(1-\tau)r_{0}+\tau r_{1},
(10)

a screw motion with constant body velocity \xi, which couples translation and rotation through the \mathrm{SE}(3) exponential, while the gripper moves at constant rate r_{1}-r_{0}. Applied waypoint-wise, this gives the flow-matching target (Braun et al., 2024; Chen and Lipman, 2024). Sampling uses 10 Lie–Euler steps,

G\leftarrow G\exp\bigl(\Delta\tau\,\widehat{v}_{\theta}^{\mathrm{pose}}\bigr),\qquad r\leftarrow r+\Delta\tau\,v_{\theta}^{\mathrm{grip}},
(11)

so the rotation stays on \mathrm{SO}(3) without re-orthonormalization. The final carrier is converted back to the eight-value interface for execution.

Data-centered rotational source.

The source samples translation and gripper coordinates from standard Gaussians in normalized units, and rotation from a wrapped normal centered on the data,

R_{0}=\bar{R}\exp(\sigma_{\mathrm{rot}}[\epsilon_{R}]_{\times}),\qquad\epsilon_{R}\sim\mathcal{N}(0,I_{3}),\qquad\sigma_{\mathrm{rot}}=0.5\ \mathrm{rad},
(12)

which is then converted to the 13-dimensional carrier. Here [\cdot]_{\times} is the skew-symmetric matrix representation. The center \bar{R} is computed from demonstration rotations: its unit quaternion is a dominant eigenvector of \sum_{j}q_{j}q_{j}^{\top}, the sign-invariant chordal quaternion average (Markley et al., 2007), computed by power iteration. The prior center is saved with the training statistics. Centering the source on the demonstrated orientations reduces the frequency of source–target pairs near the cut locus of the rotational logarithm, where a relative angle near \pi makes the interpolation target bimodal. For concentrated demonstrated orientations, almost all pairs lie well inside the cut locus. A Haar-uniform source (Chirikjian, 2012) places a fixed fraction of pairs near the cut locus for any data.

Training and inference use the same Gaussian-to-pose source map. The source samples translation and rotation as separate factors, and the flow couples them through the learned pose velocity and its integration with the \mathrm{SE}(3) exponential. The map \epsilon_{R}\mapsto R_{0} is injective for rotation angles below \pi, where the principal logarithm recovers \epsilon_{R} (Hartley et al., 2013).

Appendix C Task Progress Measures and Task Potentials

This appendix constructs the task potential V of \Crefsec:task_refinement, a task-level Lyapunov candidate, so that V does not increase while the task progresses as intended: the subtasks are completed in order, each by first meeting a prerequisite, such as lifting a cube, and then completing it, such as placing the cube on its support. Executed motions can leave this progression, through robot-only motions that leave V constant, contacts that push, drop or topple objects, and detours away from the goal, so V remains a candidate, and the funnel imposes its decrease on each executed chunk. All constructions are stated on a bounded operating domain \Omega of task states, set by the task definition and the training data: the physical limits of the scene, such as the table extent, together with the range of task states covered by the demonstrations, with a margin.

This appendix has two parts. The first is a construction procedure that can be reused for other tasks with identifiable subtasks: the requirements that a potential should meet, a way to blend the costs of one subtask into a smooth residual without ridges (Appendix C.1), and a way to compose the residuals of successive subtasks so that completing one never increases the potential (Appendix C.2, \Crefprop:phased_composition). The second part consists of the potentials of our three tasks (Appendices C.4–C.6). Their coordinates, costs, gates and constants are designed by hand for each task. They are instances of the procedure and make no claim of generality.

Requirements.

The method places four requirements on the potential over \Omega.

  • Zero set. V is nonnegative and vanishes exactly on the completed task, so that the terminal contraction of \Crefthm:receding_horizon_contraction drives execution toward completion.
  • Regularity. V is Lipschitz along rollouts, as the verification bound requires (\Creflem:residual_regularity). We construct it C^{1}, which gives a Lipschitz constant on the bounded domain \Omega and keeps kinks out of the trace that the funnel evaluates.
  • No ridges. A motion that advances the current subtask never increases V, so the funnel does not penalize progress on that subtask.
  • Ordering. Completing a subtask never increases V, and V does not depend on a later subtask until the earlier ones approach completion.

For a single-stage task, a weighted distance to the desired state meets these requirements, as in PushT (Appendix C.4). For tasks with identifiable subtasks and prerequisites, we give a construction procedure. A subtask residual \phi is a nonnegative scalar function of the task state that vanishes exactly when its subtask is complete. The procedure blends the costs of a subtask into a smooth residual (Appendix C.1) and composes the residuals of successive subtasks, so that activating the next subtask preserves the desired ordering of task states (Appendix C.2). In stacking, for example, the first subtask places the red cube on the green one and the second places the blue cube on the red one. The prerequisite of each placement is lifting the cube from the table, and its completion is the cube centred and resting on its support. Each task supplies its own geometric subtask costs and completion gates, with a few constants calibrated on demonstrations. We apply the full procedure to stacking (Appendix C.5) and to two-nut assembly (Appendix C.6). Learning the potential from demonstrated progress, in place of the hand-designed instances, is left to future work.

C.1 Designing a Smooth Subtask Residual

Choosing coordinates and regimes.

Select coordinates \xi that describe the prerequisite and completion of a subtask, and define nonnegative costs U_{0}(\xi) and Q(\xi) for these two regimes. A prerequisite can represent clearance before transport or alignment before insertion, and completion specifies the desired task relation. From these two costs we build the subtask residual \phi(\xi) defined above. It should vanish at the intended geometric goal and decrease along the intermediate motions that lead to it. In stacking, \xi=(d,e) collects the horizontal distance and the vertical gap between a cube and its support, U_{0} is smallest when the cube is carried at a clearance above its support, and Q when it is centred over the support and lowered onto it (Appendix C.5).

Connecting regimes smoothly.

With an offset \bar{D}\geq 0, let U(\xi)=U_{0}(\xi)+\bar{D}, and blend the two regimes through a gate \ell(\xi)\in[0,1],

\phi(\xi)=[1-\ell(\xi)]U(\xi)+\ell(\xi)Q(\xi).
(13)

The gate should equal 0 before the prerequisite is started and 1 once it is met, so that each regime is exact away from the transition. It should also be monotone in the prerequisite’s progress, and C^{1} with zero slope at both ends of the transition, so that the blend has no kinks. The blend is then nonnegative, and if U>0 and Q vanishes exactly at the goal, where \ell=1, \phi has the desired zero set. When a scalar coordinate a(\xi) increases with prerequisite progress, the clamped cubic step is the lowest-degree polynomial with these properties,

\ell=s\!\left(\frac{a-a_{\mathrm{lo}}}{a_{\mathrm{hi}}-a_{\mathrm{lo}}}\right),\qquad s(u)=\begin{cases}0,&u\leq 0,\\
3u^{2}-2u^{3},&0<u<1,\\
1,&u\geq 1,\end{cases}
(14)

where [a_{\mathrm{lo}},a_{\mathrm{hi}}] is the band over which the emphasis moves from one regime to the other.

Avoiding ridges at activation.

A smooth gate avoids discontinuities in the measurement, but it can still create a cost ridge: while the gate rises, the residual can increase while the robot performs the prerequisite motion. A motion that improves the prerequisite should not increase \phi. For a coordinate \xi_{a} that increases with the desired prerequisite motion,

\partial_{\xi_{a}}\phi=(1-\ell)\partial_{\xi_{a}}U+\ell\partial_{\xi_{a}}Q+(\partial_{\xi_{a}}\ell)(Q-U).
(15)

Suppose that both regime costs decrease along this motion, \partial_{\xi_{a}}U_{0}\leq 0 and \partial_{\xi_{a}}Q\leq 0, and that the gate rises along it, \partial_{\xi_{a}}\ell\geq 0, on the transition band \Omega_{\mathrm{tr}}\subseteq\Omega where 0<\ell<1. The first two terms are then nonpositive, and the last one is nonpositive whenever Q\leq U. A sufficient offset is therefore

\bar{D}\geq\max\left\{0,\sup_{\xi\in\Omega_{\mathrm{tr}}}[Q(\xi)-U_{0}(\xi)]\right\},
(16)

which gives \partial_{\xi_{a}}\phi\leq 0 on the band, the no-ridge requirement. The offset is computed once from \Omega and involves no tuning on trajectories.

C.2 Composing Subtasks

For two successive subtasks with residuals \phi_{1} and \phi_{2}, choose a C^{1} completion gate \chi:[0,\infty)\to[0,1] with \chi^{\prime}\leq 0 and \chi(0)=1, which exposes the second residual as the first subtask is completed. Choose a reserve \bar{B}\geq\sup_{y\in\Omega}\phi_{2}(y) and define

V(y)=\phi_{1}(y)+\bigl[1-\chi\bigl(\phi_{1}^{\mathrm{g}}(y)\bigr)\bigr]\bar{B}+\chi\bigl(\phi_{1}^{\mathrm{g}}(y)\bigr)\,\phi_{2}(y).
(17)

While the first subtask is incomplete, \chi=0 and the second subtask enters only through the constant \bar{B}, so V does not depend on \phi_{2}: in stacking, moving the blue cube before the red one is placed leaves V unchanged, so V decreases only through the current subtask. As the first subtask is completed, \bar{B} is exchanged for the actual second residual, which is no larger on \Omega, so the exchange cannot itself increase V.

The gate reads a gate residual \phi_{1}^{\mathrm{g}}: a nonnegative C^{1} residual of the first subtask that vanishes on the same set as \phi_{1}. The simplest choice is \phi_{1}^{\mathrm{g}}=\phi_{1}. A separate gate residual is useful when \phi_{1} contains terms that keep refining an already completed subtask, such as fine centring: the gate can then hand over to the next subtask as soon as the first is complete, without waiting for that refinement. One suitable completion gate is

\chi(\phi)=s\!\left(\frac{b_{\mathrm{hi}}-\phi}{b_{\mathrm{hi}}-b_{\mathrm{lo}}}\right),\qquad 0<b_{\mathrm{lo}}<b_{\mathrm{hi}},
(18)

with \chi=1 for \phi\leq b_{\mathrm{lo}} and \chi=0 for \phi\geq b_{\mathrm{hi}}: [b_{\mathrm{lo}},b_{\mathrm{hi}}] is the band of first-stage gate residual over which the second subtask is activated.

Proposition 3 (Smooth sequential composition).

Let \phi_{1}, \phi_{2}, and \phi_{1}^{\mathrm{g}} be nonnegative C^{1} residuals with \{\phi_{1}=0\}=\{\phi_{1}^{\mathrm{g}}=0\}, and let \chi and \bar{B} be as above. Then V is nonnegative and C^{1} on \Omega, with V(y)=0 exactly when \phi_{1}(y)=\phi_{2}(y)=0. In residual coordinates,

\frac{\partial V}{\partial\phi_{1}}=1,\qquad\frac{\partial V}{\partial\phi_{1}^{\mathrm{g}}}=\chi^{\prime}(\phi_{1}^{\mathrm{g}})\,(\phi_{2}-\bar{B})\geq 0,\qquad\frac{\partial V}{\partial\phi_{2}}=\chi(\phi_{1}^{\mathrm{g}})\in[0,1].
(19)
Proof.

Every term in (17) is nonnegative. If V=0, then \phi_{1}=0, hence \phi_{1}^{\mathrm{g}}=0, \chi=1, and \phi_{2}=0; the converse follows by substitution. Products and compositions preserve C^{1} regularity. Differentiation gives (19), whose signs follow from \chi^{\prime}\leq 0 and \phi_{2}\leq\bar{B}. ∎

Reducing either first-stage residual at a fixed second residual therefore never increases V, including during activation, and the first subtask has full weight while the second has weight \chi\leq 1. Together with the zero set and the C^{1} regularity of the proposition, this meets the ordering requirement. Along a trajectory, all residuals change together,

\dot{V}=\dot{\phi}_{1}+\chi^{\prime}(\phi_{1}^{\mathrm{g}})(\phi_{2}-\bar{B})\,\dot{\phi}_{1}^{\mathrm{g}}+\chi(\phi_{1}^{\mathrm{g}})\,\dot{\phi}_{2},

so the construction does not fix the sign of \dot{V}, and the funnel evaluates how V evolves there. Longer sequences follow by applying the composition recursively.

C.3 Parameter Selection and Calibration

The constants of a potential come from three sources, and each task uses only the groups its potential needs. Tables 3 and 4 list every constant of the stacking and two-nut potentials with its source. The PushT pose error has a single angular weight and no stage constants, and its weight equates an angular and a positional tolerance (Appendix C.4).

Geometry and physical tolerances.

Error coordinates come from the task’s object relations and are scaled by object dimensions or acceptable completion errors. In stacking, for instance, the horizontal and vertical error scales are the half-height of the supporting cube, and the carry clearance is one cube height plus one centimetre. Relative weights then set how the normalized errors are combined. We set these weights by hand and use the demonstrations to check that the tolerances accommodate the contact noise of successful configurations.

Analytic composition constants.

Offsets and reserves are computed from bounds on the operating domain \Omega. The lift offset \bar{D} is the bound (16) evaluated on \Omega. The stage reserve \bar{B} is the largest value of the second-stage residual on \Omega, which keeps V from rising at the hand-over in (17). The composition properties hold on \Omega, and the potential remains defined and finite outside it.

Demonstration-informed thresholds.

The remaining hand-over thresholds and scales come from training states. In stacking, the completion band starts ten percent above the largest gate residual among training placements that are geometrically complete, and the alignment scale is close to the typical seat offset of demonstrated placements. Placements outside the intended completion geometry are not used to widen the band. All potential parameters are fixed before the funnel’s training labels are generated.

C.4 PushT

For block position p_{T}, target position p_{G}, and orientations \theta_{T},\theta_{G}, use

V_{\mathrm{PushT}}(y)=\|p_{T}-p_{G}\|_{2}^{2}+\lambda_{\theta}\operatorname{wrap}(\theta_{T}-\theta_{G})^{2},
(20)

where \operatorname{wrap}(u)=\operatorname{atan2}(\sin u,\cos u)\in(-\pi,\pi], positions are in the pixel units of the 512\times 512 workspace, angles are in radians, and \lambda_{\theta}=10^{4}, so that an angular error of 0.1 rad weighs as much as a position error of 10 pixels. For \lambda_{\theta}>0, the potential is nonnegative and vanishes exactly at the target pose. The squared wrapped-angle term is locally Lipschitz, including at the angular cut, though not differentiable there.

C.5 Three-Cube Stacking

Table 3: Phased potential parameters for three-cube stacking, grouped by source, for red on green (R on G) and blue on red (B on R). Lengths are in meters; costs and weights are dimensionless.
  • Geometry and physical tolerances
  • h_{X},h_{Y}
    Meaning
    half-heights
    R on G
    0.020/0.025
    B on R
    0.020/0.020
    Rule
    model geometry
  • \tau_{xy}=\tau_{z}
    Meaning
    error scales
    R on G
    0.025
    B on R
    0.020
    Rule
    h_{Y}
  • \lambda_{z}
    Meaning
    vertical weight
    R on G
    1
    B on R
    1
    Rule
    design
  • d_{\mathrm{lo}}/d_{\mathrm{hi}}
    Meaning
    lowering band
    R on G
    0.010/0.045
    B on R
    0.010/0.040
    Rule
    d_{\mathrm{lo}} design; d_{\mathrm{hi}}=h_{X}+h_{Y}
  • c
    Meaning
    carry clearance
    R on G
    0.050
    B on R
    0.050
    Rule
    2h_{X}+0.01
  • a_{\mathrm{lo}}/a_{\mathrm{hi}}
    Meaning
    lift band
    R on G
    -0.027/-0.012
    B on R
    -0.027/-0.012
    Rule
    \leq 12 mm above support, 15 mm band
  • \lambda_{\mathrm{pre}}
    Meaning
    pre-positioning
    R on G
    0.01
    B on R
    0.01
    Rule
    design
  • \lambda_{\mathrm{align}}
    Meaning
    alignment
    R on G
    10
    B on R
    10
    Rule
    above jitter, below a stage drop
  • \phi^{\mathrm{g}}_{RG} bands
    Meaning
    gate residual
    R on G
    d_{\mathrm{lo}}=0.025, a_{\mathrm{lo}}/a_{\mathrm{hi}}=-0.045/-0.030
    Rule
    wider, no alignment basin
  • Analytic composition constants (on \Omega)
  • \bar{D}
    Meaning
    lift offset
    R on G
    559.65
    B on R
    868.83
    Rule
    (24)
  • \bar{D}^{\mathrm{g}}
    Meaning
    gate-residual offset
    R on G
    549.65
    Rule
    (24), \lambda_{\mathrm{align}}=0
  • \bar{B}
    Meaning
    second-stage reserve
    R on G
    1139.36
    Rule
    \geq\sup_{\Omega}\phi_{BR}
  • \delta_{z}
    Meaning
    no-ridge margin
    R on G
    0.0045
    Rule
    lowering-band condition
  • Demonstration-informed
  • \Omega
    Meaning
    operating domain
    R on G
    p_{X,xy}\in[-0.2,0.2]^{2} at reset; d\leq 0.59
    Rule
    MimicGen reset range + margin
  • \sigma_{\mathrm{align}}
    Meaning
    alignment scale
    R on G
    0.010
    B on R
    0.010
    Rule
    typical demo seat offset
  • b_{\mathrm{lo}}/b_{\mathrm{hi}}
    Meaning
    completion-gate band
    R on G
    1.093/2.186
    Rule
    1.1\times largest completed; b_{\mathrm{hi}}=2b_{\mathrm{lo}}

We apply the procedure to three-cube stacking, which places the red cube R on the green cube G and then the blue cube B on the red one. Each placement is a subtask with a lift prerequisite, and the two placements are composed in this order. Let p_{X}=(p_{X,xy},z_{X}) and h_{X} be cube X’s center and half-height. The task map extracts y=(p_{R},p_{G},p_{B}). For each placement of X on Y,

d_{XY}=\|p_{X,xy}-p_{Y,xy}\|_{2},\qquad e_{XY}=z_{X}-z_{Y}-(h_{X}+h_{Y}),
(21)

where d_{XY} is the horizontal distance between the two centers and e_{XY} the vertical gap between the bottom face of X and the top face of Y, assuming upright faces.

Placement residual.

Dropping the placement subscripts, the lift gate \ell(e)=s((e-a_{\mathrm{lo}})/(a_{\mathrm{hi}}-a_{\mathrm{lo}})) measures how far the cube has been raised relative to its support, and A(d)=1-s((d-d_{\mathrm{lo}})/(d_{\mathrm{hi}}-d_{\mathrm{lo}})) measures horizontal alignment. The vertical target z_{\star}(d)=c[1-A(d)] equals the carry clearance c far from alignment and approaches zero near it, a curved valley that rewards carrying before lowering. With error scales \tau_{xy},\tau_{z}, a vertical weight \lambda_{z}, and a small pre-positioning \lambda_{\mathrm{pre}}\in[0,1),

\displaystyle E_{xy}(d) \\ \displaystyle=d^{2}/\tau_{xy}^{2}, \\ \displaystyle U_{0}(d,e) \\ \displaystyle=\lambda_{z}(e-c)^{2}/\tau_{z}^{2}+\lambda_{\mathrm{pre}}E_{xy}(d), \\ \displaystyle Q(d,e) \\ \displaystyle=E_{xy}(d)+\lambda_{z}[e-z_{\star}(d)]^{2}/\tau_{z}^{2}, \\ \displaystyle U \\ \displaystyle=U_{0}+\bar{D}.
(22)

Here E_{xy} is the horizontal misalignment in units of the error scale. The lift cost U_{0} penalizes the deviation of the gap from the carry clearance c, and its small horizontal term moves the cube toward its support while it is lifted. The placement cost Q penalizes the horizontal misalignment and the deviation of the gap from the valley z_{\star}(d), so that the cube is lowered as it aligns. The error scales make both costs dimensionless, and \lambda_{z} weighs vertical against horizontal error. Once the cube is lifted, an alignment basin f_{\mathrm{align}}(d)=d^{2}/(d^{2}+\sigma_{\mathrm{align}}^{2}) ranks completed placements by centring, and the residual is

\phi(d,e)=[1-\ell(e)]U(d,e)+\ell(e)\bigl[Q(d,e)+\lambda_{\mathrm{align}}f_{\mathrm{align}}(d)\bigr].
(23)

In the transition band, e<0 and 0\leq z_{\star}\leq c give Q+\lambda_{\mathrm{align}}f_{\mathrm{align}}-U_{0}\leq(1-\lambda_{\mathrm{pre}})E_{xy}+\lambda_{\mathrm{align}}, so the rule in (16) is met by

\bar{D}=(1-\lambda_{\mathrm{pre}})\sup_{(d,e)\in\Omega}E_{xy}(d)+\lambda_{\mathrm{align}}.
(24)

The gate residual \phi^{\mathrm{g}}_{RG} has the same form without the alignment basin and with wider bands, so that the hand-over to the second placement does not wait for fine centering.

Potential.

With the two placement residuals,

V_{\mathrm{stack}}(y)=\underbrace{\phi_{RG}(y)}_{\text{\scriptsize first placement}}+\underbrace{[1-\chi(\phi^{\mathrm{g}}_{RG}(y))]\bar{B}}_{\begin{subarray}{c}\text{\scriptsize reserve while the second}\\
\text{\scriptsize placement is inactive}\end{subarray}}+\underbrace{\chi(\phi^{\mathrm{g}}_{RG}(y))\phi_{BR}(y)}_{\begin{subarray}{c}\text{\scriptsize second placement,}\\
\text{\scriptsize once activated}\end{subarray}},
(25)

which by \Crefprop:phased_composition is C^{1} on \Omega and vanishes exactly at the geometric stack d_{RG}=e_{RG}=d_{BR}=e_{BR}=0: each residual vanishes only where \ell=1, Q=0, and f_{\mathrm{align}}=0, that is, at d=e=0. The potential is invariant to common translations and measures geometric placement, not orientation, release, or stable support. Completion is judged by the task’s success predicate. The main experiments use this potential, which builds both placements from the residual \phi of (23). Appendix G.6 compares it with a potential that builds both placements from the gate residual \phi^{\mathrm{g}}. Table 3 lists the constants, grouped by their source as in Appendix C.3.

C.6 Two-Nut Assembly

The task threads the square nut onto its peg, then the round nut onto the other (Appendix G.4). The potential reads the two nuts only, each relative to its own peg. For a nut, let p_{\perp}\in\mathbb{R}^{2} be the horizontal offset of its center from the peg axis, R\in SO(3) its orientation and z its height. The task map extracts y=(p_{\perp},R,z) for both nuts.

Alignment energy.

With the native lateral tolerance \tau_{r} and u=\|p_{\perp}\|/\tau_{r}, the lateral error is quadratic inside the native tolerance and linear outside it, h(u)=u^{2} for u\leq 1 and h(u)=2u-1 otherwise, so that it stays C^{1} and grows slowly far from the peg. Tilt is measured by e_{\mathrm{tilt}}=1-n_{z}^{2} with n=Re_{z}, the nut’s axis. The square hole also needs yaw alignment up to its fourfold symmetry, measured with a=Re_{x} by

e_{\mathrm{yaw}}=\frac{8a_{x}^{2}a_{y}^{2}}{(a_{x}^{2}+a_{y}^{2})^{2}+\varepsilon},\qquad q=h(u)+\lambda_{\mathrm{tilt}}\,e_{\mathrm{tilt}}+\lambda_{\mathrm{yaw}}\,e_{\mathrm{yaw}},
(26)

which vanishes when an edge of the nut is parallel to an axis of the peg. The round nut has \lambda_{\mathrm{yaw}}=0.

Nut residual.

An alignment valve v(q)=s((q_{\mathrm{hi}}-q)/(q_{\mathrm{hi}}-q_{\mathrm{lo}})), with s the clamped cubic step of (14), opens as the nut aligns. The height cost of an aligned nut, H(z)=\bar{H}\,s(|z-z_{\mathrm{seat}}|/(z_{\mathrm{app}}-z_{\mathrm{seat}}))\leq\bar{H}, vanishes at the seated height z_{\mathrm{seat}} and saturates at the approach height z_{\mathrm{app}} above the peg. A nut counts as resting on the table when it is laterally misaligned and not lifted: with the lift indicator \mu(z)=s((z-z_{\mathrm{lift}})/h_{\mathrm{lift}}) and the lateral valve v_{\mathrm{lat}}=s((q_{\mathrm{hi}}-h(u))/(q_{\mathrm{hi}}-q_{\mathrm{lo}})), its resting indicator is \omega=(1-v_{\mathrm{lat}})(1-\mu(z)). The residual is

\phi=\underbrace{(1-\omega)\,q}_{\begin{subarray}{c}\text{\scriptsize alignment (lifted}\\
\text{\scriptsize or over the peg)}\end{subarray}}+\underbrace{\omega\bigl[m(q)+L_{\mathrm{lift}}\bigr]}_{\begin{subarray}{c}\text{\scriptsize resting on}\\
\text{\scriptsize the table}\end{subarray}}+\underbrace{v(q)\,H(z)}_{\begin{subarray}{c}\text{\scriptsize height,}\\
\text{\scriptsize once aligned}\end{subarray}}+\underbrace{\bigl[1-v(q)\bigr]\bar{H}}_{\begin{subarray}{c}\text{\scriptsize height reserve}\\
\text{\scriptsize while misaligned}\end{subarray}},
(27)

where m is a nondecreasing C^{1} smoothing of \max(q,q_{\mathrm{rest}}) with a quadratic corner of width \delta_{\mathrm{rest}}, and q_{\mathrm{rest}} bounds the alignment energy on \Omega.

Properties.

On \Omega, aligning a nut at fixed height never raises \phi: for a lifted nut or one over its peg, \omega=0 and \partial\phi/\partial q=1+v^{\prime}(q)[H(z)-\bar{H}]\geq 1, since v^{\prime}\leq 0 and H\leq\bar{H}, and for a resting nut m is nondecreasing. A misaligned nut has height cost \bar{H} at any height and an aligned one has H(z), so lowering an aligned nut to its seat decreases \phi. A nut resting away from its peg (\omega=1) costs q_{\mathrm{rest}}+L_{\mathrm{lift}}+\bar{H} wherever it lies: pushing or turning it on the table leaves \phi unchanged, lifting it decreases \phi, and dropping a carried nut increases \phi. Since z_{\mathrm{lift}} is the highest spawn height, the reset’s drop of the nuts onto the table does not count as a lift.

Potential.

With the square-nut residual \phi_{\mathrm{sq}} as first stage, also used as gate residual, and the round-nut residual \phi_{\mathrm{rd}} as second,

V_{\mathrm{nut}}(y)=\underbrace{\phi_{\mathrm{sq}}(y)}_{\text{\scriptsize first placement}}+\underbrace{\bigl[1-\chi(\phi_{\mathrm{sq}}(y))\bigr]\bar{B}}_{\begin{subarray}{c}\text{\scriptsize reserve while the second}\\
\text{\scriptsize placement is inactive}\end{subarray}}+\underbrace{\chi(\phi_{\mathrm{sq}}(y))\,\phi_{\mathrm{rd}}(y)}_{\begin{subarray}{c}\text{\scriptsize second placement,}\\
\text{\scriptsize once activated}\end{subarray}},
(28)

with the completion gate of (18) and \bar{B}\geq\sup_{\Omega}\phi_{\mathrm{rd}}, so that by \Crefprop:phased_composition V_{\mathrm{nut}} is C^{1} on \Omega and completing the first placement never increases it. It vanishes only when both nuts are centred on their pegs, level and seated, with the square nut’s yaw a multiple of 90^{\circ}, a set much smaller than the tolerances of the native success check. Flipped nuts are not excluded. Outside \Omega the potential remains C^{1} and finite, but its bounds are not claimed there. Table 4 lists the constants, grouped by source as in Appendix C.3.

Table 4: Phased potential parameters for two-nut assembly, grouped by source, for the square and the round nut. Lengths are in meters; costs and weights are dimensionless.
  • Geometry and physical tolerances
  • \tau_{r}
    Meaning
    lateral tolerance
    Square
    0.03
    Round
    0.03
    Rule
    half-width of the native success box
  • z_{\mathrm{seat}}/z_{\mathrm{app}}
    Meaning
    seated / approach height
    Square
    0.83/0.97
    Round
    0.83/0.97
    Rule
    model geometry; peg top plus nut thickness
  • q_{\mathrm{lo}}
    Meaning
    aligned threshold
    Square
    0.101
    Round
    0.163
    Rule
    (\text{seated offset}/\tau_{r})^{2}
  • \lambda_{\mathrm{tilt}}
    Meaning
    tilt weight
    Square
    5.13
    Round
    3.11
    Rule
    1/\sin^{2} of the threading tilt limit
  • \lambda_{\mathrm{yaw}}
    Meaning
    yaw weight
    Square
    0.0127
    Round
    0
    Rule
    (\text{clearance}/\tau_{r})^{2}/4; none for the round nut
  • q_{\mathrm{hi}}
    Meaning
    valve closure
    Square
    1
    Round
    1
    Rule
    edge of the native box
  • \bar{H}
    Meaning
    height reserve
    Square
    5.04
    Round
    5.04
    Rule
    \lambda_{z}/s(\tau_{z}/(z_{\mathrm{app}}-z_{\mathrm{seat}})), \tau_{z}=0.04, \lambda_{z}=1
  • L_{\mathrm{lift}}=\delta_{\mathrm{rest}}
    Meaning
    lift credit, corner width
    Square
    5.04
    Round
    5.04
    Rule
    \bar{H}
  • h_{\mathrm{lift}}
    Meaning
    lift band
    Square
    0.02
    Round
    0.02
    Rule
    \tau_{z}/2
  • Analytic composition constants (on \Omega)
  • \bar{B}
    Meaning
    second-stage reserve
    Square
    46.9
    Rule
    \geq\sup_{\Omega}\phi_{\mathrm{rd}}
  • Demonstration-informed
  • z_{\mathrm{lift}}
    Meaning
    lift height
    Square
    0.89
    Round
    0.89
    Rule
    highest spawn height of the reset
  • q_{\mathrm{rest}}
    Meaning
    alignment bound on \Omega
    Square
    28.35
    Round
    36.78
    Rule
    1.1\times largest observed
  • b_{\mathrm{lo}}/b_{\mathrm{hi}}
    Meaning
    completion-gate band
    Square
    0.136/0.271
    Rule
    1.1\times largest \phi_{\mathrm{sq}} over flat final seats; b_{\mathrm{hi}}=2b_{\mathrm{lo}}

Appendix D Performance Funnels

The funnel is built for a fixed task potential V (Appendix C) and is frozen at the start of each planning call. The results of \Crefsec:task_refinement place four requirements on it.

  • Anchoring. It starts at the current value V_{k}, possibly raised by a start allowance that fades over the chunk and makes the first samples verifiable (Appendix F.2).
  • Terminal contraction. It ends at the requested value (1-\gamma_{k})V_{k}, which drives the convergence of \Crefthm:receding_horizon_contraction.
  • Bounded transient. It stays below (1+d_{k})V_{k}, which bounds the task error between replanning times.
  • Lipschitz in time. Its Lipschitz constant enters the rate of the residual, as the verification bound requires (\Creflem:residual_regularity).

Every funnel we compare meets the terminal requirement, and the funnels differ in how much they constrain the interior of the chunk (Figure 5). We compare five types:

  • Endpoint-only constrains the last sample and leaves the interior free.
  • Plateau adds a uniform transient bound (1+\delta)V_{k} to the endpoint-only funnel.
  • Linear decreases at a constant rate from V_{k} to the requested value over the chunk.
  • Calibrated funnels use the fitted family of Appendix D.1 with constant parameters, calibrated on the demonstrations over the whole task (global) or for each stage of a sequential task (per stage).
  • Learned funnels, additive or multiplicative, use the same family and predict its parameters from the observation history at leniency \alpha (Appendix D.2).

We also compare two objectives without an envelope, which the same search minimizes in place of the funnel loss. On the samples t_{i} of the chunk, judged from the end of the first control step as for the funnels, the \dot{V}\leq 0 objective is the smooth maximum \frac{1}{\beta}\log\sum_{i}\exp(\beta\,\dot{V}_{i}) with \beta=10, where \dot{V}_{i} is the kinematic time derivative of V on PushT and the difference V(t_{i})-V(t_{i-1}) on stacking. It penalizes any increase of V within the chunk. The \Sigma V objective is the running cost \sum_{i}V(t_{i}), the cost of a model-predictive controller on V. Neither defines an envelope, so their searches use a single patience P_{\mathrm{u}} on the improvement of the objective, together with the generation cap and numerical stopping.

D.1 Funnel Families

Fixed shapes.

With normalized chunk time s=t/H, the endpoint-only, plateau and linear funnels have fixed parameters,

\begin{gathered}\rho^{\mathrm{end}}_{k}(t)=\begin{cases}\bar{V},&s<1,\\
(1-\gamma)V_{k},&s=1,\end{cases}\qquad\rho^{\mathrm{lin}}_{k}(t)=V_{k}(1-\gamma s),\\[3.0pt]
\rho^{\mathrm{pl}}_{k}(t)=V_{k}\Bigl[1+\bigl(\eta+(\delta-\eta)\,S(s/s_{0})\bigr)\bigl(1-F(s)\bigr)-\gamma F(s)\Bigr],\end{gathered}
(29)

where \bar{V} is a constant far above any reachable V, so that endpoint-only leaves the interior samples free, and S(u)=v^{2}(3-2v) with v=\operatorname{clip}(u,0,1) is the clamped cubic step of (14). In the plateau, F(s)=S((s-1+s_{0})/s_{0}) moves the envelope to its terminal value at the end of the chunk. The plateau rises from (1+\eta)V_{k} to (1+\delta)V_{k} over the first fraction s_{0} of the chunk, holds it, and falls to (1-\gamma)V_{k} over the last, with \eta=\gamma=0.1 and \delta\in\{0.5,1,3\}. The ramps make the envelope continuous, and therefore Lipschitz, at both ends of the chunk. We set s_{0}=0.02, an arbitrary small value, so that the plateau holds over almost the whole chunk. For a fixed \gamma>0, the plateau and linear funnels, like the multiplicative family below, meet the terminal and transient requirements directly, and both are Lipschitz in time. The endpoint-only funnel jumps from \bar{V} to the terminal value at the last sample, so it has no interior bound to verify.

Additive and multiplicative families.

The fitted funnels need a parameterization that meets the four requirements for every value of its parameters, so that fitting cannot break them. Beyond these, the parameters should be few and interpretable, and the transient allowance should have an adjustable size and timing, since demonstrated regressions differ in how large they are and when they occur. The requested descent should also be able to start late in the chunk, after a preparatory motion. We build the family from the simplest functions with these properties, a linear ramp for the descent and cubic steps for the allowances. The learned and calibrated funnels use

\rho_{k}(t)=V_{k}-\gamma_{k}V_{k}D_{\sigma_{k}}(s)+\delta_{k}\,b_{\tau_{k}}(s)+\eta_{k}\,c_{0}(s),
(30)

with the profiles

D_{\sigma}(s)=\max\Bigl(0,\tfrac{s-\sigma}{1-\sigma}\Bigr),\quad b_{\tau}(s)=\begin{cases}S(s/\tau),&s\leq\tau,\\
S((1-s)/(1-\tau)),&s>\tau,\end{cases}\qquad c_{0}(s)=1-S(s),
(31)

where S is the clamped cubic step defined above. The descent D_{\sigma} ramps from 0 at the onset s=\sigma to 1 at s=1, the bump b_{\tau} peaks at s=\tau, and c_{0} decays from 1 to 0. Here \gamma_{k}\in[0,1] is the requested relative progress, \delta_{k} and \eta_{k} are the transient and start allowances, \tau_{k} is the bump time and \sigma_{k} the descent onset. In the additive family the allowances are in units of V, scaled by the median training value of V_{k}. The multiplicative family takes them as fractions of the current value,

\rho_{k}(t)=V_{k}\bigl[1-\gamma_{k}D_{\sigma_{k}}(s)+\delta_{k}\,b_{\tau_{k}}(s)+\eta_{k}\,c_{0}(s)\bigr],
(32)

so that the funnel shrinks with V_{k} as the task progresses.

How the families meet the requirements.

Each requirement follows from the values and slopes of the three profiles, for every admissible parameter value.

  • Anchoring. At s=0, D_{\sigma}=b_{\tau}=0 and c_{0}=1, so \rho_{k}(0)=V_{k}+\eta_{k} in the additive family and (1+\eta_{k})V_{k} in the multiplicative one. The funnel starts at V_{k} raised by the start allowance, which we floor at 0.1\,V_{k} (Appendix F.2), and c_{0} fades this allowance over the chunk.
  • Terminal contraction. At s=1, D_{\sigma}=1 and b_{\tau}=c_{0}=0, so \rho_{k}(H)=(1-\gamma_{k})V_{k} for any allowances, bump time and onset. The descent carries the requested progress, and both allowance profiles vanish at the endpoint.
  • Bounded transient. All three profiles take values in [0,1], and the descent term only lowers the envelope. The multiplicative family therefore stays below (1+\delta_{k}+\eta_{k})V_{k}, which gives d_{k}=\delta_{k}+\eta_{k}. The additive family stays below V_{k}+\delta_{k}+\eta_{k}, which gives d_{k}=(\delta_{k}+\eta_{k})/V_{k}, a relative bound that grows as V_{k} decreases (Appendix F.5).
  • Lipschitz in time. The clamped cubic step is C^{1} with largest slope 3/2. The bump rises over [0,\tau] and falls over [\tau,1], with zero slope at its peak, so its slope is at most 3/\bigl(2\min(\tau,1-\tau)\bigr), and c_{0} has slope at most 3/2. The ramp is Lipschitz with slope 1/(1-\sigma), including at its onset. With the bump time in [0.1,0.9] and the onset before the last sample, every fitted envelope is therefore Lipschitz in t with constant at most L_{\rho_{k}}\leq\frac{1}{H}\Bigl(\frac{\gamma_{k}V_{k}}{1-\sigma_{k}}+\frac{3\,\delta_{k}}{2\min(\tau_{k},1-\tau_{k})}+\frac{3\,\eta_{k}}{2}\Bigr), (33) with \delta_{k} and \eta_{k} multiplied by V_{k} in the multiplicative family.

The remaining parameters fit the shape to the demonstrations: \delta_{k} sets the size of the transient allowance and \tau_{k} its timing, and \sigma_{k} delays the requested descent until after a preparatory motion.

Figure 5: Shapes of the compared funnels, relative to the current value V_{k} (dotted). Endpoint-only bounds only the last sample, the plateau adds a uniform bound (1+\delta)V_{k}, the linear funnel asks for steady progress, and the calibrated and learned funnels follow (30) (two illustrative parameter sets).

D.2 Fitting Funnels to Demonstrations

The learned and calibrated funnels take their parameters from how the task potential evolves along demonstrated chunks. The labels come from demonstrations only, measured with the fixed task potential, and not from refined rollouts or their outcomes. A fitted funnel therefore describes how far the potential rises within a chunk and how much progress it makes along demonstrated behavior, and refinement requires proposed chunks to stay within that envelope. The fitted parameters are fixed before refinement, and every evaluated leniency level is reported in Appendix G.3.

Demonstration labels.

The policy is trained on the full demonstration dataset. Funnel fitting uses a separate three-way split of the same demonstrations into training, validation and test groups (70/15/15%), made at the level of complete episodes before windows are extracted. Task outcomes are evaluated in simulator episodes from the sampled initial conditions. Each window of horizon H starting at boundary k gives the initial value V_{k}, the clipped relative endpoint progress p_{k}=\operatorname{clip}(1-V_{k+1}/V_{k},0,1), and the interior trace V(t_{i}), 1<i<n. We use the demonstrated prefix up to first success and, for sequential tasks, exclude windows that undo a completed prerequisite according to the task’s completion gates.

Calibrated funnels.

Calibrated funnels use the additive family of (30) with constant parameters, fitted directly to the demonstration labels. The training and calibration episodes are disjoint. The bump time and onset are fixed to \tau=0.5 and \sigma=0, and the progress \gamma is the 10% quantile of the progress labels p_{k} of the training chunks. The two allowances share one scale, \delta=\eta=c. Since the envelope is affine in (\delta,\eta) at fixed \gamma, each calibration chunk has a smallest scale c_{k} for which the envelope contains its samples before the endpoint, the largest ratio between the room it needs above the descent and the room a unit allowance gives. The calibration score of an episode is the largest c_{k} over its chunks, so an episode is contained at scale c when all its included interior samples lie inside the funnel. With n calibration episodes, we set c to the \lceil(n+1)\cdot 0.9\rceil-th smallest episode score, the finite-sample split-conformal upper quantile at coverage 0.9 (Angelopoulos and Bates, 2023). Under exchangeability of the calibration episodes and a new demonstration episode, the new episode has all its included interior samples inside the funnel with probability at least 0.9. The global funnel fits one parameter set to all chunks, and the per-stage funnel one set to the chunks of each stage of a sequential task, falling back to the global set for a stage with fewer than 10 training or calibration episodes, or when the order statistic above exceeds the number of episodes.

Learned funnels.

Learned funnels let the parameters of the family depend on the observation, which tests whether the allowance and the requested progress benefit from adapting to the state. The predictor \pi_{\vartheta} reads the same observation history as the policy and is trained with the pinball loss \ell_{q}(u)=\max(qu,(q-1)u), whose minimizer is the q-quantile of u (Koenker and Bassett, 1978). At leniency \alpha the three heads minimize

\displaystyle\mathcal{L}_{\gamma} \\ \displaystyle=\textstyle\sum_{k}\ell_{1-\alpha}\bigl(p_{k}-\gamma_{\vartheta}(o_{k})\bigr), \\ \displaystyle\mathcal{L}_{\mathrm{tr}} \\ \displaystyle=\textstyle\sum_{k}\frac{1}{\max(V_{k},1)}\,\ell_{\alpha}\Bigl(\max_{1<i<n}\bigl[V(t_{i})-\rho_{k}(t_{i};\operatorname{sg}[\gamma_{k}])\bigr]\Bigr), \\ \displaystyle\mathcal{L}_{\sigma} \\ \displaystyle=\textstyle\sum_{k:\,p_{k}>0}\ell_{\alpha}\bigl(\sigma^{\mathrm{lab}}_{k}-\sigma_{\vartheta}(o_{k})\bigr),
(34)

Their minimizers satisfy the conditional quantile conditions

\Pr\bigl(p_{k}\geq\gamma_{k}\mid o_{k}\bigr)\approx\alpha,\qquad\Pr\Bigl(\max_{1<i<n}\bigl[V(t_{i})-\rho_{k}(t_{i})\bigr]\leq 0\;\Big|\;o_{k}\Bigr)\approx\alpha,
(35)

These are two separate marginal targets over demonstrated chunks. The first states that the requested endpoint progress is met on a fraction \alpha of the chunks, and the second that the interior allowance contains the trace on a fraction \alpha of the chunks. A larger \alpha lowers the requested progress and widens the allowance, which gives a more permissive funnel. We clip the demonstrated relative progress to [0,1], so a chunk that regresses at its endpoint supplies a zero-progress target, and the predicted \gamma_{k} lies in the same range. The smallest progress a learned funnel requests is therefore zero. The transient allowance is fitted for the current progress prediction, which is held fixed (\operatorname{sg}) in \mathcal{L}_{\mathrm{tr}} within each epoch. The initial sample is covered by the start allowance and is therefore left out of the transient target. The onset labels \sigma^{\mathrm{lab}}_{k} are the delays before descent in progressing windows. These quantile targets concern demonstrated chunks, the calibrated coverage concerns demonstration episodes, and the verification rates of Appendix G.7 count executed chunks, so the three quantities summarize different populations.

The predictor has two hidden layers of 64 SiLU and outputs parameter tuples at four leniency levels, \alpha\in\{0.5,0.8,0.9,0.95\}. Its parameterization makes \gamma nonincreasing and \delta, \eta, \sigma nondecreasing in \alpha, with a shared \tau\in[0.1,0.9] and onset no later than the last interior sample, so higher levels give nested, more permissive envelopes. Training uses AdamW (learning rate 10^{-3}, weight decay 10^{-4}, batch size 512) for up to 200 epochs.

Appendix E Refinement and Implementation

E.1 Typical-Set-Constrained CMA-ES Refinement

Every planning call runs a fresh search, shares the frozen task potential and funnel across all evaluations, and evaluates the nominal policy seed first. Candidate decoding is deterministic for fixed conditioning and numerical integration settings.

Search distribution and band projection.

For a flattened seed a\in\mathbb{R}^{d}, CMA-ES samples a_{\ell}=m+\sigma BD\epsilon_{\ell} with \epsilon_{\ell}\sim\mathcal{N}(0,I_{d}), where m is the distribution mean, \sigma the step size, and C=BD^{2}B^{\top} the eigendecomposition of the search covariance C. Every evaluated seed is \Psi(a_{\ell}), with \Psi from (9), and degenerate or non-finite inputs are rejected. The projection first centers the seed, subtracting the mean \bar{a} of its d entries so that they average to zero, and then clips the radius of the centered seed to the band. After each CMA-ES update the mean is projected onto the band, m\leftarrow\Psi(m). The raw population, covariance, and evolution paths are not modified, so the update itself is standard CMA-ES. All horizon and channel entries form one global group, so \bar{a} is taken over the whole seed, and a seed with zero-mean entries and a radius inside the band is unchanged. Without the band, a CMA-ES initialized at a seed drawn from the source can drift radially away from the origin over the generations, and the decoded chunks then come from seeds the flow was never trained to transport.

For a standard Gaussian, the centered radius satisfies \|a-\bar{a}\mathbf{1}\|^{2}\sim\chi^{2}_{d-1}. We place the band endpoints at tail probabilities \Phi(-\zeta) and \Phi(\zeta) using the Wilson–Hilferty approximation (Wilson and Hilferty, 1931). With \nu=d-1 and b=2/(9\nu),

r_{\mathrm{lo}}=\sqrt{\nu(1-b-\zeta\sqrt{b})^{3}},\qquad r_{\mathrm{hi}}=\sqrt{\nu(1-b+\zeta\sqrt{b})^{3}}.
(36)

The approximation is used for \nu\geq 30. Fixing both radii to \sqrt{\nu} recovers the single-sphere projection of standardized CMA-ES (Stölzle et al., 2026). We use \zeta=4: a source draw then lies outside the band with probability about 6\times 10^{-5}, so in almost every call the projection centers the nominal seed and keeps its radius. The first evaluated plan is decoded from this centered seed. This differs slightly from the plan of nominal execution, which decodes the uncentered draw. The band constrains the seed’s mean and radius and leaves its direction, channel-wise structure and correlations free.

Euclidean flows.

The search runs on the flow’s Gaussian seed, of dimension d equal to the chunk length times the width of the action representation (for stacking, 32\times 8=256). The initial mean is the projected nominal seed, which decodes to the first evaluated plan.

Riemannian flows.

The search runs Euclidean CMA-ES and (9) in chart coordinates of the source at its center. Each waypoint has seven coordinates, a translation a_{p}\in\mathbb{R}^{3}, a rotation vector a_{R}\in\mathbb{R}^{3}, and a gripper coordinate a_{r}\in\mathbb{R}, so d=7\times 32=224 for stacking. They are mapped waypoint-wise to carriers by the source’s own sampling map, the exponential chart at the source center with the per-axis source scales S=\operatorname{diag}(1,1,1,\sigma_{\mathrm{rot}},\sigma_{\mathrm{rot}},\sigma_{\mathrm{rot}},1),

z_{0}=\mathcal{C}(\Psi(a)),\qquad\mathcal{C}(a_{p},a_{R},a_{r})=\bigl(a_{p},\bar{R}\exp(\sigma_{\mathrm{rot}}[a_{R}]_{\times}),a_{r}\bigr),
(37)

which matches (12). Then z_{0} is written in the 13-dimensional carrier that the flow evolves. In these coordinates the source is exactly a\sim\mathcal{N}(0,I_{d}), so the band constrains the Gaussian the flow was trained to transport, with no approximation. The nominal seed is expressed in these coordinates and projected, and, as for Euclidean flows, it is the initial search mean.

Searching in chart coordinates keeps the search distribution Gaussian in the coordinates in which the source is Gaussian, so the typical-set band applies exactly. A Riemannian CMA-ES (Colutto et al., 2010) is an alternative that searches on the carriers themselves, with tangent-space sampling at the current mean, a weighted Fréchet mean update and parallel transport of the adapted covariance.

Best plan and stopping.

CMA-ES updates its distribution from the ranks of the unnormalized log-sum-exp J_{k} of \Crefsec:optimization, with a fixed grid and temperature throughout each search. The first population contains the projected nominal seed, whose plan becomes the initial best plan (Algorithm 6). After each generation, the candidate with the lowest objective replaces the best plan when its objective is strictly lower, so the nominal plan is returned when it has the lowest objective of the search. The best plan carries the estimated-verification verdict v^{\star}\in\{0,1\} of its trace, which is recomputed whenever the best plan changes.

Patience is an optional stopping mechanism, enabled in the funnel ablation. A generation counts as progress when the best objective satisfies J^{\star}<J_{\mathrm{ref}}-T with

T=\max\bigl(\epsilon_{\mathrm{abs}},\,\epsilon_{\mathrm{rel}}(J_{\mathrm{nom}}-J_{\mathrm{ref}})\bigr),
(38)

where J_{\mathrm{nom}} is the objective of the projected nominal plan and J_{\mathrm{ref}} is the best objective at the last generation that counted as progress. J_{\mathrm{ref}} is then reset to J^{\star}. It starts at +\infty, so the first generation always counts as progress. Small gains accumulate until they clear T, and scaling \epsilon_{\mathrm{rel}} by the improvement already achieved makes the rule invariant to the offset of the objective. J_{\mathrm{ref}} is used by this stopping rule and does not enter the objective. The search stops after P generations without progress, with P=P_{\mathrm{v}} when the best plan passes estimated verification and P=P_{\mathrm{u}} otherwise. The shorter P_{\mathrm{v}} gives a verified plan a few further generations to improve. The search also stops at the generation cap and on numerical degeneracy (Table 5). The search comparison of Appendix G.8 disables patience and the generation cap and stops every iterative search on a time budget of 1.5 s per chunk.

Figure 6: Seed search within one planning call (detailed).
Table 5: Refinement settings used in all reported refined runs. Population and parents follow the CMA-ES defaults, with the standard log-linear recombination weights (Hansen, 2023).
  • Population / parents
    Setting
    20/10 (\lambda=4+\lfloor 3\ln d\rfloor)
  • Initial step size / generation cap
    Setting
    1/30
  • Covariance eigendecomposition
    Setting
    Every generation
  • Seed region
    Setting
    Band with \zeta=4, one global group; mean projected after each update
  • Meaningful improvement
    Setting
    \epsilon_{\mathrm{abs}}=10^{-2}, \epsilon_{\mathrm{rel}}=5\times 10^{-3} (relative to achieved improvement)
  • Patience
    Setting
    P_{\mathrm{u}}=6 / P_{\mathrm{v}}=4 generations (best plan not verified / verified)
  • Verification
    Setting
    Estimated, window w_{L}=0.02 s, on the physics-step grid
  • Start allowance
    Setting
    \eta_{k}\geq 0.1\,V_{k}
  • Ranked samples
    Setting
    From the end of the first control step
  • Objective temperature
    Setting
    \beta=10 (PushT), \beta=50 (stacking)
  • Numerical stopping
    Setting
    \sigma\sqrt{\lambda_{\max}(C)}<10^{-12} or \operatorname{cond}(C)>10^{14}

E.2 Gradient Search on a Differentiable Surrogate

The gradient searches of Table 13 optimize the seed a by descending F_{k}(a)=J_{k}(\psi_{\theta}(1\mid a,o_{k})) of Section 4, with the rollout \mathcal{R}_{\kappa} replaced by a differentiable model of the PushT dynamics and without the band projection.

Quasi-static pushing model.

The model is the discrete step of the native PushT environment, our Chipmunk2D (Lembcke, 2015) reimplementation of the Diffusion Policy environment (Chi et al., 2025) (Appendix E.4), written as a smooth function with the same constants. Only the contact switch and the impulse clamp are smoothed. The state x=(p_{a},v_{a},p_{b},\theta_{b},\xi_{b})\in\mathbb{R}^{10} holds the agent position and velocity, the pose of the block’s center of mass and its twist over the last step. Each physics substep (\Delta t=0.01 s) follows Chipmunk’s order. The agent’s kinematic PD (PD) controller updates v_{a}\leftarrow v_{a}+(k_{p}(u-p_{a})-k_{v}v_{a})\Delta t with the held target u, k_{p}=225 and k_{v}=30. The block starts every substep at rest, since the native space has zero damping, which in Chipmunk removes all body velocity at each step: the block moves only while it is pushed, and the pushing is quasi-static. Contacts are frictionless and inelastic, as in the native environment, whose shapes have zero friction, so they transmit only normal impulses. They are resolved at the positions at the start of the substep by four passes of sequential impulses, between the agent disc and each convex part of the T and between every block vertex and the four walls. For a contact that requires the block point to move along n, with arm r from the center of mass and block inverse inertia M^{-1}=\operatorname{diag}(1/m,1/m,1/I), the impulse along c=(n,r\times n) is \lambda=\Delta/(c^{\top}M^{-1}c) for the missing normal speed \Delta, and accumulated impulses are kept nonnegative. A separate bias channel removes penetration beyond a slop of 0.1 px, as in Chipmunk. Positions are then integrated with the resolved velocities. A waypoint target is held for 10 substeps, one control step.

Smoothing.

For the agent disc and a convex part of the T, the signed distance is the differentiable conservative separating-axis distance of Wong et al. (2025),

h(p_{a})=\frac{1}{\beta_{\mathrm{c}}}\log\sum_{j=1}^{m}e^{\beta_{\mathrm{c}}s_{j}(p_{a})}-\frac{0.4\log m}{\beta_{\mathrm{c}}},\qquad\hat{n}=\frac{\nabla_{p_{a}}h}{\|\nabla_{p_{a}}h\|},
(39)

where s_{j} is the separation of the disc and the part along the j-th of m axes, the edge normals of the part and the directions from the disc center to its vertices, and \beta_{\mathrm{c}}=80. The log-sum-exp is a smooth maximum over the axes, and the shift keeps it from overestimating the true separation. The contact normal \hat{n} is its normalized gradient, and the two parts of the T are combined by a smooth minimum. Distances to the walls are exact. Each constraint is gated by g=\operatorname{sigmoid}(-h/w_{c}), w_{c}=0.1 px, and its impulse is updated by

\Delta\lambda=\frac{g\,\Delta}{c^{\top}M^{-1}c}-(1-g)\,\lambda,\qquad\lambda\leftarrow g\,\operatorname{sp}_{w_{i}}(\lambda),\quad\operatorname{sp}_{w}(x)=w\log\bigl(1+e^{x/w}\bigr),
(40)

a soft constraint whose fixed point does not depend on the number of passes, a hard contact for g=1 and no constraint for g=0. The softplus of width w_{i}=1 px/s replaces the clamp \max(\lambda,0), and the gate in front of it keeps inactive contacts from transmitting any impulse, and the bias channel uses the same gate. Contacts farther than 4.1 px, where gate and bias are both below e^{-40}, are skipped, which changes neither values nor derivatives. On recorded chunks of the nominal policy, the final block position of the model is within 0.16 px of the native simulator in median and 0.5 px at the 90th percentile, in a 512\times 512 px workspace. The model is differentiated in double precision.

Gradient through the flow.

One evaluation decodes the seed by the 8-step Euler sampler of the flow, maps the result to held targets anchored at the agent’s observed position, rolls them out in the model from the observed start state x_{k}, and evaluates J_{k} of \Crefsec:optimization on the model’s trace, with the same frozen funnel, grid and temperature as the population searches. Its gradient with respect to the seed is a single reverse-mode chain: Enzyme (Moses and Churavy, 2020) differentiates the rollout and the objective and then the decoding, and the vector--Jacobian product of the whole sampler is computed by Enzyme on the sampler compiled with Reactant.jl2. The network weights and the conditioning are fixed, and the seed is the optimization variable. Since V depends only on the block pose and the plan reaches the block only through agent–block contact, a plan whose agent stays out of the contact range for a whole chunk has an identically zero gradient. The search then stops and keeps the nominal plan.

Optimizers.

Both searches start from the nominal seed. Adam uses a learning rate of 0.05 and default moments, so that each seed coordinate moves by at most about 0.05 per iteration. L-BFGS keeps 10 curvature pairs, stores a pair only if s^{\top}y>10^{-10}\|s\|\|y\|, restarts along -\nabla F_{k} when the direction is not a descent direction, and selects the step by Armijo backtracking (c_{1}=10^{-4}, halving, at most 10 backtracks) from a unit trial step, with every trial step capped at norm 1 in seed space in place of a trust region. Both stop at the 1.5 s budget, at a stationary point (\|\nabla F_{k}\|\leq 10^{-6}(1+|F_{k}|)), on non-finite values, or, for L-BFGS, when the line search fails. The search returns the iterate with the lowest loss on the model, the nominal seed unless some iterate is strictly better.

Planning and execution models.

All searches optimize the same funnel objective. The population searches evaluate it on rollouts of the native simulator. The gradient searches evaluate it on rollouts of the smoothed differentiable reimplementation, starting from the observed start state of the chunk, and differentiate through that rollout and the flow decoder. Every loss, gradient, line-search trial and stopping decision of a gradient search comes from this model, which agrees with the native simulator to within 0.16 px in median on recorded chunks. The selected plans of all searches are executed in the native environment.

E.3 Policy Architecture and Training

Observations.

PushT observes the agent position, the block position, and the block angle as its cosine and sine, six features per step. Stacking observes the end-effector pose, the cube poses, their relative vectors, the measured gripper aperture and last command, and proximity and gripper features, with rotations in the six-dimensional representation of Zhou et al. (2019), 74 features per step. Two-nut assembly observes the end-effector pose, the world pose of each nut, its pose relative to the hand and its offset from its peg, and the measured gripper aperture and last command, 53 features per step.

Demonstration windows and normalization.

We train on dense, stride-one windows of the demonstrations, padding at episode boundaries by repeating the first or last sample, and normalize features to [-1,1] with min–max statistics from all policy-training demonstrations. Two choices are specific to our setting. For stacking, the gripper target is the signed command at each control step, while the measured aperture and the previous command are observations. Decoding executes the command through its sign. Rotation blocks are left unnormalized, since they already lie in [-1,1], before conversion to the RMFM carrier. The policy is trained on all demonstrations. The funnels are fitted on a separate three-way split of the same demonstrations, described in Appendix D.2.

Velocity-regression objective.

For each window, draw one source sample and one independent flow time uniformly on [0,1]. The model regresses the corresponding path velocity with normalized weighted squared error,

\mathcal{L}(\theta)=\mathbb{E}\!\left[\frac{\sum_{i,j}\omega_{j}\bigl(u_{\theta,ij}-u^{\star}_{ij}\bigr)^{2}}{\sum_{i,j}\omega_{j}}\right],
(41)

where i indexes waypoint tokens and j velocity channels. The action space is a product of a continuous pose space and a binary-like gripper command, which gives two kinds of target: the pose velocity varies smoothly over every window, while the gripper target is nearly constant except at sparse switching events, where its error is large. With uniform weights these rare but large gripper errors can dominate the gradient. Pose-valued policies therefore weight each pose channel by 10 and the gripper channel by 1, so that the pose dominates the loss while the gripper term still contributes. PushT has no gripper and uses uniform weights. The targets are Euclidean path velocities or body twists and gripper rates (Appendix B).

Architecture and optimization.

On stacking, the conditional vector field is a transformer based on the DiT architecture (Peebles and Xie, 2023) with one action token per waypoint, learned positional embeddings, and cross-attention to observation tokens. It uses 6 blocks, width 384, 8 heads, MLP (MLP) ratio 4, and GELU (GELU). Each block has self-attention, cross-attention, and an MLP, with adaLN-Zero (adaLN-Zero) modulation driven by a 64-dimensional sinusoidal flow-time embedding followed by a Dense–Mish–Dense map. We use no dropout. Two-nut assembly uses the same architecture, trained on its own demonstrations. On PushT, the vector field is the conditional one-dimensional U-Net of Diffusion Policy (Chi et al., 2025) over the 24 waypoints, with three levels of 128, 256 and 512 channels, two residual blocks of kernel 5 per level, GroupNorm with 8 groups, and Mish. The flow time is embedded by a 256-dimensional sinusoidal embedding and a Dense–Mish–Dense map and concatenated with the normalized observations of the two history steps, and every residual block applies a FiLM scale and shift predicted from this vector. As in Diffusion Policy, the up path concatenates the outputs of the two coarser levels. We replace the strided convolution by a stride-one convolution followed by subsampling, and the transposed convolution by nearest-neighbour upsampling followed by a convolution, since the strided convolution miscompiles under Reactant. The U-Net has 17.6M parameters. Training uses AdamW with learning rate 10^{-4} and weight decay 10^{-6}, linear warmup followed by cosine decay to 10^{-6}, and EMA (EMA) weights with decay 0.999 for evaluation. Table 6 gives task-specific settings. Training uses Julia (Bezanson et al., 2017), Lux.jl (Pal, 2025), and Reactant.jl.

Table 6: Task-specific training, execution and evaluation choices. Every chunk is executed in full before replanning.
  • Demonstrations
    PushT
    206
    Three-cube stacking
    1000
    Two-nut assembly
    1000
  • Training iterations
    PushT
    30k
    Three-cube stacking
    100k
    Two-nut assembly
    100k
  • Batch size / warmup
    PushT
    128 / 500 steps
    Three-cube stacking
    128 / 1000 steps
    Two-nut assembly
    128 / 1000 steps
  • Prediction / history
    PushT
    24 waypoints / 2 steps
    Three-cube stacking
    32 waypoints / 5 steps
    Two-nut assembly
    32 waypoints / 2 steps
  • Execution horizon
    PushT
    24 steps
    Three-cube stacking
    32 steps
    Two-nut assembly
    32 steps
  • State features \times history
    PushT
    6\times 2=12
    Three-cube stacking
    74\times 5=370
    Two-nut assembly
    53\times 2=106
  • Network
    PushT
    U-Net (FiLM)
    Three-cube stacking
    DiT
    Two-nut assembly
    DiT
  • Flow
    PushT
    OT
    Three-cube stacking
    RMFM
    Two-nut assembly
    RMFM
  • Waypoint target
    PushT
    Agent position
    Three-cube stacking
    EE pose + gripper command
    Two-nut assembly
    EE pose + gripper command
  • Network channels (in/out)
    PushT
    2/2
    Three-cube stacking
    13/7
    Two-nut assembly
    13/7
  • Flow integration
    PushT
    8 Euler steps
    Three-cube stacking
    10 Lie–Euler steps
    Two-nut assembly
    10 Lie–Euler steps
  • Control / physics rate
    PushT
    10 Hz / 100 Hz
    Three-cube stacking
    20 Hz / 500 Hz
    Two-nut assembly
    20 Hz / 500 Hz
  • Step budget
    PushT
    400
    Three-cube stacking
    400
    Two-nut assembly
    600
  • Potential
    PushT
    Pose error (App. C.4)
    Three-cube stacking
    Phased (App. C.5)
    Two-nut assembly
    Phased (App. C.6)
  • Funnel split (fraction)
    PushT
    70/15/15 %
    Three-cube stacking
    70/15/15 %
    Two-nut assembly
    70/15/15 %
  • Score r\in[0,1]
    PushT
    \mathrm{Coverage}(\mathrm{block},\mathrm{goal})
    Three-cube stacking
    \tfrac{1}{2}\,a_{RG}(1+a_{BR})
    Two-nut assembly
    V
  • Success
    PushT
    r>0.95
    Three-cube stacking
    \mathrm{Stacked}\wedge\mathrm{Open}
    Two-nut assembly
    \mathrm{Seated}_{\mathrm{sq}}\wedge\mathrm{Seated}_{\mathrm{rd}}\wedge\mathrm{Clear}

E.4 Environment, Controller, and Execution

Experiments use the initialization conventions in Table 7. Waypoint targets are held over a control period, while tracking and simulation advance at physics substeps. Rollout evaluation includes the initial state and all subsequent physics steps. For stacking, each waypoint is tracked by DLS (DLS) IK (IK) followed by joint-space PD, with gains (Table 8) calibrated once and then fixed: CMA-ES searches the logarithms of the gains (population 12, 15 generations), scoring each candidate by the task success obtained when the controller replays the demonstrated waypoints of 50 demonstrations spread over the dataset. Two-nut assembly uses the same controller on the Sawyer arm, with gains calibrated in the same way on its own demonstrations (Table 8). PushT tracks agent waypoints with PD (k_{p}=225, k_{v}=30). The PushT environment reproduces exactly the one of Diffusion Policy (Chi et al., 2025), with the same geometry, physical constants, controller, reward and success predicate. That environment steps Chipmunk2D (Lembcke, 2015) through the Python binding pymunk. We call Chipmunk2D directly from Julia, which removes the Python interpreter from the rollout and lets the candidate rollouts of a generation run in parallel on threads.

Stacking success.

Stacking uses the MimicGen StackThree_D1 success predicate. At its first success the robot opens the gripper (0.3 s), retreats 5 cm vertically (0.5 s) and holds still (0.2 s). The episode counts as a success only if the predicate still holds after this sequence, so the tower must stand without support.

Two-nut assembly success.

Two-nut assembly uses robosuite’s own check: each nut lies within 30 mm of its peg axis in x and in y and below table height plus 50 mm, and the gripper meets the native clearance condition. The check is evaluated on the current state, so a placement is not latched, and since it already requires the gripper to be clear, the episode ends at its first success without a release sequence.

Table 7: Environment initialization and tracking.
  • PushT
    Initialization
    Hard reset mode: block in [100,400]^{2}, agent in [50,450]^{2}
    Tracking
    Position PD
  • Cube Stacking
    Initialization
    Each cube placed uniformly in x,y\in[-0.2,0.2] m with uniform yaw, overlaps rejected (the robosuite placement sampler (Zhu et al., 2020))
    Tracking
    IK with joint-space PD
  • Two-Nut Assembly
    Initialization
    MimicGen NutAssembly_D0 reset: both nuts placed on the table with uniform yaw, the square nut at x\in[-0.115,-0.110], y\in[0.110,0.225] and the round nut at x\in[-0.115,-0.110], y\in[-0.225,-0.110], robot at the dataset’s initial joint configuration
    Tracking
    IK with joint-space PD
Table 8: IK-PD controller gains for stacking and for two-nut assembly (Sawyer). Twists are clipped to the limits.
  • Task k_{p} (position / rotation)
    Stacking
    22.88 / 6.24
    Two-nut assembly
    44 / 28
  • Task k_{d} (position / rotation)
    Stacking
    1.43 / 1.53
    Two-nut assembly
    0.81 / 0.39
  • Joint k_{p} / k_{d}
    Stacking
    91.18 / 85.28
    Two-nut assembly
    94.52 / 88
  • Posture k_{p} / k_{d}
    Stacking
    1.40 / 0.37
    Two-nut assembly
    3.50 / 0.42
  • DLS damping
    Stacking
    8\times 10^{-4}
    Two-nut assembly
    8\times 10^{-4}
  • Twist limit (linear / angular)
    Stacking
    0.75 m/s / 1.5 rad/s
    Two-nut assembly
    0.75 m/s / 1.5 rad/s

Appendix F Regularity, Verification and Convergence Results

This appendix supports the results of \Crefsec:task_refinement. Appendix F.1 states the convergence result in its product form and proves it. Appendix F.2 gives conditions under which the task residual is Lipschitz, as the verification bound of \Crefthm:objective_certification requires, and Appendix F.3 proves that bound. The remaining subsections extend \Crefthm:receding_horizon_contraction in three directions. A fading start allowance \widetilde{\rho}_{k}(t)=\rho_{k}(t)+a_{k}c_{0}(t/H), with a_{k}\geq 0, c_{0}(0)=1 and c_{0}(1)=0, keeps the terminal condition and enters the transient bound, and it enables verification from samples at the start of a chunk (Appendix F.2). Endpoint errors of at most \epsilon_{k}\leq\bar{\epsilon}, from terminal violation of the funnel or from a mismatch between predicted and executed motion, give the recursion V(y_{k+1})\leq(1-\gamma_{k})V(y_{k})+\epsilon_{k}, whose endpoint values approach a neighborhood of size \bar{\epsilon}/\underline{\gamma} (Appendix F.4). Progress accumulated over windows of chunks admits preparatory chunks with \gamma_{k}=0 (Appendix F.5).

F.1 Convergence: Product Form and Proof of \Crefthm:receding_horizon_contraction

Proposition 4 (Task contraction with iteration-dependent rates).

Suppose each selected chunk w_{k}^{\star} is executed for the full horizon H>0 before replanning, its evaluated task rollout matches execution, and it satisfies (3) with the terminal and transient bounds of (2) for some \gamma_{k}\in[0,1] and d_{k}\geq 0. Then, for every m\geq 1,

V(y_{k+m})\leq\left[\prod_{j=k}^{k+m-1}(1-\gamma_{j})\right]V(y_{k}),
(42)

and \sup_{t\in[0,H]}V(y_{w_{k}^{\star}}^{k}(t))\leq(1+d_{k})V(y_{k}).

Proof.

At t=H, funnel satisfaction gives V(y_{k+1})\leq\rho_{k}(H)\leq(1-\gamma_{k})V(y_{k}), and iteration yields the product bound. Within iteration k, the funnel and the transient bound give V(y_{w_{k}^{\star}}^{k}(t))\leq\rho_{k}(t)\leq(1+d_{k})V(y_{k}). ∎

Proof of \Crefthm:receding_horizon_contraction.

Substituting the uniform bounds \gamma_{k}\geq\underline{\gamma} and d_{k}\leq\bar{d} into \Crefprop:product_contraction gives (4). Iterations have a fixed positive duration, so the bound tends to zero with physical time and eventually remains below any positive goal threshold. ∎

F.2 Residual Regularity

The verification bound in \Crefthm:objective_certification uses regularity of the task residual rather than smoothness of the full contact dynamics. The dynamics f in (1) can represent stiff compliant-contact dynamics, or flows supplemented by velocity resets in an impulsive model. In either case, the following configuration-level assumptions suffice.

Lemma 5 (Configuration-based residual regularity).

Let q(t) denote the configuration of the world along the rollout x_{w}^{k}, that is, the generalized coordinates of the robot and the objects, without their velocities. Suppose that, for every candidate plan, q is absolutely continuous on [0,H] with speed bounded almost everywhere by a common v_{\max}. Let F(q)=V(T(q)) be Lipschitz on the reachable set with constant L_{F}, and let every envelope \rho_{k} be Lipschitz with constant at most L_{\rho}. Then, uniformly over plans, the task residual is Lipschitz on every sampling interval with

L_{i}\leq L_{F}v_{\max}+L_{\rho}.
(43)
Proof.

Bounded speed gives d(q(t),q(s))\leq v_{\max}|t-s|. Consequently,

|F(q(t))-F(q(s))|\leq L_{F}v_{\max}|t-s|.

Adding the envelope’s Lipschitz bound yields the result. ∎

Configuration trajectories can satisfy these assumptions despite velocity jumps. For a C^{1} composition F, a bound on its gradient over a suitable compact neighborhood provides L_{F}, and Appendix C establishes this regularity for the phased construction. For the learned envelope, L_{\rho} is bounded because V_{k} is bounded on \Omega and the predicted parameters are bounded. Numerical sample error and prediction mismatch require separate allowances if the samples are not exact values of the trajectory being verified.

Initial boundary of the funnel.

With exact anchoring, \rho_{k}(0)=V_{k}, every plan starts with a zero residual at the first sample, g_{1}=0. The first interval then contributes (g_{2}+L_{1}\Delta_{1})/2 to (6), which is positive unless the residual falls at least as fast as the rate allowed for it, so almost no chunk can be verified, regardless of the rest of its trace. The start allowance \eta_{k}c_{0}(s) in (30) lowers the initial residual to -\eta_{k} and vanishes at s=1, so terminal contraction is unchanged. It is part of the frozen envelope and enters the transient bound through d_{k}. A learned predictor may output \eta_{k}\approx 0, since demonstrated chunks start exactly on their anchor. We therefore floor the allowance at a fixed fraction of V_{k} (Appendix E.4).

F.3 Proof of \Crefthm:objective_certification

On [t_{i},t_{i+1}] the Lipschitz bound from each endpoint gives g_{k}(w,t)\leq\min\{g_{i}+L_{i}(t-t_{i}),\,g_{i+1}+L_{i}(t_{i+1}-t)\}. The first term increases and the second decreases in t, so their minimum is largest where they are equal, at the value (g_{i}+g_{i+1}+L_{i}\Delta_{i})/2. Taking the maximum over the intervals gives (6), and B_{k}(w)\leq 0 is funnel satisfaction throughout [0,H] by the definition of the residual. \square

F.4 Convergence with a Terminal Error Allowance

Corollary 6 (Practical receding-horizon contraction).

Suppose executed chunks satisfy

V(y_{k+1})\leq(1-\gamma_{k})V(y_{k})+\epsilon_{k},\qquad\gamma_{k}\in[\underline{\gamma},1],\quad 0\leq\epsilon_{k}\leq\bar{\epsilon},

where \underline{\gamma}>0 and \bar{\epsilon} are uniform bounds. Then

V(y_{k+m})\leq(1-\underline{\gamma})^{m}V(y_{k})+\bar{\epsilon}\sum_{j=0}^{m-1}(1-\underline{\gamma})^{j},
(44)

and \limsup_{m\to\infty}V(y_{k+m})\leq\bar{\epsilon}/\underline{\gamma}.

Proof.

Nonnegativity of V permits replacing \gamma_{k} and \epsilon_{k} by their uniform bounds. Iteration gives the geometric sum in (44), whose limit yields the stated bound. ∎

The allowance can combine terminal residual violation and terminal prediction mismatch. Endpoint contraction needs only the last sample, which sampled verification already covers under matched full-chunk execution. Continuous-time satisfaction follows from (7). A whole-trajectory practical bound must also account for transient error.

F.5 Notes on the Theorems

Learned additive envelopes and \Crefthm:receding_horizon_contraction.

All profiles in (30) take values in [0,1], so the learned envelope satisfies the transient bound of (2) with

\sup_{t\in[0,H]}\rho_{k}(t)\leq V_{k}+\delta_{k}+\eta_{k},\qquad d_{k}=\frac{\delta_{k}+\eta_{k}}{V_{k}}.
(45)

The predictor is a continuous network on a bounded feature domain with bounded allowance outputs, so \delta_{k}+\eta_{k}\leq\bar{a} for some constant \bar{a}, and

d_{k}\leq\bar{d}=\bar{a}/v_{\mathrm{goal}}\qquad\text{whenever }V_{k}\geq v_{\mathrm{goal}}>0.
(46)

An additive allowance \delta_{k}+\eta_{k} corresponds to the relative allowance (\delta_{k}+\eta_{k})/V_{k}, which grows as V_{k} decreases. For example, a fixed allowance of 0.1 is 10% of V_{k}=1 and 1000% of V_{k}=0.01. The bound \bar{d}=\bar{a}/v_{\mathrm{goal}} therefore holds on the region V_{k}\geq v_{\mathrm{goal}}, and \Crefthm:receding_horizon_contraction applies to additive funnels until V reaches the positive level v_{\mathrm{goal}}. This scope matches our evaluation, which judges completion by the native success predicate of each task. The multiplicative family has a relative allowance by construction and satisfies the bounded-allowance condition at every level of V. If, in addition, V(y)\geq\varphi_{\mathcal{G}}(\operatorname{dist}(y,\mathcal{G})) for a continuous, strictly increasing \varphi_{\mathcal{G}} with \varphi_{\mathcal{G}}(0)=0, convergence of V implies convergence in distance to \mathcal{G}.

Progress without a uniform rate.

A learned funnel may request no endpoint progress for some chunks, \gamma_{k}=0, for instance while the robot regrasps or moves to the next object. The rate in (4) then does not apply, because it assumes \gamma_{k}\geq\underline{\gamma}>0 at every iteration. The product bound in (42) still holds for any \gamma_{k}\in[0,1]. The following proposition shows that convergence still holds when requested progress accumulates, either in total or within windows of m chunks.

Proposition 7 (Progress over windows).

Suppose every executed chunk satisfies the funnel (3) with the envelope conditions (2), under the execution assumptions of \Crefthm:receding_horizon_contraction, and d_{k}\leq\bar{d} for all k.

  1. For every k, \sup_{t\in[0,H]}V(y^{k}_{w_{k}^{\star}}(t))\leq(1+\bar{d})\exp\bigl(-\sum_{j<k}\gamma_{j}\bigr)V(y_{0}). Hence, for any tolerance \varepsilon\in(0,V(y_{0})), V(y_{k})\leq\varepsilon as soon as \sum_{j<k}\gamma_{j}\geq\log(V(y_{0})/\varepsilon).
  2. If there are m\geq 1 and \Gamma>0 such that \sum_{j=k}^{k+m-1}\gamma_{j}V(y_{j})\geq\Gamma whenever V(y_{k})>v_{\mathrm{goal}}, then V(y_{k})\leq v_{\mathrm{goal}} for all k\geq m\lceil(V(y_{0})-v_{\mathrm{goal}})/\Gamma\rceil.
Proof.

(i) Since 1-\gamma\leq e^{-\gamma}, (42) gives V(y_{k})\leq\exp(-\sum_{j<k}\gamma_{j})V(y_{0}), and within chunk k the transient bound adds at most a factor 1+\bar{d}. (ii) Terminal contraction gives V(y_{j})-V(y_{j+1})\geq\gamma_{j}V(y_{j})\geq 0, so V(y_{k}) is nonincreasing. Summing over a window that starts outside the goal set gives V(y_{k})-V(y_{k+m})\geq\Gamma. At most \lceil(V(y_{0})-v_{\mathrm{goal}})/\Gamma\rceil such windows fit before the boundary value falls below v_{\mathrm{goal}}, and monotonicity keeps it there. ∎

Statement (i) needs no lower bound on the individual rates, only that their sum eventually exceeds the stated level. Statement (ii) admits chunks with \gamma_{k}=0, provided some progress is requested in every window of m chunks. The predictor does not enforce this condition, and it can be checked along executed episodes. Both statements concern chunk boundaries. Within chunk k the task potential stays below (1+\bar{d})V(y_{k}).

Local rates and their estimates.

In \Crefthm:objective_certification, L_{i} bounds the rate of the residual on interval i. We estimate the rate of each interval from the largest nearby secant slope. The local rate \hat{L}_{i} is the largest secant slope |g_{j+1}-g_{j}|/\Delta_{j} among the intervals j whose midpoints lie within a window w_{L} of the midpoint of interval i, with the adjacent intervals always included. Substituting \hat{L}_{i} into (6) gives estimated verification, the verdict that the search uses for its patience and that the main text reports. The neighbouring intervals supply the rate information: the secant of interval i alone returns \max(g_{i},g_{i+1}) in (6), which is sampled verification. Since \hat{L}_{i} is at least the secant of its own interval, a chunk that passes estimated verification also passes sampled verification. The estimate assigns a fast change of the residual to the intervals near where it occurs, and its resolution is set by the sample spacing and the window w_{L}. The guarantee of \Crefthm:objective_certification applies when the rates upper-bound the true residual rate on each interval, for instance with L_{F}v_{\max}+L_{\rho} from \Creflem:residual_regularity.

Search objective and verification.

The log-sum-exp J_{k} of \Crefsec:optimization lies between M_{k} and M_{k}+\log(n)/\beta, so J_{k}\leq 0 implies sampled verification. J_{k} and the verdict serve separate purposes. J_{k} aggregates the sampled residuals smoothly and ranks the candidates. The verdict of each plan is computed from its samples through (6) with the local rates, which concern the regularity of the residual over physical time.

Appendix G Evaluation Statistics and Additional Results

G.1 Paired Bootstrap Intervals

Each comparison uses matched episodes. For a given episode index, all compared configurations share the environment initial condition, the random seeds of the environment and the policy, and the initial flow-matching source draw. The funnel ablation uses N=400 episodes and the search comparison N=200.

For each of 4000 bootstrap replicates, we sample N episode indices with replacement and use the same indices for both configurations. A draw such as [2,2,5,1,\dots] selects those episodes, duplicates included, from both configurations. We recompute the metric for each configuration on the sampled episodes and take the difference from the reference configuration, which is endpoint-only in the funnel ablation and our search in the search comparison. The 2.5th and 97.5th percentiles of these differences give the 95% percentile-bootstrap interval. We report it together with the point estimate, the difference of the metric between the two configurations on the original paired episodes, and call a difference significant when its interval excludes zero. Pairing retains the correspondence between starting conditions, so the variation in episode difficulty is shared by the two configurations. The intervals describe the uncertainty across the evaluated initial conditions for the reported policy and execution setup. Figure 8 and Table 14 report these intervals, and the shading of Tables 2 and 13 follows them, except for the OOD column, which is shaded when the rate lies above the 95% interval of the held-out demonstrations (Appendix G.8).

For tail metrics, each replicate identifies the lowest-scoring or largest-drawdown fraction of the resampled episodes separately for each configuration and averages that fraction before taking the difference. An episode can therefore belong to the tail of one configuration and to the bulk of the other, while both resampled datasets are built from the same episode indices.

G.2 Metric Definitions

Final-score \text{\acs{CVaR}}_{10}.

The mean final score over the lowest-scoring 10% of episodes. Higher is better.

Maximum drawdown and its \text{\acs{CVaR}}_{90}.

The maximum drawdown of an episode is the largest fall of the score below its earlier peak, \max_{t}(\max_{s\leq t}r_{s}-r_{t}), in points (\times 100). The trace 0.2,0.7,0.4,0.8 has a drawdown of 0.3, or 30 points. \text{\acs{CVaR}}_{90} is the mean drawdown over the 10% of episodes with the largest drawdown, and \text{\acs{CVaR}}_{95} over the largest 5%. Lower is better. The subscript is the quantile level at which the tail starts, so \text{\acs{CVaR}}_{10} of a score and \text{\acs{CVaR}}_{90} of a drawdown both average the worst 10% of episodes.

KL.

\text{\acs{KL}}(p_{\max}\,\|\,p_{\mathrm{final}}) compares the distribution of the peak score with that of the final score across episodes. Both are histograms with 20 bins over the joint range of the two scores and a pseudocount of 0.5. A lower value means that the episodes end close to their peak. KL (KL) complements the drawdown at the level of distributions: it compares the peak and final scores across episodes, and the drawdown measures the loss within each episode.

Verification rate.

The share of complete executed chunks that pass estimated verification against the funnel of their configuration. The denominator counts the chunks executed over their full horizon H.

V-score.

On two-nut assembly, the V-score is 1-V/V_{0}, with V_{0}=85.3 the potential at the reset state (Appendix G.4).

Smoothness and similarity to the demonstrations.

Smoothness is the LDJ (Balasubramanian et al., 2015) of the executed pusher path within chunks, where higher is smoother. Similarity to the demonstrations is the share of executed 24-step windows that are out of distribution under a nearest-neighbor test against the training demonstrations (Sun et al., 2022), with the settings of Appendix G.8.

G.3 Complete Funnel Ablation

Table 9 extends Table 1 to every configuration of the funnel ablation, with the mean final score and the verification of the nominal plans of the same planning calls. Plateaus at \delta\in\{1,3\} allow V to at least double inside a chunk, a level above the values that rollouts reach. Their results closely follow those of endpoint-only, and their equal sampled and estimated verification shares show that the endpoint is the binding condition (Appendix G.7).

Table 9: Funnel ablation, all configurations, 400 episodes per configuration. Shading: best, second and third refined configuration in each column. Verified: share of complete executed chunks (Executed) and of planning calls whose nominal plan (Nominal) passes estimated verification (Appendix G.7).
  • Funnel
    Success
    [%] \uparrow
    Final score \uparrow
    Mean
    \text{\acs{CVaR}}_{10}
    Max drawdown [pts] \downarrow
    Mean
    \text{\acs{CVaR}}_{90}
    KL
    \downarrow
    Verified [%]
    Executed \uparrow
    Nominal
  • No data
    Success
    PushT
    Stack.
    Final score \uparrow
    PushT
    Stack.
    PushT
    Stack.
    Max drawdown [pts] \downarrow
    PushT
    Stack.
    PushT
    Stack.
    KL
    PushT
    Stack.
    Verified [%]
    PushT
    Stack.
    PushT
    Stack.
  • Nominal
    Success
    31.3
    77.0
    Final score \uparrow
    .638
    .637
    .000
    .000
    Max drawdown [pts] \downarrow
    40.0
    8.5
    86.9
    46.1
    KL
    .472
    .181
    Verified [%]
    n/a
    n/a
  • Endpoint-only
    Success
    86.8
    86.0
    Final score \uparrow
    .923
    .804
    .560
    .084
    Max drawdown [pts] \downarrow
    28.3
    6.8
    62.8
    46.1
    KL
    .053
    .060
    Verified [%]
    n/a
    n/a
  • No envelope
    \dot{V}\leq 0
    Success
    60.5
    85.5
    Final score \uparrow
    .855
    .744
    .218
    .103
    Max drawdown [pts] \downarrow
    23.4
    5.8
    54.2
    41.8
    KL
    .153
    .065
    Verified [%]
    n/a
    n/a
  • \Sigma V
    80.0
    Success
    82.0
    .910
    Final score \uparrow
    .715
    .499
    .000
    22.6
    Max drawdown [pts] \downarrow
    6.4
    54.4
    43.4
    .052
    KL
    .084
    n/a
    n/a
  • Plateau
    \delta=0.5
    Success
    73.0
    83.8
    Final score \uparrow
    .905
    .771
    .494
    .075
    Max drawdown [pts] \downarrow
    23.9
    6.9
    56.7
    46.2
    KL
    .098
    .065
    Verified [%]
    73.3
    41.9
    48.7
    40.0
  • \delta=1
    86.5
    Success
    86.5
    .920
    Final score \uparrow
    .803
    .529
    .091
    27.9
    Max drawdown [pts] \downarrow
    7.1
    62.9
    46.8
    .060
    KL
    .045
    68.8
    Verified [%]
    40.9
    45.8
    35.4
  • \delta=3
    86.8
    Success
    85.8
    .924
    Final score \uparrow
    .805
    .568
    .097
    28.1
    Max drawdown [pts] \downarrow
    6.7
    62.4
    45.7
    .053
    KL
    .054
    69.0
    Verified [%]
    40.6
    46.2
    35.4
  • Linear
    Success
    54.5
    78.8
    Final score \uparrow
    .839
    .662
    .194
    .000
    Max drawdown [pts] \downarrow
    24.3
    7.6
    54.7
    44.3
    KL
    .219
    .108
    Verified [%]
    0.5
    3.3
    5.5
    9.7
  • Calibrated
    per stage
    Success
    –
    82.8
    Final score \uparrow
    –
    .792
    –
    .101
    Max drawdown [pts] \downarrow
    –
    7.6
    –
    48.5
    KL
    –
    .102
    Verified [%]
    –
    57.6
    –
    47.2
  • global
    88.5
    Success
    80.5
    .927
    Final score \uparrow
    .717
    .587
    .001
    27.4
    Max drawdown [pts] \downarrow
    7.5
    62.9
    46.2
    .038
    KL
    .107
    60.5
    Verified [%]
    61.2
    15.4
    52.5
  • Learned add.
    \alpha=0.5
    Success
    84.8
    85.0
    Final score \uparrow
    .925
    .799
    .613
    .162
    Max drawdown [pts] \downarrow
    22.9
    7.6
    52.3
    47.0
    KL
    .029
    .056
    Verified [%]
    38.0
    44.3
    7.5
    23.6
  • \alpha=0.8
    71.8
    Success
    82.3
    .900
    Final score \uparrow
    .775
    .480
    .065
    23.1
    Max drawdown [pts] \downarrow
    6.6
    53.7
    44.8
    .126
    KL
    .058
    56.2
    Verified [%]
    50.8
    18.6
    35.4
  • \alpha=0.95
    74.3
    Success
    82.3
    .902
    Final score \uparrow
    .767
    .474
    .025
    22.6
    Max drawdown [pts] \downarrow
    7.0
    52.6
    44.8
    .126
    KL
    .101
    62.9
    Verified [%]
    54.3
    24.6
    41.9
  • Learned mult.
    \alpha=0.5
    Success
    76.5
    85.8
    Final score \uparrow
    .910
    .796
    .542
    .095
    Max drawdown [pts] \downarrow
    23.1
    7.0
    52.5
    46.3
    KL
    .169
    .060
    Verified [%]
    40.5
    42.1
    12.2
    23.5
  • \alpha=0.8
    71.8
    Success
    82.0
    .906
    Final score \uparrow
    .771
    .529
    .067
    23.2
    Max drawdown [pts] \downarrow
    8.2
    52.0
    47.6
    .091
    KL
    .083
    62.6
    Verified [%]
    49.2
    28.6
    34.2
  • \alpha=0.95
    63.8
    Success
    84.0
    .887
    Final score \uparrow
    .775
    .424
    .107
    23.5
    Max drawdown [pts] \downarrow
    5.7
    54.0
    40.5
    .145
    KL
    .056
    70.7
    Verified [%]
    54.2
    33.1
    43.6

G.4 Two-Nut Assembly

We repeat the funnel ablation on MimicGen’s two-nut assembly (Mandlekar et al., 2023), in which a Sawyer arm threads a square nut onto one peg and then a round nut onto the other. The policy is the DiT-RMFM of stacking, trained on the task’s 1000 demonstrations, and it is refined against the phased potential of Appendix C.6, against which every learned and calibrated funnel was fitted. Search and protocol are those of the main text, and Tables 6–8 give the remaining settings.

Measuring progress.

PushT and stacking are scored by a measure separate from V. Two-nut assembly has no such measure finer than the share of seated nuts, r\in\{0,\tfrac{1}{2},1\}, which falls in only 2 of the 6400 episodes and therefore says little about transient regressions. We report success and this native score, neither of which depends on V, and compute the final score, drawdown and KL on the V-score 1-V/V_{0}, where V_{0}=85.3 is the potential at the reset state, the same in every episode. The V-score derives from the potential that also defines the refinement objectives, so its statistics describe how each configuration uses that potential.

Table 10: Funnel ablation on two-nut assembly, 400 episodes per configuration. Native: share of seated nuts. V-score: 1-V/V_{0}. Shading: best, second and third refined configuration in each column. +/-: significantly better/worse than endpoint-only (paired 95% bootstrap). Verified: complete executed chunks and nominal plans passing estimated verification (Appendix G.7).
  • No data
    Success
    [%]
    Native
    score
    V-score
    Final \uparrow
    Drawdown [pts] \downarrow
    KL
  • Funnel
    Success
    \uparrow
    Native
    mean \uparrow
    V-score
    Mean
    \text{\acs{CVaR}}_{10}
    Mean
    \text{\acs{CVaR}}_{90}
    \downarrow
    Verified [%]
    Executed \uparrow
    Nominal
  • Nominal
    Success
    80.3
    Native
    .873-
    V-score
    .875-
    .205-
    5.4-
    43.2-
    .192-
    Verified [%]
    n/a
  • Endpoint-only
    Success
    84.5
    Native
    .915
    V-score
    .923
    .401
    3.6
    30.7
    .060
    Verified [%]
    n/a
  • No envelope
    \dot{V}\leq 0
    Success
    86.8
    Native
    .927
    V-score
    .928
    .394
    3.4
    30.6
    .080
    Verified [%]
    n/a
  • \Sigma V
    86.3
    Success
    .920
    Native
    .923
    V-score
    .358
    2.8
    24.3
    .057
    n/a
  • Plateau
    \delta=0.5
    Success
    83.0
    Native
    .907
    V-score
    .923
    .401
    3.5
    30.2
    .055
    Verified [%]
    32.5
    32.9
  • \delta=1
    84.3
    Success
    .912
    Native
    .919
    V-score
    .390
    4.1
    35.4
    .071
    31.5
    Verified [%]
    32.2
  • \delta=3
    88.8+
    Success
    .936+
    Native
    .935
    V-score
    .410
    3.1
    25.3
    .060
    32.7
    Verified [%]
    33.5
  • Linear
    Success
    78.5-
    Native
    .877-
    V-score
    .881-
    .323-
    4.9
    41.3
    .144-
    Verified [%]
    1.6
    13.9
  • Calibrated
    per stage
    Success
    80.5
    Native
    .884-
    V-score
    .894-
    .300-
    4.7
    40.5
    .113
    Verified [%]
    62.2
    60.0
  • global
    81.5
    Success
    .895
    Native
    .898-
    V-score
    .338-
    4.7
    40.9
    .133-
    44.1
    Verified [%]
    44.2
  • Learned add.
    \alpha=0.5
    Success
    86.5
    Native
    .925
    V-score
    .926
    .372
    2.8
    23.3
    .047
    Verified [%]
    37.4
    20.2
  • \alpha=0.8
    86.5
    Success
    .922
    Native
    .927
    V-score
    .353
    3.2
    27.3
    .061
    41.2
    Verified [%]
    30.9
  • \alpha=0.95
    87.8
    Success
    .927
    Native
    .927
    V-score
    .338
    3.4
    28.9
    .085
    44.0
    Verified [%]
    39.3
  • Learned mult.
    \alpha=0.5
    Success
    88.3
    Native
    .934
    V-score
    .937
    .432
    2.6
    21.2
    .034
    Verified [%]
    38.9
    21.8
  • \alpha=0.8
    85.3
    Success
    .915
    Native
    .923
    V-score
    .349
    2.6
    22.0
    .055
    41.5
    Verified [%]
    31.1
  • \alpha=0.95
    87.3
    Success
    .926
    Native
    .921
    V-score
    .349
    3.4
    29.2
    .083
    44.7
    Verified [%]
    39.5
Results.

Refinement again improves clearly on nominal execution. It raises success from 80.3% to 84.5% with endpoint-only and to 85–89% with \dot{V}\leq 0, \Sigma V, the learned funnels and the plateau at \delta=3 (Table 10). Endpoint-only also raises the native score from .873 to .915 and lowers the \text{\acs{CVaR}}_{90} of the V-score drawdown from 43.2 to 30.7 points. The configurations that bound the interior stay at this level of progress retention, with confidence intervals for the V-score drawdown against endpoint-only that contain zero. The learned multiplicative funnel at \alpha=0.5 has the lowest values, a \text{\acs{CVaR}}_{90} of 21.2 points and a KL of .034. The plateau at \delta=3 solves significantly more episodes than endpoint-only, 17 more. The calibrated funnels and the linear funnel lie close to nominal execution. They are significantly below endpoint-only in the final V-score and its \text{\acs{CVaR}}_{10}, and the linear funnel solves 24 fewer episodes, as on stacking. The learned funnels keep the success of endpoint-only and make about 40% of the executed chunks pass estimated verification, compared with 20 to 40% of the nominal plans (Appendix G.7). Figure 7 shows a pronounced case of the failures that refinement resolves. From the same initial condition, the nominal execution keeps pushing against the square nut and stays there for the rest of the episode. The refined execution grasps the square nut, seats it on its peg, and then picks up the round nut and seats it on the other peg, which completes the task.

Why terminal contraction suffices here.

Progress on two-nut assembly comes in two discrete steps, one per seated nut, and the phased potential decreases along the motions that achieve them. Requiring V to fall from one chunk boundary to the next therefore already selects the plans that advance toward the next seat or keep what was achieved. A nut dropped within a chunk ends it at a higher V, which terminal contraction rejects, as a toppled tower does on stacking. The V-score is consistent with this. The drawdown under the interior constraints equals that under endpoint-only within the confidence intervals, and its largest values, 40 to 48 points, have the size of the progress of a whole nut. Two-nut assembly is the opposite case to PushT. On PushT the task score registers progress inside a chunk, and the interior bound improves retention (\Crefsec:experiments). On two-nut assembly the interior bound of the funnel contributes estimated verification of the transient at the success level of endpoint-only.

Figure 7: Representative refined (top) and nominal (bottom) episodes on two-nut assembly from the same initial condition, time running left to right. The refined execution seats the square nut and then the round one; the nominal execution never lifts the square nut and stays stuck at it for the rest of the episode.

G.5 Lower Tails of the Outcome

Figure 8 reports, for each objective of Table 1, the paired difference from endpoint-only on the same 400 initial conditions in success, in the \text{\acs{CVaR}}_{90} and \text{\acs{CVaR}}_{95} of the maximum drawdown, and in the \text{\acs{CVaR}}_{10} of the final score. On PushT, every objective except the calibrated funnel lowers the drawdown \text{\acs{CVaR}}_{90} significantly, by 6 to 10 points, and every one except the learned additive funnel at \alpha=0.5 also loses successes significantly, from 27 episodes for \Sigma V to 129 for the linear funnel. The learned additive funnel at \alpha=0.5 lowers the \text{\acs{CVaR}}_{90} by 10.4 points and the \text{\acs{CVaR}}_{95} by 12, at a success statistically on par with endpoint-only. Lowering the drawdown tail is thus common to the objectives that constrain the interior, and this funnel combines it with the success of endpoint-only. On stacking, only the learned multiplicative funnel at \alpha=0.95 lowers the drawdown tail significantly, by 5.7 points in \text{\acs{CVaR}}_{90} and 3.5 in \text{\acs{CVaR}}_{95}, at a success statistically on par with endpoint-only, while the calibrated global funnel and the linear funnel lose successes significantly. On two-nut assembly, the confidence intervals for the V-score drawdown tail against endpoint-only all contain zero. The learned additive funnel at \alpha=0.5 and \Sigma V have the largest reductions of its \text{\acs{CVaR}}_{90}, 7.4 and 6.4 points, and the calibrated funnel and the linear funnel the largest increases, about 10 points. Both of the latter lower the \text{\acs{CVaR}}_{10} of the final V-score significantly, and the linear funnel also loses 24 episodes. Among the configurations not shown, only the plateau at \delta=3 gains successes significantly (Appendix G.4). Refinement leaves the motion as smooth as endpoint-only does, with the log dimensionless jerk of executed chunks within 0.2 of endpoint-only’s for every funnel on PushT and stacking, and within 0.13 on two-nut assembly.

Figure 8: Paired differences from endpoint-only on the same 400 initial conditions: point estimate on the original paired episodes and 95% percentile bootstrap interval; filled markers exclude zero. Success in episodes, drawdown in score points; on two-nut assembly, drawdown and final score are those of the V-score (Appendix G.4). In the legends, Endpoint is endpoint-only, Calibrated the calibrated global funnel and \Sigma V (MPC) the \Sigma V objective; final reward is the final score.
Figure 9: Stacking: share of episodes whose maximum drawdown exceeds d, as for PushT in Table 1 (right).
Figure 11: Mean maximum drawdown of the worst q% of episodes, CVaR at tail fraction q, for the objectives of Table 1; the dotted lines mark \text{\acs{CVaR}}_{90} and \text{\acs{CVaR}}_{95}. On two-nut assembly (c) the drawdown is that of the V-score. In the legends, Endpoint is endpoint-only, Calibrated the calibrated global funnel and \Sigma V (MPC) the \Sigma V objective.

Figures 10–11 show the drawdown at every tail fraction, of which Table 1 reports only the mean and \text{\acs{CVaR}}_{90}. On stacking (Figure 10), most episodes give back almost nothing, and every configuration, nominal execution included, has a step just below 50 points, the drawdown of an episode that loses the top placement after reaching it. Refinement changes the number of such episodes and leaves the size of the loss unchanged. The learned multiplicative funnel and \dot{V}\leq 0 lie lowest between about 10 and 45 points, which is where their lower \text{\acs{CVaR}}_{90} comes from. On PushT (Figure 11a), nominal execution lies far above every refined configuration at every tail fraction. Endpoint-only is the highest refined curve throughout, the calibrated global funnel nearly coincides with it down to the worst 10%, and every objective that constrains the interior of the chunk sits about 8 to 10 points below it over the whole tail, with the learned additive funnel lowest in the extreme tail. On stacking (Figure 11b), the configurations differ by a few points. The learned multiplicative funnel and \dot{V}\leq 0 stay lowest from the worst half of the episodes down to about the worst 5%. Beyond that, each curve rests on a handful of episodes (4 at q=1\%), too few to order the configurations. On two-nut assembly (Figures 10 and 11c), most episodes give back only a few points, and the configurations separate by how many episodes later lose a large part of their progress: about 10% under nominal execution, the calibrated funnel and the linear funnel, about 7% under endpoint-only and most other objectives, and 5 to 6% under the learned additive funnel at \alpha=0.5 and \Sigma V, which lie lowest from the worst 50% down to about the worst 5% (Figure 11c). Beyond that, every curve rests on drawdowns of 40 to 48 points, close to the 45 points of V_{0} that the square nut accounts for at rest, and the curves lie too close to order the configurations.

G.6 Choice of the Potential

We ask how much task structure the potential needs. On stacking we refine against three potentials, each with a fixed additive funnel and with its own learned additive funnel at \alpha=0.95 of matched size, under the search of Table 5. The terminal-tolerance potential is a simple potential that scores the final geometry of the two placements. The two phased potentials follow the construction of Appendix C and guide the lift, the carry and the transition between the placements. The first is the potential of the main experiments, (25), which builds both placements from the residual \phi of (23) with its finer lowering bands and alignment basin. The second builds both placements from the gate residual \phi^{\mathrm{g}}, which has wider bands and no alignment basin. The ablation uses the 400 initial conditions and seeds of the main funnel ablation, and the learned-funnel configuration of the residual-\phi potential is the one reported in Table 9.

Table 11: Potential ablation on three-cube stacking, RMFM policy, with a fixed additive funnel and a learned additive funnel at \alpha=0.95 of matched size, on the 400 initial conditions and seeds of the main funnel ablation. The phased residual-\phi potential is the potential of the main experiments, and its learned-funnel entries are those of Table 9. Success in percent of initial conditions. Drawdown statistics, in score points, are those of the learned-funnel configurations.
  • Nominal
    Success [%] \uparrow Fixed funnel
    77.0
    Max drawdown [pts], learned funnel \downarrow Mean
    8.5
    Max drawdown [pts], learned funnel \downarrow Median
    0.75
    Max drawdown [pts], learned funnel \downarrow \text{\acs{CVaR}}_{90}
    46.1
  • Terminal tolerance
    Success [%] \uparrow Fixed funnel
    63.0
    Success [%] \uparrow Learned funnel
    50.0
    Max drawdown [pts], learned funnel \downarrow Mean
    13.4
    Max drawdown [pts], learned funnel \downarrow Median
    6.4
    Max drawdown [pts], learned funnel \downarrow \text{\acs{CVaR}}_{90}
    42.9
  • Phased, gate residual \phi^{\mathrm{g}}
    Success [%] \uparrow Fixed funnel
    80.5
    Success [%] \uparrow Learned funnel
    86.0
    Max drawdown [pts], learned funnel \downarrow Mean
    6.0
    Max drawdown [pts], learned funnel \downarrow Median
    0.31
    Max drawdown [pts], learned funnel \downarrow \text{\acs{CVaR}}_{90}
    43.0
  • Phased, residual \phi (main)
    Success [%] \uparrow Fixed funnel
    74.5
    Success [%] \uparrow Learned funnel
    82.3
    Max drawdown [pts], learned funnel \downarrow Mean
    7.0
    Max drawdown [pts], learned funnel \downarrow Median
    0.51
    Max drawdown [pts], learned funnel \downarrow \text{\acs{CVaR}}_{90}
    44.8

The simple potential alone leaves refinement below nominal execution. With the terminal-tolerance potential, refinement reaches 63.0% success with the fixed funnel and 50.0% with the learned funnel, compared with 77.0% for nominal execution, and its mean drawdown under the learned funnel is 13.4 points, compared with 8.5 (Table 11). With both phased potentials, refinement improves on nominal execution. With the learned funnel, the residual-\phi potential of the main experiments reaches 82.3% success and the gate-residual potential 86.0%, with mean drawdowns of 7.0 and 6.0 points. The learned funnel adds 7.8 and 5.5 points of success over the fixed funnel for the two potentials. These results support encoding the intermediate task structure in the potential: one that follows the task along the way lets the search select motions that advance it. Within the phased construction, the gate residual, with wider bands and no alignment basin, performs at least as well as the residual \phi, so this coarser residual is sufficient on this task.

G.7 Verification Details

A funnel with an interior envelope gives a condition on the transient that can be checked on each chunk. Verification applies to the configurations with an interior envelope, and endpoint-only is covered by its endpoint condition. For these configurations, Table 12 reports the share of complete executed chunks that pass sampled verification and estimated verification. As a reference, it also reports the share of planning calls whose nominal plan passes estimated verification on its predicted trace. Estimated verification uses the window w_{L}=0.02 s on the physics-step grid of the rollout.

Estimated verification is stricter than sampled verification by up to 16 points on PushT and 27 points on stacking, which shows how much the bound between samples contributes to the verdict, and the difference grows with the leniency of the learned funnels. For the plateaus the two shares agree to within a point, since their envelope lies far above V inside the chunk and the endpoint is the binding condition. Under the learned funnels, the executed chunks pass estimated verification more often than the nominal plans of the same calls, by 28 to 38 points on PushT and by 11 to 21 points on stacking. Under the linear funnel, few candidates meet the constraint, and the executed share is 0.5% on PushT and 3.3% on stacking. The nominal share counts every planning call on its predicted trace, including the last chunk of each episode, and the executed share counts complete executed chunks.

Two-nut assembly follows the pattern of stacking. The difference between sampled and estimated verification reaches 53 points for the calibrated global funnel, and under the learned funnels the executed chunks pass estimated verification more often than the nominal plans, by 5 to 17 points. The sampled and estimated shares of the plateaus coincide, as on the other tasks.

Table 12: Verification against each configuration’s own funnel, in percent of chunks, U-Net-OT on PushT and DiT-RMFM on stacking and two-nut assembly. For the plateaus only the endpoint binds, so their sampled and estimated shares coincide. Executed: complete executed chunks. Nominal: planning calls whose nominal plan passes estimated verification on its predicted trace, counting every call, including the last, cut-short chunk of each episode.
  • Task
    Funnel
    Executed
    Sampled
    Estimated
    Nominal
    Estimated
  • PushT
    Plateau, \delta=0.5
    Executed
    73.3
    73.3
    Nominal
    48.7
  • No data
    Plateau, \delta=1
    Executed
    68.9
    68.8
    Nominal
    45.8
  • No data
    Plateau, \delta=3
    Executed
    69.0
    69.0
    Nominal
    46.2
  • No data
    Linear
    Executed
    15.5
    0.5
    Nominal
    5.5
  • No data
    Calibrated, global
    Executed
    71.2
    60.5
    Nominal
    15.4
  • No data
    Learned add., \alpha=0.5
    Executed
    44.1
    38.0
    Nominal
    7.5
  • No data
    Learned add., \alpha=0.8
    Executed
    64.2
    56.2
    Nominal
    18.6
  • No data
    Learned add., \alpha=0.95
    Executed
    78.7
    62.9
    Nominal
    24.6
  • No data
    Learned mult., \alpha=0.5
    Executed
    42.6
    40.5
    Nominal
    12.2
  • No data
    Learned mult., \alpha=0.8
    Executed
    65.0
    62.6
    Nominal
    28.6
  • No data
    Learned mult., \alpha=0.95
    Executed
    77.8
    70.7
    Nominal
    33.1
  • Stacking
    Plateau, \delta=0.5
    Executed
    41.9
    41.9
    Nominal
    40.0
  • No data
    Plateau, \delta=1
    Executed
    40.9
    40.9
    Nominal
    35.4
  • No data
    Plateau, \delta=3
    Executed
    40.6
    40.6
    Nominal
    35.4
  • No data
    Linear
    Executed
    11.3
    3.3
    Nominal
    9.7
  • No data
    Calibrated, per stage
    Executed
    84.1
    57.6
    Nominal
    47.2
  • No data
    Calibrated, global
    Executed
    85.1
    61.2
    Nominal
    52.5
  • No data
    Learned add., \alpha=0.5
    Executed
    55.0
    44.3
    Nominal
    23.6
  • No data
    Learned add., \alpha=0.8
    Executed
    73.3
    50.8
    Nominal
    35.4
  • No data
    Learned add., \alpha=0.95
    Executed
    81.1
    54.3
    Nominal
    41.9
  • No data
    Learned mult., \alpha=0.5
    Executed
    51.5
    42.1
    Nominal
    23.5
  • No data
    Learned mult., \alpha=0.8
    Executed
    71.0
    49.2
    Nominal
    34.2
  • No data
    Learned mult., \alpha=0.95
    Executed
    81.6
    54.2
    Nominal
    43.6
  • Two-nut
    Plateau, \delta=0.5
    Executed
    32.5
    32.5
    Nominal
    32.9
  • assembly
    Plateau, \delta=1
    Executed
    31.5
    31.5
    Nominal
    32.2
  • No data
    Plateau, \delta=3
    Executed
    32.7
    32.7
    Nominal
    33.5
  • No data
    Linear
    Executed
    14.2
    1.6
    Nominal
    13.9
  • No data
    Calibrated, per stage
    Executed
    96.3
    62.2
    Nominal
    60.0
  • No data
    Calibrated, global
    Executed
    97.1
    44.1
    Nominal
    44.2
  • No data
    Learned add., \alpha=0.5
    Executed
    67.2
    37.4
    Nominal
    20.2
  • No data
    Learned add., \alpha=0.8
    Executed
    77.7
    41.2
    Nominal
    30.9
  • No data
    Learned add., \alpha=0.95
    Executed
    86.9
    44.0
    Nominal
    39.3
  • No data
    Learned mult., \alpha=0.5
    Executed
    59.6
    38.9
    Nominal
    21.8
  • No data
    Learned mult., \alpha=0.8
    Executed
    73.4
    41.5
    Nominal
    31.1
  • No data
    Learned mult., \alpha=0.95
    Executed
    86.2
    44.7
    Nominal
    39.5

G.8 Search Method Comparison

Compared methods.

All methods of Table 13 refine the same policy, the PushT U-Net of Appendix E.3 used in the funnel ablation, against the same objective, the plateau funnel at \delta=1 with \eta=0.1, \gamma=0.05 and \beta=10 on the control grid, and run on 200 shared initial conditions with the hard reset of Table 7. The population searches score every candidate by a rollout in the native simulator and use a population of 20. Plain CMA-ES samples the seed without projection. CMA-ES on the band, CEM (elite fraction 0.2, smoothing 0.1, minimum standard deviation 0.05), MPPI (temperature 0.1) and best-of-N use the typical-set projection of \Crefsec:optimization unchanged. Every sampled seed is mapped by \Psi of (9), with one global group, before it is decoded, and the search mean is projected after each update. CEM, MPPI, best-of-N and ours use \zeta=4, and two further configurations of ours use the tighter bands \zeta\in\{2,3\}. The sphere configuration fixes both radii of the band to the typical radius \sqrt{\nu} of (36), the projection of standardized CMA-ES (Stölzle et al., 2026). Best-of-N decodes one batch of 200 projected draws, the nominal seed first, and keeps the best. The gradient searches of Appendix E.2 move the seed by their own steps and are not projected. Every iterative search runs on a time budget of 1.5 s per chunk, with patience and the generation cap disabled. The clock is checked after every generation or iteration, so a search exceeds it by at most one. A gradient search can still stop earlier, on a stationary gradient, a failed line search, or a plan that never reaches the block.

Similarity to the demonstrations.

We measure how closely the executed pusher paths of a search resemble the demonstrated ones. Executed pusher paths are cut into 24-step windows at the chunk boundaries, expressed relative to the pusher position at the start of the window, and projected on a 32-component PCA (PCA) of the windows of the training demonstrations. A window is out of distribution when the mean distance to its 5 nearest training windows exceeds the 95th percentile of the same distance over held-out demonstration windows, and KID (KID) (Bińkowski et al., 2018) is computed against the training windows in the same space. Held-out demonstrations, cut at the chunk boundaries in the same way, have an OOD rate of 9.6% (95% interval 5.4–15.4%). Only unconstrained CMA-ES exceeds this interval. It also has a KID of 1.39, against 0.14–0.26 for every other method, nominal execution included. Among the band widths, only the sphere separates from \zeta=4 in OOD rate. KID has wide episode-bootstrap intervals (0.08–0.44 for ours) and does not separate the other methods. The commanded waypoints give the same ranking (Table 13). The similarity scores and LDJ average over the chunks that each method executes, and successful methods end sooner, so the methods average different stretches of the task. Nominal execution therefore has a higher KID than the searches despite its lowest OOD rate: its windows include many more stretches of long failing episodes.

Outcome and smoothness.

Table 14 gives the paired intervals behind Table 13. Here we add the comparisons that the main text does not discuss. Unconstrained CMA-ES is also significantly better than ours in the mean final score and the mean DD (DD), and the sphere has a significantly lower mean final score. No search differs significantly from ours in the drawdown tail or in KL. Within chunks, unconstrained CMA-ES is the least smooth search (LDJ -1.03 against ours), followed by CEM and the gradient searches, while the sphere (+0.31) and the band at \zeta=2 (+0.15) are significantly smoother. At chunk boundaries, unconstrained CMA-ES, the gradient searches, CEM and MPPI jump significantly more than ours, the sphere does not differ from it, and best-of-N jumps significantly less (-0.049). At \zeta=3 the final score is slightly but significantly lower, in mean (-0.005) and \text{\acs{CVaR}}_{10} (-0.022). That interval is narrow because both methods end the same episode with score zero, which cancels in the paired resamples. The time to finish separates the methods more clearly than the mean score. An episode stops at its first success, when the score first exceeds 0.95, and an episode that approaches the threshold runs to its step budget with a similar score. On the band, the maximum score and the mean drawdown of all methods lie within 0.01 and 1.3 points of ours (Table 13). Over the episodes that each method solves, resampled jointly with ours, the narrower bands need 17 more steps (\zeta=3: [+5,+28]; \zeta=2: [+7,+28]), the sphere 38 ([+26,+50]) and best-of-N 77 ([+63,+91]). This average is taken over the solved episodes of each method. Counting failures at the 400-step limit, the episodes of best-of-N run 73 steps longer than ours ([+55,+90]) and those of the sphere 37 ([+18,+55]). Best-of-N and the sphere therefore combine the most demonstration-like motion with longer times to completion, at a similar score and drawdown.

Gradient searches.

Beyond success, L-BFGS and Adam are significantly worse than ours on every score measure. The model’s per-chunk error is small and compounds over contact switches. Adam, whose step moves each seed coordinate by at most about 0.05 per iteration, stays close to the demonstrations (5.8% OOD) but solves the fewest episodes. A derivative-free search also applies unchanged to simulators that cannot be differentiated.

Table 13: Search method comparison on PushT, all methods and measures. Better/Worse than ours (significant, Appendix G.1), or OOD above held-out demonstrations. Score: mean of the maximum and of the final score. DD: drawdown mean and \text{\acs{CVaR}}_{90}. Jump: relative velocity jump at chunk boundaries. Executed and Planned: similarity to the demonstrations of the executed path and of the commanded waypoints. †Gradient search on the differentiable model.
  • Nominal
    Succ.\uparrow
    31.5
    \text{\acs{CVaR}}_{10}\!\uparrow
    .000
    Score Max
    .795
    Score Final
    .688
    DD [pts] Mean
    33.3
    DD [pts] \text{\acs{CVaR}}_{90}
    67.5
    KL
    .363
    LDJ\uparrow
    -9.92
    Jump
    .544
    Executed OOD%\downarrow
    4.0
    Executed KID
    .259
    Planned OOD%
    3.2
    Planned KID
    .286
  • Adam†
    Succ.\uparrow
    60.5
    \text{\acs{CVaR}}_{10}\!\uparrow
    .647
    Score Max
    .927
    Score Final
    .918
    DD [pts] Mean
    19.1
    DD [pts] \text{\acs{CVaR}}_{90}
    51.6
    KL
    .045
    LDJ\uparrow
    -10.12
    Jump
    .652
    Executed OOD%\downarrow
    5.8
    Executed KID
    .162
    Planned OOD%
    4.5
    Planned KID
    .181
  • L-BFGS†
    Succ.\uparrow
    70.0
    \text{\acs{CVaR}}_{10}\!\uparrow
    .765
    Score Max
    .942
    Score Final
    .938
    DD [pts] Mean
    19.5
    DD [pts] \text{\acs{CVaR}}_{90}
    47.4
    KL
    .012
    LDJ\uparrow
    -10.15
    Jump
    .662
    Executed OOD%\downarrow
    12.0
    Executed KID
    .196
    Planned OOD%
    10.7
    Planned KID
    .154
  • Best-of-N
    Succ.\uparrow
    82.5
    \text{\acs{CVaR}}_{10}\!\uparrow
    .768
    Score Max
    .948
    Score Final
    .940
    DD [pts] Mean
    19.9
    DD [pts] \text{\acs{CVaR}}_{90}
    50.5
    KL
    .054
    LDJ\uparrow
    -9.87
    Jump
    .513
    Executed OOD%\downarrow
    4.9
    Executed KID
    .175
    Planned OOD%
    4.0
    Planned KID
    .194
  • CEM
    Succ.\uparrow
    79.0
    \text{\acs{CVaR}}_{10}\!\uparrow
    .848
    Score Max
    .954
    Score Final
    .950
    DD [pts] Mean
    18.7
    DD [pts] \text{\acs{CVaR}}_{90}
    47.3
    KL
    .014
    LDJ\uparrow
    -10.28
    Jump
    .600
    Executed OOD%\downarrow
    8.0
    Executed KID
    .143
    Planned OOD%
    6.2
    Planned KID
    .141
  • MPPI
    Succ.\uparrow
    83.0
    \text{\acs{CVaR}}_{10}\!\uparrow
    .914
    Score Max
    .960
    Score Final
    .958
    DD [pts] Mean
    18.5
    DD [pts] \text{\acs{CVaR}}_{90}
    46.8
    KL
    .041
    LDJ\uparrow
    -9.97
    Jump
    .606
    Executed OOD%\downarrow
    10.8
    Executed KID
    .224
    Planned OOD%
    9.8
    Planned KID
    .177
  • CMA-ES, no band
    Succ.\uparrow
    96.0
    \text{\acs{CVaR}}_{10}\!\uparrow
    .941
    Score Max
    .963
    Score Final
    .963
    DD [pts] Mean
    15.3
    DD [pts] \text{\acs{CVaR}}_{90}
    45.9
    KL
    .022
    LDJ\uparrow
    -10.96
    Jump
    .682
    Executed OOD%\downarrow
    34.1
    Executed KID
    1.39
    Planned OOD%
    32.5
    Planned KID
    .996
  • CMA-ES, sphere
    Succ.\uparrow
    84.5
    \text{\acs{CVaR}}_{10}\!\uparrow
    .794
    Score Max
    .949
    Score Final
    .944
    DD [pts] Mean
    19.2
    DD [pts] \text{\acs{CVaR}}_{90}
    49.5
    KL
    .033
    LDJ\uparrow
    -9.62
    Jump
    .557
    Executed OOD%\downarrow
    6.6
    Executed KID
    .166
    Planned OOD%
    5.1
    Planned KID
    .152
  • Ours, \zeta{=}2
    Succ.\uparrow
    87.0
    \text{\acs{CVaR}}_{10}\!\uparrow
    .873
    Score Max
    .957
    Score Final
    .955
    DD [pts] Mean
    18.0
    DD [pts] \text{\acs{CVaR}}_{90}
    45.3
    KL
    .012
    LDJ\uparrow
    -9.78
    Jump
    .558
    Executed OOD%\downarrow
    9.5
    Executed KID
    .217
    Planned OOD%
    7.5
    Planned KID
    .180
  • Ours, \zeta{=}3
    Succ.\uparrow
    83.0
    \text{\acs{CVaR}}_{10}\!\uparrow
    .855
    Score Max
    .954
    Score Final
    .951
    DD [pts] Mean
    18.3
    DD [pts] \text{\acs{CVaR}}_{90}
    50.3
    KL
    .008
    LDJ\uparrow
    -9.91
    Jump
    .563
    Executed OOD%\downarrow
    9.4
    Executed KID
    .177
    Planned OOD%
    8.2
    Planned KID
    .155
  • Ours, \zeta{=}4
    Succ.\uparrow
    86.5
    \text{\acs{CVaR}}_{10}\!\uparrow
    .877
    Score Max
    .957
    Score Final
    .956
    DD [pts] Mean
    18.6
    DD [pts] \text{\acs{CVaR}}_{90}
    47.0
    KL
    .012
    LDJ\uparrow
    -9.93
    Jump
    .562
    Executed OOD%\downarrow
    11.3
    Executed KID
    .220
    Planned OOD%
    9.1
    Planned KID
    .163
Table 14: Paired differences from our search (method minus ours) on the same 200 initial conditions: point estimate on the original paired episodes and 95% percentile bootstrap interval, in bold when the interval excludes zero. Success and drawdown in points. Positive is better for success, score and LDJ, and worse for drawdown, KL and Jump.
  • Search
    Succ. [pts]
    Final score
    Mean
    Final score
    \text{\acs{CVaR}}_{10}
    Drawdown [pts]
    Mean
    Drawdown [pts]
    \text{\acs{CVaR}}_{90}
    KL
    LDJ
    Jump
  • Nominal
    \mathbf{-55.0} [-62.5,-47.0]
    Final score
    \mathbf{-.267} [-.312,-.224]
    Final score
    \mathbf{-.877} [-.930,-.777]
    Drawdown [pts]
    \mathbf{+14.7} [+11.6,+17.9]
    Drawdown [pts]
    \mathbf{+20.5} [+11.6,+29.4]
    \mathbf{+.352} [+.208,+.554]
    +0.01 [-0.09,+0.12]
    -.018 [-.046,+.010]
  • Adam†
    \mathbf{-26.0} [-34.0,-18.0]
    Final score
    \mathbf{-.038} [-.058,-.023]
    Final score
    \mathbf{-.230} [-.398,-.095]
    Drawdown [pts]
    +0.5 [-1.3,+2.5]
    Drawdown [pts]
    +4.5 [-1.1,+9.6]
    +.034 [-.083,+.086]
    \mathbf{-0.19} [-0.32,-0.06]
    \mathbf{+.091} [+.060,+.122]
  • L-BFGS†
    \mathbf{-16.5} [-24.5,-8.5]
    Final score
    \mathbf{-.017} [-.033,-.006]
    Final score
    \mathbf{-.112} [-.252,-.015]
    Drawdown [pts]
    +1.0 [-0.7,+2.7]
    Drawdown [pts]
    +0.4 [-4.7,+5.2]
    +.000 [-.110,+.027]
    \mathbf{-0.22} [-0.36,-0.07]
    \mathbf{+.100} [+.064,+.137]
  • Best-of-N
    -4.0 [-11.0,+3.0]
    Final score
    -.016 [-.034,+.000]
    Final score
    \mathbf{-.109} [-.215,-.006]
    Drawdown [pts]
    +1.3 [-0.5,+3.0]
    Drawdown [pts]
    +3.5 [-1.6,+8.3]
    +.042 [-.077,+.137]
    +0.06 [-0.05,+0.16]
    \mathbf{-.049} [-.075,-.023]
  • CEM
    -7.5 [-15.0,+0.0]
    Final score
    -.006 [-.019,+.007]
    Final score
    -.029 [-.160,+.097]
    Drawdown [pts]
    +0.1 [-1.5,+1.7]
    Drawdown [pts]
    +0.3 [-5.0,+4.3]
    +.003 [-.100,+.133]
    \mathbf{-0.35} [-0.47,-0.23]
    \mathbf{+.037} [+.009,+.066]
  • MPPI
    -3.5 [-10.0,+3.0]
    Final score
    +.003 [-.004,+.013]
    Final score
    +.037 [-.016,+.131]
    Drawdown [pts]
    -0.1 [-1.5,+1.2]
    Drawdown [pts]
    -0.2 [-5.2,+4.3]
    +.029 [-.077,+.102]
    -0.04 [-0.16,+0.08]
    \mathbf{+.044} [+.012,+.077]
  • CMA-ES, no band
    \mathbf{+9.5} [+4.0,+14.5]
    Final score
    \mathbf{+.007} [+.000,+.019]
    Final score
    \mathbf{+.064} [+.008,+.163]
    Drawdown [pts]
    \mathbf{-3.3} [-5.1,-1.6]
    Drawdown [pts]
    -1.1 [-6.8,+3.6]
    +.011 [-.102,+.061]
    \mathbf{-1.03} [-1.15,-0.91]
    \mathbf{+.119} [+.082,+.157]
  • CMA-ES, sphere
    -2.0 [-9.0,+5.0]
    Final score
    \mathbf{-.012} [-.024,-.003]
    Final score
    \mathbf{-.083} [-.190,-.017]
    Drawdown [pts]
    +0.6 [-1.1,+2.3]
    Drawdown [pts]
    +2.5 [-3.1,+7.1]
    +.021 [-.094,+.053]
    \mathbf{+0.31} [+0.18,+0.43]
    -.006 [-.035,+.025]
  • Ours, \zeta=2
    +0.5 [-6.5,+7.5]
    Final score
    -.001 [-.014,+.013]
    Final score
    -.004 [-.123,+.131]
    Drawdown [pts]
    -0.5 [-2.0,+0.9]
    Drawdown [pts]
    -1.7 [-6.0,+1.8]
    -.000 [-.107,+.130]
    \mathbf{+0.15} [+0.03,+0.27]
    -.004 [-.038,+.031]
  • Ours, \zeta=3
    -3.5 [-10.0,+3.0]
    Final score
    \mathbf{-.005} [-.009,-.001]
    Final score
    \mathbf{-.022} [-.041,-.004]
    Drawdown [pts]
    -0.3 [-1.8,+1.2]
    Drawdown [pts]
    +3.3 [-2.2,+8.5]
    -.004 [-.068,+.088]
    +0.02 [-0.10,+0.14]
    +.001 [-.032,+.036]

Appendix H Computational Cost

Setup.

Refinement splits its work between the GPU and the CPU. The flow decodes the whole population of a generation in one batched call on the GPU, with its integration steps unrolled and compiled into a single kernel by Reactant.jl. The decoded plans are then rolled out on CPU threads, where each worker process keeps a pool of simulator copies, resets them to the planning state, and evaluates the candidates in parallel. All timings were measured on a workstation with a 32-core AMD Ryzen Threadripper 9970X and an NVIDIA RTX PRO 5000 Blackwell GPU. Each experiment runs several worker processes that share the GPU, with the worker layouts given in Tables 15 and 16. Times are wall-clock per planning call, including flow decoding, rollouts and the search, and exclude compilation: the first episode of each worker, during which compilation may occur, is left out, and in the search ablation the samplers were compiled beforehand.

Table 15: Wall-clock planning time per chunk [s] in the funnel ablation. Each refined chunk is a CMA-ES search with population 20, at most 30 generations and the patience of Table 5. Nominal execution decodes one plan. PushT uses the U-Net-OT policy, stacking and two-nut assembly the DiT-RMFM policy.
  • Nominal
    PushT
    0.01
    Stacking
    0.01
    Two-nut assembly
    0.01
  • Endpoint-only
    PushT
    1.17
    Stacking
    3.84
    Two-nut assembly
    6.18
  • No envelope
    \dot{V}\leq 0
    PushT
    0.77
    Stacking
    2.02
    Two-nut assembly
    3.26
  • No data
    \Sigma V
    PushT
    1.41
    Stacking
    4.97
    Two-nut assembly
    8.34
  • Plateau
    \delta=0.5
    PushT
    1.06
    Stacking
    3.93
    Two-nut assembly
    6.11
  • No data
    \delta=1
    PushT
    1.12
    Stacking
    3.76
    Two-nut assembly
    6.20
  • No data
    \delta=3
    PushT
    1.14
    Stacking
    4.09
    Two-nut assembly
    6.79
  • Linear
    PushT
    1.10
    Stacking
    4.75
    Two-nut assembly
    6.96
  • Calibrated
    per stage
    PushT
    –
    Stacking
    3.38
    Two-nut assembly
    4.53
  • No data
    global
    PushT
    1.30
    Stacking
    3.44
    Two-nut assembly
    4.87
  • Learned add.
    \alpha=0.5
    PushT
    1.14
    Stacking
    4.02
    Two-nut assembly
    5.94
  • No data
    \alpha=0.8
    PushT
    1.02
    Stacking
    3.80
    Two-nut assembly
    5.75
  • No data
    \alpha=0.95
    PushT
    0.94
    Stacking
    3.74
    Two-nut assembly
    5.60
  • Learned mult.
    \alpha=0.5
    PushT
    1.17
    Stacking
    3.90
    Two-nut assembly
    5.84
  • No data
    \alpha=0.8
    PushT
    1.00
    Stacking
    3.81
    Two-nut assembly
    5.62
  • No data
    \alpha=0.95
    PushT
    0.99
    Stacking
    3.81
    Two-nut assembly
    5.56
  • Workers \times threads
    PushT
    10\times 4
    Stacking
    14\times 4
    Two-nut assembly
    14\times 4
Funnel ablation.

Refinement costs 2.0 to 5.0 s per chunk on stacking, 3.3 to 8.3 s on two-nut assembly and 0.8 to 1.4 s on PushT, against 0.01 s for the nominal policy (Table 15). Every candidate costs one rollout regardless of the objective, so the objectives differ in cost through when the search stops: it ends when its best plan stops improving meaningfully, after fewer generations once that plan is verified (Table 5). In all three tasks, \dot{V}\leq 0 is the cheapest objective and \Sigma V the most expensive. On stacking and two-nut assembly the MuJoCo rollouts dominate. On PushT, where the simulator is cheap, decoding with the flow does. Per episode, refinement adds about 18.5 s of planning to a stacking episode when episodes run one at a time, and about 36 s when 14 worker processes of 4 threads run episodes in parallel, against 0.1 s for the nominal policy. Decoding the flow on the CPU instead of the GPU roughly doubles the planning time.

Table 16: Compute in the PushT search ablation, ten worker processes of four threads sharing one GPU. Iterations: generations, batches or gradient steps per chunk. Evaluations: plans evaluated per chunk.
  • Nominal
    Time [s]
    0.01
    Iterations
    –
    Evaluations
    1
  • Adam†
    Time [s]
    1.33
    Iterations
    20.3
    Evaluations
    21
  • L-BFGS†
    Time [s]
    1.35
    Iterations
    14.5
    Evaluations
    36
  • Best-of-N
    Time [s]
    0.20
    Iterations
    1
    Evaluations
    200
  • CEM
    Time [s]
    1.52
    Iterations
    40.4
    Evaluations
    808
  • MPPI
    Time [s]
    1.52
    Iterations
    42.0
    Evaluations
    841
  • CMA-ES, no band
    Time [s]
    1.52
    Iterations
    40.8
    Evaluations
    815
  • CMA-ES, sphere
    Time [s]
    1.52
    Iterations
    40.6
    Evaluations
    811
  • Ours, \zeta=2
    Time [s]
    1.5
    Iterations
    40
    Evaluations
    800
  • Ours, \zeta=3
    Time [s]
    1.5
    Iterations
    40
    Evaluations
    800
  • Ours, \zeta=4
    Time [s]
    1.52
    Iterations
    40.3
    Evaluations
    806
Search ablation.

Within the 1.5 s budget, the population searches run 40 to 42 generations, or 806 to 841 evaluated plans (Table 16). Of their 1.52 s per chunk, decoding the population with the flow takes 1.45 s and scoring the candidates in the native simulator 0.06 s. Best-of-N decodes and scores its single batch of 200 plans in 0.20 s. For the gradient searches, each evaluation is a flow pass at batch size one plus, for every gradient, its vector–Jacobian product. Per chunk, Adam and L-BFGS spend 0.84 and 0.63 s in the flow’s vector–Jacobian product, 0.30 and 0.57 s in its forward pass, and 0.16 and 0.11 s in the model gradient.

Appendix I Extended Limitations

The task potential.

Refinement depends on the task potential. Our potentials are designed by hand from task geometry, with constants calibrated on demonstrations, and they read privileged simulator state. The search optimizes V, and the native task outcome improves when V follows the task through its intermediate stages, as with the phased potentials of Appendix G.6. Future work should replace the hand-designed potential with a learned progress measure that relates to completion and is regular enough for verification. The learned representations and reward models discussed in Appendix A could be starting points.

World model.

Refinement rolls out candidates in the simulator that also executes them, so the evaluated rollout matches execution, and it reads the full state of the scene. On a physical system, the rollouts would come from a calibrated simulator or from a learned world model, and the mismatch between predicted and executed motion would enter the convergence result as the endpoint error of \Crefcor:practical_contraction. Learned simulators of contact-rich rigid-body dynamics (Allen et al., 2023) and latent world models (Zhou et al., 2025; Assran et al., 2025) are candidates for this role. How model error affects funnel satisfaction is an open question.

Search and guarantees.

Refinement reaches useful motions through the prior within a finite search budget and executes its lowest-objective plan together with its estimated-verification status. The convergence results hold under funnel satisfaction of the executed chunks and agreement between simulated rollouts and execution. Two directions would strengthen them: conditions under which a satisfying chunk exists at every planning step, which would give recursive feasibility, and certified bounds on the residual rate, such as the one of \Creflem:residual_regularity, in place of the estimated rates.

Optimization freedom and fidelity to the prior.

Any refinement of a generative prior trades optimization freedom against fidelity to the prior. The more the optimizer can change a motion, the lower it can drive the objective and the constraint violation, and the further the motion can move from the demonstrated distribution, where the policy, the tracking controller and the rollouts are less reliable. The radial band is one way to set this tradeoff, through its width \zeta. On PushT, the band-constrained search reaches 86.5% success with 11.3% of its motion windows out of distribution, and the unconstrained search reaches 96.0% with 34.1% (Table 2). The band constrains the radius and the mean of the seed and leaves its direction free, so it limits the shift of each chunk. The states that a refined chunk leads to still determine the next observation, which can differ from the demonstrated observations, the covariate shift familiar from imitation learning (Ross et al., 2011). A band width that adapts to the state, wider where the nominal plan is far from satisfying its funnel, is a possible extension.

Computation and deployment.

The candidate rollouts within each generation run in parallel, and the generations run in sequence, which gives a planning delay of 0.8 to 8.3 s per chunk in our experiments (Appendix H). Physical deployment would need a scene that stays still during planning, or a prediction of its evolution over the computation interval. Learned rollout models would shorten each generation. The refined seeds could also be amortized into a network that predicts them from the observation, as in learned noise policies for diffusion models (Wagenmaker et al., 2025; Eyring et al., 2025).