Abstract
Autonomous driving requires a comprehensive understanding of 3D environments to facilitate high-level tasks such as motion prediction, planning, and mapping. In this paper, we introduce DriveMLLM, a benchmark specifically designed to evaluate the spatial understanding capabilities of multimodal large language models (MLLMs) in autonomous driving. DriveMLLM includes 880 front-facing camera images and introduces both absolute and relative spatial reasoning tasks, accompanied by linguistically diverse natural language questions. To measure MLLMs' performance, we propose novel evaluation metrics focusing on spatial understanding. We evaluate several state-of-the-art MLLMs on DriveMLLM, and our results reveal the limitations of current models in understanding complex spatial relationships in driving contexts. We believe these findings underscore the need for more advanced MLLM-based spatial reasoning methods and highlight the potential for DriveMLLM to drive further research in autonomous driving.
Introduction
While Multimodal Large Language Models (MLLMs) are increasingly integrated into autonomous driving systems for high-level decision-making, their actual grasp of 3D spatial layouts remains questionable. Existing spatial benchmarks often focus on simple 2D relationships in indoor settings. However, in driving, spatial reasoning—encompassing 3D orientation (yaw), metric depth, and complex inter-object relationships—is critical for safety. This work introduces the SURDS (Spatial Understanding and Reasoning in Driving Scenes) benchmark to evaluate these fine-grained capabilities in the wild.
Methods and Dataset Construction
The SURDS benchmark was curated from the nuScenes autonomous driving dataset using a multi-stage filtering pipeline to ensure high-quality, unambiguous data. The resulting dataset consists of over 50,000 vision-question-answer samples (including 41,080 training and 9,250 evaluation instances), covering six key tasks: yaw angle determination, pixel-level localization, depth range estimation, pairwise distance, lateral ordering, and front/behind relations.
To enhance model reasoning, a novel training pipeline was developed:
- Test-Time CoT Scaling: A teacher model (QVQ) generates Chain-of-Thought (CoT) reasoning traces, which are distilled into rules for student models.
- GRPO Alignment: The core contribution is the use of Group Relative Policy Optimization (GRPO). This reinforcement learning approach optimizes models based on four reward signals: format compliance, localization accuracy (IoU > 0.5), final answer correctness, and Logic Reward (ensuring the reasoning trace leads to the correct answer).
Experimental Results
Evaluation of state-of-the-art models reveals that scale does not equate to spatial competence. Proprietary models like GPT-4o often perform near random on metric tasks like depth and orientation. In contrast, the proposed Qwen2.5-VL-3B-SFT-GRPO-LocLogic model significantly outperforms larger models, achieving an overall score of 40.80 compared to GPT-4o's 13.30.
Key findings include:
- The Logic Gap: Models frequently arrive at correct answers through flawed reasoning. The introduction of a Logic Reward significantly reduces these hallucinations and improves robust understanding.
- RL-Driven Improvement: The transition from Supervised Fine-Tuning (SFT) to GRPO-aligned training provided the most substantial performance gains, particularly in depth estimation, where a 60% improvement was observed over baseline models.
Conclusion
DriveMLLM and the SURDS benchmark highlight the current limitations of general-purpose MLLMs in driving-specific spatial reasoning. By employing targeted reinforcement learning with logical consistency rewards, we can significantly bridge the gap between linguistic fluency and metric spatial awareness. Future work will explore scaling these methods to larger models and extending the benchmark to temporal video sequences to evaluate dynamic spatial reasoning.
Summary updated