arXiv(opens in a new tab)cs.CVOct 2026Cited by 1 paper on PaperVantage

Manuscript Offprint

arXiv:2610.37046

Learning to Code the World: Harness Evolution for Compositional 3D Reconstruction

Haoyu Yao, Chenguo Lin, Ruize Du, Yadong Mu

Haoyu Yao 1^{1} Chenguo Lin 1,†^{1,\dagger} Ruize Du 1^{1} Yadong Mu 1,‡^{1,\ddagger}

1^{1}Peking University

†^{\dagger}Project lead; ‡^{\ddagger}Corresponding author

Figure

Quality Outperform GPT-Sol

DINOv2 Similarity ↑

Figure

Faster Inference Time

Time (s / scene) ↓

Figure

More Cost-Efficient Deployment

Cost (USD / scene) ↓

Figure 1: Our proposed SceneEvolve framework evolves the harness of a compact open-source code agent, enabling it to translate a single image into executable code that constructs an editable, compositional 3D scene. It improves reconstruction quality and reduces inference time compared with the base agent, while achieving higher reconstruction quality at lower cost than GPT-5.6-Sol.

ABSTRACT

Reconstructing editable and compositional 3D scenes from a real image requires jointly reasoning about geometry, object structure, and spatial relationships. We introduce SCENEEVOLVE, a framework that represents 3D scenes as executable code and improves reconstruction by evolving the harness around a small open-source agent. SCENEEVOLVE combines SCENEACT, a compositional semantic action interface built on parameterized primitives, hierarchical composition, and semantic spatial relations, with SCENEHARNESS-RSI, which leverages a stronger teacher agent to iteratively evolve the harness using feedback from development-set reconstructions. Throughout harness evolution, the model parameters, action semantics, and execution backend remain fixed. The resulting harness provides a reusable reconstruction procedure that enables the small open-source model to reconstruct unseen scenes without parameter updates or teacher assistance. Across two in-domain datasets and one out-of-domain dataset, SCENEEVOLVE with the comparatively compact Qwen3.8-27B model improves all four evaluated reconstruction metrics while reducing mean inference time by 47.0% relative to the base model. More notably, despite relying on a substantially smaller model, SCENEEVOLVE achieves 32.3% higher reconstruction quality than the large proprietary GPT-5.6-Sol model, while reducing mean equivalent deployment cost by 59.8%. Furthermore, the harness evolved using Qwen3.8-27B also generalizes to Kimi-K3, achieving comparable reconstruction performance to GPT-6-Astra. The project page is https://haoyu-agent.github.io/SceneEvolve.

1 INTRODUCTION

Compositional 3D scene reconstruction enables interactive and editable representations of real-world environments, with applications in robotics, embodied AI, AR/VR, and digital content creation (Ma et al., 2026; Wang et al., 2026; Yeh et al., 2022). Given a single image of an indoor environment, the goal is to reconstruct an editable, compositional 3D scene that captures its geometry, constituent objects, spatial layout, and lighting (Ma et al., 2026; Yeh et al., 2022).

Existing approaches address this problem through several strategies. Procedural and generative methods synthesize diverse 3D environments (Raistrick et al., 2024; Yang et al., 2024), while multistage reconstruction pipelines divide the task into scene understanding, asset generation, and object placement (Ma et al., 2026). More recently, code-based agents have represented scenes as executable programs, enabling explicit manipulation of objects and spatial relations (Yin et al., 2026; Wang et al., 2026). Despite these advances, reconstructing a specific real-world scene with high fidelity often requires carefully engineered intermediate stages (Ma et al., 2026; Yeh et al., 2022) or repeated render-and-refine iterations (Yin et al., 2026; Huang et al., 2024).

Frontier models such as GPT-6-Astra (OpenAI, 2026b) suggest a more direct approach: generating editable 3D scene programs from a single image with limited iterative refinement. However, their deployment costs motivate us to investigate whether a substantially smaller open-source model can achieve comparable image-to-3D programming capabilities through harness design rather than parameter updates (Khattab et al., 2024; Agrawal et al., 2026a). Our goal is to enable direct scene-code generation while reducing reliance on costly render-and-refine loops.

Achieving this goal presents two main challenges. First, compact models have limited visual and spatial reasoning capabilities, making it difficult to infer coherent 3D structures and translate visual observations into executable scene representations. Second, effective reconstruction also depends on the external harness: the instructions, tools, and control logic that govern how the model observes, plans, constructs, and executes a scene program (Yin et al., 2026; Khattab et al., 2024). Addressing these challenges requires both an interface that reduces the demands on geometric reasoning and a reusable procedure that guides reconstruction.

To address these challenges, we introduce SCENEEVOLVE, as shown in Figure 1, a framework that combines a compositional scene interface, SCENEACT, with a teacher-guided harness evolution framework, SCENEHARNESS-RSI. SCENEACT translates high-level scene intent into executable operations through parameterized geometric primitives, hierarchical object composition, and semantic spatial relations. These abstractions reduce the need for low-level geometric programming while preserving explicit scene structure. Building on this interface, SCENEHARNESS-RSI uses a stronger teacher model to analyze the frozen student's development-set reconstructions, execution traces, and evaluation feedback, then propose revisions to the shared reconstruction harness. Candidate harnesses are evaluated under a common execution budget, and revisions are retained when they improve the development score. Throughout this process, the student parameters, action semantics, and execution backend remain fixed. The optimization target is the reusable reconstruction procedure, which is subsequently frozen and deployed on unseen scenes without teacher assistance.

Our contributions are summarized as follows:

• We formulate compositional 3D scene reconstruction as an executable harness-optimization problem, targeting direct code generation without parameter updates or repeated iterations.

• We introduce SCENEACT, a compositional interface that maps scene intent to executable 3D scene code using parameterized primitives, hierarchical composition, and semantic spatial relations, providing explicit control over object geometry and scene structure.

• We propose SCENEHARNESS-RSI, a teacher-guided recursive evolution method for optimizing reusable reconstruction harnesses. Teacher guidance is used only during evolution, allowing the resulting harnesses to generalize to unseen scenes without teacher assistance.

• Across in-domain and out-of-domain datasets, SCENEEVOLVE with Qwen3.8-27B outperforms GPT-5.6-Sol, reducing cost by 59.8% and inference time by 47.0% relative to the baseline. The evolved harness also transfers to Kimi-K3, achieving results competitive with GPT-6-Astra and demonstrating its transferability across different backbone models.

References (46)