4DThinker: Thinking with 4D Imagery for Dynamic Spatial Understanding

Zhangquan Chen, Manyuan Zhang, Xinlei Yu, Xiang An, Bo Li +7 more
5/7/2026
7 citations
cs.CV
rl

Official code: zhangquanchen/4DThinker (83 stars, Python, Apache-2.0, last commit 2026-05-26).

Abstract

Dynamic spatial reasoning from monocular video is essential for bridging visual intelligence and the physical world, yet remains challenging for vision-language models (VLMs). Prior approaches either verbalize spatial-temporal reasoning entirely as text, which is inherently verbose and imprecise for complex dynamics, or rely on external geometric modules that increase inference complexity without fostering intrinsic model capability.

Show full abstract

In this paper, we present 4DThinker, the first framework that enables VLMs to "think with 4D" through dynamic latent mental imagery, i.e., internally simulating how scenes evolve within the continuous hidden space. Specifically, we first introduce a scalable, annotation-free data generation pipeline that synthesizes 4D reasoning data from raw videos. We then propose Dynamic-Imagery Fine-Tuning (DIFT), which jointly supervises textual tokens and 4D latents to ground the model in dynamic visual semantics. Building on this, 4D Reinforcement Learning (4DRL) further tackles complex reasoning tasks via outcome-based rewards, restricting policy gradients to text tokens to ensure stable optimization. Extensive experiments across multiple dynamic spatial reasoning benchmarks demonstrate that 4DThinker consistently outperforms strong baselines and offers a new perspective toward 4D reasoning in VLMs. Our code is available at https://github.com/zhangquanchen/4DThinker.

View on arXivView PDF

Code Implementations(1)

Apache-2.0

4DThinker: Thinking with 4D Imagery for Dynamic Spatial Understanding

835Python, Jupyter NotebookMay 7, 20266 months agoApache-2.0

Similar Papers

Cite this paper

@article{chen2026dthinker,
  title  = {4DThinker: Thinking with 4D Imagery for Dynamic Spatial Understanding},
  author = {Zhangquan Chen and Manyuan Zhang and Xinlei Yu and Xiang An and Bo Li and Xin Xie and ZiDong Wang and Mingze Sun and Shuang Chen and Hongyu Li and Xiaobin Hu and Ruqi Huang},
  year   = {2026},
  eprint = {2605.05997},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2605.05997v2}
}

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/2605.05997.svg)](https://codeofpaper.com/paper/2605.05997)

Discussion