DominoPlanner learns which physics code tools to run before a frozen video generator paints pixels — composing Blender rigid-body sims, Genesis pour solvers, SVG animations, and orbit camera renders into plans that PhyHarness verifies for event order and timing. The arXiv release (** 2612.02403**), project page, and GitHub repo report consistent gains on PhyGenBench, VideoPhy-2, VBench-2.0 physics, and a new DominoChainBench for multistage causal chains.
Video models still fail the toy-shop test: a brass top and blue cube must both hold release tongues before a flag flips. Prompt-only pipelines often animate the flag early. DominoPlanner shifts physical reasoning from implicit pixel guessing to executable, verifiable plans.
TL;DR #
| Piece | Role |
|---|---|
| DominoPlanner | Policy that picks and composes code tools |
| PhyHarness | Executes plans andchecks event specs |
| Frozen video model | Renders final footage from verified controls |
| DominoPlanner-100K | Supervised + RL training data for tool routes |
| DominoChainBench | Multi-stage causal chains beyond single events |
Why physics-grounded video breaks prompt-only control #
DominoPlanner teaser pairing code-tool drafts with final generated video frames
Image: DominoPlanner authors Physically grounded generation wants realistic visuals and correct causality: dominoes fall in order, balls bounce with decay, paint mixes to olive without streaks.
The project page comparison grid scores four properties—timing, dependencies, realism, adaptivity—across baselines:
| Approach | Timing | Dependency | Realism | Adaptivity |
|---|---|---|---|---|
| Prompt rewriting | ✗ | ✗ | ◐ | ✗ |
| Motion conditioning | ✗ | ✗ | ◐ | ✗ |
| Code rendering | ✓ | ✓ | ✗ synthetic | ◐ |
| DominoPlanner | ✓ | ✓ | ✓ | ✓ |
Prompt rewriting sends the user text through an LLM into the video model with no schedule; the demo shows a flag moving before objects lodge.Motion conditioning fixes paths but cannot express **“wait until both tongues press.”**Code rendering gets timing right but bleeds a synthetic look into the final video.
DominoPlanner keeps code-side physics and lets a frozen generator supply photorealism—closer to how ViDecide treats video as sequential decisions, but here the decisions are explicit tool calls.
Architecture: plan, verify, then generate #
Per the abstract:
- Planner composesexecutable code tools that compute interactionsbefore synthesis.
- PhyHarness runs each plan andverifies it againstevent specifications .
- Router sendsnumeric, structural, and appearance controls intodiverse conditioning modes offrozen video generators—text captions for simple values,reference video for complex multi-object dynamics.
DominoPlanner method overview diagram for physics-aware programmable video generation with code tools
Image: DominoPlanner authors Training uses DominoPlanner-100K: verified tool trajectories and routing decisions. Authors supervise fine-tune tool composition, then apply reinforcement learning with solver feedback and selective video rollouts so the planner learns when a tool is worth calling.
The eleven-tool showcase #
PhyHarness exposes eleven code tools; the showcase section pairs each tool's computed output with the final DominoPlanner video:
- Contact solver — volleyball bounce decay on a gym floor.
- Genesis — tea pour into a clear mug.
- Blender rigid body — domino row collapse.
- Blender optics — marble bending a checkered pattern.
- CadQuery — melting ice rings into puddles.
- Orbit renderer — circling a bonsai in a garden.
- SVG / HTML canvas — juice fill and aquarium whale glide.
Chain-reaction demos spell programs in plain language, for example marble → dominoes → spoon → sugar in espresso cup, or a Y-split beach domino line that rings a bell and drops a flag on different branches.
For builders, the takeaway is **tool diversity**: the planner must decide **not only whether to simulate**, but **which simulator** fits the request.
## Side-by-side failures on one prompt
The page's jewelry case chain prompt is a stress test: a purple bead and blue cube must each press a release tongue before a flag flips and knocks a toy soldier.
- Single model column swaps acopper ring for the rocker and tips the cylinderwithout the pin moving.
- Three.js program column listsbead_roll → rocker_tip → pin_slide → cylinder_topple times, feeds anedge reference , yet still needs the planner loop.
- DominoPlanner column shows thefull causal chain with matched timing.
Similar triplets cover bowling pin scatter, table-tennis bounce counts, paint mixing to olive, and orbit around a statue—each marking physics phrases in purple on the request text.
Benchmarks and DominoChainBench #
Authors evaluate on:
-
PhyGenBench -style physics prompts.
-
VideoPhy-2 physical consistency suites.
-
VBench-2.0 physics dimension. They report improvements across diverse general video backbones without retraining each backbone inside DominoPlanner—useful if you already pay for a commercial video API and need better physics conditioning.
DominoChainBench targets multistage event chains where one wrong intermediate breaks the story—think domino Rube Goldberg clips rather than single collision clips. That complements WorldFoundry infrastructure for world-model eval harnesses and VibePrevisBench previs scoring, which sit earlier or later in the production stack.
How to try it #
- Readinfaaa.github.io/DominoPlanner demos to pick a** tool family** closest to your use case (fluid ,rigid body ,chain reaction ).
- Clonegithub.com/inFaaa/DominoPlanner and follow setup for** planner + PhyHarness + your generator hook** .
- Start with frozen generator you already use ; the paper assumesconditioning modes , not joint finetuning.
- Log PhyHarness failures —they arecheaper signal than re-running full diffusion when timing is wrong.
- Compare onDominoChainBench tasks if your product needsmulti-step causality (ads, education simulations, robotics sim2real previews).
Compute note: code tools + verification + one video rollout can exceed one-shot diffusion cost per prompt. The bet is fewer unusable clips and less human rework—similar economics to EvalOpt-guided refinement for quality loops.
Conditioning modes into frozen generators #
The project page stresses that verified plans become generator inputs, not final pixels. Depending on the tool and scene complexity, DominoPlanner may pass:
- Short text captions encodingnumeric results (bounce heights, mix colors as hex values, impact timestamps).
- Reference edge or line-art video fromThree.js orBlender line renders when structure matters more than texture.
- Full intermediate sim clips when the generator needsdense motion evidence (domino chains, fluid pour).
That split matters for API product managers: you can keep a single billing relationship with your video vendor while swapping planner versions on your side. It also means latency budgeting must include tool runtime—a Genesis pour or rigid-body solve may take seconds before diffusion starts.
If you already run VibePrevisBench-style graybox proxies, DominoPlanner is the physics-accurate sibling focused on executable simulators rather than agent-built Blender layouts alone.
Training pipeline in plain language #
DominoPlanner-100K dataset statistics for physics code-tool training
Image: DominoPlanner authors Authors describe a two-phase recipe on DominoPlanner-100K:
- Supervised fine-tuning teacheswhich tools to chain on verified trajectories—similar to imitating expertBlender Python orsolver scripts withrouting labels .
- Reinforcement learning refines decisions usingsolver feedback (did the harness accept the event trace?) andselective video rollouts (did the final clip look worth the compute?).
RL here is not end-to-end diffusion training. It optimizes discrete tool policies where mistakes are cheap to detect in PhyHarness. That is closer to tool-use RL in coding agents than to reward hacking a single MP4 loss.
For reproducibility, pin harness versions when you compare checkpoints—changing tolerance on contact times can move RL rewards without changing the planner weights.
Kitchen, workbench, desk, and beach chains #
Beyond benchmark tables, the showcase chains on the project page are the fastest way to understand dependency grammar:
- Kitchen : marble → domino row → spoon flip → sugar into espresso—single-threaded causality.
- Workbench :both balls must land before alever lifts agate —explicitAND dependency the prompt baselines mishandle.
- Study desk : clockwork car → book cascade → ruler catapult → cup—stored mechanical energy across objects.
- Beach Y-branch : one domino linesplits tobell andflag outcomes—parallel effects after a shared cause.
Each clip pairs program text with final video, so you can diff where harness rejected draft plans. Use those four templates as regression fixtures when you integrate a new generator backend.
Operational checklist before production #
| Step | Question to answer |
|---|---|
| Harness | Does PhyHarness accept your event JSON schema ? |
| Tool sandbox | Are Blender/Genesis jobs resource-capped ? |
| Generator hook | Which conditioning mode does your API expose? |
| Fallback | If planning fails, do you block render ordegrade to text-only ? |
| Logging | Do you store plan + harness trace + MP4 together for audits? |
Teams shipping consumer agents should align this with spending caps lessons from Stripe Link holiday telemetry: physics planning adds pre-cost before checkout or render farms bill you.
Limits #
- Frozen generators capabsolute visual fidelity ; DominoPlanner improvesphysics alignment , not necessarilyevery aesthetic detail .
- DominoPlanner-100K coverage may not includeyour niche objects ; expectfine-tuning for proprietary SKUs.
- RL stage needssolver feedback infrastructure ; skipping verification reintroducessilent timing bugs .
- Authors include Ali Thabet andQuanzeng You alongside academic collaborators; this isresearch code , not a hosted Meta product.
Who should care #
| Role | Why |
|---|---|
| Video API integrators | Add verifiable physics plans as an optional pre-step |
| Robotics sim teams | Export event schedules before neural renderers |
| Edtech / demos | Chain-reaction clips with inspectable programs |
| Safety reviewers | Audit symbolic plans instead of latent diffusion only |