Abstract
Robust learning from noisy demonstrations is a practical but highly challenging problem in imitation learning. In this paper, we first theoretically show that robust imitation learning can be achieved by optimizing a classification risk with a symmetric loss. Based on this theoretical finding, we then propose a new imitation learning method, RIL-Co (Robust Imitation Learning with Co-pseudo-labeling), that optimizes the classification risk by effectively combining pseudo-labeling with co-training. Unlike existing methods, our method does not require additional labels or strict assumptions about noise distributions. Experimental results on continuous-control benchmarks show that our method is more robust compared to state-of-the-art methods.
Introduction
Imitation Learning (IL) typically assumes that provided demonstrations come from a near-perfect expert. However, real-world data collection—often involving humans or low-cost sensors—frequently results in "noisy" demonstrations containing mistakes or suboptimal actions. Standard IL methods like Generative Adversarial Imitation Learning (GAIL) tend to match the distribution of the provided data, leading them to imitate noise. Existing robust solutions often require expensive extras, such as human rankings or specific noise distribution assumptions. RIL-Co addresses these challenges by filtering noise without extra labels or prior knowledge.
Methodology
RIL-Co is built upon two theoretical and practical pillars:
Symmetric Losses for Robustness
The authors theoretically demonstrate that treating IL as a classification problem—distinguishing expert data from agent data—allows for inherent noise resistance when using a symmetric loss function. A loss function $\ell(z)$ is symmetric if $\ell(z) + \ell(-z) = C$ for some constant $C$. This property enables the optimizer to effectively "cancel out" the influence of label noise, allowing the agent to recover the true expert policy even from corrupted datasets.
Co-pseudo-labeling
To implement this theory, RIL-Co estimates the density of non-expert data using pseudo-labeling. To avoid the "over-confidence" trap where a model reinforces its own errors, the framework employs co-training. Two separate classifiers ($g_1$ and $g_2$) are trained; each classifier identifies likely "noisy" samples for the other to learn from. The resulting robust classifier serves as a reward function for standard Reinforcement Learning optimization.
Experimental Setup
The framework was evaluated on four continuous-control benchmarks in the PyBullet simulator: HalfCheetah, Hopper, Walker2d, and Ant. Noisy datasets were generated by mixing expert trajectories with suboptimal snapshots from early training stages, with noise rates ($\delta$) ranging from 0.0 to 0.4.
Results and Analysis
RIL-Co demonstrates significant improvements in both robustness and efficiency over baselines like GAIL and Behavior Cloning (BC).
- Superior Robustness: At high noise levels (40%), RIL-Co maintains stable performance while other methods' rewards plummet. Even when subjected to Gaussian noise on actions, RIL-Co performs comparably to specialized methods like VILD.
- Sample Efficiency: As shown in the learning curves, RIL-Co reaches higher cumulative rewards with fewer transition samples, particularly in complex environments like Walker2d and Ant.
Conclusion
RIL-Co provides a robust framework for imitation learning from noisy data without requiring manual labels. While it assumes the majority of data is expert-led ($\alpha > 0.5$) and may introduce slight bias in perfectly clean datasets, its ability to handle diverse noise types makes it a powerful tool for practical IL applications. Future work will explore leveraging failed attempts or random play to further refine noise density estimation.
Summary updated