Coaching a Teachable Student

Jimuyang Zhang, Zanming Huang, Eshed Ohn-BarCVPR 2023 · DOI

Introduction

Training autonomous driving agents to map raw sensor data (like camera images) directly to control commands is a significant challenge in robotics. A common strategy is Knowledge Distillation (KD), where a "privileged" teacher agent—trained with access to ground-truth simulation data such as Bird’s Eye View (BEV) maps—guides a "sensorimotor" student agent that only perceives the world through standard cameras. However, standard KD often fails because the student lacks the spatial reasoning capabilities inherent in the teacher's privileged input.

The CaT Framework

To bridge this gap, we present CaT (Coaching a Teachable student), a framework designed to align student representations with teacher insights through spatial awareness and adaptive learning.

Overview of the CaT framework, illustrating the interaction between the privileged teacher, the teachable student, and the coaching mechanism.

1. Enhancing the Teacher with Safety Hints

A student is only as good as its teacher. We found that standard BEV-based teachers often lack the nuance required for complex urban driving. We enhanced the teacher by providing "Safety Hints," which include predicted future trajectories of surrounding agents and an "entity attention" channel. This additional context allows the teacher to prioritize potential collision risks, providing a much cleaner and more informative signal for the student to follow.

2. Teachable Student via Spatial Alignment

The primary hurdle in distillation is the modality mismatch between 2D images and 3D BEV maps. CaT addresses this with an IPM-based Transformer Alignment Module. By using Inverse Perspective Mapping (IPM) to "lift" 2D image features into a 3D BEV space, the student can perform multi-layer feature distillation. This ensures the student develops internal representations that are spatially consistent with the teacher's perspective, facilitating better "spatial reasoning" from raw pixels.

3. Student-Paced Coaching

Traditional training often uses "hard example mining," which can overwhelm a student agent in the early stages of learning. Instead, CaT employs a coaching mechanism. For difficult scenarios, the teacher's target is initially smoothed by interpolating it with the student's current prediction. As the student's performance improves, these "training wheels" are gradually removed, allowing the student to master complex maneuvers without the instability of constant high-penalty failures.

Experimental Results

The CaT framework was primarily evaluated on the CARLA Longest6 benchmark, which features 36 of the most challenging routes in the CARLA simulator, characterized by dense traffic and complex intersections.

Performance comparison on the CARLA Longest6 benchmark. CaT significantly outperforms existing RGB-only and even some LiDAR-based methods.

As shown in the results table, CaT achieved a Driving Score (DS) of 58.36%, representing a 20.6% improvement over the previous state-of-the-art (LAV). Notably, CaT outperforms several models that utilize expensive LiDAR sensors, despite relying solely on RGB cameras. This suggests that the quality of the learned representation and the effectiveness of the distillation process are just as critical as the sensor modality itself.

Further validation on the nuScenes real-world dataset confirmed these findings. CaT improved path prediction accuracy (ADE) by 14.6% and reduced collision rates by over 60% compared to a baseline without alignment and coaching.

Conclusion

The CaT framework demonstrates that effective autonomous driving can be achieved through better pedagogical strategies. By aligning student features to a privileged spatial perspective and utilizing an adaptive coaching curriculum, we can train highly capable agents using only standard cameras. Future work will focus on closing the simulation-to-real gap and refining motion forecasting to handle even more complex social interactions on the road.

Summary updated

BibTeX
@inproceedings{zhang2023coaching,
  author = {Jimuyang Zhang and Zanming Huang and Eshed Ohn-Bar},
  title = {{Coaching a Teachable Student}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2023},
  doi = {10.1109/cvpr52729.2023.00754},
}
Figure