Abstract
In this paper, we consider the problem of autonomous driving using imitation learning in a semi-supervised manner. In particular, both labeled and unlabeled demonstrations are leveraged during training by estimating the quality of each unlabeled demonstration. If the provided demonstrations are corrupted and have a low signal-to-noise ratio, the performance of the imitation learning agent can be degraded significantly. To mitigate this problem, we propose a method called semi-supervised imitation learning (SSIL). SSIL first learns how to discriminate and evaluate each state-action pair's reliability in unlabeled demonstrations by assigning higher reliability values to demonstrations similar to labeled expert demonstrations. This reliability value is called leverage. After this discrimination process, both labeled and unlabeled demonstrations with estimated leverage values are utilized while training the policy in a semi-supervised manner. The experimental results demonstrate the validity of the proposed algorithm using unlabeled trajectories with mixed qualities. Moreover, the hardware experiments using an RC car are conducted to show that the proposed method can be applied to real-world applications.
Introduction
Imitation Learning (IL) has emerged as a powerful paradigm for training autonomous agents by mimicking expert behavior. However, traditional IL algorithms, such as Generative Adversarial Imitation Learning (GAIL), typically operate under the "clean data assumption," requiring large volumes of high-quality expert demonstrations. In real-world scenarios, collecting such data is often prohibitively expensive. Conversely, suboptimal or noisy demonstrations are easily obtained through crowdsourcing or low-fidelity sensors. Feeding this mixed-quality data into standard IL frameworks without distinction often leads to significant performance degradation. This research addresses the challenge of leveraging a small set of expert data alongside a large pool of unlabeled, mixed-quality demonstrations to train robust autonomous driving policies.
Methodology: Semi-Supervised Imitation Learning (SSIL)
The proposed SSIL framework introduces a two-stage approach to handle mixed-quality data:
- Quality Estimation via Reconstruction Loss: A Variational Autoencoder (VAE) is trained exclusively on the limited set of labeled expert data. The VAE learns to reconstruct the underlying patterns of expert driving. When presented with unlabeled data, the VAE's reconstruction loss—the difference between the input and the reconstructed output—serves as a proxy for quality. Low reconstruction loss indicates "expert-like" behavior, while high loss suggests suboptimal or noisy actions.
- Leverage Constraint Reward (LCoR): Instead of binary classification, SSIL assigns a continuous "leverage" value (0 to 1) to each state-action pair in the unlabeled set. A new reward term, LCoR, is integrated into the training objective. This term incentivizes the agent to prioritize states with high leverage values and penalizes deviations into low-leverage (suboptimal) states.
To better capture vehicle dynamics such as velocity and acceleration, the authors implemented a "windowed VAE," which processes consecutive states to provide a temporal context that static snapshots lack.
Experimental Setup
The framework was validated in two distinct environments:
- TORCS (The Open Racing Car Simulator): A simulated environment used to test the agent's performance with varying amounts of labeled data, ranging from 100 to 1200 state-action pairs (representing as little as 0.61% of the total dataset).
- Real-World RC Car: A physical track experiment using a Traxxas Slash 4x4 VXL equipped with a Jetson TX2 and LIDAR. Expert data consisted of 10 manual trajectories, mixed with intentional "negative" demonstrations, such as wall collisions.
Results and Discussion
The experimental results highlight the efficiency and robustness of SSIL, particularly in data-scarce regimes. In TORCS simulations, using only 300 expert samples, the SSIL (windowVAE) model achieved 93.1% of the performance of a fully-supervised baseline.
In real-world RC car trials, SSIL (windowVAE) demonstrated a 19.0% improvement in score over standard GAIL and a 12.1% improvement over MixGAIL. Visual analysis of the trajectories shows that SSIL-trained agents maintain more consistent paths and avoid the catastrophic errors seen in baseline models.
Furthermore, SSIL exhibited significantly lower standard deviation in performance compared to GAIL, indicating a more stable and reliable controller.
Conclusion
SSIL effectively bridges the gap between high-quality data requirements and the availability of noisy real-world demonstrations. By treating expertise as a spectrum and utilizing temporal dynamics through windowed VAEs, the framework enables robust learning from minimal expert supervision. While performance is sensitive to the initial size of the expert dataset—a "cold start" challenge—SSIL represents a significant step toward practical, data-efficient autonomous systems. Future research will explore applying these principles to more complex robotic manipulation tasks.
Summary updated