Action-based Representation Learning for Autonomous Driving

Yi Xiao, Felipe Codevilla, Christopher J. Pal, Antonio M. López

Abstract

This paper explores the use of "free" data generated by human drivers—specifically steering, braking, and acceleration actions—to pre-train visual encoders for autonomous vehicles. By learning to predict these actions, models develop robust internal representations of the driving environment that outperform ImageNet-pre-trained models and pure end-to-end systems. This approach, termed "Direct Perception," bridges the gap between interpretable modular pipelines and data-efficient behavior cloning, demonstrating high performance even with minimal manually annotated data.

Introduction

The development of autonomous vehicles (AVs) currently faces a trade-off between two paradigms. Modular pipelines are interpretable but suffer from a "data annotation bottleneck," requiring massive amounts of expensive human-labeled data. Conversely, End-to-end (E2E) models are easier to train via behavior cloning but often act as "black boxes" prone to causal confusion. This research proposes a middle ground: using action-based pre-training to learn visual features that are then used to predict a small set of driving "affordances" (e.g., traffic light status, lane angle) for control.

Methods

The authors propose a two-stage learning strategy to bootstrap visual understanding from human driving maneuvers:

  1. Action-Based Pre-training: A large dataset of expert human driving is used to train a visual encoder ($h_\theta$). The model learns by predicting expert actions (Behavior Cloning), predicting actions between consecutive frames (Inverse Model), or predicting future states (Forward Model).
  2. Affordance Learning: The pre-trained encoder is frozen, and a small multi-layer perceptron (MLP) is added to predict specific driving affordances from a small, weakly annotated dataset.
  3. Control: These affordances feed into a standard PID controller to navigate the vehicle.
The two-stage training process: (a) pre-training the encoder on expert driving data and (b) training an MLP to predict affordances for direct perception.

Affordance Tasks and Datasets

Experiments were conducted in the CARLA Simulator, using Town01 for training and Town02 for testing generalization. The model predicts four key affordances categorized into classification and regression tasks:

  • Classification: Pedestrian Hazard, Vehicle Hazard, and Red Traffic Light detection.
  • Regression: Relative Heading Angle (RA) to the lane.
Examples of the classification and regression affordances used to guide the vehicle's control logic.

The training utilized 50 hours of unlabelled expert driving data, while the affordance "head" was trained on small subsets (1% to 10%) of labeled data to test sample efficiency.

Key Insights

  • Expertise as a Signal: Learning from expert actions is significantly more effective than learning from random actions. Predicting intentional steering forces the model to attend to lane markings and traffic signals.
  • Superiority over ImageNet: For driving tasks, pre-training on driving actions outperforms ImageNet. While ImageNet focuses on general object recognition, action-based pre-training captures the spatial and causal logic of the road.
  • Data Efficiency: Models pre-trained with 50 hours of expert data but only 0.5 hours of annotated affordance data performed nearly as well as fully supervised models.

Results

In zero-shot generalization tests in an unseen town (Town02), the proposed method significantly outperformed baselines. On the NoCrash Benchmark, the Behavior Cloning (BC) pre-trained model achieved a 61% success rate in regular traffic, compared to just 19% for an ImageNet-based model and 37% for a model with no pre-training. Notably, this method surpassed end-to-end baselines like CILRS in reacting correctly to traffic lights.

Conclusion and Future Work

While the study demonstrates the power of action-based representation learning, it is currently limited to the CARLA simulator and a small set of affordances. Future work may involve bridging the sim-to-real gap and applying this pre-training technique to more complex perception tasks like 3D object detection or semantic segmentation to further reduce human labeling costs.

Summary updated

BibTeX
@inproceedings{xiao2020action,
  author = {Yi Xiao and Felipe Codevilla and Christopher J. Pal and Antonio M. López},
  title = {{Action-based Representation Learning for Autonomous Driving}},
  booktitle = {Conference on Robot Learning},
  year = {2020},
}
Figure