UniTSA: A Universal Reinforcement Learning Framework for V2X Traffic Signal Control

Maonan Wang, Xi Xiong, Yuheng Kan, Chengcheng Xu, Man-On Pun · DOI

TL;DR

UniTSA is a universal Reinforcement Learning (RL) framework for traffic signal control that can generalize across completely different intersection structures without retraining from scratch. By introducing a standardized "junction matrix" state representation and novel traffic state augmentation techniques, a single UniTSA agent can effectively manage diverse, unseen intersections and adapt to new environments 66% faster using low-rank adaptation (LoRA).

What Problem Does This Paper Address?

Reinforcement learning (RL) has shown great promise in optimizing Traffic Signal Control (TSC) by adapting to real-time traffic conditions. However, existing RL-based methods suffer from a major limitation: poor generalizability.

Because traffic light controllers are typically trained on specific intersection geometries (e.g., a specific number of lanes, approaches, or signal phases), the underlying neural network architectures are hardcoded to those dimensions. When deployed to a new intersection with a different layout, the model must be redesigned and retrained from scratch. This requires massive amounts of data collection and computation, making large-scale urban deployment impractical.

The authors introduce UniTSA (Universal Traffic State Augmentation) to bridge this gap, enabling a single RL agent to control diverse and completely unseen intersection topologies.

Methods

The UniTSA framework achieves universality through three core innovations:

  1. The Junction Matrix: Instead of defining the traffic state based on individual lanes (which vary wildly between intersections), UniTSA standardizes the state space into a fixed-size matrix based on the 8 core traffic movements of a standard 4-way intersection (e.g., Northbound straight, Eastbound left turn). For intersections with fewer movements (like a 3-way T-junction), the unused rows are simply filled using zero padding.
  2. Traffic State Augmentation (TSA): To prevent the agent from overfitting to the geometries of the training set, the authors developed five domain-specific data augmentation techniques: Movement Shuffling (simulating rotations/flips), Change of Lane Numbers, Traffic Flow Scaling, Gaussian Noise Addition, and Masking.
  3. LoRA Fine-Tuning: For critical intersections that require highly specialized control, the framework integrates Low-Rank Adaptation (LoRA). This keeps the universal model parameters frozen while training a tiny fraction of adapter weights, drastically speeding up adaptation to new environments.
Figure 2: The overall framework of UniTSA.

The authors also evaluated three different network backbones (CNN, RNN, and Transformers) to capture temporal traffic dynamics from a sequence of these junction matrices.

Datasets

The framework was validated using the SUMO (Simulation of Urban MObility) platform. The authors constructed a benchmark consisting of 12 distinct intersections:

  • Training Set (8 intersections): Included regular 4-way intersections, large 4-way intersections with expanded lane counts, and 3-way intersections, each featuring different phase sequences and counts.
  • Test Set (4 intersections): Contained entirely unseen configurations (INT-9 to INT-11) and one highly realistic scenario (INT-12) modeled after real-world traffic data from the city of Ingolstadt, Germany.

Key Insights and Ideas

  • Movements over Lanes: Shifting the network's focus from absolute lane features to standardized movement signals is the key to structural invariance. Zero-padding allows a 3-way intersection to look structurally identical to a 4-way intersection to the neural network.
Figure 3: (a) A 3-way intersection with (b) its junction matrix with zero padding.
  • Augmentation Drives Generalization: Without data augmentation, advanced architectures like Transformers overfit to the training topologies and perform poorly on unseen test intersections. Applying Traffic State Augmentation allows the Transformer and RNN variants to unlock superior generalization by forcing them to learn relative traffic distributions rather than absolute lane configurations.
  • Efficient Adaptation: Instead of training a new model for hours or days when encountering a new intersection, initializing with the universal UniTSA model and applying LoRA fine-tuning cuts the required environment interactions by roughly 66% while achieving equal or better performance.

Key Results

UniTSA was compared against traditional baselines (FixTime, Webster, SOTL) and state-of-the-art universal RL models (MPLight, AttendLight).

  • Unseen Intersections: On the test dataset, the best-performing variant—UniTSA (Multi+RNN+TSA)—reduced average vehicle travel times by 32.9% compared to MPLight and 41.3% compared to AttendLight.
  • Real-World Simulation: On the Ingolstadt simulation (INT-12), UniTSA achieved the lowest average waiting time per vehicle (6.190 seconds) compared to traditional baselines like Webster (13.280s) and RL baselines like MPLight (15.047s).
  • Fine-Tuning Efficiency: When adapting to new intersections, the LoRA-enhanced UniTSA model achieved optimal convergence at just 1M environment steps, whereas training an agent from scratch required 3M steps to reach the same performance baseline.

Limitations and Future Work

While UniTSA excels at isolated intersection control, the paper primarily focuses on single-junction optimization. In real-world urban environments, intersections are highly interconnected. Future work will need to explore how universal agents can cooperate to achieve network-level coordination (green waves) across entire cities. Additionally, while the authors added Gaussian noise to simulate V2X communication imperfections, real-world deployment will require deeper validation against communication latencies and packet drops.

Summary updated

BibTeX
@article{wang2024unitsa,
  author = {Maonan Wang and Xi Xiong and Yuheng Kan and Chengcheng Xu and Man-On Pun},
  title = {{UniTSA: A Universal Reinforcement Learning Framework for V2X Traffic Signal Control}},
  journal = {IEEE Trans. Vehicular Technology},
  year = {2024},
  doi = {10.1109/tvt.2024.3403879},
}
Figure