Skip to content
Robotics.world

Research

GS-Agent: Creating 4D Physical Worlds With Generative Simulation

Making a dynamic, physically believable 4D world — objects that fall, liquids that splash, soft bodies that deform, plus deliberate camera and lighting — normally takes skilled artists hours of…

The paper’s first page · arXiv:2607.21522
arXiv
2607.21522 · Preprint · not peer-reviewed
Published
2026-07-23
Authors
Hongxin Zhang, Chunru Lin, Junyan Li, Zhou Xian, Tsun-Hsuan Wang, Chuang Gan

In plain words

Making a dynamic, physically believable 4D world — objects that fall, liquids that splash, soft bodies that deform, plus deliberate camera and lighting — normally takes skilled artists hours of manual work in 3D software. Recent generative models try to learn this from data, but they routinely break physical laws and are hard to steer.

AI summary

Overview

  • Research area: Robotics / embodied AI, specifically generative simulation — building dynamic, physically grounded 4D worlds (3D geometry plus time) from natural language using physics engines driven by foundation-model agents.
  • Technical level: Advanced. The paper assumes familiarity with physics simulation (rigid-body solvers, Material Point Method, Smoothed Particle Hydrodynamics), LLM-based multi-agent systems, and video-generation evaluation metrics.
  • Scope: The paper introduces GS-Agent, a three-agent framework that writes executable code against the Genesis physics engine to construct 4D scenes from text, and compares it against text-to-video models (Sora2, Wan2.2) and coding agents (SWE-Agent, plus a vision-equipped variant) on a 24-scene physics benchmark and a 30-scene complex-interaction suite.

What This Paper Is About

Making a dynamic, physically believable 4D world — objects that fall, liquids that splash, soft bodies that deform, plus deliberate camera and lighting — normally takes skilled artists hours of manual work in 3D software. Recent generative models try to learn this from data, but they routinely break physical laws and are hard to steer. GS-Agent instead automates the human workflow: it uses foundation models as agents that retrieve or create assets, tune material parameters, place objects, script motion, and configure cameras and lights, all by writing code that a real physics engine executes and then critiques from rendered feedback.

Key Contributions

  1. A physics-in-the-loop agentic formulation of 4D world generation. Rather than generating pixels, the system generates an executable simulation that a deterministic physics engine runs, which the authors argue mathematically guarantees internal consistency of geometry, motion, and material interaction.
  2. A multi-agent architecture mirroring a production pipeline. Three specialized agents — Manager (planning, task delegation, global simulation configuration, timeline control), Entity (asset retrieval, placement, material tuning, motion control), and Render (camera, camera trajectories, lighting) — communicate via a SendMessage tool and iterate against multimodal feedback.
  3. A structured Agent–Simulator interface. Raw simulator APIs, the authors argue, are built for human experts; they wrap them into semantically meaningful tools (e.g., AddEntity, ConfigureMPMOptions, ConfigureCameraModel, AddSphereLight) so agents avoid syntax errors and catastrophic parameter choices.
  4. A new evaluation angle enabled by simulation. Because the engine exposes exact 3D center-of-mass kinematics at every timestep, the paper reports State-PIS alongside the pixel-derived Video-PIS, a measurement the authors state is inaccessible to text-to-video models that only output frames.

Main Findings

  • Best physical invariance on NewtonGen. On 24 NewtonGen scenes covering 12 distinct physical laws, GS-Agent scores Video-PIS 0.71 and State-PIS 0.83, versus Sora2 at 0.62, Wan2.2 at 0.46, SWE-Agent at 0.41/0.44, and SWE-Agent w/ Visual at 0.49/0.57. Text-to-video models have no State-PIS entry because they emit only pixels.
  • Best instruction alignment, second-best aesthetics. Over 30 scenes, GS-Agent reaches an Alignment Score of 32.2 versus 30.6 (Sora2), 29.8 (Wan2.2), 25.8 (SWE-Agent), and 26.8 (SWE-Agent w/ Visual). Its Aesthetic score of 47.6 trails Wan2.2 (58.1) and Sora2 (48.5) but beats both SWE-Agent variants (42.0 and 44.6).
  • Humans prefer it on physics, camera control, and alignment. In a user study with 15 participants and 270 valid responses on a 5-point Likert scale, GS-Agent leads on physical plausibility (4.33 vs. Sora2's 4.01), camera controllability (4.32 vs. 3.96 for SWE-Agent w/ Visual), and content alignment (4.70 vs. 4.65 for Sora2). It loses on pure aesthetics (3.86 vs. Sora2's 4.18).
  • Failure modes of pixel generators are concrete. In the sponge fracture case the video models hallucinate abrupt breaking; in the bullet-piercing-water-sphere case Sora2 produces a literal but physically wrong "cavitation trail" while Wan2.2 passes the bullet through with no fluid disintegration; and a static background bed stays identical after a 180° camera rotation, revealing no true 3D scene reasoning.
  • The multi-agent split matters a lot. Collapsing all tools into one monolithic agent drops State-PIS from 0.83 to 0.42 and alignment from 29.9 to 27.9; removing the specialized Agent–Simulator interface drops State-PIS to 0.57 and alignment to 26.8.
  • It works across backbones. With gpt-5 the system reports State-PIS 0.83 / Alignment 29.9 / Aesthetic 47.6; with gemini-3-pro, 0.81 / 28.2 / 45.7; with the open-weights Qwen3.5-27B, 0.62 / 27.1 / 45.3. (Note: the full-system alignment figure differs between Table 1, 32.2, and Tables 3–4, 29.9 — the paper does not reconcile this.)
  • Autonomous error recovery emerged without being trained for it. When an imported 3D bathtub asset turned out not to be watertight and water leaked out, the Manager Agent diagnosed the failure from the rendered video, proposed applying rigid material patches to the geometry's corners, and verified the fix — no human intervention.
  • Fine-grained natural-language control. Users can adjust rendering (e.g., slow motion), spawn entities (e.g., add more billiard balls), and tune motion (e.g., increase velocity for a break) through follow-up language.

