Thinking While Driving: A Concurrent Framework for Real-Time, LLM-Based Adaptive Routing
By: Xiaopei Tan, Muyang Fan
Potential Business Impact:
Lets self-driving cars plan routes while moving.
We present Thinking While Driving, a concurrent routing framework that integrates LLMs into a graph-based traffic environment. Unlike approaches that require agents to stop and deliberate, our system enables LLM-based route planning while agents are moving, significantly reducing intersection wait times. Under high traffic, agents average just 0.75 seconds of decision latency. To coordinate many agents in real-time, we implement a non-blocking asynchronous architecture using Unity coroutines and a dedicated request manager. The environment is a weighted undirected graph with live congestion metrics, updated continuously by the agents to enable shared perception. Our results show LLM-driven agents can dynamically adapt to traffic, reroute around congestion, and exhibit behaviors beyond static pathfinding, all while maintaining real-time performance. This work provides a reproducible framework for future research in adaptive routing and multi-agent cooperation.
Similar Papers
A Multi-Agent LLM Framework for Design Space Exploration in Autonomous Driving Systems
Robotics
Makes self-driving cars design themselves faster.
Multi-Agent Coordination in Autonomous Vehicle Routing: A Simulation-Based Study of Communication, Memory, and Routing Loops
Multiagent Systems
Helps self-driving cars avoid getting stuck.
Constraint-Aware Route Recommendation from Natural Language via Hierarchical LLM Agents
Artificial Intelligence
Finds best routes from your spoken requests.