TL;DR
CoLLMLight is a pioneering cooperative Large Language Model (LLM) agent framework designed for network-wide traffic signal control. By decoupling deep cooperative reasoning from real-time decision-making through an asynchronous architecture, it achieves state-of-the-art traffic efficiency and generalization across diverse urban environments without sacrificing responsiveness.
The Challenge: Isolated Agents and High Latency
Traditional traffic signal control (TSC) often relies on manually designed rules or Reinforcement Learning (RL) models that struggle to generalize to new cities. While recent LLM-based agents show promise due to their reasoning capabilities, they suffer from two major flaws:
- Lack of Cooperation: Most LLM agents treat intersections as isolated islands. An agent might clear its own local queue only to cause a massive "spillback" (congestion) at the next intersection.
- Latency vs. Reasoning: Deep reasoning takes time—often more time than a traffic light has to change. Standard LLMs are too slow for the sub-second or few-second requirements of real-time traffic management.
The CoLLMLight Solution
To address these issues, the authors introduce CoLLMLight, which employs a "think-ahead, act-now" strategy. The framework consists of two main components:
1. Asynchronous Cooperative Decision Architecture
To solve the latency problem, CoLLMLight splits the agent's brain into two modules that run in parallel:
- Spatiotemporal-Aware Cooperative Reasoning (SR): This module performs deep, multi-step reasoning. It analyzes historical trends, spatial relations with neighbors, and potential future congestion. Because this process is computationally heavy, it runs asynchronously, and its suggestions are cached.
- Real-Time Decision (RD): This module acts as the "fast" brain. It takes the current local observation and the cached guidance from the SR module to make an immediate signal choice. This ensures the agent responds within the typical 3-5 second yellow-light window.
2. Cost-Aware Cooperation Optimization
To make the reasoning both effective and efficient, the authors use a two-stage optimization process:
- Adaptive Reasoning Chain Optimization: The LLM is fine-tuned to adjust its "depth of thought." If traffic is simple, it produces a concise response; if complex, it performs a deeper analysis.
- Policy Refinement via RL: Using Proximal Policy Optimization (PPO), the model is further refined with a reward function that balances traffic performance (e.g., minimizing queue length) against computational cost (penalizing excessively long reasoning chains).
Key Insights
- Asynchrony is the Key to LLM Latency: By caching high-level cooperative guidance, the system bypasses the slow nature of LLMs during the critical decision moment.
- Semantic Generalization: Unlike traditional RL, which represents traffic states as abstract numbers, CoLLMLight uses natural language. Phrases like "heavy traffic from the North" are universally understood by the model, allowing it to generalize to complex real-world networks even if trained on synthetic data.
- Thinking is a Resource: The paper demonstrates that "more reasoning" isn't always better. By rewarding the model for being concise and accurate, token usage is significantly reduced—lowering costs and latency while maintaining performance.
Datasets and Results
The models were trained on a synthetic dataset (a 4x4 grid) and evaluated in a zero-shot setting on four real-world traffic networks, including medium-scale networks in China and high-density networks in Manhattan.
- State-of-the-Art Performance: CoLLMLight consistently outperformed all baselines, including advanced RL methods and previous LLM agents. In a New York dataset, it reduced Average Travel Time (ATT) significantly compared to the previous best LLM method.
- Scalability: On a massive benchmark featuring 1,176 intersections and over 46,000 vehicles, CoLLMLight achieved the best performance across all metrics, proving its local-cooperation strategy scales effectively to city-wide control.
- Real-Time Viability: The Real-Time Decision module maintains a latency well below the required threshold for urban infrastructure, making it feasible for actual deployment.
Future Directions
While robust, the system relies on reliable inter-intersection communication. Future work could involve integrating vision-language models (VLMs) to process raw camera feeds directly or exploring more complex multi-agent negotiation protocols. Additionally, further optimization for on-device edge computing would be a logical next step for real-world city infrastructure.
Summary updated