TL;DR
Diffusion models are great at generating complex robotic actions from static datasets, but their step-by-step denoising paths often wander into uncharted territory where value estimates fail. This paper introduces Trajectory Consistency Rectification (TCR), a method that stabilizes the entire denoising journey rather than just hoping the final step lands somewhere safe. The result is a dramatically more reliable policy that can also be distilled into a blazing-fast, single-step controller that frequently outsmarts its multi-step teacher.
What Problem Does This Paper Address?
Imagine learning to drive solely by watching dashcam videos—no touching the wheel allowed. That is offline reinforcement learning (RL). Because you can't test new actions in the real world, your internal "critic" (the neural network estimating how good an action is) gets wildly overconfident and inaccurate if you stray too far from behaviors seen in the dataset—a classic trap known as extrapolation error.
Recently, diffusion policies—which generate actions by iteratively refining pure Gaussian noise—have become stars in offline RL because they effortlessly capture complex, multimodal behaviors (e.g., going either left or right around an obstacle, rather than averaging the two and crashing straight into it).
However, standard diffusion trains each denoising step in isolation. The authors discover that during generation, intermediate action estimates often jitter wildly, drifting into poorly supported, "out-of-distribution" zones. When the trajectory is unstable, the critic gets fooled by bad outliers, ruining final action selection. Worse yet, if you try to compress (distill) this jittery multi-step teacher into a fast one-step model for real-time robotics, that instability poisons the student.
Methods
Instead of only evaluating the final denoised output, the authors look at the entire denoising trajectory—reconstructing a clean action estimate at every intermediate step $t$—and stabilize it using Trajectory Consistency Rectification (TCR).
TCR introduces two novel mechanisms on top of standard noise-predicting diffusion:
- Action Consistency Rectification (Training): Standard diffusion weights every denoising step uniformly or via a fixed schedule. TCR adds a lightweight neural network that looks at the current state, noisy action, and timestep, and dynamically reweights the training loss across the batch (with a log-regularization term so weights don't collapse to zero). This forces the policy to focus its capacity on coherent, reliable segments of the denoising path.
- Trajectory Consistency Voting (Inference): Rather than blindly trusting step $0$, TCR evaluates all intermediate action predictions. Each candidate is scored on two normalized criteria: local agreement (measured via a Gaussian kernel comparing it to neighboring steps within a local time window) and action quality (its min-max normalized Q-value from a standard critic). The candidate with the highest combined score wins the vote.
- One-Step Flow-Matching Distillation: To eliminate slow iterative sampling, the authors train a single-step flow-matching student network to directly predict TCR's trajectory-voted actions from initial noise.
Datasets
The authors evaluate TCR on two established offline RL benchmark suites (no new datasets are introduced):
- D4RL: The standard testing ground for offline RL, spanning continuous locomotion (HalfCheetah, Hopper, Walker2d across mixed-quality datasets), sparse-reward navigation (AntMaze), and dexterous hand manipulation (Adroit).
- OGBench: A newer, tougher benchmark featuring complex dynamics across giant mazes (AntMaze, HumanoidMaze), robotic manipulation (Cube, Scene), and high-dimensional Puzzles.
Key Insights and Ideas
- Stability beats strict monotonicity: An effective diffusion policy doesn't need every single denoising step to be strictly better than the last. What matters is suppressing wild fluctuations so candidates stay anchored in data-supported regions where the critic actually knows what it's talking about.
- Temporal consensus is a free outlier filter: Requiring an action candidate to both score high with the critic and agree with its temporal neighbors naturally filters out "adversarial" outliers that exploit critic blind spots—all without needing explicit, expensive density estimation.
- The student surpasses the teacher: Distilling TCR into a one-step policy doesn't just speed things up; the student routinely beats the multi-step teacher (improving Adroit averages from 55.9 to 60.4). Learning from trajectory-voted targets effectively "purifies" the supervision, smoothing away residual stochastic noise.
Key Results
TCR delivers substantial improvements across the board, particularly on messy, mixed-quality, and sparse-reward tasks:
- D4RL: The distilled TCR policy hits a 94.3 average on Gym locomotion (vs. 63.0 for standard Diffusion Policy and 87.1 for SRPO), 54.6 on Adroit (vs. 44.2 for DP), and 94.5 on AntMaze—a massive leap over standard DP's 31.0 and FQL's 84.8.
- OGBench: TCR takes AntMaze (Large) from 2 to 96, Scene (Single) from 4 to 88, and Puzzle ($4\times 4$) from 2 to 40 compared to standard DP.
- Stability & Speed: Over the final 50 denoising steps, TCR cuts the standard deviation of success rates from 0.1157 to 0.0884. At batch size 256, full TCR adds negligible inference overhead (8.467 ms to 8.665 ms), while the distilled one-step student runs in 0.208 ms—a 40.72$\times$ speedup.
Limitations and Future Work
The authors note that their theoretical analysis framing TCR as support regularization relies on simplifying assumptions and stops short of providing a general convergence guarantee. No specific future work directions are discussed in the main text.
Summary updated