Coherent Moment
Propagation

Epistemic uncertainty for pre-trained robot policies.

CoMP extracts epistemic uncertainty from a single pre-trained flow matching policy
using moment recursions derived from a linearized ODE sampler.

PaperPDF CodeComing soon
EPISTEMIC UNCERTAINTYInteractive illustration

Same initial noise
Different weights, different actions

Uncertainty in the policy’s weights produces different action trajectories, even from the same initial noise. Their spread reflects epistemic uncertainty.

Mostly familiar
More training supportLess training support
ROBOLAB01 / 10
CoMP-UKFMeasured uncertainty
Instruction

Uncertainty estimator

Compare BayesDiff at 10 and 50 integration steps: its reported uncertainty shrinks as the solver is refined.

Epistemic uncertainty0Decision 1
Raw valuesDrag the plot to scrub0:00 / 0:00
0 · Lower428.5 · Higher

Explore full RoboLab episodes under three instruction wordings. Select CoMP-UKF or either BayesDiff setting to follow its measured epistemic uncertainty. The left animation illustrates the concept of epistemic uncertainty in flow matching policies: different plausible weights generate different actions from the same initial noise.

CoMP at a glance

One pre-trained policy

Estimate uncertainty from a policy you already have.

Two CoMP estimators

CoMP-EKF and CoMP-UKF are derived from a linearized ODE sampler.

Evaluated in three manipulation benchmarks

robomimic, LIBERO and RoboLab.

No policy retraining

Fit a weight posterior while preserving the policy’s action predictions.

The problem

Why a more accurate solver can report less uncertainty

A more accurate solver
Collapsing uncertainty

Reliable epistemic uncertainty helps robot policies anticipate failures and select demonstrations for fine-tuning on new tasks. To quantify this uncertainty in diffusion models, BayesDiff introduced Bayesian moment propagation, carrying the state’s mean and variance through the sampling chain. However, it ignores the dependence between the state and the sampled weights that generate it. We prove that, under standard regularity assumptions, its reported total variance has an O(1/T) upper bound for T Euler steps. Finer integration therefore drives its uncertainty estimates towards zero even as numerical accuracy improves, a phenomenon we call variance collapse.

Refine the solver and watch BayesDiff’s variance shrink

10Euler steps
BayesDiff State-weight dependence omitted
CoMP-UKF State-weight dependence retained
2σ covariance contoursPosterior referencePosterior samples
Total variance0.00389921.72% of ground-truth reference
Total variance0.018012100.33% of ground-truth reference

Posterior reference total variance at this grid: 0.017953

Solid contours show each estimator’s covariance; dashed contours show the ground truth covariance. Both panels use the same scale.

Paper: Section 3 · Figure 1 · Appendix A.1

THE KEY OBSERVATION

The same sampled weights influence the state at every integration step.
That dependence needs to be propagated through the ODE solver.

The method

From a pre-trained flow model to calibrated epistemic uncertainty

Propagate state-weight
cross-covariance

We propose CoMP, which retains state-weight cross-covariance through moment recursions derived from a jointly linearized ODE sampler. Under the same regularity assumptions used for BayesDiff, we prove an O(1) upper bound on total variance for this linearized recursion, independent of the number of integration steps. Our proposed estimators, CoMP-EKF and CoMP-UKF, provide two practical ways to propagate these moments.

HOW CoMP WORKSSelect a step to explore

The ODE state x evolves from noise to a generated sample; θ denotes the last-layer weights. For a robot policy, the sample is an action chunk. At step i of T Euler steps, CoMP carries:

mi
State mean
Pi
State covariance
Ci = Cov(xi, θ)
State-weight cross-covariance
Σθ
Fixed weight covariance
3. Propagate

Map weight uncertainty to state uncertainty

Update the state mean, covariance and state-weight cross-covariance together. CoMP-EKF uses a local linearization; CoMP-UKF passes deterministic sigma points through the nonlinear Euler map. Both retain the dependence on the same uncertain weights across steps.

