WorldCoder-Bench: Benchmarking Physically Grounded 3D World Synthesis

Shuo Lu, Yinuo Xu, Kecheng Yu, Siru Jiang, Yongcan Yu, Yubin Wang, Haitao Yang, Yuxiang Zhang, Bin Wang, Ran He, Jian LiangNeurIPS 2026 Evaluations and Datasets Track Poster 2026

TL;DR

Large language models (LLMs) can now generate entire interactive 3D worlds in Three.js from a single prompt, but "looks right" no longer means "works right." This paper introduces WorldCoder-Bench (2,026 interactive 3D tasks) and StateProbe, an execution-based evaluator that peeks inside the opaque <canvas> to test whether physics, assets, and user controls actually work. The catch? Even the best frontier models pass fewer than 28% of core behavioral contracts, often failing because their internal state drifts out of sync with the UI.

What Problem Does This Paper Address?

When an LLM builds a static webpage, you can grade it by looking at a screenshot or inspecting the DOM (the HTML structure). But when an LLM builds a browser-native 3D world—like a physics simulator, a chemistry lab, or a mini-game—the action happens inside an opaque <canvas> element via WebGL and JavaScript.

A screenshot can't tell you if energy is conserved, if collisions actually trigger, or if clicking a button updates the underlying engine state rather than just a fake HUD label. In fact, the authors show that DOM-based scoring has essentially zero correlation with actual behavioral correctness (Kendall $\tau_b = -0.021$), and even an 8-step inspection agent gives passing grades to 45.6% of broken outputs.

State synchronization mismatch

Methods

To pierce the <canvas>, the authors propose StateProbe, an execution-based state-verification protocol:

  • Runtime State Interface: Each generated single-HTML program must expose a standardized global object (e.g., window.__3D_STATE__) reporting raw variables like object coordinates, velocities, and interaction flags.
  • Action-Driven Probes: StateProbe runs the program in a headless Chromium browser (via Playwright), applies scripted actions (clicks, key presses, drags, physics steps), snapshots the state before and after, and checks the deltas against hidden behavioral contracts authored by domain experts.
  • Mutation Testing: To ensure the contracts aren't too permissive, the authors deliberately inject bugs—like deleted state updates, scaled physical constants, or swapped event targets—into reference implementations to verify that the tests actually catch them.
  • Utility Metrics: Beyond Verification Coverage (V-Cov), they introduce Return on Automation (RoA) (quality-adjusted human-labor value per dollar of model cost, assuming a $60/hr developer rate) and Time Efficiency Multiplier (TEM) (quality-adjusted human-hours per generation hour).

Datasets

The authors introduce WorldCoder-Bench, a benchmark of 2,026 expert-curated tasks across three macro-categories (Simulation, Rendering, and Application) and 15 fine-grained domains, with optional .glb 3D assets. Built by five PhD researchers who crafted seed tasks—later expanded via LLMs to over 10,000 candidates, human-filtered, and browser-verified—the benchmark is split into:

  • WorldCoder-Core: 205 difficult tasks for the main leaderboard.
  • WorldCoder-Extended: 1,621 tasks for broader model comparison.
  • WorldCoder-Robust: 615 perturbation-augmented variants of Core tasks (tweaking gravity, object counts, phrasing, or .glb filenames).
  • WorldCoder-Dev: 200 public tasks with released contracts for debugging.
Figure 1: Representative generated worlds across Simulation, Application, and Rendering. Tasks combine visual presentation with physical or interactive requirements.

Key Insights and Ideas

  • Presence $\neq$ Behavior: Models are decent at putting the right buttons and 3D objects on screen (Affordance Coverage up to 67.4%), but struggle to make user actions actually change the world state (Transition Coverage tops out at 26.3%).
  • Schema Drift & Broken Chains Dominate: Analyzing 596 zero-transition-coverage failures reveals that 83.6% of primary failures come from State Schema Drift (42.8%, e.g., wrong field names or types) and Broken Interaction Chains (40.8%, e.g., UI actions disconnected from runtime state), rather than missing 3D objects.
  • Utility Flips the Leaderboard: Cheap, fast models can still provide substantial economic value on easier domains like Materials and Shaders, completely rearranging the leaderboard when ranked by cost-efficiency rather than raw accuracy.

Key Results

  • Core: Across nine frontier models, GPT-5.4 leads with 27.8% V-Cov, followed by Gemini 3.1 Pro Preview (26.5%), Qwen3.6-Plus (25.3%), and MiniMax-M2.7 (23.0%). No model exceeds 30%.
  • Extended: Mean V-Cov rises from 21.7% on Core to 36.0% on Extended, with GPT-5.4 remaining first at 42.1%.
  • Robust: Performance drops under parameter perturbations—GPT-5.4 leads at 19.9%, while Qwen3.6-Plus drops from 25.3% to 13.5%.
  • Utility: DeepSeek-V4-Flash achieves the highest RoA (19,150.4 \$/\$, about $12.3\times$ the top proprietary model), while GPT-5.4 leads TEM (68.87 hr/hr).

Limitations and Future Work

  • Passing StateProbe (CHECK_PASS) certifies that the scheduled checks passed, not all possible behaviors of the 3D world.
  • The utility metrics (RoA and TEM) rely on estimated human completion times and assumed token/labor rates rather than measured developer studies.
  • The robustness variants test sensitivity to modified specifications, but do not isolate memorization or template recall.

Summary updated

BibTeX
@inproceedings{lu2026worldcoder,
  author = {Shuo Lu and Yinuo Xu and Kecheng Yu and Siru Jiang and Yongcan Yu and Yubin Wang and Haitao Yang and Yuxiang Zhang and Bin Wang and Ran He and Jian Liang},
  title = {{WorldCoder-Bench: Benchmarking Physically Grounded 3D World Synthesis}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=Ab6N5V6cP2},
}
Figure