← Paper Digest

Replay and Reinforce: Reusing One Demonstration to Learn Cross-Object Contact-Rich Manipulation

Chengyandan Shen, Wilbert Peter Empleo, Iñigo Iturrate

December 2026

R²RL opening the rigid OpenBox lid, a target task on which replaying the source demonstration fails.

TL;DR R²RL keeps a single recorded demonstration as a replay policy and lets an uncertainty-aware Q-gate choose, step by step, between the replayed action and the RL action, so the demonstration still helps on a new object where replaying it fails. On a UR5e, two demonstrations yield five contact-rich policies with 90-100% success after 10-30 minutes of real-world training each.

What they do

A demonstration recorded on one object often fails when replayed on a similar object with different stiffness or friction. R²RL asks whether that single, failing demonstration can still speed up real-world RL on the new object. They test it on a UR5e with its built-in force/torque sensor and two source-to-target pairs, SnapOpen to SnapOpenNew and OpenBox (opening lids), and PegInHole to PlugIn. No demonstration is given on any target object.

How it works

  • Demonstration as a replay policy. The one trajectory is resampled to the episode length and proposes its recorded action at each time step, while a stochastic RL actor proposes its own.
  • Uncertainty-aware Q-gating. An ensemble of five critics scores both proposals as the ensemble mean minus a bounded penalty on critic disagreement, and the higher-scoring action is executed. The first episode only replays the demonstration.
  • Updates. Critics use the IQL objective, so the Bellman target never queries the policy’s possibly out-of-distribution actions; the actor gets a behavior-regularized loss that keeps it near the agent’s own recent behavior.
  • Observations are the tool pose, measured wrench and previous action; actions are Cartesian velocities at 20 Hz.

Results

  • Success over 10 real trials: 100% on SnapOpen, 100% on OpenBox, 90% on PegInHole and 100% on PlugIn, after 10-30 minutes of training. Replaying the demonstration scores 0% on OpenBox and PlugIn.
  • With ten source demonstrations, RLPD stays at 0% on both target tasks and IBRL reaches 50% on OpenBox and 10% on PlugIn. On the source tasks RLPD with ten demonstrations also reaches 100%, but trains less stably.
  • On OpenBox, residual RL on top of the replayed demonstration stays near zero reward. Without BC regularization, the RL policy rapidly takes over from the demonstration and eventually fails the task.

Limitations

Each source demonstration is tested on only one or two target objects, and all tasks are short-horizon (100 steps). The method assumes source and target share a task frame, a coarse direction of progress and roughly the same time of first contact.

Videos

R²RL on the SnapOpen source task, opening the compliant lid of a control panel.
The IBRL baseline on the OpenBox task, for comparison.

Figures

From Figure 1: Overview of R²RL. One SnapOpen demonstration is kept as a replay policy. At each step the replay polic...
From Figure 1: Overview of R²RL. One SnapOpen demonstration is kept as a replay policy. At each step the replay policy and the RL policy propose actions, and an uncertainty-aware Q-gate picks the one with the more reliable value estimate. The same demonstration is used to optimize the source task and to adapt to OpenBox, where direct replay collides with the rigid box.
From Figure 3: Normal contact force Fx under demonstration replay and after R²RL training on SnapOpen, SnapOpenNew an...
From Figure 3: Normal contact force Fx under demonstration replay and after R²RL training on SnapOpen, SnapOpenNew and OpenBox. Replay fails through excessive force buildup on OpenBox and early contact loss on SnapOpenNew; R²RL sustains contact.
From Figure 4: Cumulative reward during real-world online learning on SnapOpen, OpenBox, PegInHole and PlugIn, compar...
From Figure 4: Cumulative reward during real-world online learning on SnapOpen, OpenBox, PegInHole and PlugIn, comparing R²RL (one demonstration) with RLPD and IBRL given one or ten source demonstrations.
Abstract

Learning contact-rich manipulation often requires substantial demonstrations to capture task-specific interaction dynamics. This challenge becomes more pronounced in cross-object settings, where demonstrations that succeed on one object may fail on another with different interaction dynamics. Rather than collecting new demonstrations for every object, we investigate whether a single source-task demonstration can provide a reusable prior for online adaptation to a related target object. We present Replay and Reinforce RL (R$^2$RL), an off-policy RL framework for cross-object online adaptation from a single source-task demonstration. R$^2$RL treats the recorded trajectory as a persistent replay policy rather than merely as replay data. At each step, an ensemble-based uncertainty-aware Q-gate selects between the replay action and the current RL action, allowing the policy to exploit transferable behavior early while departing from the demonstration as target-task experience accumulates. We evaluate R$^2$RL on two physical-robot transfer pairs, SnapOpen, SnapOpenNew, OpenBox, and PegInHole, PlugIn, where the source demonstration fails when directly replayed on the new target object. With only two demonstrations, R$^2$RL learns five contact-rich tasks and achieves 90--100% success rate across tasks through only 10--30 minutes of real-world training. Among the evaluated real-world sample-efficient RL baselines, R$^2$RL is the only method that solves both source tasks and target tasks with different contact dynamics model. Ablation results further suggest that BC regularization helps retain the demonstration prior, and uncertainty-aware gating improves learning efficiency when direct replay fails.

Summaries are written automatically from each paper's text. Figures and videos come from the paper and its project page; all credit goes to the authors.