# EMPIRIC: Experiment-Driven Learning of Residual World Models for Robot Planning

Robotics.world

> A robot given a rigid-body physics engine can predict how ordinary objects move, but the engine omits entire mechanisms such as glue curing, water heating, or wind from a fan.

**arXiv**: 2609.35047 · Preprint · not peer-reviewed

**Published**: 2026-09-28

**Authors**: Yichao Liang, Amber Li, Dat Nguyen, Emily Bunnapradist, Michelangelo Naim, Sreela Kodali, Matteo Merler, Bowen Li, Kiran Gopinathan, Yiyun Liu, Nikhil Pimpalkhare, Joshua B. Tenenbaum, Adrian Weller, Zenna Tavares, Tom Silver, Kevin Ellis

## In plain words

A robot given a rigid-body physics engine can predict how ordinary objects move, but the engine omits entire mechanisms such as glue curing, water heating, or wind from a fan. The paper asks how a robot can use a few noisy experiments to write those missing mechanisms into its simulator, infer their hidden parameters and state, and then plan with the result under uncertainty.

## AI summary

## Overview

**Research area:** Robotics and embodied AI — robot learning, executable world models, task and motion planning, and LLM-based coding agents for control.

**Technical level:** Advanced. The paper combines program synthesis, Bayesian state and parameter estimation, physics simulation, and sequential decision making; the prose is accessible, but the method assumes familiarity with partially observable decision processes and simulation-based inference.

**Scope:** EMPIRIC is an agent that learns the physical mechanisms a base physics engine is missing — written as Python code with hidden recurrent state — infers their parameters from noisy observations, and uses the extended simulator to plan actions and choose informative experiments across five simulated tabletop domains and one physical robot domain.

## What This Paper Is About

A robot given a rigid-body physics engine can predict how ordinary objects move, but the engine omits entire mechanisms such as glue curing, water heating, or wind from a fan. The paper asks how a robot can use a few noisy experiments to write those missing mechanisms into its simulator, infer their hidden parameters and state, and then plan with the result under uncertainty. The goal is a reusable, interpretable world model that supports efficient learning across a continuing sequence of manipulation tasks rather than starting from scratch each time.

## Key Contributions

1. **Residual world models.** A representation in which a program subclasses a base simulator, keeping its contact and motion physics while adding executable mechanisms — new forces, constraints, and recurrent hidden state such as glue cure progress — that the engine does not track.
2. **A combined learning and planning method.** The agent maintains an approximate belief over parameters and the current model state from noisy observations and uses it both to rehearse candidate skill sequences and to select experiments by expected information gain.
3. **A continual evaluation protocol.** Five simulated manipulation domains (Domino, Bridge, Balloons, Boil, Fan) run as training tasks followed by test tasks under one shared environment-step budget, modeled on the ARC-AGI-3 style of measuring how efficiently an agent learns an unfamiliar environment.
4. **A physical-robot demonstration.** In a Fan–Domino domain the agent learns wind force and two domino masses from two gusts and plans a two-domino cascade.

## Main Findings

