[Paper Review] Residual Reinforcement Learning from Demonstrations
This paper proposes Residual Reinforcement Learning from Demonstrations (RRLfD), a data-efficient method that combines behavioral cloning with residual reinforcement learning to learn visual control policies from images, proprioception, and sparse rewards. By replacing hand-engineered base controllers with a policy trained from demonstrations, RRLfD achieves superior generalization and sample efficiency on high-dimensional robotic manipulation tasks, solving tasks out of reach for standard RL from scratch.
Residual reinforcement learning (RL) has been proposed as a way to solve challenging robotic tasks by adapting control actions from a conventional feedback controller to maximize a reward signal. We extend the residual formulation to learn from visual inputs and sparse rewards using demonstrations. Learning from images, proprioceptive inputs and a sparse task-completion reward relaxes the requirement of accessing full state features, such as object and target positions. In addition, replacing the base controller with a policy learned from demonstrations removes the dependency on a hand-engineered controller in favour of a dataset of demonstrations, which can be provided by non-experts. Our experimental evaluation on simulated manipulation tasks on a 6-DoF UR5 arm and a 28-DoF dexterous hand demonstrates that residual RL from demonstrations is able to generalize to unseen environment conditions more flexibly than either behavioral cloning or RL fine-tuning, and is capable of solving high-dimensional, sparse-reward tasks out of reach for RL from scratch.
Motivation & Objective
- To address the challenge of sample inefficiency in reinforcement learning for high-dimensional control tasks with sparse rewards and visual inputs.
- To eliminate reliance on hand-engineered base controllers by replacing them with policies learned from demonstrations.
- To improve generalization and sample efficiency in robotic manipulation by combining behavioral cloning with residual RL in image space.
- To enable learning from raw visual and proprioceptive inputs without requiring full state estimation or dense reward shaping.
- To demonstrate that residual RL with demonstration-based base policies generalizes better than behavioral cloning or RL fine-tuning on unseen environment conditions.
Proposed method
- Trains a base policy via behavioral cloning on image and proprioceptive observations from demonstration trajectories, learning task-relevant visual features end-to-end.
- Uses a residual policy that acts on the output of the base policy, learning to correct its actions through reinforcement learning with sparse rewards.
- Employs a shared visual feature encoder between the behavioral cloning policy and the residual RL policy to enable feature transfer and data efficiency.
- Applies standard deep RL algorithms (e.g., SAC, DMPO) to train the residual policy on sparse rewards, with the base policy fixed during residual training.
- Uses a residual control formulation where the final action is the sum of the base policy’s action and the residual policy’s correction.
- Leverages demonstration data not only for imitation but also to pre-train visual representations, reducing the need for exploration in RL.
Experimental results
Research questions
- RQ1Can a residual RL policy trained from demonstrations generalize better to unseen environment conditions than behavioral cloning or RL fine-tuning?
- RQ2Does replacing a hand-engineered base controller with a behaviorally cloned policy improve sample efficiency in image-based, sparse-reward robotic control?
- RQ3Can visual features learned via behavioral cloning on demonstration data be effectively shared with a residual RL policy to accelerate learning?
- RQ4To what extent can residual RL from demonstrations solve high-dimensional, sparse-reward manipulation tasks that are infeasible for RL from scratch?
- RQ5Does the residual formulation help mitigate catastrophic forgetting compared to direct fine-tuning of a BC policy with RL?
Key findings
- RRLfD successfully solves high-dimensional, sparse-reward manipulation tasks—such as Pick, Bowl, and Push on a 6-DoF UR5 arm and a 28-DoF dexterous hand—where standard RL from scratch fails within the training budget.
- The method generalizes more flexibly to unseen environment conditions than either behavioral cloning or RL fine-tuning, demonstrating improved robustness.
- Learning from images alone without demonstrations or dense rewards leads to no successful policies, highlighting the necessity of demonstration data for sample efficiency.
- Using full state inputs instead of images improves success rates for some tasks (e.g., Push, Pen), but RRLfD achieves strong performance with only visual and proprioceptive inputs.
- The residual formulation significantly reduces sample complexity compared to training RL from scratch, enabling learning of long-horizon tasks with sparse rewards.
- The approach outperforms baselines in both sparse and dense reward settings, with success rates increasing when sparse task completion rewards are added to dense rewards.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.