Skip to content

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

Chengyandan Shen, Wilbert Peter Empleo, Iñigo Iturrate

cs.RO

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 (R2^2RL), an off-policy RL framework for cross-object online adaptation from a single source-task demonstration. R2^2RL 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 R2^2RL 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, R2^2RL 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, R2^2RL 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.

Create a lesson