Aggressive Deep Driving: Combining Convolutional Neural Networks and Model Predictive Control

Paul Drews, Grady Williams, Brian Goldfain, Evangelos A. Theodorou, James M. RehgCoRL 2017

Introduction

Aggressive driving at high speeds requires a tight, low-latency coupling between perception and vehicle control. This paper introduces a hybrid framework that combines the perceptual power of Convolutional Neural Networks (CNNs) with the precision of Model Predictive Control (MPC). By training a CNN to transform monocular camera images directly into "bird's-eye view" (BEV) cost maps, the system enables a 1:5 scale rally car to race at the limits of handling without relying on expensive GPS or IMU sensors for localization.

Problem Formulation

Traditional autonomous systems often fall into two camps: modular pipelines that rely on high-precision GPS and pre-defined maps, or end-to-end learning systems that map pixels directly to control actions. Modular pipelines fail if GPS is unavailable or the environment changes, while end-to-end systems are often "black boxes" that are difficult to debug and generalize. The authors aim to bridge this gap by creating a vision-based system that maintains an interpretable intermediate representation—a cost map—that a robust controller can use to navigate.

Methodology

The proposed approach factors the driving task into two distinct components: image understanding and vehicle control.

Perception via Dilated CNNs

The perception module utilizes a fully convolutional neural network architecture. A key feature is the use of dilated convolutions, which allow the network to have a massive receptive field (seeing the whole image) while maintaining high-resolution output. The network takes a single monocular image and regresses a cost map—a grid where low values represent the center of the track and high values represent obstacles or off-track areas.

CNN architecture with dilated convolutions for cost map regression.

Control via MPPI

The regressed cost map is fed into a Model Predictive Path Integral (MPPI) controller. MPPI is a sampling-based algorithm that simulates thousands of possible trajectories on a GPU in real-time. It evaluates these trajectories against the CNN-generated cost map and the vehicle's physics model to choose the optimal steering and throttle commands.

Training and Annotation

To train the network without manual labeling, the authors used a "teacher" system during data collection that utilized GPS and a surveyed map to automatically project ground-truth costs onto the camera images. The system compares two main approaches: regressing costs in the "image plane" (what the camera sees) versus a "top-down" BEV.

Comparison of training and testing pipelines for image-plane (left) and top-down (right) cost map regression.

Experimental Setup and Datasets

  • AutoRally Dataset: Approximately 300,000 images collected over eight months from a 1:5 scale autonomous vehicle on a dirt track, featuring diverse lighting and visual clutter.
  • TORCS Simulator: Used to test generalization across four tracks, including three unseen layouts.

Key Insights

  • BEV Superiority: The top-down BEV representation performed significantly better than the image-plane approach. It allows the controller to "see" a consistent distance ahead and even "hallucinate" track geometry outside the camera's immediate field of view.
  • Interpretability: Because the CNN outputs a cost map rather than raw steering angles, engineers can visualize what the car "thinks" the track looks like, making it easier to diagnose failures.
  • Visual Attention: Ablation studies revealed that the network primarily focuses on the inside of corners (the apex) to determine track shape, mimicking human racing behavior.

Results and Performance

  • Near-GPS Performance: The vision-based system achieved lap times only 4% slower than a system using high-quality GPS (10.13s vs 9.74s).
  • Real-Time Execution: The top-down network runs at 40Hz on a mobile GPU (NVIDIA GTX 750Ti), suitable for high-speed deployment.
  • Robustness: The system successfully completed 10-lap runs at speeds up to 8 m/s, handling the complex non-linear dynamics of sliding through dirt turns.

Conclusion and Future Work

While the system is robust to visual clutter, it exhibits sensitivity to data bias (e.g., performing better in counter-clockwise laps) and operates with a relatively short planning horizon of 1.5 seconds. Future work will focus on extending this horizon and testing in more dynamic environments with other vehicles or changing track surfaces.

Summary updated

BibTeX
@inproceedings{drews2017aggressive,
  author = {Paul Drews and Grady Williams and Brian Goldfain and Evangelos A. Theodorou and James M. Rehg},
  title = {{Aggressive Deep Driving: Combining Convolutional Neural Networks and Model Predictive Control}},
  booktitle = {Conference on Robot Learning},
  year = {2017},
}
Figure