NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Inverse Reinforcement Learning with Sub-optimal Experts

Riccardo Poiani, Gabriele Curti, Alberto Maria Metelli, Marcello RestelliarXiv 2024 · DOI

Introduction

Inverse Reinforcement Learning (IRL) is the process of inferring an agent's underlying reward function from observed behavior. It is a cornerstone of "human-in-the-loop" AI, enabling systems to learn complex tasks like driving from human demonstrations. However, IRL is famously "ill-posed": many different reward functions can explain the same behavior, leading to significant ambiguity. Furthermore, standard IRL algorithms typically assume the expert is perfectly optimal, which is rarely true in practice where data often comes from agents with varying skill levels.

This paper addresses these challenges by providing a rigorous theoretical framework for Inverse Reinforcement Learning with Sub-optimal Experts (IRL-SE). The authors demonstrate that while learning from sub-optimal experts is statistically more difficult, it significantly reduces reward ambiguity.

The IRL-SE Framework

The authors consider a setting where the learner has access to one optimal expert and several sub-optimal experts. Crucially, each sub-optimal expert $i$ is associated with a known "sub-optimality index" $\xi_i$, which acts as an upper bound on their value loss relative to the optimal policy.

Characterizing the Feasible Reward Set

A key contribution of this work is the explicit mathematical characterization (Theorem 3) of the feasible reward set—the set of all reward functions compatible with all experts simultaneously.

A 2-state MDP illustrating how sub-optimal experts provide constraints on the reward function. By choosing certain actions despite being "almost" optimal, these experts place tight bounds on reward gaps.

As illustrated in the 2-state MDP in Figure 1, sub-optimal experts provide lower bounds on reward gaps. If an expert is nearly optimal but chooses action B over action A, it implies that A cannot be significantly better than B. This "shrinks" the feasible reward set, effectively reducing the ambiguity that plagues traditional IRL.

Algorithm: US-IRL-SE

The authors propose the Uniform Sampling IRL-SE (US-IRL-SE) algorithm. In a generative model setting, where any state-action pair can be queried, the algorithm gathers data on transitions and expert policies to build an empirical estimate of the feasible reward set.

Sample Complexity and Optimality

Using the PAC (Probabilistic Approximately Correct) framework, the authors derive a minimax lower bound for the expected sample complexity: $$\Omega\left(\frac{SA}{\epsilon^2(1-\gamma)^2} \left( \log \frac{1}{\delta} + S \right)\right)$$ They prove that US-IRL-SE matches this bound (up to logarithmic factors) under the condition that the sub-optimal experts are relatively skilled. This confirms that the algorithm is efficient in its use of data.

Key Insights

  • Ambiguity Reduction: Even a single sub-optimal expert can drastically reduce the volume of the feasible reward set compared to having only an optimal expert.
  • The Statistical Tax: Learning with sub-optimal experts is statistically harder than the single-expert case. Estimating multiple policies and their relative performance gaps requires more samples to achieve high confidence.
  • Minimax Optimality: Simple uniform sampling is shown to be the best possible approach in the worst-case scenario, provided the experts are not too far from optimal.

Conclusion

This research provides a foundational theoretical treatment of IRL with imperfect demonstrations. While the assumption of a known sub-optimality index $\xi_i$ is a practical hurdle, the work clearly shows the value of "learning-amateurs" in narrowing down true reward functions. Future work will focus on scaling these insights to large or continuous state spaces using function approximation and relaxing the requirement for known sub-optimality bounds.

Summary based on work by Alberto Maria Metelli and Marcello Restelli (Politecnico di Milano).

Summary updated

BibTeX
@misc{poiani2024inverse,
  author = {Riccardo Poiani and Gabriele Curti and Alberto Maria Metelli and Marcello Restelli},
  title = {{Inverse Reinforcement Learning with Sub-optimal Experts}},
  year = {2024},
  eprint = {2401.03857},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2401.03857},
}
Figure