Unicorn: A Universal and Collaborative Reinforcement Learning Approach Toward Generalizable Network-Wide Traffic Signal Control

Yifeng Zhang, Yilin Liu, Ping Gong, Peizhuo Li, Mingfeng Fan, Guillaume Sartoretti

Unicorn: A Universal and Collaborative Reinforcement Learning Approach Towards Generalizable Network-Wide Traffic Signal Control

Introduction

Traffic congestion is a significant global challenge, leading to substantial economic losses and environmental impact. While Adaptive Traffic Signal Control (ATSC) using Reinforcement Learning (RL) offers a promising solution, existing methods often struggle with two primary issues: heterogeneity and coordination. Real-world urban environments consist of intersections with diverse topologies (e.g., varying numbers of arms and lanes) and fluctuating traffic demands. Most RL models are tailored to specific layouts, failing to generalize when deployed in different cities. Furthermore, coordinating hundreds of signals in a scalable manner remains a complex task.

To address these challenges, we present Unicorn, a novel Multi-Agent Reinforcement Learning (MARL) framework designed for universal and collaborative traffic signal control.

The Unicorn Framework

Unicorn bridges the gap between universal policy learning and collaborative execution through three core innovations.

1. Unified State-Action Representation

A major hurdle in generalizable ATSC is the varying input dimensions caused by different intersection geometries. Unicorn overcomes this by mapping physical lanes to a standardized set of traffic movements (e.g., North-Left, West-Straight). This "common language" allows a single model to process any intersection type, from simple T-junctions to complex multi-arm crossings, without architectural changes.

Unified State-Action Representation mapping lanes to universal traffic movements.

2. Dual-Module Representation Learning

Unicorn employs a bifurcated architecture to balance general traffic patterns with local intersection characteristics:

  • Universal Traffic Representation (UTR): This module acts as a "generalist," utilizing a cross-attention mechanism to extract broad traffic features independent of specific layouts.
  • Intersection Specifics Representation (ISR): This "specialist" module uses a Variational Autoencoder (VAE) to capture the unique "personality" of an intersection, such as its specific topology and dynamics. To enhance discriminative power, Self-Supervised Contrastive Learning is applied to the latent space, ensuring the model distinguishes between the unique features of different intersections.
Overview of the Unicorn framework, highlighting the UTR and ISR modules and collaborative optimization.

3. Collaborative Policy Optimization

To enable regional coordination, Unicorn incorporates "privileged information" from neighboring agents. By integrating the current actions of adjacent traffic lights via an attention mechanism, the model achieves effective local collaboration without the overhead of a centralized controller.

Experimental Evaluation

The framework was validated using the SUMO simulator across eight diverse datasets, including synthetic grids and real-world networks from cities like Cologne, Monaco, and Nanshan.

Key Results: * Superior Efficiency: In complex synthetic scenarios (Grid 5x5), Unicorn achieved a queue length of 0.95, a nearly 50% improvement over the next best method (HeteroLight). * Reduced Delay: In the real-world Nanshan dataset, Unicorn reduced average intersection delay to 28.77 seconds, significantly outperforming existing MARL approaches like GESA. * Generalization through Joint Training: Experiments demonstrated that training a single Unicorn model on multiple cities simultaneously often yields better performance than city-specific models, as the increased data diversity fosters more robust feature learning.

Conclusion

Unicorn represents a significant advancement in network-wide traffic signal control. By abstracting traffic into universal movements and employing a dual-module representation strategy, it achieves unprecedented levels of generalization and coordination. Future work will focus on enhancing communication resilience and adapting the framework to handle unpredictable events such as accidents or road construction.

Summary updated

BibTeX
@article{zhang2026unicorn,
  author = {Yifeng Zhang and Yilin Liu and Ping Gong and Peizhuo Li and Mingfeng Fan and Guillaume Sartoretti},
  title = {{Unicorn: A Universal and Collaborative Reinforcement Learning Approach Toward Generalizable Network-Wide Traffic Signal Control}},
  journal = {IEEE Trans. Intell. Transp. Syst.},
  year = {2026},
  doi = {10.1109/tits.2026.3653478},
}
Figure