Skip to content

Replay to simulationΒΆ

Source

Reproduction record from hylo-harness: adapters/hylo-code-agents/examples/README.md. Every number on this page was measured by the scripts next to it; run them to reproduce.

All program and tool experiments

From one recorded episode (ours, a LeRobot dataset episode, or a human video), the pipeline names the objects with a vision model, masks them with SAM 3, and lifts them to 3D with recorded depth or MoGe-2. It then tracks them, builds collision meshes (mesh and convex-decomposition tools), places them in a MuJoCo scene with the Panda (or a free-floating gripper for a human hand), and replays the motion in physics. The checks compare simulated object poses with the tracked ones and match contact events (grasp, lift, place) to the recording.

uv run hylo replay panda:stack:3 --out runs/replay/panda_stack_3            # one of our episodes, recorded now
uv run hylo replay hf:physical-intelligence/libero:1280 --profile libero --camera image --out runs/replay/libero_1280

From replay/results.json. Object error is the simulated pose against the tracked pose, mean / final, in mm.

Source Episode Events matched Final state reproduced Object error, mean / final
ours, Panda pick_place 1 3/3 yes 6.0 / 2.1
ours, Panda pick_place 2 3/3 yes 5.8 / 0.4
ours, Panda stack 3 6/6 yes 2.7 / 5.4 and 4.7 / 3.1 (two blocks)
ours, Panda put_in_bowl 4 3/3 yes 8.0 / 5.0
ours, Panda push_to_zone 5 no events yes 3.3 / 10.5
LIBERO 1280 1/2 no 21 to 45 / 34 to 75 (the bowl to move got no mask)
LIBERO 379 none no registration failed (scale 0.057)
LIBERO 813 0/2 no 9.4 / 19.8 (basket; no carried object found)
DROID 21 3/3 no 53 / 97
human video mug 0 0/2 no 69 / 120

For our episodes, where ground truth is known, the largest error of a reconstructed object's size is 5.3 to 10.6 mm per episode.

With --agent, a model drives the same steps instead of the fixed order. qwen3.5:35b-a3b ran pick_place 2 in 12 turns (1,558 s of model time, 28,411 input and 1,104 output tokens, $0) and called the steps in the suggested order. It reproduced the outcome as the fixed pipeline did: the same labels and masks, 3/3 events, a simulated object error of 6.1 mm mean and 1.2 mm final against the ground truth (5.9 mm and 0.7 mm for the fixed pipeline). The run shows the agent loop working, not the model correcting anything: it kept every default, never looked at the overlays, skipped the video step, and described its events as matched to the ground truth when they were matched to the recording.

Panda stack 3, "build a tower: the blue block at the bottom, then the green block, then the yellow block on top". Left: the recording. Right: the physics replay, in which the blocks move only by contact. 6 of 6 events matched, and the tower stands at the end.

A failure: LIBERO episode 1280. The registration scale came out at 0.39, the replayed robot (right) does not line up with the reconstructed scene, and the black bowl it should move was never masked.

Both videos are rendered with MuJoCo, on purpose: the replay uses the recording's camera, so the two views line up.

Limitations.

  • Only our own Panda episodes reproduce. They come from our simulator, with recorded depth and a known camera pose.
  • No external episode (3 LIBERO, 1 DROID, 1 human video) reproduces. Monocular depth, registration and the hand-to-gripper mapping are each off by centimetres or more.