Toward Multi-Agent Reinforcement Learning Based Traffic Signal Control Through Spatio-Temporal Hypergraphs

Kang Wang, Zhishu Shen, Zhen Lei, Xianhui Liu, Tiehua Zhang

Introduction

Managing urban traffic is a classic "wicked problem." Traditional traffic signal control (TSC) systems often rely on fixed timers or simple sensors, which fail to adapt to real-time surges. Recent AI approaches have attempted to solve this using Reinforcement Learning (RL) and Graph Neural Networks (GNNs). However, these methods often possess a major blind spot: they typically treat road networks as standard graphs where an "edge" only connects two intersections.

In reality, traffic is a complex web of "higher-order" interactions. A bottleneck at one intersection doesn't just affect its immediate neighbor; it creates a ripple effect across a cluster of intersections. Standard graphs struggle to represent these multi-node dependencies. Furthermore, centralized AI models often suffer from high latency. This paper introduces HG-DRL, a framework that tackles these issues by combining edge intelligence with hypergraph learning to better model how traffic flows across space and time.

The HG-DRL Framework

The HG-DRL (Hypergraph Deep Reinforcement Learning) framework is built upon three main pillars designed to improve responsiveness and modeling accuracy:

1. Edge Intelligence Architecture

Instead of relying on a single central server, the system utilizes Multiple Access Edge Computing (MEC) servers. Each server manages a specific cluster of intersections, allowing for faster, localized data processing. This decentralized approach ensures real-time decision-making and reduces the communication lag inherent in cloud-based systems.

2. Dynamic Spatio-temporal Hypergraphs

The core innovation of this research is the use of hypergraphs. Unlike a standard graph edge that connects two points, a hyperedge can connect any number of nodes. The framework employs two types of hyperedges:

  • Spatial Hyperedges: These group intersections that influence each other within the same time step, capturing the immediate impact of traffic clusters.
  • Temporal Hyperedges: These link an intersection’s current state to its historical states, allowing the model to capture and predict flow trends over time.

Crucially, the system does not use a fixed map. It learns to construct these hyperedges dynamically based on current traffic conditions using a reconstruction-based learning module and a filtering threshold ($\zeta$) to ignore irrelevant "noise" from distant intersections.

3. Multi-Agent Soft Actor-Critic (MA-SAC)

The traffic lights are controlled by agents using the Soft Actor-Critic (SAC) algorithm. SAC is utilized for its stability and its "maximum entropy" objective, which encourages agents to explore various strategies. This prevents the system from over-optimizing for a specific traffic pattern that might change minutes later. The authors uniquely integrate a hypergraph reconstruction loss into the RL training process to ensure the model truly understands the network structure.

Experimental Evaluation

The researchers evaluated HG-DRL using the CityFlow simulator across a variety of environments:

  • Synthetic Datasets: Four grid-based networks ($6\times6$ and $10\times10$) featuring both unidirectional and bidirectional traffic flow.
  • Real-World Datasets: Traffic data from Hangzhou (16 intersections) and Jinan (12 intersections), China, providing complex, non-uniform road layouts and realistic traffic volumes.

Key Results and Insights

HG-DRL consistently outperformed state-of-the-art baselines, such as CoLight and MPLight, across all primary metrics:

  • Reduced Travel Time: In the Jinan dataset, HG-DRL reduced the Average Travel Time (ATT) by 14.85% compared to the second-best method (CoLight).
  • Higher Throughput: The system successfully moved more vehicles through the network. For example, in the $10\times10$ bidirectional synthetic test, it handled 7,755 vehicles, significantly outperforming the ~7,000 handled by traditional methods.
  • Stability and Convergence: Learning curves demonstrated that HG-DRL converges more smoothly and maintains more consistent performance across episodes than standard GNN-based RL models.

Conclusion and Future Work

By moving beyond pairwise connections and embracing the higher-order nature of traffic through hypergraphs, HG-DRL offers a more sophisticated approach to urban mobility. While the results are promising, the authors identify several areas for future research, including making the model robust against noisy or missing sensor data and improving the computational scalability of dynamic hypergraph construction for megacity-scale deployments. Additionally, future iterations may explore heterogeneous agents to prioritize specific road users, such as emergency vehicles or public transit.

Summary updated

BibTeX
@article{wang2025toward,
  author = {Kang Wang and Zhishu Shen and Zhen Lei and Xianhui Liu and Tiehua Zhang},
  title = {{Toward Multi-Agent Reinforcement Learning Based Traffic Signal Control Through Spatio-Temporal Hypergraphs}},
  journal = {IEEE Transactions on Mobile Computing},
  year = {2025},
  url = {https://openreview.net/forum?id=fCrXTyzV0z},
}
Figure