Residual Policy Learning for Shared Autonomy

Charles B. Schaff, Matthew R. Walter

Introduction

Shared autonomy represents a collaborative paradigm where a human and a robotic agent co-control a system to achieve complex tasks. Traditional approaches often rely on rigid assumptions: the robot must possess a precise model of environment dynamics, a predefined set of potential human goals, or a specific model of human behavior. However, real-world applications—ranging from assistive driving to remote surgery—frequently involve unpredictable dynamics and fluid, goal-shifting human intent. This work introduces a model-free, goal-agnostic "copilot" framework that leverages Residual Policy Learning (RPL) to provide safety-critical corrections while maximizing human agency.

Methodology

The proposed framework, Constrained Residual Shared Autonomy, shifts the robot's role from a primary controller to a corrective assistant.

Residual Policy Learning

The core mechanism defines the final control action $a$ as the sum of the human's input $a_h$ and the robot's residual correction $a_r$: $$a = a_h + a_r$$ This additive structure ensures that the human remains "in the loop," providing the high-level guidance while the robot manages low-level stability.

Constrained Optimization

The problem is formulated as a Constrained Markov Decision Process (CMDP). The objective is to minimize the magnitude of the robot's intervention ($||a_r||$) to preserve the user's feeling of control, subject to the constraint that the expected safety reward (e.g., avoiding crashes) remains above a defined threshold. The authors utilize a Constrained Proximal Policy Optimization (PPO) algorithm with Lagrangian multipliers to solve this in a model-free manner.

Surrogate Pilot Training

To overcome the data-intensive nature of deep reinforcement learning, the researchers employed Behavioral Cloning to develop "surrogate pilots." These agents were trained on human demonstration data to mimic realistic human errors, providing a robust training environment for the copilot before deployment with real users.

Experimental Evaluation

The framework was tested across three simulation environments: Lunar Lander (landing between flags), Lunar Reacher (navigating to a randomized point), and Drone Reacher (a high-dimensional 6-DOF quadrotor simulation subject to wind gusts).

Figure 2: Comparison of trajectories in Lunar Lander (top) and Lunar Reacher (bottom) tasks. Green trajectories indicate successful assisted flights, while red trajectories highlight failures or unassisted attempts. The copilot successfully generalizes across different goals (landing vs. reaching) without retraining.

Key Results and Insights

The experimental results highlight three major advantages of the RPL approach:

  • Goal-Agnostic Generalization: Because the copilot focuses on "general" safety constraints (e.g., "do not exceed safe impact velocity") rather than specific destination rewards, it generalizes seamlessly. A copilot trained on the "Landing" task effectively assisted users in the "Reaching" task without further training.
  • Minimal Intervention: By penalizing the residual $a_r$, the agent avoids "backseat driving," intervening only when the human's trajectory risks a safety violation.
  • Human Preference: In a study with 16 participants, users reported higher trust and helpfulness ratings for the assisted mode. Interestingly, the copilot made the vehicle feel more "consistent," likely by smoothing out the unpredictable physics of the simulation.

Conclusion

This research demonstrates that effective robotic assistance does not require perfect knowledge of a user's intent. By focusing on goal-agnostic safety constraints through residual policy learning, we can create robust copilots that enhance performance while maintaining human autonomy. Future work will focus on reducing sample complexity and bridging the sim-to-real gap for physical hardware deployment.

Summary updated

BibTeX
@inproceedings{schaff2020residual,
  author = {Charles B. Schaff and Matthew R. Walter},
  title = {{Residual Policy Learning for Shared Autonomy}},
  booktitle = {Robotics: Science and Systems},
  year = {2020},
  doi = {10.15607/rss.2020.xvi.072},
}
Figure