Open-ti: open traffic intelligence with augmented language model

Longchao Da, Kuanru Liou, Tiejin Chen, Xuesong Zhou, Xiangyong Luo, Yezhou Yang, Hua Wei · DOI

TL;DR

This paper introduces Open-TI, an augmented language model designed to bridge the gap between complex traffic intelligence research and practical industry applications. Open-TI can perform end-to-end traffic analysis, from map data acquisition to complex simulations, and even control traffic signals, all through natural language commands.

What Problem Does This Paper Address?

The field of intelligent transportation, while promising for improving urban mobility, is hampered by a significant industry-academic gap. The advanced algorithms and neural networks involved are often too complex for practitioners to understand and deploy. This complexity creates a barrier to trust and adoption in real-world scenarios. The authors aim to democratize access to sophisticated traffic intelligence tools by creating a system that can understand and execute intricate commands using natural language.

Methods

Open-TI is built upon large language models (LLMs) augmented with the ability to use tools. This "Augmented Language Model" (ALM) approach allows Open-TI to:

  • Understand Natural Language: It can interpret user requests expressed in plain English.
  • Harness External Tools: It's integrated with a suite of traffic analysis and simulation tools (e.g., OpenStreetMap, SUMO, CityFlow, DLSim, Libsignal).
  • Perform End-to-End Analysis: Open-TI can handle tasks from scratch, including downloading map data, filtering specific road types (like bike lanes), generating traffic demand, and running simulations.
  • Task-Specific Embodiment: It can perform specialized tasks like training traffic signal control policies and optimizing O-D matrices.
  • Meta-Control: Open-TI can act as a pivotal agent, communicating with other control agents (like ChatZero) to execute traffic signal control based on high-level policy descriptions.
  • Prompt Engineering: The system relies on carefully designed prompts to guide the LLM's behavior and ensure accurate tool usage.

Datasets

The paper does not explicitly mention specific datasets used for training the LLM itself. However, it utilizes real-world traffic data and map data (e.g., from OpenStreetMap) for its analysis and simulation tasks. The experiments involve using realistic road map data in Hangzhou city and data from Sedona, AZ, USA.

Key Insights and Ideas

  • LLMs as Traffic Intelligence Agents: The core idea is that LLMs, when augmented with domain-specific tools, can become powerful agents for complex tasks beyond simple information retrieval.
  • Bridging the Industry-Academic Gap: Open-TI's natural language interface and end-to-end capabilities are designed to make advanced traffic intelligence accessible to a wider audience.
  • "Turing Indistinguishable Traffic Intelligence": The ultimate goal is to create an AI that can perform traffic analysis and decision-making indistinguishably from a human expert.
  • Importance of Prompt Design: The authors highlight that meticulous prompt engineering is crucial for the LLM to effectively utilize its augmented tools and achieve stable performance.
  • Meta-Control for Traffic Signals: The agent-agent communication approach for traffic signal control demonstrates a novel way to implement complex policies through natural language.

Key Results

  • Reduced API Error Rates: Open-TI demonstrated significantly lower API abnormal behavior rates (No API Call Rate, API Mismatching Rate, Error Raise Rate) compared to a baseline method (TrafficGPT), achieving an overall error rate of 8.3% versus 19.2%.
  • Stable Performance: Open-TI showed more stable performance across various tasks, particularly in error rate, even for complex tasks like showOnMap which involves multiple sub-steps.
  • Effective Meta-Control: Experiments with ChatZero across different LLMs showed that GPT-4.0 provided the best traffic control results, achieving the highest throughput and lowest average travel time.
  • Component Impact: Ablation studies revealed that Format Restriction and Example components in prompt design had a notably significant impact on Open-TI's performance.

Limitations and Future Work

  • API Mismatch in Sequential Actions: The authors note that multi-step sequential actions can lead to API mismatches, suggesting future work should focus on improving accuracy in this area.
  • LLM Performance Variability: While GPT-4.0 showed superior performance in meta-control, the paper also tested other LLMs (Llama7B, Llama13B, GPT3.5), indicating that performance can vary across different models.
  • Community-Driven Enhancements: The paper emphasizes an open-ended design that invites further community contributions to enhance Open-TI's capabilities.
  • Further Exploration of Prompt Components: The ablation study suggests that careful attention to prompt components like Format Restriction and Example is key for improving execution-related prompts.

Summary updated

BibTeX
@article{da2024open,
  author = {Longchao Da and Kuanru Liou and Tiejin Chen and Xuesong Zhou and Xiangyong Luo and Yezhou Yang and Hua Wei},
  title = {{Open-ti: open traffic intelligence with augmented language model}},
  journal = {Int. J. Mach. Learn. Cybern.},
  year = {2024},
  doi = {10.1007/s13042-024-02190-8},
}
Figure