Active Exploration for Inverse Reinforcement Learning

David Lindner, Andreas Krause, Giorgia Ramponi · DOI

Abstract

Most Inverse Reinforcement Learning (IRL) algorithms assume the agent already understands the environment's physics or has access to a "reset button" simulator. This paper introduces AceIRL, which breaks these assumptions by actively exploring an unknown environment to simultaneously learn the transition dynamics and the expert's reward function. AceIRL matches the efficiency of simulator-based methods without needing a generative model, providing the first formal sample-complexity guarantees for active IRL in sequential settings.

Introduction

In standard Reinforcement Learning, an agent learns a policy given a reward function. In Inverse Reinforcement Learning (IRL), the goal is reversed: we observe an expert's behavior and attempt to recover their underlying reward function.

A significant limitation in current IRL research is the reliance on a known transition model or a generative model (a simulator allowing teleportation to any state-action pair). In real-world scenarios, such as a robot navigating a new warehouse, these are rarely available. The agent must move through the environment sequentially. Without effective exploration, the agent may never visit the states necessary to understand the expert's preferences. This paper addresses Active Exploration for IRL, focusing on how an agent can choose its own path to learn rewards efficiently in a completely unknown environment.

Methods: The AceIRL Algorithm

The authors propose AceIRL (Active exploration for Inverse Reinforcement Learning), an iterative algorithm that alternates between environment exploration and reward estimation.

Key Components

  • Confidence Intervals: AceIRL maintains "plausible" sets of reward functions and transition models based on accumulated observations.
  • Exploration Strategies:
    • AceIRL Greedy: A baseline strategy that explores states with the highest current uncertainty (uncertainty sampling).
  • AceIRL Full (Problem-Dependent): A sophisticated approach that solves a convex optimization problem to find a policy minimizing future uncertainty. It focuses exploration on "plausibly optimal" policies, avoiding parts of the environment irrelevant to the expert's goal.
  • Sequential Interaction: Unlike prior work, AceIRL operates purely through sequential interaction, respecting physical movement constraints.

Experimental Setup

The researchers evaluated AceIRL across several simulated environments, most notably the Four Paths task.

Figure 1: The Four Paths environment where an agent observes an expert's choice (e.g., the wood path) to infer underlying rewards among various items like apples, bananas, carrots, and treasures.

In the Four Paths environment, an agent chooses between four distinct paths (grass, wood, marble, and ice) to reach different objects. This setup tests whether the agent can infer if the expert prefers a specific item or a specific type of path (e.g., the fastest vs. the safest). Other benchmarks included the Double Chain (a classic exploration challenge), standard Gridworlds, and Random MDPs.

Key Results and Insights

  • Closing the Simulator Gap: Theoretically, AceIRL achieves a sample complexity of $\tilde{O}(H^5 / \epsilon^2)$. This matches the best-known bounds for algorithms that do have access to a simulator, proving that sequential exploration is not inherently slower than simulator-based sampling.
  • Efficiency in Practice: In the Four Paths and Double Chain environments, AceIRL Full significantly outperformed both random exploration and the Greedy variant. In the Four Paths task, AceIRL Full reached target accuracy in ~10,000 samples, compared to over 24,000 for the Greedy version.
  • Plausibility-Driven Exploration: By identifying rewards consistent with expert behavior, AceIRL avoids wasting resources on irrelevant areas of the state space.

Limitations and Future Work

While AceIRL provides a theoretical breakthrough, it is currently limited to tabular settings with finite states and actions. Extending the framework to use function approximation (e.g., Deep Learning) is essential for complex, high-dimensional environments like robotics. Additionally, the computational cost of solving convex optimization problems in each iteration remains a hurdle for scaling to very large state spaces.

Summary updated

BibTeX
@inproceedings{lindner2022active,
  author = {David Lindner and Andreas Krause and Giorgia Ramponi},
  title = {{Active Exploration for Inverse Reinforcement Learning}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2022},
}
Figure