D2-V2X: Depth-Driven Cooperative V2X Reasoning for Autonomous Driving

May 26, 2026 ยท View on GitHub

Official implementation of "D2-V2X: Depth-Driven Cooperative V2X Reasoning for Autonomous Driving", accepted to the CVPR 2026 DriveX Workshop

๐Ÿš€ Overview

D2-V2X is a spatially-aware Question-Rationale-Answer (QRA) benchmark designed to move Vision-Language Models (VLMs) beyond simple perception into cooperative, reasoned decision-making. D2-V2X provides a unified multimodal framework that leverages 3D LiDAR, cooperative V2X infrastructure, and Chain-of-Thought (CoT) reasoning to address the constraint of sensor occlusions in autonomous driving.

Teaser figure comparing the D2-V2X baseline to a Zero-Shot VLM

Key Features:

  • Dataset: 8,500 multimodal QRA triplets grounded in the TUMTraf-V2X universe.
  • Reasoning: Explicit Chain-of-Thought (CoT) rationales that force models to articulate spatial relationships before making a maneuver decision.
  • Baseline Architecture: A parameter-efficient adapter aligning 3D LiDAR voxel features with the VLM latent space.

๐Ÿ“ Repository Structure

.
โ”œโ”€โ”€ data_pipeline/       # Dataset and collator implementations
โ”œโ”€โ”€ models/              # Adapter and model architecture
โ”œโ”€โ”€ qwen/                # Updated Qwen files
โ”œโ”€โ”€ utils/               # Utility scripts for data processing
โ”œโ”€โ”€ train.py             # Train model on the dataset
โ”œโ”€โ”€ evaluate.py          # Evaluate model on the dataset
โ”œโ”€โ”€ requirements.txt     # Requirements for environment setup
โ””โ”€โ”€ README.md

Getting Started

Installation

git clone https://github.com/KevinRichard1/D2-V2X.git
cd D2-V2X
pip install -r requirements.txt

Usage

# To train the model:
python train.py \
    --qwen_path="/path/to/qwen/model" \
    --train_path="/path/to/train/dataset" \
    --val_path="/path/to/val/dataset" \
    --img_path="/path/to/images" \
    --train_feature_path="/path/to/train/lidar/features" \
    --val_feature_path="/path/to/val/lidar/features" \
    --output_path="/checkpoint/path" \
    --mode="" \
    --stage="" \
    --lr=2e-5 \
    --epochs=3 \
    --batch_size=1 \
    --accum_steps=64

# To evaluate the model
python evaluate.py \
    --qwen_path="/path/to/qwen/model" \
    --checkpoint_path="/checkpoint/path" \
    --inference \
    --evaluate \
    --mode="" \
    --json_path="/path/to/test/dataset" \
    --img_path="/path/to/images" \
    --test_feature_path="/path/to/test/lidar/features" \
    --inference_save_path="results.json" \

โœ๏ธ Citation

If you find our work useful, please cite:

@misc{richard2026d2v2xdepthdrivencooperativev2x,
      title={D2-V2X: Depth-Driven Cooperative V2X Reasoning for Autonomous Driving}, 
      author={Kevin Richard and Alphin Varghese and Colin Pham and David Oh and Srijan Das},
      year={2026},
      eprint={2605.24098},
      archivePrefix={arXiv},
      primaryClass={cs.CV},
      url={https://arxiv.org/abs/2605.24098}, 
}

Acknowledgements

We thank the creators of the TUMTraf-V2X dataset and the Qwen3-VL model.