Abstract
AgentsCoDriver is a novel framework that leverages Large Language Models (LLMs) to transform autonomous driving from a "black-box" individual task into a transparent, collaborative, and evolving process. By integrating a reasoning engine with a "verbal" reinforcement learning loop and a dedicated communication module, it enables multiple vehicles to negotiate complex traffic scenarios and continuously learn from their experiences.
Introduction
Current autonomous driving (AD) systems are primarily data-driven, relying on deep neural networks that function as "black boxes." This leads to three major hurdles: a lack of interpretability, static knowledge that cannot easily adapt to novel environments, and the "single-vehicle" silo where vehicles fail to negotiate social traffic logic. AgentsCoDriver addresses these by moving toward Connected and Autonomous Driving (CAD), where vehicles don't just perceive the world, but talk to each other and reason through shared intent.
Methodology
AgentsCoDriver consists of five interconnected modules that mimic human cognitive processes:
- Observation Module: Converts raw environmental data (vehicle positions, velocities, lane info) into structured text descriptions and vector embeddings.
- Reasoning Engine: The "brain" of the system. It uses an LLM (specifically GPT-3.5-turbo) and Chain-of-Thought (CoT) prompting to break down complex driving tasks into intermediate logical steps before deciding on a "meta-action."
- Cognitive Memory Module: A three-tiered database containing commonsense memory (traffic rules), experience memory (successful past maneuvers), and reflection memory (lessons learned from failures).
- Reinforcement Reflection Module: Instead of traditional numeric rewards, this module uses an Evaluator and a Reflector to provide verbal critiques. If a vehicle causes a near-miss, the Reflector analyzes the error and stores the lesson in memory.
- Communication Module: An LLM-based generator that determines when it is necessary to talk to nearby vehicles and what specific information (intentions, speed, etc.) to share to resolve potential conflicts.
Experimental Setup
The researchers evaluated the framework using HighwayEnv, a widely recognized simulator for tactical decision-making in autonomous driving. They focused on two primary scenarios:
- Highway: High-speed driving involving lane changes and merging.
- Intersection: A complex multi-vehicle environment requiring negotiation to avoid collisions while turning or crossing.
AgentsCoDriver was benchmarked against DiLu, a state-of-the-art LLM-based driving baseline, in multi-agent configurations.
Key Results and Insights
AgentsCoDriver demonstrated significant improvements over existing baselines. In Highway scenarios, it achieved a median Success Step (SS) of 10.0, significantly outperforming DiLu’s 7.0. In a 5-vehicle intersection scenario, enabling the communication module increased the Success Rate (SR) from 40% to 70%.
A critical finding is the power of Verbal Reinforcement Learning. Replacing numeric gradients with natural language feedback allows the system to update behavior more efficiently. Furthermore, performance scales dramatically as the model accumulates experience through its memory modules.
Discussion and Future Work
While AgentsCoDriver shows the viability of LLMs for collaborative driving, several challenges remain. LLM inference latency currently takes several seconds per decision, which is too slow for real-world high-speed driving. Additionally, the current system is text-based; future versions need to be multi-modal, allowing the LLM to process visual information directly. Finally, transitioning from 2D simulators to high-fidelity 3D environments and real-world roads remains a significant future milestone.
Summary updated