Ci+1 = Ai Ci + Bi ΣθAt step i, Ai is the local affine state map and Bi is the Euler step’s weight Jacobian. Ai transports the existing cross-covariance Ci; BiΣθ adds the dependence created by this step.

Paper: Section 3 · Appendices A.3 and A.4 for the augmented posterior and moment updates

Our contributions

ESTIMATOR 1

CoMP-EKF

Uses the state Jacobian to propagate a local linear approximation of the flow.

ESTIMATOR 2

CoMP-UKF

Passes deterministic sigma points through the network, capturing nonlinear effects beyond a local linearization.

LAPLACE EXTENSION

Our augmented
Laplace posterior

Append the policy’s existing image, language and proprioception embeddings to the last layer. The added features improve uncertainty estimates without retraining or changing MAP action predictions.

CoMP-UKF pseudocode

One coherent pass through the ODE

Paper: Appendix A.4, Algorithm 2

Start with an initial noise sample x0, a fixed weight covariance Σθ, and the velocity field uθMAP evaluated at the pre-trained weights. Use T Euler steps of size Δt = 1/T, at times ti = iΔt.

Initializem0 = x0,   P0 = 0,   C0 = 0
For each integration step i = 0, …, T − 1
  1. Represent the state uncertainty

    Construct 2D + 1 sigma points χj that represent the state mean mi and covariance Pi. Here D is the state dimension; wj(m) and wj(c) are the unscented transform’s mean and covariance weights.

  2. Pass the points through the nonlinear Euler map

    yj = χj + Δt uθMAP(χj, ti)
    ȳ = ∑j wj(m) yj

    The propagated points give the next mean ȳ, the transported covariance Σiyy, and the input-output cross-covariance Σixy:

    Σiyy = ∑j wj(c) (yj − ȳ)(yj − ȳ)ᵀ
    Σixy = ∑j wj(c) (χj − mi)(yj − ȳ)ᵀ
  3. Compute the state and weight sensitivities

    Find the affine state map Ai from the sigma points by solving

    (Pi + εiI) Aiᵀ = Σixy

    Here I is the identity and εi > 0 regularizes the solve, including at P0 = 0. Compute the weight sensitivity Bi = Δt Jiθ analytically for the linear last layer, where Jiθ is the velocity’s weight Jacobian at (mi, ti, θMAP). No weight sigma points are needed.

  4. Update all three moments together

    mi+1 = ȳ
    Ci+1 = AiCi + BiΣθ
    Pi+1 = Σiyy + AiCiBiᵀ + BiCiᵀAiᵀ + BiΣθBiᵀ

    The highlighted terms retain state-weight dependence. Both covariance updates use Ci from the current step.

ReturnThe Gaussian approximation with mean mT and covariance PT.
More mathematical details

A single posterior weight draw shapes the action trajectory while the ODE is being solved. To keep this dependence, CoMP carries C = Cov(x, θ), alongside the state covariance P and weight covariance Σθ. Linearizing an Euler step about the state mean and MAP weights gives a closed-form update for the state covariance:

P′ = A P Aᵀ + A C Bᵀ + B Cᵀ Aᵀ + B Σθ Bᵀ

Here the prime denotes the next step. A and B are the Euler update’s Jacobians with respect to the state and weights; step indices are omitted for readability. The highlighted cross terms couple uncertainty already in the state to the same weights acting at the next step. CoMP-UKF retains these cross terms, using sigma points to estimate the transported covariance and the affine state map.

Under standard regularity assumptions, BayesDiff’s total variance has an O(1/T) upper bound for T Euler steps. Carrying the cross-covariance gives CoMP’s linearized recursion an upper bound independent of T.

Paper: Section 3 · Appendices A.1 and A.2 for the proofs

