PAC Apprenticeship Learning with Bayesian Active Inverse Reinforcement Learning

Ondrej Bajgar, Dewi S. W. Gould, Jonathon Liu, Alessandro Abate, Konstantinos Gatsis, Michael A. Osborne

TL;DR

This paper introduces PAC-EIG, a novel information-theoretic approach for active Inverse Reinforcement Learning (IRL) that provides the first probably-approximately-correct (PAC) reliability guarantees when learning from noisy human demonstrations. By strategically querying full trajectories that maximize information gain about the apprentice policy's immediate regret, the method efficiently aligns AI behavior with human preferences while avoiding the catastrophic "stuck" states common in prior heuristic methods.

What Problem Does This Paper Address?

Inverse Reinforcement Learning (IRL) aims to deduce human preferences (reward functions) by observing expert demonstrations. This is crucial for aligning autonomous systems like self-driving cars or robots with human values. However, gathering high-quality human data is expensive, and in safety-critical domains, we need formal guarantees that the learned policy won't fail catastrophically. Active IRL tackles this by letting the AI choose which scenarios to ask the human to demonstrate.

Existing active IRL methods suffer from major drawbacks: they either assume an unrealistically perfect human expert, query isolated states rather than natural full trajectories, or rely on heuristics (like action entropy) that can get permanently stuck querying uninformative states where multiple actions are equally good or bad.

Methods

The authors propose PAC-EIG (Probably Approximately Correct Expected Information Gain), an acquisition function rooted in Bayesian active learning. Instead of looking at action uncertainty, PAC-EIG targets the immediate regret of the apprentice policy—how much performance is lost by making a suboptimal choice in a given state.

To make this computationally tractable and theoretically sound, they discretize immediate regret into three buckets: "correct", "approximately correct", and "not correct". The algorithm then selects initial states for full trajectories that maximize the expected information gain about these discretized regret values.

The paper also introduces Reward-EIG for scenarios where learning the exact reward function itself is the primary goal (e.g., scientific studies of animal behavior), and $\nu$PAC-EIG, a variant that weights regret by state occupancy to scale better to larger state spaces.

Figure 1: Illustration of the active IRL task. (a) shows a gridworld and its true rewards. The lower left corner has a "jail" state with negative reward from which an agent cannot leave. The starred green state is the terminal "goal" state with a large positive reward. The brown, blue, and red states are "mud", "water", and "lava" type states respectively, whose rewards are unknown to the IRL agent. The IRL agent tries to learn the rewards of these three state types from expert demonstrations. (b) shows current distributions over the rewards of the "mud", "water", and "lava" state types respectively, at some particular step of the active learning process. These learned reward distributions are used to calculate an acquisition function (here the reward EIG) of obtaining another expert demonstration starting from each given state, shown in (c). In this case, a demonstration starting in the bottom right state gives the most information about the unknown reward parameters.

Datasets

The method is evaluated on three custom-designed Gridworld simulation environments:

  1. Structured Gridworld: A 6x6 grid featuring a "jail" state (where all actions are equally penalized) designed to expose the failure modes of prior action-entropy methods.
  2. 10x10 Random Gridworld: An environment with only two possible initial states to test if the active learner can focus purely on relevant, reachable areas.
  3. 8x8 Random Gridworld: A fully uniform environment with stochastic expert behavior to evaluate performance under high noise.

Key Insights and Ideas

  • Heuristics Can Trap Learners: Prior methods using action entropy get trapped in states where the expert is indifferent (e.g., a "jail" state where every move is bad). Because entropy remains high, the AI keeps querying this uninformative state forever.
  • Regret Over Reward: If the goal is a well-performing policy, maximizing information about policy regret is far more efficient than maximizing information about the reward function itself. Once an action is known to be bad, its exact negative value doesn't matter for the policy.
  • The Power of Three Buckets: A simple two-bucket discretization (acceptable vs. unacceptable regret) fails to provide theoretical guarantees because it loses the mathematical separation between distinct expert action distributions. Adding a middle "approximately correct" bucket unlocks the proof for PAC bounds.

Key Results

  • Avoiding Deadlocks: In the structured gridworld with a jail state, prior action-entropy methods completely failed to learn, while PAC-EIG and Reward-EIG successfully learned optimal policies within 10 steps.
  • Zero True Regret: On the 10x10 gridworld with limited initial states, the occupancy-weighted $\nu$PAC-EIG reached zero true regret by step 50, significantly outperforming competitive baselines like ActiveVaR.
  • First-of-its-kind Guarantee: The authors mathematically prove an upper bound on the expected number of expert demonstrations required to achieve an $\epsilon$-$\delta$-PAC policy under noisy Boltzmann-rational demonstrations.

Limitations and Future Work

  • Finite State-Action Spaces: The theoretical proofs and experimental evaluations are currently limited to discrete, finite state-action spaces.
  • Trajectory Bound Extensions: While the theorems establish lower bounds for single-state queries, extending tight theoretical bounds specifically to full trajectory queries requires additional environmental assumptions.
  • Future Directions: The authors plan to generalize these information-theoretic acquisition functions to continuous state and action spaces, which are essential for real-world robotics and autonomous driving.

Summary updated

BibTeX
@misc{bajgar2025pac,
  author = {Ondrej Bajgar and Dewi S. W. Gould and Jonathon Liu and Alessandro Abate and Konstantinos Gatsis and Michael A. Osborne},
  title = {{PAC Apprenticeship Learning with Bayesian Active Inverse Reinforcement Learning}},
  year = {2025},
  eprint = {2508.03693},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2508.03693},
}
Figure