MPDrive: Improving Spatial Understanding with Marker-Based Prompt Learning for Autonomous Driving

Zhiyuan Zhang, Xiaofan Li, Zhihao Xu, Wenjie Peng, Zijian Zhou +2 more
2/10/2026

No official code found. Best implementation: SCUT-MMPR/MPDrive (1 star, Apache-2.0, last commit 2025-04-30).

Abstract

Autonomous driving visual question answering (AD-VQA) aims to answer questions related to perception, prediction, and planning based on given driving scene images, heavily relying on the model’s spatial understanding capabilities. Prior works typically express spatial information through textual representations of coordinates, resulting in semantic gaps between visual coordinate representations and textual descriptions. This oversight hinders the accurate transmission of spatial information and increases the expressive burden. To address this, we propose a novel Marker-based Prompt learning framework (MPDrive), which represents spatial coordinates by concise visual markers, ensuring linguistic expressive consistency and enhancing the accuracy of both visual perception and spatial expression in AD-VQA. Specifically, we create marker images by employing a detection expert to overlay object regions with numerical labels, converting complex textual coordinate generation into straightforward text-based visual marker predictions. Moreover, we fuse original and marker images as scene-level features and integrate them with detection priors to derive instance-level features. By combining these features, we construct dual-granularity visual prompts that stimulate the LLM’s spatial perception capabilities. Extensive experiments on the DriveLM and CODA-LM datasets show that MPDrive achieves state-of-the-art performance, particularly in cases requiring sophisticated spatial understanding.

View on arXivView PDF

Code Implementations(1)

SCUT-MMPR/MPDriveCommunity65%
Apache-2.0

code of CVPR 2025 "MPDrive: Improving Spatial Understanding with Marker-Based Prompt Learning for Autonomous Driving"

10Apr 30, 20251 years agoApache-2.0

Similar Papers

Cite this paper

@article{zhang2026mpdrive,
  title  = {MPDrive: Improving Spatial Understanding with Marker-Based Prompt Learning for Autonomous Driving},
  author = {Zhiyuan Zhang and Xiaofan Li and Zhihao Xu and Wenjie Peng and Zijian Zhou and Miaojing Shi and Shuangping Huang},
  year   = {2026},
  eprint = {2504.00379},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2504.00379},
  journal = {CVPR 2025 2025}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2504.00379.svg)](https://codeofpaper.com/paper/2504.00379)

Discussion