Abstract
Inverse Reinforcement Learning (IRL) has long struggled with the inherent instability of adversarial training. This paper introduces the first "Trust Region" framework for IRL, providing formal stability guarantees for learning reward functions from expert demonstrations. We present Trust Region Reward Optimization (TRRO), a theoretical framework based on Minorization-Maximization, and Proximal Inverse Reward Optimization (PIRO), a practical algorithm that mirrors the success of PPO in forward reinforcement learning. PIRO offers a stable, sample-efficient method for recovering rewards that match or exceed expert performance across complex robotics and real-world biological behavior tasks.
Introduction
Inverse Reinforcement Learning (IRL) seeks to recover the underlying reward function that explains observed expert behavior. Most modern IRL approaches rely on an adversarial minimax game: a reward function attempts to distinguish between expert and learner trajectories, while a policy learner tries to maximize that reward. This dynamic is notoriously unstable; if either the policy or the reward updates too aggressively, the system can collapse.
While non-adversarial methods have been developed to mitigate these issues, they have historically lacked the rigorous mathematical foundations found in forward RL algorithms like Trust Region Policy Optimization (TRPO). This research bridges that gap by introducing a trust region framework for reward optimization, ensuring monotonic improvement and stable convergence.
Methods
Trust Region Reward Optimization (TRRO)
TRRO provides the theoretical backbone for stable reward recovery. It utilizes a Minorization-Maximization (MM) process. Rather than optimizing the complex log-likelihood of expert behavior directly—which can be volatile—TRRO optimizes a simpler "surrogate" function. This surrogate is mathematically guaranteed to be a lower bound of the true objective. By constraining reward updates to a "trust region" where this surrogate remains accurate, TRRO guarantees that the reward function improves monotonically at every iteration.
Proximal Inverse Reward Optimization (PIRO)
Recognizing that the theoretical constants in TRRO can be overly conservative for practical applications, the authors developed PIRO. Inspired by Proximal Policy Optimization (PPO), PIRO implements the trust region concept using an adaptive regularization coefficient ($\mu$) and $L_2$ norms. This approach keeps reward updates stable yet efficient. PIRO is designed for high compatibility, functioning as a wrapper that can be implemented on top of standard off-the-shelf RL algorithms such as Soft Actor-Critic (SAC).
A Unified View of IRL
A significant contribution of this work is the proof that many existing non-adversarial IRL methods, such as IQ-Learn and f-IRL, are actually special cases of maximizing the likelihood of expert behavior within this unified framework. This provides a theoretical anchor for previously heuristic-based methods.
Experimental Evaluation
The authors evaluated PIRO across three distinct domains to test its versatility and performance:
- MuJoCo Locomotion: Standard benchmarks including Ant, Humanoid, and HalfCheetah.
- Gym-Robotics: High-dimensional navigation and manipulation tasks, specifically AntMaze (UMaze, Medium, and Large) and AdroitHand (Pen).
- Meerkat Behavior Modeling: A real-world application involving 20 videos of meerkat groups. The model was tasked with predicting 15 social behaviors and 10 movement actions in a complex spatial-temporal environment.
Key Results
- Performance in High-Dimensional Tasks: PIRO significantly outperformed baselines in the most challenging environments. In Humanoid-v4, PIRO achieved a score of 5954.9, notably exceeding the expert's own performance of 5501.0. In contrast, most baseline methods failed to reach a score of 1000.
- Real-World Biological Accuracy: On the Meerkat behavior task, PIRO achieved a weighted mean error of 5.5%, outperforming AIRL (8.7%) and GAIL (11.8%). This suggests that PIRO is better equipped to capture the nuances of complex, non-robotic behavior.
- Sample Efficiency and Robustness: PIRO reached expert-level performance with fewer environment interactions than adversarial counterparts. Furthermore, rewards learned via PIRO proved robust to dynamics shifts; a reward learned in a standard LunarLander environment remained effective even when "stochastic winds" were introduced to the simulation.
Discussion
The Reward-Policy Dualism
This research highlights a fundamental symmetry in reinforcement learning. In forward RL, we fix the reward and optimize the policy (TRPO/PPO). In IRL, we essentially fix the expert behavior and optimize the reward. PIRO completes this symmetric picture, providing the IRL community with the same stability tools available to forward RL practitioners.
Stability via Constraint
The core insight of this work is that IRL instability stems from drastic reward function shifts. By penalizing the difference between the new and old reward (the trust region), the policy optimizer is given the "breathing room" to adapt, leading to smoother convergence and more reliable reward recovery.
Limitations and Future Work
Despite its advantages, PIRO's performance remains tied to the stability of the underlying policy optimizer (e.g., SAC). If the RL subroutine fails in extremely high-dimensional spaces, the reward recovery process will also suffer. Additionally, the current on-policy sampling requirement can be computationally intensive.
Future research directions include:
- Expert Resets: Using expert states as reset points to reduce the computational load of policy optimization.
- Alternative Divergences: Testing statistical divergences beyond KL-divergence for the trust region constraint.
- LLM Alignment: Applying PIRO to reward modeling for Large Language Models (RLHF), where stable reward recovery is essential for safe and accurate alignment.
Summary updated