Introduction
Standard Inverse Reinforcement Learning (IRL) operates under two significant assumptions: that the demonstrated behavior is optimal and that the environment's transition dynamics are fully known. However, in real-world scenarios, expert demonstrations are often noisy or suboptimal, and the underlying "rules" of the environment—such as transition probabilities or available actions—may be hidden from the observer.
This paper introduces Generalized Inverse Reinforcement Learning (GIRL), a framework designed to infer not only the reward function but also unknown transition dynamics, action spaces, and state spaces from messy, real-world data.
The GIRL Framework
The core innovation of GIRL is the representation of a policy as a Policy Matrix ($\Pi$). By treating the policy as a matrix where each element represents the probability of an action in a given state, the authors transform behavioral inference into a geometric optimization problem.
The objective is to minimize the distance (using the Frobenius norm) between an observed, potentially noisy policy ($\pi_0$) and a theoretical optimal policy ($\pi$). Unlike standard IRL, GIRL treats the MDP components—transitions ($P$), actions ($A$), and states ($S$)—as variables that can be recovered alongside the reward ($R$). To handle the non-convex nature of this optimization, the authors employ a Global Search Heuristic that utilizes a "noise threshold" ($\eta$) to identify and account for suboptimal states in the demonstrations.
Experimental Evaluation
The framework was tested on two synthetic benchmarks:
- Discrete $5 \times 5$ Grid World: Used to evaluate the recovery of rewards, transition matrices, hidden states (e.g., obstacles), and unobservable actions.
- Continuous Grid World: A $[0, 1] \times [0, 1]$ space discretized at various resolutions to test scalability and the impact of approximation.
Key Results
The experiments demonstrated that GIRL is highly effective at joint reconstruction. In discrete tasks, the algorithm achieved zero error in recovering MDP components even when demonstrations included several suboptimal moves.
A key finding was the benefit of finer discretization in continuous environments. Denser grids were found to improve reward estimation accuracy by reducing the "relative noise" of the observed policy, making the underlying reward structure more identifiable. Furthermore, the "Fake Transition Trick"—representing unknown components as a sum of candidate matrices—proved successful in uncovering unobservable states and actions.
Conclusion and Future Work
GIRL addresses the "blind spots" of traditional IRL by allowing for simultaneous inference of goals and environment constraints. While the framework currently uses sparsity penalties to address the challenge of unidentifiability (where multiple MDPs explain the same behavior), future work will explore more sophisticated regularization techniques and the incorporation of prior knowledge to further refine the set of possible recovered environments.
Summary updated