Heterogeneous Multi-Agent Deep Reinforcement Learning for Traffic Lights Control

Jeancarlo Arguello Calvo, Ivana DusparicAICS 2018

Introduction

Urban Traffic Control (UTC) systems are essential for mitigating congestion in modern cities. While Reinforcement Learning (RL) offers a powerful framework for optimizing traffic signal timings, traditional methods often struggle with high-dimensional state spaces. Deep Reinforcement Learning (DRL) addresses this but frequently relies on the assumption of homogeneous intersections—where all agents share the same layout and parameters. In reality, urban environments are heterogeneous. This paper proposes an Independent Deep Q-Network (IDQN) approach to manage multiple, differently shaped intersections simultaneously.

Methodology

The core of the proposed system is a multi-agent framework where each traffic light operates as an independent agent. This setup handles heterogeneity naturally but introduces non-stationarity: as multiple agents learn and adapt, the environment becomes unpredictable for any single agent.

State Representation

The agents perceive the environment through 64x64 "image-like" matrices. These matrices capture two primary features:

  1. Position Matrix (P): A binary grid indicating the presence of vehicles.
  2. Speed Matrix (S): A grid representing vehicle speeds as a percentage of the maximum allowable speed.
Figure 1: The simulation environment state (a) is converted into a binary position matrix (b) and a normalized speed matrix (c) for processing.

Network Architecture

Each agent employs a Dueling Double DQN (DDDQN). Unlike standard DQNs, the Dueling architecture splits the network into two streams: one to estimate the value of being in a certain state and another to estimate the advantage of each possible action. This allows the model to identify valuable states even when specific actions have little impact.

Figure 6: The Dueling DQN architecture processes dual-channel inputs (Position and Speed) through convolutional layers before splitting into Value and Advantage streams to calculate Q-values.

Training and Stability

To combat non-stationarity and improve sample efficiency, the authors use Prioritized Experience Replay (PEMR). This technique prioritizes past experiences with high temporal-difference (TD) errors, ensuring the agent focuses on the most informative data. The authors also tested "fingerprinting"—adding training metadata to experiences to help agents contextualize old data—though this proved less effective than PEMR alone.

Experimental Results

The model was tested using the SUMO (Simulation of Urban MObility) simulator on a custom network of three heterogeneous junctions.

Performance in Low Traffic

In scenarios with 1,300–1,600 vehicles, the IDQN approach was highly effective. The agents achieved a 400% increase in cumulative rewards and a 300% reduction in average waiting times compared to a standard Fixed Time (FT) controller.

Challenges in High Traffic

Under heavy congestion (1,900–2,500 vehicles), the DRL agents struggled to outperform the Fixed Time baseline. This suggests that high-traffic scenarios may require significantly more training time or more sophisticated coordination mechanisms between agents.

Conclusion

The study demonstrates that Independent DRL with prioritized replay is a robust solution for heterogeneous traffic control in moderate traffic conditions. While the "fingerprinting" technique did not yield expected gains, the use of image-like state representations and dueling architectures provides a strong foundation for future UTC research. Addressing the performance gap in high-traffic scenarios remains a key objective for future work.

Summary updated

BibTeX
@inproceedings{calvo2018heterogeneous,
  author = {Jeancarlo Arguello Calvo and Ivana Dusparic},
  title = {{Heterogeneous Multi-Agent Deep Reinforcement Learning for Traffic Lights Control}},
  booktitle = {AICS},
  year = {2018},
}
Figure