A Lower Bound for the Sample Complexity of Inverse Reinforcement Learning

Abi Komanduru, Jean Honorio

Abstract

This paper establishes the first information-theoretic lower bound for the sample complexity of Inverse Reinforcement Learning (IRL). By utilizing a geometric construction involving spherical codes and Fano’s inequality, the authors demonstrate that reliably recovering a reward function that uniquely generates an expert's policy requires at least $O(n \log n)$ samples, where $n$ is the number of states. This result provides a fundamental limit on the efficiency of learning from demonstrations.

Introduction

In Reinforcement Learning (RL), an agent seeks an optimal policy given a reward function. Inverse Reinforcement Learning (IRL) reverses this process: an observer attempts to infer the underlying reward function from an expert's demonstrations. A significant challenge in IRL is its "ill-posed" nature, as multiple reward functions can often explain the same optimal policy. To be effective, an IRL algorithm must identify a reward function that uniquely and robustly recovers the expert's behavior. While previous work focused on upper bounds for specific algorithms, this research addresses the fundamental minimum number of samples required by any algorithm to solve the IRL problem.

Methodology

The authors employ an information-theoretic approach to derive the lower bound. The proof strategy involves several key components:

  1. Ensemble Construction: A large ensemble of similar IRL problems is constructed. The difficulty of the task lies in an algorithm's ability to distinguish between these closely related problems.
  2. Geometric Packing (Spherical Codes): To maximize the difficulty of distinction, the authors use spherical codes to pack points on a high-dimensional sphere. These points define transition probabilities and reward functions that are as far apart as possible while remaining within a restricted region.
Visualization of geometric packing using spherical codes to construct hard-to-distinguish IRL problems.
  1. $\beta$-Strict Separability: The study focuses on "$\beta$-strictly separable" problems, where the optimal action is superior to the second-best action by a margin of at least $\beta$. This ensures the uniqueness and stability of the optimal policy.
  2. Fano’s Inequality: This core tool of information theory relates the probability of error to the mutual information between observed trajectories and the true reward function. By showing that this mutual information is low, the authors prove that a high sample count is necessary to maintain a low error probability.

The Geometry of Rewards and Sample Complexity

A key insight of the paper is that the space of valid reward functions can be modeled as a simplicial polytope. The number of facets of this polytope corresponds to the number of distinct IRL problems an algorithm must navigate.

Geometric representation of the reward space as a simplicial polytope on a high-dimensional sphere.

The core theoretical finding is that sample complexity scales as $O(n \log n)$. This implies that as the environment's state space grows, the required expert data grows slightly faster than linearly. Under specific conditions regarding the margin $\beta$, the authors derive a more granular bound of $O\left(\frac{\log n}{n^2 \beta^2}\right)$.

Experimental Validation

The theoretical bounds were validated using simulated Markov Decision Processes (MDPs) with varying state and action counts (e.g., $n=7, k=7$). The researchers compared several standard IRL algorithms, including L1-regularized SVM, Bayesian IRL, and Gaussian Process IRL.

The experiments revealed a sharp "phase transition" or "Abysmal Zone." When the number of samples provided was below the derived lower bound, the success rate of all tested algorithms dropped to nearly zero. Performance only began to improve once the sample size crossed the theoretical threshold, confirming that no existing method can bypass this fundamental limit.

Conclusion and Future Work

This work provides a rigorous baseline for the data requirements of IRL in finite state/action spaces. However, limitations remain. Modern RL often involves continuous state spaces, necessitating the extension of these bounds to function approximation settings like Neural IRL. Additionally, the current bound assumes a fixed and known expert policy; future research could explore scenarios involving noisy or partially observed demonstrations to further close the gap between known lower and upper bounds.

Summary updated

BibTeX
@inproceedings{komanduru2021lower,
  author = {Abi Komanduru and Jean Honorio},
  title = {{A Lower Bound for the Sample Complexity of Inverse Reinforcement Learning}},
  booktitle = {International Conference on Machine Learning},
  year = {2021},
}
Figure