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.
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.
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