DiffLight: A Partial Rewards Conditioned Diffusion Model for Traffic Signal Control with Missing Data

Hanyang Chen, Yang Jiang, Shengnan Guo, Xiaowei Mao, Youfang Lin, Huaiyu Wan

Introduction

Traffic signal control (TSC) is a fundamental optimization problem in urban planning. While Reinforcement Learning (RL) has shown promise in creating adaptive signal controllers, these models typically rely on high-quality, continuous sensor data. In real-world deployments, sensors frequently fail or drop data packets, creating "blind spots" that degrade the performance of standard RL agents. Existing solutions often employ a two-stage approach—imputing missing data before passing it to a controller—which can lead to error propagation. DiffLight addresses these issues by unifying data imputation and decision-making within a single generative framework.

Methodology

DiffLight is an offline reinforcement learning framework that treats TSC as a conditional generative modeling problem. Instead of directly predicting an action, the model learns to generate a complete, denoised trajectory of traffic states and rewards.

The DiffLight architecture integrates data imputation and decision-making through a conditional diffusion process.

The framework consists of several key components:

  • Partial Rewards Conditioned Diffusion (PRCD): To handle missing performance signals, PRCD conditions the diffusion process only on observed rewards, avoiding the bias introduced by zero-padding missing values.
  • Spatial-Temporal Transformer (STFormer): This module captures complex dependencies across time and space. It uses attention mechanisms to model how traffic at one intersection influences its neighbors over time.
  • Diffusion Communication Mechanism (DCM): DCM enables intersections to share information during the denoising process. This collaborative approach allows intersections with missing data to leverage observations from adjacent nodes.
  • Inverse Dynamics Model: This component translates the generated future states into specific traffic signal phases (actions) required to reach those states.

Experimental Setup

The authors evaluated DiffLight using the CityFlow simulator on five real-world datasets from Hangzhou ($D_{HZ}$) and Jinan ($D_{JN}$). The experiments simulated two types of data loss:

  1. Random Missing: Individual sensor data points are omitted at various rates (10%, 30%, 50%).
  2. Kriging Missing: Entire intersections lose data for specific time intervals, simulating localized infrastructure failure.

Results

DiffLight was benchmarked against several offline RL and diffusion-based baselines, including Behavior Cloning (BC), Conservative Q-Learning (CQL), and Decision Diffuser (DD). The primary performance metric was Average Travel Time (ATT).

Performance comparison (ATT) in Random Missing scenarios across multiple datasets. Lower values indicate better performance.

As shown in the results, DiffLight consistently outperforms baseline methods across nearly all datasets and missing data rates. In the Random Missing scenarios, DiffLight maintains robust performance even when 50% of the data is unavailable. In the more challenging Kriging Missing scenarios, the model's spatial-temporal modeling and communication mechanisms provide a significant advantage, effectively "filling in" the gaps from neighboring intersection data.

Conclusion

DiffLight demonstrates that unifying data recovery and control into a single generative process is a highly effective strategy for traffic signal control under uncertainty. By leveraging conditional diffusion and spatial-temporal attention, the model provides a robust solution for real-world urban environments where sensor reliability is not guaranteed. Future work will focus on handling more complex missing data patterns and improving the scalability of the diffusion process for city-wide deployment.

Summary updated

BibTeX
@inproceedings{chen2024difflight,
  author = {Hanyang Chen and Yang Jiang and Shengnan Guo and Xiaowei Mao and Youfang Lin and Huaiyu Wan},
  title = {{DiffLight: A Partial Rewards Conditioned Diffusion Model for Traffic Signal Control with Missing Data}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2024},
  url = {https://openreview.net/forum?id=A969ouPqEs},
}
Figure