Simulate, Render, Measure: A Video Generation Agent That Measures Its Own Physics

Xin Li, Yuchen Xie, Hao Jiang, Wei Chow, Jia-Wang Bian, Chau YuenarXiv 2026

TL;DR

Modern video generators can make a bouncing ball look photorealistic, but they rarely obey the actual laws of physics—balls fall too slowly, bounce too high, or drift for no reason. PhysVideo fixes this by pairing a physics simulator with a video-measuring agent that checks every generated clip against its own simulation. If the video drifts from the physics, the agent diagnoses whether the bug is in the simulation program (which is free to fix) or the video renderer, and delivers the final clip with an auditable "physics bill."

What Problem Does This Paper Address?

If you ask a text-to-video model for a ball falling on Mars or colliding at a specific speed, it will usually generate something that looks plausible at a glance. Measure the motion frame-by-frame, however, and the physics almost always falls apart.

A popular workaround is to spend more compute at test time: generate several videos and let a Vision-Language Model (VLM) pick the best one, or use an agent that writes a physics simulation first and hands it to a video generator. Both approaches hit a wall. VLMs are surprisingly bad at judging quantitative physics from pixels alone—they can't easily tell if a ball fell at $9.8\text{ m/s}^2$ or $3.7\text{ m/s}^2$. Meanwhile, simulation-first agents check their program before rendering, but never check the final video. Even when conditioned on a simulation, video generators can still "drift" and ignore the intended motion.

Comparison of Text-to-video vs PhysVideo on pendulum and basketball collision prompts

Methods

PhysVideo closes the loop with a Simulate, Render, Measure pipeline:

  1. Simulate: An LLM planner translates the text prompt into a declarative scene program (SceneSpec) and runs it in PyBullet.
  2. Render: A frozen video generator (Wan2.2-Fun-A14B-Control) renders the video conditioned on the simulation's depth maps and the text prompt.
  3. Measure: A frozen, independent measurer tracks the objects in the generated video (using Grounding DINO and SAM 2.1), uses the object's known size as a pixel-to-meter ruler, and fits trajectories to extract physical quantities like acceleration, pendulum period, or rebound ratio. A VLM consistency gate also checks that objects don't vanish or duplicate.
  4. Reconcile: The agent compares three numbers: what the user requested, what the simulation produced, and what was measured in the video.
  5. If the simulation missed the target, the agent edits the program and re-simulates (which costs zero generator calls).
  6. If the simulation is right but the video drifted, the agent re-renders with a new seed.

The agent stops as soon as a video passes, delivering it alongside a physics bill—a transparent table of requested, simulated, and measured values.

Datasets

To test this, the authors built PhysSpec, a benchmark of 600 rigid-body tasks (free falls, projectiles, bounces, pendulums, collisions, and combined event chains) with quantitative target outcomes.

  • Splits: 120 calibration, 180 selection, and 300 test tasks, plus Unseen (300 sealed tasks) and Hard (76 pendulum-then-collision tasks).
  • Training: About 2,500 additional calibration-domain tasks are used to train an open 27B policy (Qwen3.5-27B) via rejection-sampling fine-tuning.

Key Insights and Ideas

  • Separating program bugs from render drift: By comparing requested vs. simulated and simulated vs. measured values, the agent avoids wasting expensive video-generation calls on a broken physics script.
  • VLM judges struggle with quantitative physics: On identical candidate pools, a Qwen3.5-397B judge showed no detectable preference above chance for a physically accurate video over one with altered physics. Measurement-based selection, by contrast, is an exact signal.
  • Verifiable outcomes make better training data: Filtering an open 27B planner's own trajectories using physical measurements trains a significantly stronger policy than filtering with a VLM judge.

Key Results

  • Massive leap over Text-to-Video: On the 300 sealed Unseen tasks, PhysVideo passes 86.3% of tasks (55.7% under a strict verified check requiring both a correct program and a video that follows the simulation). Standard text-to-video with a VLM picking the best of 8 samples reaches just 1.6%.
  • Better physics with fewer calls: Across five different LLM planners (including Qwen3.5-397B, GPT-6 Astra, GPT-6.1 Sol, Opus 5.5, and Gemini 4 Argon), PhysVideo passes 11.6 to 17.9 percentage points more single-event tasks under an independent CoTracker3-based measurer than a simulation-only agent—while using only 1.3 to 2.7 generator calls instead of 8.
  • Selection & Training: Measurement keeps a passing video 24.1 points more often than a GPT-6.1 judge. Training a 27B policy on measurement-filtered episodes achieves 63.2% on hard tasks under the verified check, compared to 52.2% when filtered by a VLM judge.

Limitations and Future Work

PhysSpec and the current measurer are designed specifically for rigid-body events with known object sizes. As the authors note in a brief test on real photographs from Morpheus (which lack requested constants and include slow-motion clips), many of those videos fall outside the measurer's current scope. Extending verifiable, physics-bill-style measurement to deformable objects, fluids, and unconstrained real-world scenes remains an open direction.

Summary updated

BibTeX
@misc{li2026simulate,
  author = {Xin Li and Yuchen Xie and Hao Jiang and Wei Chow and Jia-Wang Bian and Chau Yuen},
  title = {{Simulate, Render, Measure: A Video Generation Agent That Measures Its Own Physics}},
  year = {2026},
  eprint = {2612.03471},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2612.03471},
}
Figure