Learning to Code the World: Harness Evolution for Compositional 3D Reconstruction
Organizations: 1Peking University
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.
Figures & tables
| In-domain | Out-of-domain | ||||||||||||
| Model | Inference effort | ScanNet | CA-1M | ARKitScenes | |||||||||
| PSNR | SSIM | LPIPS | DINOv2-S | PSNR | SSIM | LPIPS | DINOv2-S | PSNR | SSIM | LPIPS | DINOv2-S | ||
| GPT-6-Astra | High | 10.063 | 0.386 | 0.684 | 0.590 | 10.309 | 0.382 | 0.705 | 0.556 | 9.561 | 0.407 | 0.748 | 0.519 |
| GPT-6-Astra | Medium | 10.143 | 0.383 | 0.684 | 0.579 | 10.433 | 0.378 | 0.711 | 0.557 | 10.177 | 0.423 | 0.732 | 0.528 |
| GPT-6-Astra | Low | 9.888 | 0.385 | 0.701 | 0.596 | 10.108 | 0.372 | 0.691 | 0.552 | 10.245 | 0.403 | 0.712 | 0.475 |
| Claude-Opus-5 | High | 9.174 | 0.352 | 0.735 | 0.438 | 8.781 | 0.368 | 0.749 | 0.441 | 8.551 | 0.389 | 0.751 | 0.417 |
| Configuration | PSNR | SSIM | LPIPS | DINOv2-S | Time | Cost |
|---|---|---|---|---|---|---|
| Base Qwen3.8-27B | 9.049 | 0.397 | 0.788 | 0.198 | 1510.7 | 0.147 |
| w/o SceneAct | 9.102 | 0.405 | 0.771 | 0.305 | 1035.0 | 0.152 |
| w/o SceneHarness-RSI | 9.119 | 0.411 | 0.762 | 0.285 | 1424.0 | 0.155 |
| SceneEvolve | 9.166 | 0.424 | 0.739 | 0.392 | 800.2 | 0.117 |
3D Reconstruction
3D reconstruction recovers a scene’s shape, appearance, and camera motion from images, video, depth, or other sensor measurements.
See all 957 papers