Introduction
Autonomous driving relies heavily on accurate motion prediction to ensure safety and efficiency. While traditional motion forecasting models excel at processing numerical data such as vector maps and historical coordinates, they often lack a global semantic understanding of traffic scenes. For instance, a vehicle slowing down might be yielding at an intersection or searching for a parking spot—nuances that humans navigate using "traffic common sense." Researchers from Tsinghua University address this gap by leveraging the reasoning capabilities of Large Language Models (LLMs), specifically GPT-4V, to provide high-level semantic context to the driving stack.
Methodology
The proposed framework integrates GPT-4V's reasoning with the Motion Transformer (MTR), a state-of-the-art prediction model. The core of this approach involves converting abstract sensor data into a visual format accessible to LLMs.
Transportation Context Maps (TC-Maps)
To bridge the gap between vector data and vision-language models, the researchers "rasterized" abstract data into Bird’s-Eye View (BEV) images called TC-Maps. These maps include color-coded agents, trajectory trails, and road boundaries, allowing the LLM to "see" the traffic scenario.
Systematic Prompt Engineering
Effective utilization of GPT-4V required sophisticated prompt engineering. The authors identified six key design strategies to optimize LLM performance:
- Scenario Simplification: Cropping maps to focus on relevant agents.
- Direction Normalization: Rotating maps so the ego-vehicle faces North, significantly reducing spatial confusion.
- Detailed Information Supplement: Enhancing image prompts with textual data on speeds and distances.
- Multi-task Outputs: Requiring the LLM to categorize scenes into Intentions (e.g., "Straight-Left"), Affordances (e.g., "Slow-Allow"), and Scenarios (e.g., "Intersection").
Context Integration and Scaling
The generated semantic insights are converted into mathematical embeddings and injected into the MTR model via cross-attention. To manage API costs, the researchers employed a cost-effective scaling strategy: they labeled only 0.7% of the dataset with the LLM and used a nearest-neighbor algorithm to propagate these insights to similar scenarios across the remaining data.
Experimental Results
The framework was evaluated using the Waymo Open Motion Dataset (WOMD), a benchmark containing over 100,000 real-world urban driving segments.
Performance Gains
The LLM-augmented model consistently outperformed the baseline MTR across all agent types, including vehicles, pedestrians, and cyclists. On the WOMD validation set, the mean Average Precision (mAP) increased by 0.95%. Ablation studies showed that combining all three context types (Intention, Affordance, and Scenario) yielded a 1.67% mAP improvement over the baseline.
Semantic Accuracy
GPT-4V demonstrated high proficiency as a semantic annotator, achieving 82.59% accuracy in identifying high-level intentions. A notable finding was the "North" bias: LLMs performed significantly better when the vehicle's heading was normalized to North, highlighting a specific spatial reasoning characteristic of current vision-language models.
Discussion and Conclusion
This research demonstrates that LLMs can act as powerful semantic priors for specialized motion prediction models. While GPT-4V's raw coordinate prediction is less precise than dedicated models, its high-level scene understanding provides a "human-like" reasoning layer that refines numerical predictions.
Current limitations include the high latency of LLMs, making them more suitable for offline training or data augmentation than real-time onboard inference. Future work will explore the use of smaller, open-source models like LLaVA to achieve similar results locally and improve handling of extremely dense traffic interactions.
Source Code: GitHub - AIR-DISCOVER/LLM-Augmented-MTR
Summary updated