NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Residual Policy Learning

Tom Silver, Kelsey R. Allen, Josh Tenenbaum, Leslie Pack KaelblingarXiv 2018

Abstract

We present Residual Policy Learning (RPL): a simple method for improving nondifferentiable policies using model-free deep reinforcement learning. RPL thrives in complex robotic manipulation tasks where good but imperfect controllers are available. In these tasks, reinforcement learning from scratch remains data-inefficient or intractable, but learning a residual on top of the initial controller can yield substantial improvements. We study RPL in six challenging MuJoCo tasks involving partial observability, sensor noise, model misspecification, and controller miscalibration. For initial controllers, we consider both hand-designed policies and model-predictive controllers with known or learned transition models. By combining learning with control algorithms, RPL can perform long-horizon, sparse-reward tasks for which reinforcement learning alone fails. Moreover, we find that RPL consistently and substantially improves on the initial controllers. We argue that RPL is a promising approach for combining the complementary strengths of deep reinforcement learning and robotic control, pushing the boundaries of what either can achieve independently.

Introduction

Deep Reinforcement Learning (RL) has demonstrated significant potential in robotics, yet it faces a persistent "cold start" problem. In complex tasks characterized by long horizons and sparse rewards, RL agents often fail to discover successful trajectories during initial exploration. In contrast, classical control methods, such as hand-designed scripts or Model Predictive Control (MPC), are effective for long-horizon planning but are often brittle when faced with model misspecification, sensor noise, or environmental variations.

Residual Policy Learning (RPL) addresses this by using RL to refine "good but imperfect" controllers. Rather than learning from scratch, RPL learns a neural network "residual" that corrects the base controller's actions, preserving prior knowledge while adapting to complexities the original controller cannot handle.

Methods

The core formulation of RPL defines a new policy $\pi_\theta(s)$ as the sum of a fixed base policy $\pi(s)$ and a learnable residual $f_\theta(s)$: $$\pi_\theta(s) = \pi(s) + f_\theta(s)$$

This approach offers several technical advantages:

  1. Handling Non-Differentiability: Since the gradient $\nabla_\theta \pi_\theta(s)$ depends only on the residual $f_\theta(s)$, the base policy $\pi$ does not need to be differentiable. It can be a hand-written script or a complex MPC solver.
  2. Zero-Initialization: By initializing the final layer of the residual network to zero, the robot begins by exactly following the base policy, preventing the "catastrophic forgetting" of initial controller logic.
  3. Critic Burn-in: To prevent poor initial gradients from a naive critic from degrading the base policy, the authors implement a "burn-in" period where only the critic is trained while the policy remains fixed.
  4. Recurrent Residuals: To mitigate partial observability (e.g., sensor noise), a history of states is provided to the residual network.

Experimental Evaluation

RPL was evaluated across six MuJoCo-based manipulation tasks designed to test robustness against friction changes, sensor noise, and complex geometries.

The Hook task environments: (a) NoisyHook with a single block and (b) ComplexHook featuring diverse objects and hidden obstacles.

The tasks included:

  • Push & SlipperyPush: Moving a cube under varying friction conditions.
  • PickAndPlace: A 3D lifting task.
  • NoisyHook & ComplexHook: Long-horizon tasks requiring a tool to retrieve objects. ComplexHook (shown above) includes 100 diverse objects and unmodeled "bumps" on the table.
  • MBRLPusher: A 7-DOF arm task (illustrated below) using a learned transition model as the base controller.
A 7-DOF robot arm performing manipulation tasks such as pushing and picking.

Key Results and Insights

RPL demonstrated substantial improvements over both RL from scratch and standalone base controllers:

  • Efficiency: In PickAndPlace, RPL reached a 100% success rate approximately 10x faster than DDPG+HER from scratch.
  • Solving Sparse Rewards: In the Hook tasks, standard RL failed completely (0% success), while RPL achieved ~80% success by using the base policy as a "hint" for exploration.
  • Conformant Strategies: In ComplexHook, the residual learned to lift the hook higher and reach wider to accommodate hidden obstacles and varying object shapes—behaviors the base controller lacked.
  • Optimization Ease: Comparisons with "Expert Explore" baselines showed that the residual parameterization itself makes the optimization problem easier, beyond just providing better exploration.

Conclusion

Residual Policy Learning provides a simple yet powerful framework for combining the reliability of classical control with the adaptive capacity of deep RL. While it remains sensitive to the quality of the base policy and requires hyperparameter tuning for critic burn-in, RPL consistently pushes the boundaries of robotic manipulation in challenging, sparse-reward environments.

Summary updated

BibTeX
@misc{silver2018residual,
  author = {Tom Silver and Kelsey R. Allen and Josh Tenenbaum and Leslie Pack Kaelbling},
  title = {{Residual Policy Learning}},
  year = {2018},
  eprint = {1812.06298},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1812.06298},
}
Figure