Research
Contractive Diffusion Policies: Robust Action Diffusion via Contractive Score-Based Sampling with Differential Equations
Overview Research area: Offline reinforcement learning and imitation learning with diffusion policies; specifically, the dynamical-systems behavior of the reverse diffusion (score-based) sampling proc
- arXiv
- 2601.01003
- Published
- 2026-01-02
- Authors
- Amin Abyaneh, Charlotte Morissette, Mohamad H. Danesh, Anas El Houssaini, David Meger, Gregory Dudek, Hsiu-Chin Lin
AI summary
Overview
Research area: Offline reinforcement learning and imitation learning with diffusion policies; specifically, the dynamical-systems behavior of the reverse diffusion (score-based) sampling process in continuous control.
Technical level: Advanced. The paper builds on stochastic differential equations (SDEs), probability-flow ODEs, score matching, and contraction theory (Jacobians, eigenvalues, logarithmic norms), and it assumes comfort with differential equations and offline RL literature.
Scope: The paper introduces Contractive Diffusion Policies (CDP), a training-time penalty that induces contraction in the reverse diffusion ODE used to generate robot actions, and evaluates it on D4RL, Robomimic, and physical robot manipulation tasks.
What This Paper Is About
Diffusion policies generate actions by starting from noise and iteratively denoising it along a reverse diffusion stochastic differential equation, guided by a learned score function. This process is powerful but fragile: errors in the learned score, discretization errors from finite-step ODE solvers, and numerical integration errors compound across denoising steps, and the same state can yield inconsistent actions. The paper's goal is to make this sampling process self-correcting by encouraging contraction — a property from contraction theory where nearby trajectories are pulled together over time, so small perturbations in the initial noise are forgotten rather than amplified.
Key Contributions
-
A theoretical analysis of contraction in the reverse diffusion ODE. The authors derive the Jacobian of the reverse diffusion ODE with respect to actions, showing it decomposes into a drift term
f(t)I(fixed by the forward process schedule) and a score-Jacobian termh(t)J_{ε_θ}(the only trainable part). Theorem 3.1 states that the ODE is contractive if and only if the largest eigenvalue of the symmetric score Jacobian satisfiesλ_max(J_sym^{ε_θ}) < -f(t)h(t)^{-1}for allt ∈ [0,1]. Corollary 3.1.1 bounds how much two action flows can diverge as a function of that eigenvalue integral, giving a formal sensitivity-to-initial-seed bound. -
A practical, low-cost training recipe. Instead of penalizing the largest eigenvalue directly (which is expensive and could cause mode collapse), the authors approximate it with power iteration (Lemma 3.1), needing only
K = 3 or 4iterations and a single Jacobian-vector product per step. The contraction loss has two formulations: a hinge-stylemax(-β, λ̂_max(J_sym^{ε_θ}) + f(t)h(t)^{-1})and a Frobenius-norm alternative‖J_sym^{ε_θ} + βI‖_Frob, whereβ > 0is a margin preventing over-contraction. -
A single-hyperparameter integration into existing architectures. The full training loss adds
γ · L_c(θ)to the standard score-matching loss. The contraction term is computed from the diffusion ODE itself, so it is independent of the choice of policy-learning method; the authors build on EDP for offline RL and DBC for imitation learning. -
Extensive empirical validation in simulation and the physical world. Experiments cover D4RL (MuJoCo, Franka Kitchen, Antmaze), Robomimic (Lift, Can, Square, Transport with both low-dimensional and image observations), standard and "partial" (low-data) dataset versions, real robot manipulation, and a 2D toy task.
Main Findings
-
CDP leads the D4RL offline RL average. Reported normalized episode return averaged over all environments: BC 35.1 ± 2.9, IQL 54.9 ± 4.5, DQL 58.8 ± 3.6, EDP 61.2 ± 2.6, IDQL 60.3 ± 2.3, and CDP 65.7 ± 2.2 (higher is better).
-
Gains are not universal. CDP is not best everywhere: on D4RL Medium Expert Walker2D, EDP reports 109.8 ± 0.4 versus CDP 109.4 ± 0.6; on Medium HalfCheetah, DQL reports 49.1 ± 2.1 versus CDP 46.0 ± 0.2; on Medium Replay HalfCheetah, DQL reports 47.8 ± 0.6 versus CDP 43.9 ± 0.2; on Antmaze Medium Play, DQL reports 21.9 ± 1.6 versus CDP 20.4 ± 6.7. The authors describe performance as "modest in some environments" with "substantial benefits in others."
-
Strongest gains appear on harder, more multimodal tasks. CDP is best on the D4RL Complete Franka Kitchen (51.0 ± 1.7 versus DQL 35.7 ± 6.2), Partial Franka Kitchen (48.7 ± 1.9 versus IDQL 49.0 ± 2.5 as the top reported value, with CDP second), Antmaze Medium Diverse (31.8 ± 8.5 versus EDP 25.6 ± 10.9), and Medium Replay Hopper (63.5 ± 4.1 versus EDP 55.1 ± 3.5).
-
Computational overhead is moderate. Training time per 100k steps: BC 3115 ± 12 s, IQL 3742 ± 36 s, DQL 12822 ± 164 s, EDP 4594 ± 43 s, IDQL 6250 ± 35 s, CDP 5236 ± 71 s. CDP is slower than EDP but roughly 2.4x faster than DQL.
-
Robomimic imitation learning: CDP variants are competitive-to-best. For low-dimensional observations, CDP-Unet reaches 1.00 ± 0.08 on Can-L versus DP-Unet 0.98 ± 0.13, and 0.83 ± 0.04 on Square-L versus DP-Unet 0.80 ± 0.08; CDP-Unet reaches 0.81 ± 0.06 on Transport-L versus DP-Unet 0.74 ± 0.03. For image observations, CDP-DiT and CDP-Unet both reach 1.00 on Lift-H and Can-H (reported intervals 1.00 ± 0.04 and 1.00 ± 0.07 for CDP-DiT; 1.00 ± 0.03 and 1.00 ± 0.12 for CDP-Unet). On Square-L, CDP-DiT (0.56 ± 0.10) and CDP-Unet (0.83 ± 0.04) differ sharply, and DBC-DiT reports 0.57 ± 0.11.
-
Benefits are pronounced under data scarcity. The paper states that CDPs "often outperform baseline policies, with pronounced benefits under data scarcity," and evaluates on partial versions of the D4RL and Robomimic datasets. Quantitative real-world robot results are not reported in the provided excerpt.
-
Contraction concentrates actions near modes without collapsing them. The 2D toy experiment (Figure 3) shows CDP actions concentrating near the mean of distinct action modes, with signs of mitigating solver and score-matching drift while preserving mode separation.
-
Hyperparameter sensitivity is limited. Other than the contraction weight
γ, results are not highly sensitive to hyperparameters.γis tuned by choosing the best from{0.001, 0.01, …, 100}, and is directly set toγ = 0.1.
Methodology in Plain English
The authors reframe the reverse diffusion process used to generate actions as an ordinary differential equation (ODE) with a drift part and a score part. They then ask: when is this ODE "contracting" — that is, when do two nearby action trajectories converge instead of diverging? Using the Jacobian of the ODE, they show that the drift part is typically contracting on its own, but the score network's Jacobian can locally push trajectories apart. The condition for overall contraction depends only on the largest eigenvalue of the symmetric part of the score Jacobian, so constraining that eigenvalue during training makes the sampling dynamics robust.
Directly computing all eigenvalues is expensive, so they use power iteration to estimate just the largest one with 3–4 iterations of a Jacobian-vector product. That estimate feeds a penalty term added to the ordinary score-matching (denoising) loss, weighted by a single hyperparameter γ. A margin β keeps the penalty from pushing the Jacobian to extreme negative curvature, which would collapse the action distribution. Because the penalty is computed purely from the diffusion ODE, it drops into existing diffusion policy pipelines: an offline RL method (EDP) and an imitation learning method (DBC). At deployment the policy is frozen and actions are generated by standard ODE sampling.
Why This Matters
-
Impact on research: The paper connects contraction theory to score-based generative models for control, providing a formal condition (Theorem 3.1) and sensitivity bound (Corollary 3.1.1) rather than an ad hoc regularizer. It also argues that prior contraction work (e.g., contractive diffusion probabilistic models) enforces contraction globally, which may reduce diversity, whereas CDP enforces it locally to preserve separated modes.
-
Robotic manipulation: Diffusion policies power tabletop manipulation; robustness against solver and score errors matters when deviations from the data distribution compound into unsafe behavior on physical hardware.
-
Low-data settings: Because CDP shows the largest gains on partial datasets, it is relevant where collecting expert demonstrations is expensive, such as surgical robotics, field robotics, or industrial assembly.
-
Safety-critical control: The bounded-variance result speaks to consistency of action generation for the same state, which matters for autonomous vehicles, drones, and any system where jitter in control output is a hazard.
-
Practical adoption: A single hyperparameter
γand a modest training-time cost make the method attractive for teams already running diffusion policy codebases such as DP, DBC, or EDP. -
Industry relevance: Any organization training imitation- or offline-RL-based manipulation policies on limited demonstration data can apply this as a training-time regularizer with minimal code change and no change to the deployment-time inference procedure.
Future Directions
- Reducing the remaining overhead. CDP training time (5236 ± 71 s per 100k steps) sits above EDP (4594 ± 43 s); more efficient Jacobian penalties or cheaper eigenvalue estimates could close this gap.
- Explaining where CDP fails. Results on Medium Replay HalfCheetah and Antmaze Medium Play trail DQL, so characterizing when contraction hurts — and whether
γneeds per-task tuning despite the paper's claim of low sensitivity — remains open. - Extending beyond EDP and DBC backbones. The recipe is described as method-agnostic; testing it on DQL, IDQL, hierarchical diffusion approaches, and 3D/language-conditioned policies (e.g., 3D-aware variants) would test that claim.
- Standardizing evaluation under data scarcity. The paper highlights low-data regimes as the main benefit, but only partial Robomimic results appear in the provided excerpt; broader low-data studies and more extensive physical-robot evaluation would strengthen the evidence.
Target Audience
Researchers and practitioners working on diffusion policies, offline reinforcement learning, and imitation learning for robotics; readers with a background in stochastic differential equations, score-based generative modeling, or contraction theory. It will also interest engineers seeking a low-modification regularizer to improve action consistency in deployed manipulation policies, though the theoretical sections require graduate-level familiarity with dynamical systems and ODE analysis.
Authors’ abstract
Diffusion policies have emerged as powerful generative models for offline policy learning, whose sampling process can be rigorously characterized by a score function guiding a stochastic differential equation (SDE). However, the same score-based SDE modeling that grants diffusion policies the flexibility to learn diverse behavior also incurs solver and score-matching errors, large data requirements, and inconsistencies in action generation. While less critical in image generation, these inaccuracies compound and lead to failure in continuous control settings. We introduce contractive diffusion policies (CDPs) to induce contractive behavior in the diffusion sampling dynamics. Contraction pulls nearby flows closer to enhance robustness against solver and score-matching errors while reducing unwanted action variance. We develop an in-depth theoretical analysis along with a practical implementation recipe to incorporate CDPs into existing diffusion policy architectures with minimal modification and computational cost. We evaluate CDPs for offline learning by conducting extensive experiments in simulation and real-world settings. Across benchmarks, CDPs often outperform baseline policies, with pronounced benefits under data scarcity.