Denoising-based Contractive Imitation Learning

Macheng Shen, Jishen Peng, Zefang HuangarXiv 2025 · DOI

Introduction

Imitation Learning (IL) allows agents to acquire complex behaviors by mimicking expert demonstrations. However, the standard approach, Behavioral Cloning (BC), frequently suffers from covariate shift. Small execution errors accumulate over time, leading the agent into states not covered by the training data—a phenomenon known as compounding errors. DeCIL (Denoising-based Contractive Imitation Learning) addresses this by introducing a denoising mechanism that treats state transitions as local contraction mappings, effectively "pulling" the agent back toward the expert's path whenever it begins to drift.

Methodology

DeCIL utilizes a two-network architecture to ensure stability:

  1. Dynamics Model ($f$): A standard network that predicts a raw next state $\hat{x}_{t+1}$ based on the current state $x_t$.
  2. Denoising Policy Network ($d$): This network takes the predicted next state, "denoises" it to find a refined next state, and simultaneously outputs the optimal action to reach it.

The denoising network is trained to reconstruct original states from noisy inputs. This objective forces the network to act as a local contraction mapping, reducing the Lipschitz constant of the state transition. Consequently, small perturbations in the input result in even smaller deviations in the output, stabilizing the agent's trajectory.

The denoising network acts as a stabilizing force, pulling the agent's trajectory back toward the expert manifold and preventing drift.

Experimental Evaluation

The researchers evaluated DeCIL across several challenging benchmarks:

  • Intersection Environment: A low-dimensional simulation where a robot navigates dynamic traffic.
  • MetaWorld: High-dimensional robotic manipulation tasks including Button Press, Drawer Close, and Coffee Pull. These tasks are particularly sensitive to noise and require precise control.

Key Insights

  • Denoising as a Geometric Tool: By mapping noisy states back to the clean manifold, DeCIL creates a "gravity-well" effect toward expert data.
  • Sensitivity Reduction: The "Sensitivity Ratio" (measuring noise dampening relative to standard BC) remains consistently below 1.0 for DeCIL, confirming that the method actively suppresses error propagation.
  • Scalability: Unlike other stability-focused methods that require complex Jacobian calculations, DeCIL relies on a simple reconstruction loss, making it computationally efficient for high-dimensional robotics.

Results

DeCIL demonstrates superior robustness in noisy environments. In MetaWorld tasks like Button Press and Drawer Close, DeCIL maintains high success rates even as state noise increases, whereas baseline methods' performance degrades rapidly as soon as noise is introduced.

Performance comparison on MetaWorld tasks. DeCIL (orange) maintains high rewards and success rates as noise increases, significantly outperforming the joint state-action baseline (blue).

In low-data regimes (e.g., only 2-10 expert trajectories), DeCIL remains competitive with state-of-the-art methods like Stable-BC and MOReL. Ablation studies confirmed that the denoising objective is the critical component for this observed stability; a baseline that jointly predicted state and action without the denoising objective failed to achieve the same results.

Conclusion and Future Work

DeCIL provides a simple yet effective framework for stabilizing imitation learning through contractive denoising. While highly effective for noise-sensitive tasks, its benefits are less pronounced in inherently stable environments where simple BC suffices. Future research will explore applying DeCIL to raw visual inputs (like camera images) and broader sequential decision-making problems beyond the robotics domain.

Summary updated

BibTeX
@misc{shen2025denoising,
  author = {Macheng Shen and Jishen Peng and Zefang Huang},
  title = {{Denoising-based Contractive Imitation Learning}},
  year = {2025},
  eprint = {2503.15918},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2503.15918},
}
Figure