LLM-Assisted Light: Leveraging Large Language Model Capabilities for Human-Mimetic Traffic Signal Control in Complex Urban Environments

Maonan Wang, Aoyu Pang, Yuheng Kan, Man-On Pun, Chung Shue Chen, Bo HuangarXiv 2024 · DOI

Introduction

Traffic Signal Control (TSC) is a fundamental component of urban infrastructure, directly impacting city-wide mobility and safety. Despite its importance, existing systems often struggle with the dynamic and unpredictable nature of urban environments. Traditional rule-based methods, such as the Webster method, rely on fixed logic that fails to adapt to sudden traffic fluctuations. Conversely, state-of-the-art Reinforcement Learning (RL) approaches, while adaptive, are prone to overfitting and lack the "common sense" required to handle "long-tail" events—rare but critical scenarios like sensor failures, roadblocks, or emergency vehicle priority.

To address these limitations, this research introduces LA-Light (LLM-Assisted Light), a novel framework that utilizes Large Language Models (LLMs) as a central reasoning engine for traffic management. By mimicking human-like decision-making, LA-Light can interpret complex scenarios and maintain robust performance even when faced with corrupted data or unexpected incidents.

The LA-Light Framework

LA-Light shifts the paradigm of TSC from a purely numerical optimization problem to a reasoning-based task. Unlike traditional algorithms that map observations directly to signal actions, LA-Light employs an LLM (specifically GPT-4 Turbo) to act as a high-level controller that interacts with specialized tools.

Comparison between traditional TSC algorithms and the proposed LLM-based framework.

The framework operates through a closed-loop process consisting of five distinct stages:

  1. Task Planning: The LLM defines its operational objectives based on the current intersection context.
  2. Tool Selection: The agent selects appropriate tools from a specialized "Toolkit for TSC," which includes perception tools for gathering real-time data and decision tools for evaluating potential actions.
  3. Tool Interaction: The system queries the traffic environment (simulated via SUMO) to retrieve metrics like queue lengths and phase IDs.
  4. Data Analysis: The LLM synthesizes raw data, identifies anomalies (e.g., detecting a malfunctioning sensor reporting impossible values), and weighs various strategies using Chain-of-Thought reasoning.
  5. Implementation & Explanation: The final signal decision is executed, accompanied by a natural language justification of the logic used.
The detailed architecture of the LA-Light framework, illustrating the interaction between the Decision Unit (LLM), the TSC Toolkit, and the environment.

Experimental Evaluation

The framework was rigorously tested using the Simulation of Urban MObility (SUMO) platform. Evaluations were conducted on both synthetic intersections and a large-scale real-world network modeled after the Chenta Road area in Shanghai, utilizing surveillance data from July 2021. To test the system's resilience, researchers introduced three "stress-test" scenarios: Emergency Vehicle (EMV) priority, Roadblock Incidents (RBI), and Sensor Outages (SO).

Key Results

LA-Light demonstrated superior robustness compared to traditional and RL-based baselines:

  • Resilience to Sensor Failure: In the Shanghai network, LA-Light reduced Average Waiting Time (AWT) by 20.4% over the best RL systems during sensor outages. While RL models saw a 16.1% performance degradation under these conditions, LA-Light remained stable with only a 6.9% increase in travel time.
  • Emergency Prioritization: LA-Light successfully prioritized ambulances in the EMV scenario, significantly reducing Average Emergency Travel Time (AETT), a task where standard RL models often failed as they prioritized overall flow over specific high-priority vehicles.
  • Zero-Shot Generalization: Unlike RL models that require extensive retraining for new layouts, LA-Light's inherent reasoning capabilities allowed it to manage unfamiliar intersections effectively without prior training.

Discussion and Future Work

A significant advantage of LA-Light is its transparency. By providing natural language explanations for its decisions, it bridges the gap between automated systems and human operators, fostering trust in AI-driven infrastructure.

However, two primary challenges remain for real-world deployment. First, the computational latency associated with LLM inference can be high, potentially delaying real-time responses. Second, the current textual bottleneck—converting traffic data into text for the LLM—may lose nuanced information. Future research will explore the integration of Vision-Language Models (VLMs) to allow the system to process raw camera feeds directly, further enhancing its perception and efficiency.

Summary updated

BibTeX
@misc{wang2024llm,
  author = {Maonan Wang and Aoyu Pang and Yuheng Kan and Man-On Pun and Chung Shue Chen and Bo Huang},
  title = {{LLM-Assisted Light: Leveraging Large Language Model Capabilities for Human-Mimetic Traffic Signal Control in Complex Urban Environments}},
  year = {2024},
  eprint = {2403.08337},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2403.08337},
}
Figure