# Res-HIL: Human-Guided Residual Reinforcement Learning for Sample-Efficient Dexterous Manipulation

Robotics.world

> Policies trained by imitation learning (behavior cloning) fail when the robot drifts into states that were poorly covered by the demonstrations, and collecting more demonstrations is expensive human…

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

**Published**: 2026-09-24

**Authors**: Mariia Iavorskaia, Christian Dietz, Sebastian Albrecht, Majid Khadiv

## In plain words

Policies trained by imitation learning (behavior cloning) fail when the robot drifts into states that were poorly covered by the demonstrations, and collecting more demonstrations is expensive human labor. Human-in-the-loop reinforcement learning can fix failures online, but most methods relearn the entire task policy, which demands long interaction and supervision time as tasks get longer.

## AI summary

## Overview

- **Research area:** Robotics — dexterous manipulation, imitation learning, human-in-the-loop reinforcement learning, residual policy learning.
- **Technical level:** Intermediate. The core idea is intuitive, but the paper assumes familiarity with reinforcement learning (TD3, replay buffers, reward shaping) and behavior cloning.
- **Scope:** A framework (Res-HIL) that improves a frozen imitation-learned manipulation policy by learning corrective residual actions from human interventions, evaluated on five real-world contact-rich tasks with a UR5 arm.

## What This Paper Is About

Policies trained by imitation learning (behavior cloning) fail when the robot drifts into states that were poorly covered by the demonstrations, and collecting more demonstrations is expensive human labor. Human-in-the-loop reinforcement learning can fix failures online, but most methods relearn the *entire* task policy, which demands long interaction and supervision time as tasks get longer. Res-HIL instead keeps the pretrained policy frozen and learns only a small corrective residual on top of it, using each human intervention as both a corrective action and a training signal.

## Key Contributions

1. **A human-in-the-loop residual RL framework (Res-HIL)** that adapts a pretrained imitation policy online without modifying it, learning only a residual correction added to the frozen base policy's action.
2. **Dual use of each human intervention:** the human action directly supervises the residual policy through a behavior-cloning loss (with the target residual defined relative to the frozen base policy), and the *onset* of the intervention is used to shape the sparse task reward by penalizing the preceding autonomous transitions.
3. **Zero initialization of the residual policy's output layer**, so the combined policy exactly reproduces the base policy at the start of training, stabilizing and accelerating online learning.
4. **A real-robot evaluation on five contact-rich tasks** (two peg-in-hole variants, vent insertion, cable routing/insertion with two and three cameras) against ACT, HIL-SERL, and ResFiT baselines, plus a component ablation.

## Main Findings

- **Fast adaptation from 20 demonstrations:** After only 10 minutes of online training, Res-HIL reached success rates of 100% (peg-in-hole easy), 64% (peg-in-hole hard), 50% (vent), 66% (cable, 2 cameras), and 92% (cable, 3 cameras). HIL-SERL reached 90%, 30%, 10%, 0%, and 0% respectively; Naive Res-HIL reached 12%, 0%, 0%, 0%, 0%; ResFiT with 100 demonstrations scored 0% on every task.
- **Final performance:** Res-HIL reached 100%, 96%, 100%, 88%, and 100% across the five tasks — 100% on three of five and at least 88% everywhere. HIL-SERL eventually matched it on the insertion tasks (100%, 94%, 84%) but scored 0% on both cable tasks.
- **Strict success criterion matters for vent insertion:** HIL-SERL would reach 100% on vent insertion if trials that pushed the lid through the opening without following the prescribed edge-first sequence were counted as successes; under the paper's stricter criterion it is 84%.
- **Beats a 5x larger demonstration budget:** Although initialized with only 20 demonstrations, Res-HIL outperformed the frozen ACT policy trained on 100 demonstrations on all five tasks (ACT 100-demo scores: 84%, 60%, 80%, 80%, 92%).
- **Improves its own base policy substantially:** On cable manipulation, Res-HIL lifted the 20-demonstration ACT base policy from 46% to 88% (two cameras) and from 70% to 100% (three cameras).
- **Faster successful executions:** Res-HIL's average cycle time across tasks was 5.46 s, versus 5.83 s for ACT with 100 demonstrations and 7.73 s for ACT with 20 demonstrations. HIL-SERL produced the fastest insertion trajectories (2.04–2.65 s) but did not solve either cable task, so no cycle times are reported for it there.
- **Less human supervision:** The ratio of human intervention transitions to all transitions stayed lower for Res-HIL than for HIL-SERL, and on the easy peg-in-hole task it approached zero as the policy converged.
- **Ablation (easy peg-in-hole):** Full Res-HIL reached 100% in 8 minutes; removing zero initialization reached 100% in 16 minutes; removing intervention-aware reward shaping reached only 92% and had not converged within the 30-minute budget; removing the behavior-cloning loss reached only 20% within the 30-minute budget. Direct residual supervision is therefore described as the critical component, with reward shaping substantially improving efficiency.
- **Not compared:** The concurrent FTC and HiL-ResRL methods are discussed but excluded from experiments because a controlled real-robot reproduction was not feasible in the evaluation period.

## Methodology in Plain English

