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

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

TL;DR

MEREQ (Maximum-Entropy Residual-Q Inverse Reinforcement Learning) is a novel framework for aligning robot behavior with human preferences using minimal human intervention. By focusing on learning only the residual reward—the difference between a robot's prior knowledge and a human's preference—MEREQ significantly improves sample efficiency, requiring far fewer interventions than standard imitation learning or inverse RL baselines.

What Problem Does This Paper Address?

Deploying robots in human-centered environments requires "alignment"—ensuring the robot's actions match human expectations and safety preferences. A common way to achieve this is through interactive imitation learning, where a human observes a robot and intervenes (takes control) whenever it deviates from the desired behavior.

However, existing methods face two major hurdles:

  1. Inefficiency: Many methods ignore the robot's "prior policy" (what it already knows), essentially forcing the human to re-teach the task from scratch.
  2. Catastrophic Forgetting: Fine-tuning a policy solely on new intervention data often causes the robot to forget its original useful behaviors, leading to "compounded errors."

The authors seek a way to leverage the robot's existing capabilities while efficiently "patching" its behavior based on sparse human feedback.

Methods

The core innovation of MEREQ is the shift from learning a full reward function to learning a residual reward function.

  • Residual Reward Inference: Instead of trying to infer the entire human reward function ($r_{expert}$), MEREQ assumes $r_{expert} = r_{prior} + r_{residual}$. It uses Maximum-Entropy Inverse Reinforcement Learning (MaxEnt-IRL) to infer only the weights of the residual term ($r_{residual}$) from the human's intervention samples.
  • Residual Q-Learning (RQL): Once the residual reward is estimated, the authors employ RQL to update the policy. RQL is uniquely suited for this because it can customize a prior policy toward a new objective without needing explicit access to the original reward function ($r_{prior}$).
  • Pseudo-Expert Trajectories: To further boost efficiency, MEREQ labels the segments of the robot's own execution before an intervention as "good-enough" samples. These are used to augment the expert dataset, providing more stable gradients for the IRL process.
Figure 1: Overview of MEREQ, designed for sample-efficient alignment from human interven- tion. From human intervention samples, MEREQ infers a residual reward that captures the discrep- ancy between the human expert’s and the prior policy’s underlying reward functions via maximum- entropy inverse reinforcement and then updates the prior policy with Residual Q-Learning (RQL).

Datasets

The researchers evaluated MEREQ across seven distinct tasks involving both synthesized (algorithmic) experts and real human-in-the-loop (HITL) experiments:

  • Highway-Sim/Human: A driving task where the robot must learn a preference for the right-most lane.
  • Bottle-Pushing-Sim/Human: A 6-DoF robot arm must push a bottle to a goal without knocking it over (requiring a low contact point).
  • Erasing-Sim: A robot arm must apply sufficient force to erase a whiteboard.
  • Pillow-Grasping-Sim/Human: A robot arm must learn to grasp a pillow from the center rather than the edges.

Key Insights and Ideas

  • Don't Re-invent the Wheel: The most significant "aha" moment is that the discrepancy between a prior policy and an expert is often much simpler to represent than the task itself. By learning only the "delta," the robot requires much less data.
  • RQL as a Bridge: Residual Q-Learning acts as the perfect mathematical bridge between the prior policy and the new human-aligned policy, preventing the "catastrophic forgetting" seen in behavior cloning approaches.
  • Implicit Feedback is Gold: The paper highlights that the absence of intervention is itself a signal. By treating pre-intervention snippets as "pseudo-expert" data, the model gains a clearer picture of what the human considers "good enough" without requiring extra effort from the user.

Key Results

MEREQ consistently outperformed baselines like HG-DAgger and standard MaxEnt-IRL in both speed of convergence and total human effort required.

  • Sample Efficiency: In simulated tasks, MEREQ reached target intervention rates (e.g., <5%) with significantly fewer expert samples. For example, in the Bottle-Pushing-Sim task, MEREQ required ~1,707 samples compared to ~2,976 for the next best IRL baseline.
  • Human Effort: In HITL experiments, MEREQ reduced the number of human interventions by roughly 50-70% compared to naive fine-tuning methods.
  • Stability: As shown in Figure 2, MEREQ maintains a lower intervention rate throughout the learning process and exhibits much lower variance across different trials than behavior cloning-based methods.
Figure 2: Sample Efficiency. (Top) MEReQ converges faster and maintains at low intervention rate throughout the sample collection iterations. The error bands indicate a 95% confidence interval across 8 trials. (Bottom) MEReQ requires fewer total expert samples to achieve comparable policy performance compared to baselines under varying intervention rate thresholds δ. The error bars indicate a 95% confidence interval. See Tab. 1 in Appendix B for detailed values.

Qualitatively, the alignment is striking. In the bottle-pushing task, the prior policy frequently knocked the bottle over by pushing too high; after MEREQ alignment, the robot consistently targeted the base of the bottle.

Visual comparison of robot behavior before and after alignment in the Bottle-Pushing and Pillow-Grasping tasks.

Limitations and Future Work

  • Simulation Bottleneck: The current policy update loop requires rolling out the policy in a simulator. This can cause delays between human intervention sessions.
  • Linear Reward Model: MEREQ currently assumes rewards are a linear combination of features. The authors plan to explore non-linear reward models (e.g., using neural networks) in future iterations.
  • Single-Operator Bias: The HITL experiments involved a single operator per task. A broader study is needed to see how MEREQ handles the subjective and sometimes inconsistent nature of interventions from different humans.
  • Noisy Interventions: While MEREQ showed some robustness to injected noise, handling highly inconsistent or "bad" human advice remains a challenge for the field.

Summary updated

BibTeX
@inproceedings{chen2024mereq,
  author = {Yuxin Chen and Chen Tang and Jianglan Wei and Chenran Li and Ran 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