Methodology in Plain English

The authors start from an analogy: a film or game pipeline has a director who breaks a brief into tasks and hands them to specialists, then reviews the results. GS-Agent replicates that with three LLM-backed agents.

The Manager Agent reads the prompt, plans a sequence of subtasks, sets global physics options (time step, substeps, gravity, MPM grid resolution, SPH particle size, visualization flags), decides which specialist gets the next task, and can advance or reset the simulation to inspect intermediate states. The Entity Agent first tries to retrieve an existing 3D model from a library indexed by text and CLIP embeddings (BlenderKit and PolyHaven); if nothing fits, it calls the Meshy text-to-3D model and adds the result to the library, falling back to primitive shapes after repeated failures. It then scales and orients assets using their axis-aligned bounding boxes, places them under constraints like resting on surfaces and not interpenetrating, assigns materials, and tunes physical parameters such as Young's modulus, Poisson's ratio, and yield stress by watching how much things actually deform in simulation. Motion is handled by writing per-step control code — PD controllers, direct position/velocity/force commands, and particle emitters. The Render Agent sets camera intrinsics and position, writes camera motion as explicit code (orbits, dolly moves, entity tracking) so trajectories can be smoothed or reparameterized without re-simulating, and configures lights (directional, environment maps, or local sources) depending on the rendering backend.

Every agent writes code through structured tools, and every tool call returns something to look at: scene state, runtime information, images, or rendered video. Agents critique these in context — one quoted reasoning trace reads "The video shows catastrophic leaking, indicating the mesh collider is not watertight" — and message each other to request fixes. The loop continues until the agent is satisfied or hits its tool-call limit. The system runs on the Genesis engine with gpt-5 as the default backbone, and all output is rendered at 720p to match the video-model baselines even though the system supports higher resolutions.

Why This Matters

Impact on research. The paper reframes 4D generation as a program-synthesis-plus-simulation problem rather than a pixel-prediction problem, and contributes a metric (State-PIS) that is only computable when the generator has access to ground-truth physics state. It also shows that agent scaffolding — specialization and interface design — can matter as much as the underlying model, since the same backbone falls from 0.83 to 0.42 State-PIS without the multi-agent split.

Real-world applications:

  • Generating diverse, physically accurate training and evaluation environments for embodied agents and robots, narrowing the sim-to-real gap without costly real-world data collection.
  • Rapid previsualization for film and game production, where a director describes a shot and receives a simulatable scene rather than a hand-animated one.
  • Producing aligned multimodal synthetic data — metric depth maps, precise segmentation masks, surface normals, particle-level dynamics — because the output is a simulation script, not a video file.
  • Education and independent creative work, where the barrier to building interactive physical scenes drops from specialist 3D skills to natural language.

Industry relevance. The work sits at the intersection of physics-engine vendors, generative content tooling, and robotics data pipelines. Because the final artifact is executable simulation code, it can be dropped directly into reinforcement-learning loops — a stronger integration story than a video generator can offer.

Future Directions

  • Raising the simulation fidelity ceiling. The authors state plainly that the performance ceiling is set by contemporary graphics and physics algorithms and that accurate, efficient real-world simulation remains open.
  • Better cinematic and physical self-critique. The framework depends on foundation models judging whether motion and framing look right; the authors note even GPT-5-class models "remain far from perfect" here, and that progress in motion and cinematic understanding will directly lift the framework.
  • Closing the evaluation gap. Automated assessment of physical plausibility, camera controllability, and content alignment is described as an open research problem — the paper leans on a 15-person user study precisely because reliable automatic metrics do not exist. Building them, including a validated State-PIS-style protocol, is a natural next step.
  • Scaling with open-weight models. Qwen3.5-27B already runs the pipeline at a degraded 0.62 State-PIS; the authors expect performance to track the rapid evolution of open backbones, which would matter for cost, reproducibility, and deployment.
  • Responsible deployment. The broader-impact section calls for cryptographic watermarks in both generated simulation code and rendered frames, plus guardrails in the backbone models, since physics-compliant fakes lack the tell-tale hallucinations that make diffusion output debunkable.

Target Audience

Robotics and embodied-AI researchers who need scalable, physically grounded environment generation; graphics and simulation researchers interested in LLM-driven authoring of scenes; and practitioners building multi-agent systems who want a worked example of a domain-specific tool interface beating a general coding agent. Readers without simulation or LLM-agent background will find the results tables accessible but the architecture sections demanding.

Authors’ abstract

Creating dynamic and physically realistic 4D worlds from natural language descriptions is both fascinating and challenging. Traditional computer graphics methods rely on manual creation, requiring extensive human effort to fine-tune materials, motions, and visual fidelity. Recent advances in generative foundation models have sparked interest in learning to generate such 4D worlds from large-scale data; however, existing methods still struggle to ensure physical plausibility…

The full abstract on arXiv
Read the original paper

Related papers