A Fully Data-Driven Approach for Realistic Traffic Signal Control Using Offline Reinforcement Learning

Jianxiong Li, Shichao Lin, Tianyu Shi, Chujie Tian, Yu Mei, Jian Song, Xianyuan Zhan, Ruimin LiData 2023 · DOI

TL;DR

This paper introduces D2TSC, a novel framework for realistic traffic signal control (TSC) that bypasses the need for simulators and fine-grained sensor data. By inferring rewards from coarse-grained real-world data and employing an in-sample offline reinforcement learning approach, D2TSC achieves superior performance and real-world applicability compared to existing methods.

What Problem Does This Paper Address?

Optimizing traffic signal control (TSC) is crucial for efficient urban transportation. While reinforcement learning (RL) has shown promise for adaptive TSC, existing methods struggle with real-world deployment due to their reliance on idealized simulators and unrealistic, fine-grained state observations (e.g., individual vehicle positions, queue lengths) that are not readily available from real-world sensors. Furthermore, real-world data is often coarse-grained (e.g., traffic flow and vehicle counts every 5 minutes) and can be limited, posing challenges for traditional RL training. This paper addresses the gap between simulated RL performance and real-world applicability by proposing a simulator-free, data-driven approach that leverages readily available, coarse-grained data.

Methods

The D2TSC framework consists of two main components:

  1. Reward Inference Model: This module addresses the lack of direct reward signals (like intersection delay or queue length) from real-world sensors. It combines established traffic flow theory (shockwave theory) with Gaussian process interpolation to infer these crucial metrics from coarse-grained traffic flow and spatial vehicle count data. This allows for the estimation of theoretical spatial vehicle counts, queue lengths, and delays.
  2. Sample-Efficient Offline RL: To learn a TSC policy from limited, coarse-grained real-world data, the authors employ an in-sample learning offline RL method. This approach is designed to be stable and avoid issues like distributional shift and value overestimation common in offline RL. Key aspects include:
  3. Phase Pooling Layer (PPL): This layer helps the RL agent better understand traffic demand by aggregating features across different phases, considering various phase orders.
  4. Data Augmentation: Inspired by S4RL, this technique adds small Gaussian noise to states during training to improve generalization in out-of-distribution (OOD) regions and enhance sample efficiency.
  5. In-sample Learning Objectives: The authors adapt standard offline RL objectives to an in-sample version, which avoids explicit behavior policy estimation and is more robust to OOD samples.

Datasets

The authors collected 7 days of real-world traffic data from a complex 4-phase intersection in Zhuzhou, China. This data was used to:

  • Build a highly customized simulation environment (using SUMO) that mimics the real-world traffic characteristics.
  • Generate 100 days of coarse-grained data from this simulator for training and evaluating RL policies. This generated dataset is designed to be representative of real-world data limitations.

Key Insights and Ideas

  • Simulator-Free RL is Achievable for TSC: The paper demonstrates that it's possible to train effective TSC policies using only real-world data, eliminating the need for potentially inaccurate traffic simulators.
  • Coarse-Grained Data is Sufficient: By developing a robust reward inference mechanism, the authors show that even limited, coarse-grained sensor data can be leveraged to derive meaningful performance metrics and train effective policies.
  • Traffic Flow Theory as a Bridge: Integrating fundamental traffic flow theories (like shockwave theory) with machine learning techniques is key to bridging the gap between raw sensor data and actionable insights for RL.
  • In-Sample Offline RL for Stability: The choice of in-sample offline RL methods is crucial for achieving stable training and good performance, especially when dealing with limited and potentially noisy real-world data.
  • Phase Pooling Enhances Demand Understanding: Explicitly modeling phase orders and pooling traffic demand information helps the RL agent make more informed decisions about signal timing.

Key Results

  • Superior Performance: D2TSC consistently outperformed all baselines (including conventional TSC, BC, TD3+BC, IQL, and DataLight) in reducing total intersection delays and total queue lengths across all tested days.
  • Significant Improvement over Conventional TSC: While Conventional TSC is a near-expert policy, D2TSC achieved significant improvements, demonstrating its practical effectiveness.
  • Accurate Reward Inference: The reward inference model showed good alignment between estimated and ground-truth total delays, and captured queue length estimations well, even in challenging traffic conditions.
  • Effectiveness of Components: Ablation studies showed that both the Phase Pooling Layer and data augmentation contributed significantly to D2TSC's performance, with their exclusion leading to noticeable dips in results.

Limitations and Future Work

  • Limited Data Regime: While the paper addresses limited data, the performance might still be constrained by the sheer volume and coverage of the offline dataset.
  • Generalization to Diverse Intersections: The current evaluation is on a single, complex intersection. Future work could explore generalization to a wider variety of intersection types and traffic patterns.
  • Real-World Deployment: While the framework is designed for real-world applicability, direct deployment and validation in a live traffic system would be the ultimate test.
  • Dynamic Phase Orders: The current phase pooling considers fixed phase orders. Future work could explore more dynamic handling of phase order changes.

Summary updated

BibTeX
@inproceedings{li2023fully,
  author = {Jianxiong Li and Shichao Lin and Tianyu Shi and Chujie Tian and Yu Mei and Jian Song and Xianyuan Zhan and Ruimin Li},
  title = {{A Fully Data-Driven Approach for Realistic Traffic Signal Control Using Offline Reinforcement Learning}},
  booktitle = {Data},
  year = {2023},
  doi = {10.1007/s42421-025-00139-z},
}
Figure