VoxProg:3D Spatial Reasoning through Voxel Programming
1Zhejiang University2vivo Mobile Communication Co., Ltd., Shenzhen, China
TL;DRVoxProg empowers VLM coding agents with voxel programming—turning complex 3D spatial reasoning and open-ended spatial tasks into executable, self-refining code over 3D scenes.
Abstract
Language models' abilities to interpret tasks and generate programs offer a promising basis for 3D spatial reasoning. Yet following spatial instructions in 3D scenes requires programs to construct geometric references that language leaves implicit. In this work, we introduce VoxProg, which formulates 3D object placement through voxel programming: a language model translates task interpretations into executable programs over local voxel views of scene surfaces. Because these views index surface geometry on regular grids with explicit coordinates and neighborhood relations, an evidence program can isolate task-relevant regions and boundaries directly from scene meshes, and a downstream pose program can measure the resulting geometry to compute a target SE(3) pose. Visual and numerical feedback from execution lets the model inspect intermediate selections and candidate placements to iteratively revise its code. To evaluate open-ended placement across functional use, geometric fit, and contextual arrangements, we introduce the 71-task VoxProg-Bench benchmark along with an evaluation suite pairing perceptual Intent Alignment and 3D Physical Validity. Across VoxProg-Bench and external benchmarks, VoxProg consistently outperforms relation-based, keypoint-based, and mesh-based baselines.
Method
Results
VoxProg-Bench
71 open-ended placement tasks.
- IA Rank Score
- reference-image similarity ranked within each table.
- Physical Validity
- pass rate for geometric support and interpenetration checks.
| Method | IA Rank Score ↑ | Physical Validity (%) ↑ |
|---|---|---|
| GenManip | 25.59 | 73.2 |
| GenSim2-kPAM | 42.72 | 77.5 |
| Direct Mesh | 48.59 | 87.3 |
| VoxProg | 83.10 | 95.8 |
Placement comparisons
Placement examples
Explore selected scenes in detail.
“Place the sneaker on the sloped display stand with its toe facing the front.”
External evaluation
Citation
If you use VoxProg in your research, please cite our paper.
@article{zhai2026voxprog,
author = {Zhai, Zhichao and Zhao, Menglei and Chen, Guikun and Yan, Zihao and Wu, Kanzhi and Wang, Wenguan and Xiao, Jun},
title = {{VoxProg}: {3D} Spatial Reasoning through Voxel Programming},
journal = {arXiv preprint arXiv:2610.30127},
year = {2026}
}