Deep Surrogate Q-Learning for Autonomous Driving

Maria Kalweit, Gabriel Kalweit, Moritz Werling, Joschka BoedeckerICRA 2020

Abstract

Challenging problems of deep reinforcement learning (DRL) systems with regard to real-world applications are their adaptivity to changing environments and their efficiency regarding computational resources and data. In lane-change behavior for autonomous driving, agents must handle a varying number of surrounding vehicles. Furthermore, the number of required transitions imposes a bottleneck, as test drivers cannot perform an arbitrary amount of lane changes. In the off-policy setting, additional information can be gained by observing actions from others. While in classical RL this knowledge remains unused, we use other drivers as surrogates to learn the agent's value function more efficiently. We propose Surrogate Q-learning to reduce required driving time drastically. We further propose an efficient implementation based on a permutation-equivariant deep neural network architecture to estimate action-values for a variable number of vehicles. We evaluate the performance of Surrogate Q-learning and Scene-centric Experience Replay in the SUMO simulator and on the real-world highD dataset.

Introduction

Deep Reinforcement Learning (DRL) shows great promise for autonomous driving, but it faces a massive "data bottleneck." In the real world, lane changes are relatively rare events. To learn a robust policy, a test vehicle would need to drive for thousands of hours to experience enough transitions. Furthermore, driving environments are dynamic; the number of surrounding vehicles changes constantly. Standard neural networks struggle with this variable input size. This research addresses three core challenges: efficiency in data collection, adaptivity to varying traffic participants, and generalization to unseen traffic situations.

Methodology

Surrogate Q-Learning

In a typical RL setup, an agent only learns from its own experiences. In Surrogate Q-Learning, the agent observes every vehicle in its sensor range. It treats these vehicles as "surrogates," taking their observed actions and successor states and evaluating them using the ego-agent's reward function. Essentially, the agent asks, "If I were that car and I made that move, how much reward would I have received?" This allows the agent to multiply the number of learning transitions extracted from every second of driving.

The Deep Surrogate Q-Learning pipeline, from data extraction to scene-centric policy optimization.

This approach leads to a novel replay sampling technique called Scene-centric Experience Replay. Instead of sampling individual transitions, the system samples entire "scene-samples" and performs updates for all participants within that scene simultaneously.

Permutation Equivariant Q-Networks

To handle a variable number of vehicles, the authors utilize an architecture inspired by "Deep Sets." The input consists of features from all surrounding vehicles. A shared network ($\phi$) processes each vehicle, followed by a pooling operation (summation) and a second network ($\rho$) to create a global scene representation.

Permutation-equivariant Q-network architecture for handling a variable number of vehicles.

This global representation is concatenated with individual vehicle features to output Q-values for all participants in parallel. Because the architecture is permutation equivariant, the order in which vehicles are listed does not change the outcome, and the network can handle any number of cars in a single forward pass.

Experimental Setup

The methods were evaluated using two primary data sources:

  1. SUMO (Simulation of Urban MObility): An open-source traffic simulator used to create a 1000m circular highway with varying traffic densities (30 to 90 vehicles).
  2. highD Dataset: A real-world dataset consisting of top-down drone recordings of German highways, including 147 hours of driving and ~18,000 filtered transitions specifically around lane-change events.

Key Results and Insights

  • Training Speedup: The proposed architecture is remarkably efficient. Training the Surrogate-Q model took only 12 hours on a Titan Black GPU, compared to 6 days for a comparable DeepSet-Q baseline with a large batch size.
  • Data Efficiency: With only 50,000 transitions (~28 driving hours), Surrogate-Q significantly outperformed the state-of-the-art DeepSet-Q. In fact, Surrogate-Q with 50,000 transitions performed better than DeepSet-Q with 500,000 transitions.
  • Learning by Watching: A striking insight is that an agent can learn a high-performing lane-change policy without ever performing a lane change itself, simply by observing the successes and failures of surrounding traffic.
  • Complexity-Aware Sampling: The "virtual batch" created by surrogate transitions naturally weighs complex scenes (those with many cars) more heavily, leading to a more consistent gradient during training.
  • Real-World Validation: When trained on the real-world highD dataset, the agent learned a policy comparable to agents trained in pure simulation, proving the method's viability for real-world applications.

Conclusion

Deep Surrogate Q-Learning drastically improves the data efficiency of autonomous driving agents by treating surrounding vehicles as surrogates. While the method assumes the agent can accurately perceive the states of others and that they share a similar action space, it offers a path toward training robust RL policies with significantly less real-world driving time. Future work may explore more complex interaction-aware representations like Graph Neural Networks and extending the surrogate approach to other multi-agent environments.

Summary updated

BibTeX
@inproceedings{kalweit2020deep,
  author = {Maria Kalweit and Gabriel Kalweit and Moritz Werling and Joschka Boedecker},
  title = {{Deep Surrogate Q-Learning for Autonomous Driving}},
  booktitle = {IEEE International Conference on Robotics and Automation},
  year = {2020},
  url = {https://openreview.net/forum?id=0VmVEyp8g3B},
}
Figure