TL;DR
CoLLMLight introduces a cooperative multi-agent Large Language Model (LLM) framework for network-wide traffic signal control (TSC). By combining spatiotemporal graph modeling, a dynamic complexity-aware reasoning mechanism, and simulation-driven fine-tuning, it enables lightweight LLMs to effectively coordinate across intersections, achieving state-of-the-art traffic efficiency and zero-shot real-world generalization.
What Problem Does This Paper Address?
Traffic congestion is a severe urban challenge, impacting economic productivity and environmental health. Traditional traffic signal control (TSC) relies on rigid, hand-crafted heuristics, while modern Reinforcement Learning (RL) approaches struggle to generalize to new, unseen traffic patterns.
Recently, LLMs have emerged as a powerful alternative for TSC due to their human-like reasoning and strong generalization capabilities. However, existing LLM-based methods suffer from a major flaw: they focus entirely on localized decision-making. In a real-world road network, intersections do not operate in a vacuum. A green light at one intersection can easily cause a gridlock downstream if that neighboring intersection is already congested.
To achieve network-wide optimization, LLM agents must cooperate. But enabling cross-intersection collaboration introduces two massive hurdles:
- Comprehending complex spatiotemporal interactions across multiple neighboring intersections.
- Balancing computational efficiency and accuracy, as running deep Chain-of-Thought (CoT) reasoning for every single intersection in real time creates an impractical latency bottleneck.
Methods
The authors present CoLLMLight, a cooperative LLM agent framework designed to tackle network-wide TSC through three core components:
- Spatiotemporal-Aware Cooperative Decision-Making: The framework constructs a directed subgraph for each intersection to map spatial lane connectivity. It aggregates real-time lane observations (queue lengths, waiting times, occupancy) and historical traffic interactions over a rolling time window to help the LLM predict how local signal changes will impact neighboring flows.
- Complexity-Aware Reasoning: To optimize inference time, the system dynamically scales its reasoning depth based on a local "congestion risk coefficient" ($n_c$). Intersections are categorized into three levels:
- No Cooperation ($n_c = 0$): Light traffic; the agent directly selects the highest-priority local signal phase.
- Simple Cooperation ($n_c = 1$): Moderate traffic; the agent analyzes local spatiotemporal dependencies but skips future state predictions.
- Complex Cooperation ($n_c > 1$): Heavy traffic; the agent executes the full reasoning chain, predicting future traffic states for all signal configurations before deciding.
- Simulation-Driven Fine-Tuning: Using the CityFlow simulator, the authors collect diverse traffic trajectories. They leverage GPT-4o to generate high-quality structured reasoning chains and pseudo-labels. A lightweight model (Llama 3.1 8B) is then fine-tuned using supervised learning and iteratively refined via environmental feedback to minimize network-wide queue lengths.
Datasets
The framework's learning-based components were trained exclusively on a synthetic dataset and evaluated zero-shot on several real-world benchmarks:
- Syn-Train: A synthetic dataset comprising 16 intersections used as the primary training data.
- Jinan, China: 12 intersections across three distinct traffic flow periods.
- Hangzhou, China: 16 intersections across two traffic flow periods.
- New York City, USA: A massive, highly complex network of 196 intersections in Manhattan's Upper East Side, derived from real taxi trip data.
Key Insights and Ideas
- The Cooperation Premium: Introducing neighborhood information significantly boosts the performance of both RL and LLM approaches. For LLMs, understanding downstream capacity prevents the classic failure mode of dumping traffic into gridlocked areas.
- Compute-on-Demand for Traffic: Not all intersections require deep thinking. By dynamically pruning the reasoning chain for uncongested intersections, CoLLMLight slashes total inference time and token overhead, making real-time LLM deployment practical for large-scale networks.
- Sim-to-Real Generalization: Unlike traditional RL models that overfit to their training environments and fail when transferred to real-world data, CoLLMLight leverages the foundational world knowledge of LLMs to successfully execute zero-shot control in highly complex, unseen environments like Manhattan.
Key Results
- State-of-the-Art Efficiency: CoLLMLight-8B consistently outperformed traditional heuristics, advanced multi-agent RL methods (e.g., Advanced-CoLight), and localized LLM methods (LLMLight) across all real-world datasets.
- Manhattan Gridlock Reduction: In the highly congested New York 1 dataset, CoLLMLight-8B achieved a 25.17% reduction in Average Waiting Time (AWT) compared to the second-best baseline.
- Outperforming Frontier Models: When compared against massive frontier models like DeepSeek-R1 (671B) and O1-mini, the fine-tuned CoLLMLight-8B delivered superior traffic optimization (lower AWT and Average Travel Time) at a fraction of the computational cost.
Limitations and Future Work
While CoLLMLight excels at localized neighborhood cooperation, it relies on independent agents communicating with immediate neighbors. The authors note that future work will investigate a hierarchical asynchronous Multi-Agent LLM framework. This extension aims to introduce regional-level planning agents that can guide local intersection agents, allowing for macro-level traffic management across entire cities.
Summary updated