- **Highest success across simulated runs:** EMPIRIC solves all 25 runs (five seeds across five domains), compared with 16 for the Direct agent, 14 for Direct + scene, and 16 for Standalone sim. Each pooled difference is significant by a two-sided Fisher's exact test at p ≤ 0.002.
- **Fewer environment steps than baselines:** Averaged over seeds, EMPIRIC uses fewer steps than the Direct agent and Direct + scene in four of five domains, and fewer than Standalone sim. in all five. In every domain it reaches a 60% solve rate with fewer steps than any baseline that reaches that rate at all.
- **One exception on cost:** Direct + scene also solves all five Balloons runs, with a slightly lower mean cost of 829 steps versus 847 for EMPIRIC.
- **Matches oracle dynamics on success:** EMPIRIC and the Oracle dynamics reference both achieve 25/25. EMPIRIC uses 12–18% more steps than Oracle in Domino, Bridge, and Balloons and 74% more in Boil, but 8% fewer in Fan. The authors note that correct dynamics alone do not guarantee interaction efficiency, since Oracle must still estimate state from noisy observations.
- **A learned model need not be accurate everywhere:** In Bridge the model mispredicts the lifted beam's pose, yet the agent uses it to screen individual placements and then measures the assembled beam's tilt to choose its final release height.
- **Ablations lose success:** Removing harness fitting drops success to 20/25 runs; removing explicit uncertainty support drops it to 21/25. Both ablated agents sometimes rebuild the missing capability themselves — estimating Boil's flow rate by least squares, or searching for robust actions such as Fan braking that tolerates a range of launch impulses.
- **Uncertainty matters most for irreversible actions:** In Balloons, EMPIRIC solves 5/5 runs versus 2/5 without harness fitting and 3/5 without explicit uncertainty; all five ablation failures are ceiling bursts. In one run, No explicit uncertainty trusts a forward simulation predicting only 15 mm of ceiling clearance despite larger earlier overshoots, while EMPIRIC uses previous peak-prediction errors to reject a small-margin release.
- **Ablations can be cheaper in easy domains:** Both ablations solve all five Boil and Fan runs, sometimes more efficiently than EMPIRIC — 988 versus 1,331 steps in Boil without harness fitting, and 1,851 versus 2,475 in Fan without explicit uncertainty.
- **Failure modes of baselines are extrapolation errors:** In Domino, several agents extend straight cascades to turning ones without modeling how an angled hit rotates the next domino. In Fan, some brake the ball with an opposing fan but underestimate how long the robot takes to switch it on.
- **Physical robot result:** The agent first blows at the green domino, where belief draws disagree most, then at the gray one; only the gray domino moves and lands in the patch. From two gusts it learns a decaying wind force and both masses. Its predicted slide of 10.1 ± 2.3 cm matches the measured 9.9 cm.
- **Interaction savings cost computation:** The median EMPIRIC run uses 424 simulator rollouts and 162 language-model turns, versus 115 turns for the Direct agent, with a median recorded runtime of 107 minutes against 64.

## Methodology in Plain English

The robot starts with a standard physics engine holding the scene's objects and geometry, plus a library of closed-loop skills such as Pick, Place, Push, MoveTo, and Wait. It records every action and observation in a replay buffer and works inside a persistent sandbox where it can run code and edit files.

When the engine mispredicts, the agent writes a Python program that subclasses the simulator. The program can add forces, impose constraints, or track quantities the engine ignores — for example, accumulating how long two blocks have touched and creating a bond once a threshold is passed. Because that hidden state is updated from observable features, the same update runs on real observations as on simulated ones. This is what lets the model distinguish scenes that look identical but have different histories.

With the program fixed, the agent infers a belief over its parameters. It approximates the posterior with three pieces: a mean-field distribution treating parameters as independent, weighted by how well replays match recorded observations; a separate posterior over object poses that conditions only on observations, so dynamics errors do not bias estimated positions; and a point mass for the recurrent hidden state computed from the actual episode history under each parameter draw. Planning, monitoring, and experiment selection all average over K joint draws from this belief.

To plan, the agent rehearses candidate skill sequences from each draw and picks the one with the highest estimated success probability. To choose experiments, it uses learned predicates — Python classifiers over observed features, such as `Attached(a, b)` — and measures the mutual information between the parameters and the predicates' noisy true-or-false readings, which is far cheaper than reasoning over raw high-dimensional observations.

During execution, each skill is annotated with expected predicates. A subgoal counts as unmet when it holds on fewer than half of the K draws, and a failure returns control to the agent, which may adjust the plan, gather information, update its belief, or rewrite the program. Every environment step counts against a shared budget, whether it served the task or an experiment; sandbox simulation is free.

## Why This Matters

**Impact on research.** The paper connects several threads that are usually separate: code-based world models, hybrid simulators with learned corrections, simulation-based parameter inference, and active information gathering. Its distinctive move is letting the agent revise the *mechanism* program during task execution, not just fit parameters within a fixed model family, while keeping the engine's reusable knowledge of contact, gravity, and robot skills. The result is a concrete argument that a physical inductive bias lets a model extrapolate to new configurations from few interactions.

**Real-world applications:**

