Learning by Watching

Jimuyang Zhang, Eshed Ohn-BarCVPR 2021

Introduction

Traditional imitation learning (IL) for autonomous driving is fundamentally limited by the data collected by a single instrumented "ego-vehicle." This approach requires expensive sensor suites and human expert drivers, creating a significant bottleneck for scaling. Furthermore, an ego-vehicle only learns from its own maneuvers, ignoring the wealth of expert demonstrations provided by surrounding vehicles in the same environment.

Comparison of Learning By Watching (LbW) vs. Traditional Imitation Learning. LbW infers actions from observed vehicles to expand the training set.

"Learning by Watching" (LbW) addresses this by treating every vehicle in the scene as a potential teacher. By transforming the ego-vehicle's observations into the perspectives of surrounding cars and inferring their actions, LbW allows agents to learn from a much broader range of scenarios without additional instrumented hardware. This framework achieves a 92% success rate on the CARLA benchmark with just 30 minutes of driving data—outperforming traditional methods that use six times as much data.

Methodology

The LbW framework relies on a unified Bird’s-Eye-View (BEV) representation to bridge the gap between different vehicle perspectives. The system treats every vehicle in view as a potential teacher through two main technical hurdles: State Estimation and Action Inference.

State Estimation and Perspective Transformation

The system takes LiDAR and camera data from the ego-vehicle and mathematically transforms it into the coordinate frame of an observed vehicle. This process creates an "Estimated State" for the observed vehicle, effectively allowing the agent to "see" what the other driver sees.

The LbW data pipeline showing (a) the reference scene, (b) LiDAR mapping, (c) the ego-centric BEV, and (d) the estimated BEV from an observed vehicle's perspective.

Handling Occlusions

Because the ego-vehicle cannot see through objects, the transformed view contains "blind spots" or occlusions. LbW introduces a Visibility Map—a binary mask indicating which parts of the environment are known and which are hidden. The authors found that a "Late Fusion" architecture, which processes the visibility map in a separate branch before merging, was the most effective way to handle this uncertainty.

Action Inference via Waypoints

Instead of predicting low-level control signals like steering or throttle, which are difficult to infer from afar, LbW predicts future waypoints. These geometric targets are easier to observe and can be converted into control commands using a standard PID controller. To mitigate perception noise, a "Waypoint Refurbishment" step uses a small amount of clean ego-data to correct errors in the inferred trajectories, ensuring the agent doesn't learn bad habits from perception errors.

Experimental Results

The researchers evaluated LbW using the CARLA simulator (v0.9.9) across standard benchmarks and a custom "Adaptation Benchmark" in Town 3, which features complex layouts like five-way intersections and roundabouts.

  • Data Efficiency: LbW is remarkably efficient. With only 10 minutes of driving data, LbW achieved a 52% success rate on the NoCrash-Regular benchmark, while the traditional ego-only baseline managed only 24%.
  • Peak Performance: With 30 minutes of data, LbW reached a 92% success rate on the original CARLA benchmark.
  • Rapid Adaptation: In the novel Town 3 environment, the LbW agent achieved a 100% success rate on certain maneuvers by watching just a few examples of other cars navigating the intersections, whereas the baseline model struggled significantly (40% success).

Discussion and Conclusion

LbW demonstrates that the variety of data is often more important than the quantity of ego-centric data. By leveraging waypoints and visibility maps, the framework abstracts away mechanical differences and handles sensor limitations.

However, challenges remain. The framework assumes observed vehicles are experts; learning from erratic drivers could lead to sub-optimal policies. Additionally, real-world deployment requires high-precision 3D tracking to maintain accurate BEV transformations. Despite these hurdles, LbW offers a promising path toward scaling autonomous driving by learning from the world at large, rather than just a private fleet.

Summary updated

BibTeX
@inproceedings{zhang2021learning,
  author = {Jimuyang Zhang and Eshed Ohn-Bar},
  title = {{Learning by Watching}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2021},
  doi = {10.1109/cvpr46437.2021.01252},
}
Figure