The researchers first trained a standard imitation policy (ACT) from 20 teleoperated demonstrations and then froze it. On top of it, a second, small network learns a corrective action that is simply added to the frozen policy's action. Crucially, the output layer of this residual network is initialized to zero, so at the start of training the robot behaves exactly like the imitation policy, and learning starts from a known-good baseline rather than from random noise.

During online training a human watches the robot with a space mouse and takes over whenever the motion looks likely to cause failure, damage, or an unrecoverable deviation, releasing control once the situation is recoverable. Each takeover is exploited twice. First, the human's action minus the frozen policy's action gives a target residual, and the residual network is trained to imitate it — so corrections are learned directly rather than discovered by random exploration. Second, the moments just before a takeover are treated as bad behavior: a decaying penalty (strongest closest to the intervention) is subtracted from the sparse task reward for the three transitions preceding the intervention, applied only for the first two intervention segments of an episode so the penalty does not dominate the success signal.

Training itself uses TD3 with two critics, a residual-magnitude regularizer to keep corrections small, and the behavior-cloning loss on demonstration and intervention data, all mixed in batches half from a demonstration buffer and half from an online replay buffer. The hardware is a UR5 arm with a space mouse, two gripper-mounted cameras, and proprioceptive inputs; images are encoded with a ResNet-10 pretrained on ImageNet, and actions are relative Cartesian end-effector displacements at 7 Hz.

## Why This Matters

- **Research impact:** The paper reframes human interventions as a *targeted* learning signal for a residual policy rather than as data for relearning a whole task. It shows that on long-horizon tasks, where online learning of complete behavior is impractical, keeping the pretrained prior and correcting only its failures is the more sample-efficient route.
- **Real-world applications:** - Precision assembly and peg-in-hole insertion with tolerance-critical alignment. - Cable and wire routing plus connector insertion in harness assembly. - Lid and cover fitting tasks where the order of insertion matters to avoid damaging components. - Rapid field adaptation of deployed manipulators whose imitation policies fail on new object poses or configurations.
- **Industry relevance:** The work comes from Siemens AG (Research and Predevelopment) with TU Munich, and targets practical constraints of factory deployment — short training budgets (20 minutes for the easy task, 45 minutes for the rest), limited demonstration effort, and measurable human supervision time rather than raw sample counts.

## Future Directions

- Scaling Res-HIL to a broader and more diverse set of manipulation tasks beyond the five studied.
- Reducing the amount of human supervision required, since intervention remains necessary longer on harder variants such as the 25-degree peg-in-hole task.
- A controlled real-robot comparison against concurrent human-in-the-loop residual methods (FTC and HiL-ResRL) that were not reproduced here.
- Extending the intervention-derived signals beyond the current shaping scheme — for instance, refining how penalties are localized or how intervention segments are capped per episode.

## Target Audience

Robotics researchers and engineers working on imitation learning, human-in-the-loop RL, and residual policy learning, especially those deploying manipulators in contact-rich industrial settings. It is also useful for practitioners who already have a working demonstration-trained policy and need a practical, time-bounded way to close its failure modes on real hardware. Readers without RL background will need to consult the cited TD3 and HIL-SERL work for the underlying machinery.

## Authors’ abstract

Imitation learning enables robots to acquire manipulation skills from demonstrations, but the resulting policies can fail outside the training data, while collecting more demonstrations requires substantial human effort. Human-in-the-loop reinforcement learning uses corrective feedback during online training, but typically learns the complete task policy rather than refining a pretrained imitation policy. We introduce Res-HIL, a human-in-the-loop residual reinforcement…

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

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

## Related papers

- [From Human Videos to Bimanual Dexterous Manipulation Data: Confidence-Guided RL Refinement of Video Priors](https://robotics.world/paper/from-human-videos-to-bimanual-dexterous-manipulation-data-confidence-2611.21908) 2026-11-16 · cs.RO · Key terms of the title in common
- [Dexterous Robot Manipulation from Human Demonstrations via Contact-Anchored Retargeting and Residual Policy Learning](https://robotics.world/paper/dexterous-robot-manipulation-from-human-demonstrations-via-contact-2609.24093) 2026-09-21 · cs.RO · Key terms of the title in common
- [EgoWild2Dex: Learning Dexterous Robotic Manipulation from In-the-Wild Human Experience](https://robotics.world/paper/egowild2dex-learning-dexterous-robotic-manipulation-from-in-the-wild-2609.23755) 2026-09-20 · cs.RO · Key terms of the title in common
- [Unified Visual-Tactile-Action Modeling from Human Demonstrations for Dexterous Manipulation](https://robotics.world/paper/unified-visual-tactile-action-modeling-from-human-demonstrations-for-2609.34182) 2026-09-28 · cs.RO · Key terms of the title in common
- [DexWeave: Learning Dexterous Humanoid Loco-Manipulation from Human Demonstrations](https://robotics.world/paper/dexweave-learning-dexterous-humanoid-loco-manipulation-from-human-2609.34724) 2026-09-28 · cs.RO · Key terms of the title in common

---

Canonical: https://robotics.world/paper/res-hil-human-guided-residual-reinforcement-learning-for-sample-2609.30023
