Code4Scene: Benchmarking Coding Agents for Constructing and Editing 3D Scenes
cs.AI
Submitted: 2026-09-29
Updated: 2026-09-29
Comments: 44 pages, including appendices
License: http://creativecommons.org/licenses/by/4.0/
The gist: Frontier coding agents can now write and execute code that authors 3D environments, but whether they reliably understand 3D structure and precisely control scene state remains unclear.
Terminology
Abstract
Frontier coding agents can now write and execute code that authors 3D environments, but whether they reliably understand 3D structure and precisely control scene state remains unclear. The generated 3D scene is a persistent, executable artifact: a convincing render can hide incorrect spatial relations, intersecting objects, or unintended modifications. We introduce Code4Scene, a benchmark of 190 Unreal Engine cases built from human-assembled scenes that evaluates coding agents on two complementary settings under a shared execution interface. Construction tests scene-level spatial reasoning from open-ended language specifications, where many realizations are valid; editing tests precise control of scene state, where the agent must recover the target scene from reference images while preserving everything else. Rather than scoring code or rendered views, Code4Scene evaluates the generated engine-native scene for task fulfillment, artifact integrity, and static physical validity, with edits additionally compared against withheld ground truth. Across 14 coding-agent configurations on the 95-case public set, construction and editing performance are strongly correlated but not interchangeable (Spearman ρ= 0.78): Claude Fable 5.1 leads construction, Gemini 3.8 Flash leads editing, and GPT-6 Astra narrowly leads overall. Spatial Composition is the weakest construction category for every agent, while editing remains imprecise: the best Repair F1 is only 0.527, and 35.8% of edits that fully recover the target still introduce unintended changes elsewhere in the scene. These results expose a gap between plausible 3D generation and reliable spatial reasoning and state control.
Sources
- On Evaluation of Embodied Navigation Agents
- ARC-AGI-3: A New Challenge for Frontier Agentic Intelligence
- DeepSeek-V4.1-Flash: Pushing the Limits of KV Cache Compression
- Gemma 4 Technical Report
- WorldClaw: Agentic 3D Open-World Generation at Scale
- Cutscene Agent: An LLM Agent Framework for Automated 3D Cutscene Generation
- T$^3$Bench: Benchmarking Current Progress in Text-to-3D Generation
- SimWorld Studio: Automatic Environment Generation with Evolving Coding Agent for Embodied Agent Learning
- DeliveryGym: An RL Environment for Long-Horizon Embodied Agent Planning with Adaptive Curriculum
- SimWorlds: A Multi-Agent System for Dynamic 3D Scene Creation
- 3D Primitives are a Spatial Language for VLMs
- WorldCoder-Bench: Benchmarking Physically Grounded 3D World Synthesis
- Adding Error Bars to Evals: A Statistical Approach to Language Model Evaluations
- Efficient Benchmarking of AI Agents
- SceneCritic: A Symbolic Evaluator for 3D Indoor Scene Synthesis
- SceneCode: Executable World Programs for Editable Indoor Scenes with Articulated Objects
- MUSE: Agentic 3D Scene Authoring via Memory-Grounded Incremental Requirement Satisfaction
- Harness-Bench: Evaluating Agent Harnesses across Models and Realistic Workflows
- SceneActBench: Can Agents Act on the 3D Scenes They See?
Related papers
- MAVEN-T: Reinforced Heterogeneous Distillation for Real-Time Multi-Agent Trajectory Prediction
- Model Discovery Agent: LLM-assisted Bayesian experiment design for data-efficient discovery of mechanistic world models
- Agents' Last Exam
- The Clinician's Veto: Navigating Trust, Liability, and Uncertainty in Autonomous AI Prescribing
- MindHelper: Closed-Loop Embodied Mental-State Reasoning for Precision Intervention
- Incumbent Advantage: Brand Bias and Cognitive Manipulation Dynamics in LLM Recommendation Systems