Abstract
As autonomous vehicles (AVs) are integrated into existing infrastructure, we enter an era of mixed autonomy where self-driving systems must interact with human drivers. This paper introduces Flow, an open-source framework that bridges traffic microsimulation and deep reinforcement learning (RL). Flow enables the design of traffic control strategies for scenarios with low AV penetration. Our results show that as few as 5% AVs can eliminate human-induced "stop-and-go" traffic jams, increasing overall system velocity by up to 57%.
Introduction
Traffic flow modeling is notoriously difficult, particularly in the "middle ground" of mixed autonomy. Traditional control theory often relies on simplified, linear models that fail to capture emergent phenomena like "phantom" traffic jams—stop-and-go waves that appear even without accidents or bottlenecks. This paper argues that model-free deep RL is uniquely suited to discover complex control laws for these multi-vehicle interactions under partial observability and controllability.
The Flow Framework
The core contribution is the Flow framework, which provides a modular architecture for building traffic scenarios. Flow acts as middleware that integrates traffic microsimulation (specifically SUMO) with reinforcement learning libraries (such as Ray RLlib) via a standard OpenAI Gym interface. This allows researchers to easily swap modules for different road networks, vehicle types, and reward functions.
Experimental Scenarios
Flow provides a suite of benchmark network modules representing common traffic challenges. These range from simple circular tracks used to study stop-and-go waves to complex city grids imported from OpenStreetMap for large-scale simulation.
Key Results
- Velocity Boost: In a circular track with 22 vehicles, replacing just one human driver with an RL-controlled AV (approx. 4.5% adoption) improved the average system velocity by up to 57% compared to a human-only baseline.
- Intersection Efficiency: In the figure-eight intersection scenario, a single AV increased the average velocity by 1.5x. With 100% AV adoption, the system was 3x faster than the human-only baseline.
- Platooning Emergence: In multi-AV scenarios, agents naturally learned "platooning" behaviors—driving with smaller headways than humans—to increase roadway utilization.
- Robustness: Controllers trained on a range of traffic densities generalized well to unseen densities, maintaining near-optimal performance.
Conclusion and Future Work
Flow demonstrates that AVs can act as "mobile actuators" to smooth traffic flow even at very low penetration rates. However, challenges remain regarding sample efficiency in training, formal safety guarantees for "black box" controllers, and the sim-to-real gap between simulated and real-world human behavior. Future work will focus on scaling to city-wide networks and multi-agent RL challenges.
Summary updated