All models

drivepi

A driving model that pairs a language model with occupancy, flow and trajectory-planning heads.

Reinforcement learning and control · 138 operations Checked

100%

Showing the top corner; full diagram not loaded yetShowing a small copy; full diagram not loaded yetLarge diagram, not loaded yet

Open SVG

Loading diagram (29 KB)

Open in a new tab

Click or tap a spot to read it up close. Scroll or drag inside the diagram to move through it. Zoom with + and − or Ctrl and scroll. Press 0 for the whole graph. Swipe inside the diagram to move through it. Use + and − to zoom.

At a glance

Parameters
1.2M
Operations
138
Framework
PyTorch
Recurrent
No
Published
2025
Cited by
11 (as of 18 November 2026)
Authors
Zhe Liu, Runhui Huang, Rui Yang and others
Checked
Passed: the trace was replayed operation by operation and matched the model's own output for this input.

Files

The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.

Details
Stable ID
m11812
Graph hash
ae6937cc87a7e1b4949c5283398d23a397a751851f17fd43999cae71ab0c7c64
Skeleton hash
057b81d5af42112af3a0b392b8804a214d0a8a4ea81b628e09ecb8da2bee4867
Architecture hash
a5dabe2f924bb72ed95e43d4703386a19860ccfe2f46edfc325660fef0b0564f
Diagram SHA-256
3b3f2f265aa6a53933b216d7e45fd06defef3f30d361e483336a395f17487cad
TorchLens version
2.35.3
Renderer
graphviz 2.43.0+pyvips 3.2.0+libvips 8.18.7+render-opts@06c1f0d3
Check
Forward pass replayed in PyTorch

How this diagram was made

menagerie.classics.drivepi:build_drivepi: build({})

What it is

DrivePI is a multi-modal large language model (MLLM) for autonomous driving that handles spatial understanding, 3D occupancy, occupancy flow and action planning in parallel. The paper calls it a 4D MLLM because it outputs both 3D occupancy and flow. Its starting point is that vision-language-action (VLA) driving models lack the fine-grained intermediate 3D perception and prediction outputs of modular vision-action models, which compromises interpretability and safety.

The pipeline starts with a vision encoder that turns multi-view images and LiDAR point clouds into a compact bird's-eye-view (BEV) feature map. A spatial projector maps those features into the language space as vision tokens, which enter the MLLM together with text tokens. Four heads read the result: a text head for scene understanding, a 3D occupancy head, an occupancy flow head and an action diffusion head for trajectory planning. Where mainstream VLA methods rely on camera images alone, DrivePI adds LiDAR for precise 3D geometry.

The language model is small: the paper uses only a 0.5B Qwen2.5 model as the MLLM backbone. All tasks are optimized jointly, end to end. On nuScenes, the paper reports a 32% lower L2 planning error than VAD (from 0.72m to 0.49m).

Key idea. DrivePI unifies language-based scene understanding with fine-grained 3D occupancy, occupancy flow and trajectory planning in a single end-to-end MLLM for autonomous driving.

  • DrivePI
  • 4D MLLM
  • vision-language-action
  • VLA
  • autonomous driving
  • 3D occupancy
  • occupancy flow
  • trajectory planning
  • nuScenes
  • driving language model

AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.

Cite the paper

@misc{liu2025drivepispatialaware4dmllm,
      title={DrivePI: Spatial-aware 4D MLLM for Unified Autonomous Driving Understanding, Perception, Prediction and Planning}, 
      author={Zhe Liu and Runhui Huang and Rui Yang and Siming Yan and Zining Wang and Lu Hou and Di Lin and Xiang Bai and Hengshuang Zhao},
      year={2025},
      eprint={2512.12799},
      archivePrefix={arXiv},
      primaryClass={cs.CV},
      url={https://arxiv.org/abs/2512.12799}, 
}