Flow matching policies underpin the state-of-the-art in robot learning, with impressive results ranging from long-horizon planning to dexterous manipulation. However, they provide no measure of whether their predicted commands can be trusted, particularly in novel situations outside their training set. Epistemic uncertainty reflects uncertainty about the model's weights and quantifies this ignorance, but calculating it at inference time from a flow matching policy is not trivial. Actions are produced by an ODE solver, requiring uncertainty to be propagated through the entire integration process. BayesDiff addresses this problem for diffusion models by propagating the mean and variance of the state through the denoising chain under a last-layer Laplace posterior approximation, but it severely underestimates the epistemic uncertainty. In this paper we: i) prove that, for flow matching and diffusion ODEs, BayesDiff's total variance decays at rate O(1/T) as the number of Euler steps T used by the solver increases; ii) introduce Coherent Moment Propagation (CoMP), two recursions inspired by the extended and unscented Kalman filters that fix this problem by carrying the cross-covariance between state and weights; and iii) widen the last-layer posterior with observation embeddings the policy already computes, improving uncertainty estimates without retraining for CoMP and several test-time estimators alike. We demonstrate these benefits on three manipulation benchmarks with applications in failure detection and demonstration selection for fine-tuning, where CoMP corrects BayesDiff's variance collapse while matching or outperforming several uncertainty estimators.
Figures & tables
Figure 1: Variance collapse in moment propagation. State covariance PT at the end of integration of a flow matching model on a two-mode mixture under a last-layer Laplace posterior for one sample x0 at T=100 Euler steps. (a) The reference is the empirical covariance of 4000 trajectories, one per posterior draw θ(m)∼N(θMAP,Σθ) . (b) BayesDiff returns 1/46 of it, consistent with Theorem 1 . (c) Our estimators CoMP-EKF and CoMP-UKF carry the cross-covariance between the state and the weights and recover the reference to within 1% . (d) The total variance trPT at the same seed for every estimator re-run on each grid from T=10 to 400 Euler steps. BayesDiff halves with every doubling of T , while our methods track the reference regardless of the number of Euler steps.
Figure 2: Calibration against the posterior ensemble on robomimic. Each bar is the median over 150 observation windows per task with a bootstrap 95% interval. Reference values in the first two panels use M=6000 posterior draws. CoMP outperforms BayesDiff across all three metrics, with expert-action negative log likelihoods (NLLs) far below those of both BayesDiff variants ( >109 ). In Figure 7 we show that the number of Euler steps not only affects the scale of BayesDiff’s total variance but also changes its ranking of the most and least uncertain observations. BayesDiff ranks at most 40% of these observations correctly and reorders them at every evaluated step count, whereas CoMP ranks 77 to 93% correctly with a stable ordering across different numbers of integration steps.
Figure 3: Language instruction shift on RoboLab. Success rate (grey bars) and first-decision uncertainty (lines, scaled to [0,1] ) averaged over the ten tasks by wording. On the plain head (left) estimators are mostly flat with the wording; on the augmented head (right) every estimator but DECU rises as language ambiguity increases.
Figure 4: Runtime failure detection on robomimic and LIBERO-90. Timestep-wise accuracy (TWA), accuracy and normalized detection time (DT), averaged over tasks, with mean and standard deviation over five random seeds. CoMP uses our augmented head; post-hoc baselines use the plain head. The ensembles (hatched, two trained members) are a reference only. CoMP-UKF is comparable to or better than the baselines in both suites; Table 4 reports comparisons with both heads.
Figure 5: Data selection on LIBERO-10. Demonstrations needed to reach 90 % of random’s success at X=250 (top) and mean gain over random (bottom). CoMP uses the augmented head; post-hoc baselines use the plain head.
Post-hoc estimators
Ours
BayesDiff
DEUA
GU
DECU
VFD
CoMP-EKF
CoMP-UKF
Time (s)
π0.5
0.91
0.50
0.94
0.53
1.80
2.13
1.85
SmolVLA
0.98
0.54
0.99
0.59
1.11
10.98
3.38
Memory (GB)
π0.5
7.8
7.7
7.9
7.7
10.5
8.3
10.8
SmolVLA
1.4
1.3
1.3
1.3
1.9
1.9
4.6
Table 1: Inference cost at the settings of § 4.3 and § 4.4 . Wall time per decision and peak GPU memory on one A100 GPU for π0.5 on LIBERO-90 ( D=70 , 90 test episodes) and SmolVLA on LIBERO-10 ( D=350 , 379 demonstrations).
Appendix figures & tables15 assets
Supplementary material from the paper’s appendix.
Appendix
Estimator
Settings
Score U
Common setup for post-hoc estimators
Posterior
Kronecker-factored Laplace of the last layer, prior precision λ=1 ; plain head on ϕ , augmented head on ψ=(ϕ,c(o)) ; Σθ fixed during integration
Sampler
Euler integration with K=1 except for VFD; step counts, ablations and VFD candidate budgets are specified per experiment
BayesDiff ( Kou et al., 2024 )
Diagonal moment recursion ( 7 )–( 8 ); state-velocity cross-covariance estimated from S state particles per step
trPT
DEUA ( Huang et al., 2025 )
MAP sample re-noised to τ=0.98 , one moment step to τ=0.99 ( Δt=0.01 ); velocity variance over the M draws at that state
Δt2∑dVarθ[ud]
GU ( Jazbec et al., 2025 )
M draws plus the MAP member integrated to t=1 ; Gaussian entropy of the per-coordinate variance of the terminal state, floor σ02=10−8
21∑dlog(vard+σ02)+2D[1+log(2π)]
Appendix
Table 2: Settings of the uncertainty estimators. Baseline settings follow the released implementations, with adaptations to flow policies and experiment-specific sampling budgets. For each policy, we evaluate the post-hoc estimators with both the plain and augmented last-layer Laplace posteriors. K counts candidate chunks from independent initial noises per observation, M posterior weight draws (trained members for ensemble references), and S state particles; sampling budgets are given with each experiment.
Figure 6: Calibration with the augmented head on robomimic. All estimators use the augmented last-layer Laplace posterior. Bars show medians over 150 observation windows per task with bootstrap 95% intervals; dashed lines mark reference values estimated from the augmented posterior. Both BayesDiff variants have expert-action NLLs above 108 .
Figure 7: Ordering of the most and least uncertain observation windows on robomimic. Each estimator scores the ten observations per task ranked most uncertain (red) and the ten ranked least uncertain (blue) by a 6000 -draw ensemble reference at T=400 (i.e., 30 observations per group over the three tasks). The shaded bands mark the estimator’s own most and least uncertain observations, so a correctly ranked observation falls inside its band (filled) and an incorrectly ranked one outside it (hollow); percentages are the share of each group ranked correctly. BayesDiff mixes the two groups and reorders them across T , while CoMP keeps them apart and stable at every T .
Figure 8: The ten RoboLab tasks of § 4.2 . Initial scene of each task from the front camera view, with its default instruction; the study runs every task under three wordings (specific, default and vague) from the same scenes.
Task
Language instruction wording
Specific
Default
Vague
banana in bowl
Grasp the yellow banana and place it inside the red bowl on the table
Pick up the banana and place it in the bowl
Put the fruit in the bowl
pumpkin in bin
Identify the larger pumpkin of the two pumpkins on the table and place it in the bin
Put the bigger pumpkin in the bin
Put the big pumpkin away
bowl in bin
Pick up the bowl from the table and place it inside the grey bin
put the bowl in the grey bin
put away bowl
stack L on R
Pick up the bowl to the left of the robot and place it on top of the bowl to the right of the robot
Stack the left bowl on the right bowl
Stack the left bowl on the right
stack R on L
Pick up the bowl to the right of the robot and place it on top of the bowl to the left of the robot
Stack the right bowl on the left bowl
Stack the right bowl on the left
Appendix
Table 3: Instruction wordings for the ten RoboLab tasks. Each task is evaluated under specific, default and vague instructions from the same initial configuration in § 4.2 . Note how language instructions become more ambiguous from left to right.
Figure 9: RoboLab instruction shift, per task. Success rate (grey) and first-decision uncertainty (lines, min-max scaled to [0,1] per estimator and Laplace fit across tasks and wordings) for the ten tasks and three wordings, under the plain (top) and augmented (bottom) Laplace heads. With the augmented head, every estimator except DECU generally reports higher uncertainty as language instructions become more ambiguous, while the plain head remains mostly flat, highlighting the benefits of our augmented Laplace posterior.
Figure 10: BayesDiff’s response weakens with more integration steps. Success rate (grey) and first-decision uncertainty, averaged over the ten RoboLab tasks by wording, for BayesDiff, CoMP-EKF and CoMP-UKF at 10 Euler integration steps (as in Figure 3 ), 25 and 50 . On both Laplace heads, each CoMP variant’s response remains nearly unchanged as the number of integration steps increases, while BayesDiff’s response to instruction ambiguity becomes flatter.
Figure 11: Perturbations on robomimic. The nominal initial state of each task from the front camera (solid), with perturbed resets overlaid as ghosts: the target object displaced in the table plane (translucent) and the end effector displaced from its reset pose (blue). Walls and floor are removed for clarity. The object displacements on PickPlaceCan are shown for illustration only, as its sweep perturbs the end effector alone.
Figure 12: The nine LIBERO-90 tasks of § 4.3 . Initial scene and instruction of each task from the simulator’s front camera.
Post-hoc, single model
Trained ensembles
Task
Metric
BayesDiff
DECU
DEUA
GU
VFD
CoMP-EKF
CoMP-UKF
DECU-ens
VFD-ens
(ours)
(ours)
Plain head
can
TWA ↑
0.602 ± 0.049
0.721 ± 0.003
0.731 ± 0.006
0.729 ± 0.004
0.754 ± 0.001
0.722 ± 0.032
0.753 ± 0.002
0.777 ± 0.006
0.762 ± 0.002
Acc. ↑
0.677 ± 0.075
0.807 ± 0.004
0.813 ± 0.006
0.784 ± 0.005
0.838 ± 0.001
0.811 ± 0.038
0.839 ± 0.003
0.886 ± 0.011
0.862 ± 0.001
DT ↓
0.355 ± 0.057
0.260 ± 0.007
0.239 ± 0.011
0.138 ± 0.007
0.224 ± 0.003
0.271 ± 0.038
0.233 ± 0.011
0.226 ± 0.012
0.244 ± 0.004
Appendix
Table 4: Runtime failure detection on robomimic and LIBERO-90 with both Laplace heads. Timestep-wise accuracy, balanced accuracy and normalized detection time using the conformal threshold ( 33 ) with w=5 , as mean ± standard deviation over five sampling seeds. Rows show individual robomimic tasks, their average, and the average over nine LIBERO-90 tasks. All post-hoc estimators use the plain head (top) or our augmented head (bottom). The best post-hoc value in each row is bold and the second best underlined. Trained ensembles are references evaluated only on robomimic.
robomimic
LIBERO-90
Estimator
Evals.
TWA ↑
Acc. ↑
DT ↓
Evals.
TWA ↑
Acc. ↑
DT ↓
Posterior ensemble, Uendpoint
225
0.648 ± 0.002
0.772 ± 0.002
0.332 ± 0.003
141
0.611 ± 0.005
0.763 ± 0.011
0.529 ± 0.010
CoMP-EKF (ours)
112
0.639 ± 0.007
0.760 ± 0.012
0.361 ± 0.030
70
0.575 ± 0.015
0.679 ± 0.021
0.557 ± 0.028
CoMP-UKF (ours)
225
0.648 ± 0.001
0.773 ± 0.001
0.329 ± 0.002
141
0.643 ± 0.005
0.794 ± 0.005
0.474 ± 0.014
Appendix
Table 5: Compute-matched comparison with a posterior ensemble. An ensemble of size M=2D+1 drawn from the augmented Laplace posterior and scored with Uendpoint , against CoMP-EKF and CoMP-UKF. Metrics and protocol follow Table 4 , averaged over tasks, as mean ± standard deviation over five sampling seeds. Evals. gives the number of model evaluations per Euler step; for CoMP-EKF these are backward passes. The best value in each column is bold.
Figure 13: The ten LIBERO-10 tasks of § 4.4 . Initial scene and instruction of each task from the simulator’s front camera.
Figure 14: Effect of augmented Laplace head on data selection. Demonstrations needed to reach 90% of random selection’s mean success at X=250 (left; lower is better) and mean gain over random across budgets (right; higher is better), on all ten LIBERO-10 tasks. Paired bars compare plain and augmented heads for every estimator, with mean and standard deviation over five pre-trained policies. Horizontal lines mark random selection and two-member VFD. Overall, our augmented Laplace head improves both metrics for every estimator, with CoMP-UKF and several baselines exceeding the two-member VFD ensemble’s mean gain using only one policy.
Figure 15: Data selection on LIBERO-10, per estimator. Success rate after fine-tuning on the ten LIBERO-10 tasks against the number of selected demonstrations X , for every estimator on the plain head (dashed) and on the augmented head (solid), with random selection and the two-member VFD as references; mean and standard deviation over five pre-trained policies. On the plain Laplace head every estimator tracks random selection; our augmented head brings most estimators above random selection, with several also surpassing the two-member VFD.
Metric
Steps
BayesDiff
CoMP-EKF
CoMP-UKF
(ours)
(ours)
Plain head
Gain over random (pp) ↑
10
+1.3 ± 3.2
-1.0 ± 2.1
0.0 ± 2.9
25
-2.6 ± 4.3
-0.5 ± 3.8
+0.4 ± 3.2
50
-3.8 ± 5.4
-0.6 ± 2.9
+1.1 ± 2.8
Demos to 90% of random ↓
10
113 ± 43
135 ± 15
134 ± 44
Appendix
Table 6: BayesDiff’s data selection weakens as integration steps increase. Average gain over random selection (pp) and demonstrations needed to reach 90% of random selection’s mean success at X=250 on the ten LIBERO-10 tasks. Selection scores use 10 , 25 or 50 Euler integration steps; the fine-tuning protocol is fixed and evaluation always uses 10 integration steps. Mean and standard deviation over five pre-trained policies, with the plain (top) and augmented Laplace head (bottom). The best value in each row is bold and the second best underlined. BayesDiff’s gain declines as integration steps increase, while CoMP-UKF retains its gain with our augmented head.
Robots must generate trajectories that remain faithful to learned expert behavior while satisfying safety constraints and task-specific objectives specified only at inference time. We formulate constrained trajectory generation for pretrained diffusion and flow-matching policies as Bayesian posterior sampling, with the learned demonstration distribution as a prior and an inference-time, cost-derived likelihood tilting it toward feasible, optimal trajectories. To sample from this posterior without any retraining of the base policy, we leverage the Feynman--Kac corrector framework, originally formulated for diffusion models, and extend it to deterministic flow-matching policies. The result is a unified, inference-time, retraining-free sampler for diffusion and flow policies. We validate the approach on pretrained Diffusion Policy, GR00T-N1.6, and π0.5 checkpoints across simulated and real-world manipulation tasks, including planning around non-convex obstacles introduced at inference time, and show improvements over the base π0.5 on zero-shot tasks.
Sreevardhan Sirigiri, Weiming Zhi, Fabio Ramos
School of Computer Science, The University of Sydney, Australia · Australian Centre For Robotics, The University of Sydney, Australia · College of Connected Computing, Vanderbilt University, TN, USA. +1
Diffusion models can represent complex, multimodal trajectory distributions, but extracting uncertainty from them typically requires costly Monte Carlo sampling. This limits their use in real-time control, where robots must rapidly assess risk and maintain safety margins. We introduce Score-Curvature for Online Precision Estimation (SCOPE), a lightweight module that augments diffusion trajectory models with control-ready uncertainty. SCOPE learns a structured precision matrix around each nominal trajectory by distilling score-curvature information and producing calibrated Gaussian tubes with low overhead and without repeated Monte Carlo sampling. These tubes provide per-timestep covariance estimates that can be used both as predicted occupancy for moving agents and as adaptive exploration guides for robot control. We evaluate SCOPE with mode-conditioned multimodal diffusion backbones in pedestrian forecasting, crowd navigation, Maze2D control, and real-world Franka Panda manipulation. Across these settings, SCOPE provides fast uncertainty estimation, which leads to better closed-loop performance. Project page: https://zackaxue.github.io/SCOPE-project-page/
Zhiwei Xue, Jia Yue Kam, Jinhang Qiu +5
National University of Singapore. · LAAS-CNRS. · Smart Systems Institute, NUS.
Generative vision-language-action policies have advanced robot manipulation, but they often exhibit instability under noise, partial observability, and stochastic initial conditions. During extended rollouts, small velocity errors accumulate, degrading execution reliability. Existing diffusion and flow-based policies typically assume homoscedastic residuals and lack explicit uncertainty modeling within action generation, limiting robustness during iterative rollout. We propose SUREFlow, a state-space uncertainty-aware residual flow matching framework built on a Mamba backbone. The method jointly predicts action velocities and input-dependent residual uncertainty, enabling selective refinement of unreliable action dimensions without environment feedback while preserving computational efficiency. On LIBERO, SUREFlow achieves 92.5% average success rate (SR), outperforming the Mamba-based MaIL by 34.2%. On LIBERO-PRO, it attains around 49% SR using only 179M parameters, achieving performance comparable to large VLAs with 3-7B parameters. SUREFlow source code is available on: https://github.com/tanvirnwu/SUREFlow
Md Tanvir Islam, Sai Navaneet Peddapalli, Sangmoon Lee +1
School of Electronic and Electrical Engineering, Kyungpook National University, Daegu 41566, Republic of Korea