From One Demonstration to Unseen Interactions via 3D Flow
TL;DRDemoFlow edits the 3D flow of one demonstration into many new demonstrations, and a policy that reads its actions from only that flow handles placements, targets, and rope shapes it never saw.
Imitation learning enables robots to acquire manipulation skills from human demonstrations, but a policy tends to fail outside the scenes that its demonstrations cover, and demonstrating many object poses, targets, and states is costly. Demonstration augmentation reduces this cost by generating new demonstrations from a few. However, existing one-shot methods transform segmented objects with rigid poses, and deformable-object methods need a simulated state or an executed rollout for each new demonstration. Meanwhile, 3D flow, which describes where points in the scene will move, has been tracked to transfer behavior across embodiments or predicted to improve the action, but not edited to create demonstrations. In this work, we focus on one-shot imitation, which trains on one demonstration of a task, and present DemoFlow, to our knowledge the first to augment a demonstration by editing its point-wise 3D flow, which needs no object pose, and to show such augmentation beyond rigid placement on one articulated and one deformable task. Our key insight is that a 3D flow records only how points in the scene move, without assuming that they belong to one rigid body. Thus, point-wise edits that transform the points, their flow, and the hand trajectory consistently cover rigid placements, another drawer of the same cabinet, and another start shape of a rope, without simulating or rendering the edited demonstration. DemoFlow learns the scene part of these edits with a 3D flow generator and the action part with a reader that decodes the action from only the flow and the robot state. On 12 bimanual tasks of RLBench2, a single edited demonstration raises the average success rate from 21.1% to 73.1%, and the edits also help two tasks that need another drawer or item color at 25 demonstrations in a one-seed comparison.
|
Edits turn one demonstration into many (left), and a policy learns from them in two stages (right).
An edit skill changes a scene part (the points and their 3D flow) and an action part (the robot’s hands) by the same rule. Each video shows a training label, not a policy rollout: dashed is the demonstration, blue the edited flow, red the edited action.
|
Pose edit: rigid objects, a new placement. Used on all 12 tasks. |
Color edit: several objects, another target. +29.3 points on handover (hard). |
|
Articulation edit: another drawer of the same cabinet. +39.3 points on put item in drawer. |
Deformation edit: a new start shape of the rope. +11.3 points on straighten rope. |
One edited training sample per task. Arms are posed by inverse kinematics without physics.
A VLM names the edit targets (a color or a drawer) and writes, as code, which edits make sense for each task, on top of geometric checks (IK reachability, camera visibility, table support). It runs once when the data is made, never at test time. On the same test scenes this range gives a mean success of 73.1%, similar to the 72.6% of a range from inverse kinematics.
Top view of the first frame of each demonstration. Blue: the region the objects occupy when the scene moves within the training range. Red: two of the 50 test scenes. |
Success rate (%) on 50 held-out scenes per task of RLBench2, mean over three seeds. Both rows train the same policy from the same demonstration.
| Method | Push box | Push buttons | Lift tray | Pick laptop | Lift ball | Handover (easy) | Handover (hard) | Put item in drawer | Sweep to dustpan | Bottle in fridge | Pick plate | Straighten rope | Mean |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 1 demo | 63.3 | 28.7 | 35.3 | 10.0 | 48.7 | 2.7 | 0.0 | 7.3 | 4.7 | 2.0 | 37.3 | 13.3 | 21.1 |
| 1 demo + edits (DemoFlow) | 96.7 | 98.0 | 98.7 | 83.3 | 77.3 | 70.7 | 62.0 | 67.3 | 46.0 | 38.7 | 83.3 | 55.3 | 73.1 |
Policy rollouts on large rotations and translations of the source scene, up to 30° and 20 cm. Successful runs shown.
Left: policy trained on 1 demo. Right: 1 demo + edits (DemoFlow). Same unseen scene, same camera.
|
1 demo: failed |
1 demo + edits: success |
|
1 demo: failed |
1 demo + edits: success |
|
1 demo: failed |
1 demo + edits: success |
|
1 demo: failed |
1 demo + edits: success |
|
1 demo: success |
1 demo + edits: success |
|
1 demo: failed |
1 demo + edits: success |
|
1 demo: failed |
1 demo + edits: success |
|
1 demo: failed |
1 demo + edits: success |
|
1 demo: failed |
1 demo + edits: success |
|
1 demo: failed |
1 demo + edits: success |
|
1 demo: failed |
1 demo + edits: success |
|
1 demo: failed |
1 demo + edits: success |
One edited demonstration matches 25 unedited ones on the mean of five tasks (success %, seed 0, 50 scenes).
| Task | No edits, 1 / 10 / 25 demos | With edits, 1 / 10 / 25 demos |
|---|---|---|
| Lift tray | 24 / 92 / 94 | 96 / 100 / 92 |
| Pick laptop | 6 / 72 / 88 | 82 / 82 / 86 |
| Put item in drawer | 6 / 14 / 50 | 70 / 42 / 74 |
| Handover (hard) | 0 / 46 / 66 | 56 / 90 / 88 |
| Bottle in fridge | 2 / 40 / 52 | 46 / 52 / 70 |
| Mean | 7.6 / 52.8 / 70.0 | 70.0 / 73.2 / 82.0 |
The action reader sees only the flow and the robot state, so replacing the flow changes its action. PPI also reads the full observation features, so its action can ignore a rotated flow.
|
Sweep to dustpan, same test episode, flow rotated by 15° at every query. DemoFlow closes its right hand 13.2 cm away, along the rotated flow; PPI closes within 0.2 cm of where it did before. Over 20 episodes the follow ratio of the executed motion is 0.98 against −0.00. |
One policy call takes 105 ms, against 44–49 s for PPI’s 1000 DDPM steps (>400× faster, similar parameter count: 52.7 M vs 49.2 M).
Four tasks on two Franka arms, 25 trials per policy on test scenes (Tab. 5). One edited demonstration reaches 71% on average, against 35% for 25 unedited demonstrations and 26% for PPI with 50 demonstrations.
| Task | DemoFlow, 1 demo + edits | DemoFlow, 25 demos, no edits | PPI, 50 demos |
|---|---|---|---|
| Put item in drawer | 88 | 44 | 28 |
| Disassemble Lego | 60 | 16 | 48 |
| Hang cable | 64 | 44 | 20 |
| Insert plate | 72 | 36 | 8 |
| Mean | 71 | 35 | 26 |
For each task: the single demonstration and four edits generated from it for training (training labels, not rollouts), then one logged trial per policy on the same test scene, chosen where DemoFlow succeeds. People are blurred.
|
One demonstration and its edits |
|
Test scene T13: DemoFlow (1 demo + edits) vs DemoFlow (25 demos) vs PPI (50 demos) |
|
One demonstration and its edits |
|
Test scene T17: DemoFlow (1 demo + edits) vs DemoFlow (25 demos) vs PPI (50 demos) |
|
One demonstration and its edits |
|
Test scene T22: DemoFlow (1 demo + edits) vs DemoFlow (25 demos) vs PPI (50 demos) |
|
One demonstration and its edits |
|
Test scene T08: DemoFlow (1 demo + edits) vs DemoFlow (25 demos) vs PPI (50 demos) |
@misc{demoflow2027,
title={DemoFlow: From One Demonstration to Unseen Interactions via 3D Flow},
author={Noh, Sangjun and Nam, Dongwoo and Hyun, Seunghyeok and Kim, Kangmin and Lee, Kyoobin},
year={2027},
note={Citation to be added with the arXiv version}
}
To be added.