MEReQ: Max-Ent Residual-Q Inverse RL for Sample-Efficient Alignment from Intervention

Yuxin Chen, Chen Tang, Jianglan Wei, Chenran Li, Thomas Tian, Xiang Zhang, Wei Zhan, Peter Stone, Masayoshi Tomizuka

Abstract

Aligning robot behavior with human preferences is crucial for deploying embodied AI agents in human-centered environments. A promising solution is interactive imitation learning from human intervention, where a human expert observes the policy's execution and provides interventions as feedback. However, existing methods often fail to utilize the prior policy efficiently to facilitate learning, thus hindering sample efficiency. In this work, we introduce MEReQ (Maximum-Entropy Residual-Q Inverse Reinforcement Learning), designed for sample-efficient alignment from human intervention. Instead of inferring the complete human behavior characteristics, MEReQ infers a residual reward function that captures the discrepancy between the human expert's and the prior policy's underlying reward functions. It then employs Residual Q-Learning (RQL) to align the policy with human preferences using this residual reward function. Extensive evaluations on simulated and real-world tasks demonstrate that MEReQ achieves sample-efficient policy alignment from human intervention.

Introduction

Deploying "embodied AI" in human-centered environments requires robots to align their behavior with human preferences. Often, we begin with a "prior policy"—a pre-trained model capable of performing a task but perhaps not in the specific manner a human prefers (e.g., a self-driving car that is safe but overly aggressive in lane changes). Interactive imitation learning, where humans intervene to correct mistakes, is a common approach to fine-tuning these policies. However, current methods typically suffer from two major drawbacks: they often treat fine-tuning as a new learning task, ignoring prior knowledge, and they are susceptible to "catastrophic forgetting," where the robot loses its ability to perform the base task while trying to satisfy new constraints.

Methodology

The proposed framework, MEReQ (Max-Ent Residual-Q Inverse RL), addresses these challenges by focusing on the difference between the prior policy and the desired behavior.

Overview of the MEReQ framework for sample-efficient policy alignment.

The core components of MEReQ include:

  • Residual Reward Inference: Rather than learning a full reward function ($r_{expert}$) from scratch, MEReQ uses Maximum Entropy Inverse Reinforcement Learning (MaxEnt-IRL) to infer only a residual reward ($r_R$). This residual represents the discrepancy between the robot's original reward and the human's preference.
  • Residual Q-Learning (RQL): The algorithm updates the policy using RQL, which allows for customization toward new objectives without re-learning the original reward function.
  • Pseudo-Expert Trajectories: To improve efficiency, segments of trajectories where the human did not intervene are treated as "pseudo-expert" data, providing additional signals for stable training.
  • Iterative Loop: The system cycles between collecting human interventions and updating the policy and reward function within a simulation environment.

Experimental Setup

MEReQ was evaluated across seven tasks spanning simulation and real-world environments:

  • Simulated Tasks: Highway-Sim (lane-specific driving), Bottle-Pushing-Sim (stable pushing), Erasing-Sim (force-controlled erasing), and Pillow-Grasping-Sim (centered grasping).
  • Real-World Tasks: Highway-Human (keyboard supervision), Bottle-Pushing-Human (Fanuc robot arm with SpaceMouse), and Pillow-Grasping-Human (physical grasping).

Results

MEReQ demonstrates superior sample efficiency compared to baselines such as MaxEnt-IRL and HG-DAgger.

Quantitative performance of MEReQ against baselines in simulated tasks.

Key findings include:

  • Reduced Human Effort: In the Highway-Human task, MEReQ reached target performance with only 654 expert samples, a nearly 75% reduction compared to standard MaxEnt-IRL (2,482 samples).
  • Stability: The method exhibited lower variance and more stable learning curves, particularly in complex manipulation tasks like Bottle-Pushing.
  • Effective Real-World Alignment: Physical robot experiments showed that MEReQ could correct undesirable prior behaviors (e.g., knocking over objects) with significantly fewer human corrections than interactive imitation learning baselines.

Conclusion and Future Work

MEReQ provides a sample-efficient path for aligning robot policies with human preferences by leveraging prior knowledge and focusing on residual rewards. While effective, the method currently relies on a simulator for its inner-loop updates and assumes a linear reward model. Future research will explore non-linear reward structures and broader user studies to account for the inherent noise and subjectivity in human interventions.

Summary updated

BibTeX
@inproceedings{chen2024mereq,
  author = {Yuxin Chen and Chen Tang and Jianglan Wei and Chenran Li and Thomas Tian and Xiang Zhang and Wei Zhan and Peter Stone and Masayoshi Tomizuka},
  title = {{MEReQ: Max-Ent Residual-Q Inverse RL for Sample-Efficient Alignment from Intervention}},
  booktitle = {Conference on Robot Learning},
  year = {2024},
  url = {https://openreview.net/forum?id=YagYRgkV7C},
}
Figure