TL;DR This paper introduces Regularized Adversarial Inverse Reinforcement Learning (RAIRL), a framework that generalizes imitation learning beyond the standard "maximum entropy" approach. By deriving tractable reward functions for any strongly convex policy regularizer, the authors show that Inverse Reinforcement Learning (IRL) is fundamentally a problem of minimizing Bregman divergence between the agent and the expert, enabling more robust imitation in both discrete and continuous environments.
The Challenge of Degeneracy in IRL
In Reinforcement Learning (RL), we typically assume a reward function is provided. However, designing these functions for real-world tasks is notoriously difficult. Inverse Reinforcement Learning (IRL) addresses this by "reverse engineering" a reward function directly from expert demonstrations.
A major hurdle in standard IRL is degeneracy: multiple reward functions (even a constant zero reward) can technically "explain" an expert's behavior. This makes it difficult for a learner to capture the expert's true intent. While "Maximum Entropy IRL" (MaxEntIRL) mitigates this by adding Shannon entropy as a regularizer, it is mathematically restricted to that specific form. Previous attempts to use more general regularizers, such as Tsallis entropy, resulted in intractable solutions—they were mathematically elegant but impossible to compute in practice because they required knowing the environment's exact transition dynamics or closed-form value functions.
Methodology: Bridging Theory and Practice
The authors overcome these limitations with several key contributions:
- Tractable Solutions: They derive a simplified formula for the reward function that only requires evaluating the policy regularizer and its gradient. This crucial step removes the need to know the environment's underlying dynamics.
- The RAIRL Algorithm: They propose Regularized Adversarial Inverse Reinforcement Learning (RAIRL). Similar to a Generative Adversarial Network (GAN), RAIRL uses a discriminator to distinguish between expert and agent behavior. However, it structures the discriminator specifically to recover the "regularized" reward.
- Density-Based Modeling (DBM): For scenarios with sparse expert data, they introduce a model that ensures the learned reward remains well-behaved by enforcing that the sum of predicted probabilities across actions equals one.
- Bregman Divergence Link: They mathematically prove that regularized IRL is equivalent to minimizing the Bregman divergence—a generalized measure of distance between two probability distributions—associated with the chosen regularizer.
Key Insights: Beyond Shannon Entropy
The most profound insight of the paper is that choosing a policy regularizer (like Shannon or Tsallis entropy) is equivalent to choosing a specific "distance metric" to minimize between the agent and the expert.
By moving to Tsallis entropy, practitioners can tune the "sensitivity" of the imitation. For example, higher values of the parameter $q$ in Tsallis entropy force the agent to match the expert's mean and variance much more tightly than standard MaxEntIRL.
As shown above, different regularizers lead to different "shapes" of the divergence valley. Tsallis entropy with $q=2.0$ results in a much sharper, tighter imitation around the expert (green dot) compared to the broader valley of standard Shannon entropy ($q=1.0$).
Experimental Results
The authors evaluated RAIRL across a spectrum of environments, from simple discrete tasks to complex continuous control:
- Robustness to Sparsity: In Multi-armed Bandit experiments, the DBM version of RAIRL successfully recovered the ground-truth reward even when the expert only demonstrated a small subset of possible actions—a scenario where standard models failed.
- Expert-Level Performance: RAIRL successfully matched expert performance across standard high-dimensional MuJoCo continuous control benchmarks, including Hopper, Walker, HalfCheetah, and Ant.
- Regularizer Impact: In continuous control tasks, empirical results confirmed the theoretical insights: tuning the Tsallis entropy parameter ($q=2$) yielded significantly lower divergence and tighter imitation than previous state-of-the-art methods like standard AIRL.
Limitations and Future Work
While RAIRL represents a significant step forward, the authors note a few limitations:
- Continuous Reward Evaluation: Although the agent successfully imitated expert behavior in continuous tasks, evaluating the "acquired reward" itself in isolation proved difficult due to the high variance inherent in continuous probability density functions.
- Sample Efficiency: Like many adversarial methods, RAIRL requires a significant number of environment interactions (e.g., 1-2 million steps for MuJoCo Ant), which poses a challenge for direct application in real-world robotics.
- Expanding Divergence Families: Bregman divergence covers a broad family of metrics, but not all (e.g., $f$-divergences). Exploring the links between other regularizers and statistical distances remains a promising avenue for future research.
Summary updated