cs.CVOct 21, 2026

VoxProg: 3D Spatial Reasoning through Voxel Programming

Authors: Zhichao Zhai, Menglei Zhao, Guikun Chen, Zihao Yan, Kanzhi Wu, Wenguan Wang, Jun Xiao

Organizations: Zhejiang University · vivo Mobile Communication Co., Ltd., Shenzhen, China

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)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.

Figures & tables

Explore similar work

CardsList
  1. VoxelCodeBench: Benchmarking 3D World Modeling Through Code Generation

    Apr 2, 2026Yan Zheng, Florian BordesCode Generation Benchmarks3D Spatial Reasoning

  2. Task-Adaptive Grounded 3D-Programmers Using 2D VLMs

    Oct 1, 2026Arman Raayatsanati, Sombit Dey, Anna-Maria Halacheva +33D Scene Generation3D Scene Understanding

  3. pySpatial: Generating 3D Visual Programs for Zero-Shot Spatial Reasoning

    Mar 1, 2026Zhanpeng Luo, Ce Zhang, Silong Yong +6Visual Program Synthesis3D Spatial Reasoning