- **Household robots** encountering unfamiliar appliances — fans, kettles, furnaces, glue bottles — that no simulator ships with.
- **Assembly and manufacturing** where adhesive cure time or clamping force determines whether a joint holds.
- **Laboratory automation** involving filling, transferring, and heating liquids under spill constraints, as in the Boil domain.
- **Warehouse and logistics** settings where airflow, drag, or unmodeled delays affect whether an action succeeds.

**Industry relevance.** The work speaks directly to sim-to-real pipelines: rather than reconstructing a full digital twin, a system can inherit generic physics and learn only what is missing. It also shows a practical role for coding agents in robotics — not just issuing skill calls, but maintaining and repairing a forward model — and it gives a clear signal that explicit uncertainty handling pays off precisely where actions cannot be undone, which is where deployment risk concentrates.

## Future Directions

- **Perception and scene reconstruction.** The agent is handed scene geometry in these experiments; a next step is letting it reconstruct and revise geometry, articulation, and object identity from perception under uncertainty.
- **Learning features rather than receiving them.** Object features are predefined, and the agent can introduce hidden variables but cannot extract features from images; proposing and testing feature extractors is left open.
- **Reducing computational cost.** The median run uses 424 simulator rollouts and 162 language-model turns at 107 minutes, against 115 turns and 64 minutes for the Direct agent; closing that gap without losing sample efficiency is an open engineering question.
- **Probabilistic dynamics.** The learned simulator is deterministic, with hidden parameters used to represent uncertainty; the authors state that reparameterizing nondeterminism into the residual parameters is possible in principle but leave probabilistic dynamics to future work.

## Target Audience

Robotics and embodied-AI researchers working on world models, task and motion planning, and sim-to-real transfer will get the most from this paper, particularly those interested in program-structured models and active exploration. It also suits practitioners building LLM-based coding agents for physical systems, and graduate students who want a worked example of coupling Bayesian inference with executable simulator code. Readers need comfort with partially observable decision processes and approximate inference; the core idea — write the missing physics as code, then infer its numbers — is stated plainly enough to follow without that background.

## Authors’ abstract

A robot should be able to learn through experiments how unfamiliar objects behave and interact, then plan with that knowledge. It need not start from scratch: physics engines supply knowledge of motion and contact, but can omit entire mechanisms, such as glue curing, water heating, or wind. We present EMPIRIC, an agent that learns a residual world model: a physics engine extended with code for the missing mechanisms. The learned programs can introduce new forces,…

[The full abstract on arXiv](https://arxiv.org/abs/2609.35047)

[Read the original paper](https://arxiv.org/abs/2609.35047)

## Related papers

- [Coding Agents for Generalized Task and Motion Planning Problems](https://robotics.world/paper/coding-agents-for-generalized-task-and-motion-planning-problems-2609.30233) 2026-09-24 · cs.RO · Also by Bowen Li, Matteo Merler +1
- [Scouting the Dynamics Gap: Test-Time Policy Adaptation via Action-Outcome Feedback](https://robotics.world/paper/scouting-the-dynamics-gap-test-time-policy-adaptation-via-action-2609.36107) 2026-09-28 · cs.RO · Also by Amber Li
- [Beyond Policy Alignment: Closing the Planning-Learning Loop for Robot Control with Learned World Models](https://robotics.world/paper/beyond-policy-alignment-closing-the-planning-learning-loop-for-robot-2609.39751) 2026-09-30 · cs.RO · Key terms of the title in common
- [Physics Residual Dynamics and Reduced Order Whole-Body Planning for Obstacle Aware Human Robot Cloth CoTransportation](https://robotics.world/paper/physics-residual-dynamics-and-reduced-order-whole-body-planning-for-2610.06641) 2026-10-05 · cs.RO · Key terms of the title in common
- [PILOT: Guiding Long-Horizon World-Model Planning for Robot Manipulation with Visual Subgoals and Policy Priors](https://robotics.world/paper/pilot-guiding-long-horizon-world-model-planning-for-robot-manipulation-2610.14335) 2026-10-09 · cs.RO · Key terms of the title in common

---

Canonical: https://robotics.world/paper/empiric-experiment-driven-learning-of-residual-world-models-for-robot-2609.35047