See how CoMP recovers covariance
CoMP-EKF and CoMP-UKF closely recover posterior variance and pairwise structure on three robomimic tasks, while BayesDiff underestimates variance even with full covariance.
On robomimic, both CoMP variants recover reference variance to within 0.2% and variogram discrepancy to within 10%, while BayesDiff underestimates variance even with full covariance. Dashed lines mark the posterior reference for the first two panels; lower expert-action NLL is better. Medians and bootstrap 95% intervals over 150 observations per task.Paper: Section 4.1 · Appendix A.7

Evaluation

Applications and experiments on robot policies

1. Responding to the input observation

Same scene
Different levels of
language ambiguity

As instructions become more ambiguous and task success declines, epistemic uncertainty should rise. On RoboLab, the plain Laplace head barely responds to these changes. Our augmented Laplace head makes uncertainty estimators more responsive to language ambiguity by reusing observation embeddings the policy already computes.

RoboLab banana and bowl task
RoboLab Task illustration
“Grasp the yellow banana and place it inside the red bowl on the table”

Does uncertainty respond?

CoMP-UKF
Plain head0.00
Our augmented head0.00
Observed task success0%

Relative uncertainty scores, scaled between 0 and 1 for each head across all tasks and wordings.

We evaluate uncertainty at the first observation of each rollout, keeping images and proprioception fixed across wordings to isolate changes in language conditioning. Values are medians over 80 held-out rollouts per task and wording.Paper: Section 4.2 · Appendix A.8

All estimators, averaged over the ten tasks
Mean success rates and normalized uncertainty across instruction wordings, comparing plain and augmented heads.
The augmented head strengthens the response to language ambiguity for every estimator except DECU in this study. However, our augmented head does not prevent BayesDiff’s variance collapse: its response to language ambiguity weakens with more Euler steps.Paper: Appendix A.8 · Euler-step ablation
2. Failure prediction

Predicting failures
before they occur

Our uncertainty estimators can warn that a rollout is likely to fail before it ends. A useful alarm flags a failing rollout early, leaving time to intervene. Each method raises an alarm when its score crosses a calibrated threshold.

Explore selected success and failure examples. Play or scrub a rollout to follow each estimator’s uncertainty and first alarm. All methods score the same recorded policy observations; changing the estimator keeps the video fixed.Paper: Section 4.3 · Appendix A.9

Across both benchmarks

Our method is stronger than BayesDiff
and competitive with other post-hoc estimators

CoMP-UKF improves failure detection over BayesDiff and matches or exceeds several post-hoc uncertainty estimators. Timestep-wise accuracy rewards correct detections made early in a rollout.

Means and standard deviations for timestep-wise accuracy, balanced accuracy and normalized detection time on robomimic and LIBERO-90, comparing all post-hoc estimators and two trained-ensemble references.
Higher accuracy and lower detection time are better. Mean and standard deviation over five sampling seeds. CoMP uses the augmented head; post-hoc baselines use the plain head. Hatched bars are trained-ensemble references, evaluated on robomimic. CoMP-EKF is less effective on LIBERO-90.
3. Learning from fewer demonstrations

Choose what’s worth
learning from

Use the pre-trained policy’s uncertainty to select demonstrations for data-efficient adaptation to new tasks. On LIBERO-10, CoMP-UKF reaches the target success rate with fewer demonstrations and achieves the largest mean gain in the main comparison.

+3.5pp

mean success-rate gain
over random selection

Averaged across budgets and all ten tasks, over five trained policies. CoMP uses the augmented head; post-hoc baselines use the plain head. CoMP-EKF shows little benefit, possibly because its local linearization misses nonlinear effects captured by CoMP-UKF’s unscented transform.

Demonstrations required to reach a target success rate and mean gain over random selection on LIBERO-10.
Target: 90% of random selection’s success at 250 demonstrations. Means and standard deviations over five policies; fewer demonstrations and larger gains are better.Paper: Section 4.4 · Appendix A.10