Semi-Supervised Imitation Learning with Mixed Qualities of Demonstrations for Autonomous Driving

Gunmin Lee, Wooseok Oh, Jeongwoo Oh, Seungyoun Shin, Dohyeong Kim, Jaeyeon Jeong, Sungjoon Choi, Songhwai Oh

This paper, recently published by researchers at Seoul National University and collaborating institutions, tackles a major bottleneck in robotics: the high cost of high-quality data.

TL;DR

The authors introduce Semi-Supervised Imitation Learning (SSIL), a framework that allows autonomous agents to learn from a small sliver of expert data combined with a massive pool of unlabeled, mixed-quality demonstrations. By using a Variational Autoencoder (VAE) to estimate the "leverage" (reliability) of unlabeled data, SSIL significantly outperforms standard imitation learning methods in both simulated racing and real-world RC car trials.

What Problem Does This Paper Address?

Imitation Learning (IL) is the "monkey see, monkey do" of AI—an agent learns to perform a task by mimicking an expert. However, standard IL algorithms like GAIL (Generative Adversarial Imitation Learning) rely on a "clean data assumption": they assume every demonstration provided is near-perfect.

In the real world, data is messy. Collecting thousands of hours of expert driving is expensive and time-consuming. It is much easier to collect "mixed" data—noisy, suboptimal, or even failed attempts—via crowdsourcing or sensors. The challenge is that if you feed an agent bad demonstrations without labeling them as "bad," the agent's performance collapses. This paper asks: How can we leverage a tiny bit of expert data to automatically sort through and learn from a mountain of unlabeled, mixed-quality data?

Methods

The researchers propose a two-stage process called SSIL:

  1. Quality Estimation via Reconstruction Loss: The authors train a Variational Autoencoder (VAE) solely on the small set of labeled expert data. Because the VAE only learns the "patterns" of expert driving, it struggles to reconstruct suboptimal or noisy driving. The "reconstruction loss" (the difference between the input and the VAE's output) becomes a proxy for quality. High loss means the data is likely "bad"; low loss means it’s "expert-like."
  2. Leverage Constraint Reward (LCoR): Instead of a binary "good/bad" label, the authors calculate a continuous leverage value (between 0 and 1) for every state-action pair in the unlabeled set. They then introduce a new reward term, LCoR, into the training loop. This term encourages the agent to stay near states with high leverage values (expert-like) and treats low-leverage states as penalties.

A clever technical addition is the "windowed VAE," which takes two consecutive states as input. This allows the model to capture the dynamics of the car (velocity, acceleration) rather than just a static snapshot of its position.

Datasets

The authors evaluated SSIL in two environments:

  • TORCS (The Open Racing Car Simulator): A dataset of 49,200 state-action pairs. They tested scenarios where as little as 0.61% of the data was labeled as expert.
  • Real-World RC Car: A physical track where expert data was collected manually (10 trajectories), mixed with "negative" demonstrations where the car intentionally collided with walls.

Key Insights and Ideas

  • Uncertainty as a Filter: The core "aha moment" is using a VAE as an anomaly detector for behavior. It turns the difficulty of collecting expert data into a feature: by learning what "good" looks like, the model can automatically ignore the "noise" in unlabeled datasets.
  • Continuous vs. Binary: Previous methods like MixGAIL required all data to be explicitly labeled as "good" or "bad." SSIL treats expertise as a spectrum, which is more representative of real-world human behavior.
  • Dynamics Matter: The "windowed VAE" results show that for driving, you can't just look at where the car is; you have to look at where it's going. Encoding temporal information into the quality estimator was crucial for stability.

Key Results

  • Superiority with Scarcity: In TORCS, when only 300 expert samples were provided (amidst 48,000 unlabeled ones), SSIL (windowVAE) achieved 93.1% of the performance of a fully-supervised GAIL model.
  • Real-World Gains: In the RC car experiments, SSIL showed a 19.0% improvement in score over standard GAIL and a 12.1% improvement over MixGAIL.
  • Robustness: SSIL maintained a much lower standard deviation in performance compared to GAIL, meaning the resulting controllers were more consistent and less prone to "catastrophic" driving errors.

Limitations and Future Work

While SSIL is powerful, it has a "cold start" problem. If the initial expert dataset is too small (e.g., only 100 samples in their test), the VAE cannot learn a robust enough representation of "expertise," leading to poor leverage estimation and worse performance than baseline methods.

The authors suggest that future work could involve applying this to more complex robotic tasks beyond driving and exploring different types of neural architectures for the quality estimation phase.

Reference: Lee, G., Oh, W., Shin, S., Kim, D., Oh, J., Jeong, J., Choi, S., & Oh, S. (2021). Semi-Supervised Imitation Learning with Mixed Qualities of Demonstrations for Autonomous Driving. arXiv:2109.11280 [cs.RO].

Summary updated

BibTeX
@inproceedings{lee2022semi,
  author = {Gunmin Lee and Wooseok Oh and Jeongwoo Oh and Seungyoun Shin and Dohyeong Kim and Jaeyeon Jeong and Sungjoon Choi and Songhwai Oh},
  title = {{Semi-Supervised Imitation Learning with Mixed Qualities of Demonstrations for Autonomous Driving}},
  booktitle = {2022},
  year = {2022},
  doi = {10.23919/iccas55662.2022.10003738},
}

Loading related content...

Figure