When Demonstrations Meet Generative World Models: A Maximum Likelihood Framework for Offline Inverse Reinforcement Learning
Siliang Zeng, Chenliang Li, Alfredo Garcia, Mingyi Hong
TL;DR
This work addresses offline inverse reinforcement learning by formulating it as a bi-level maximum-likelihood problem that couples a world-model-based lower-level conservative policy optimization with an upper-level likelihood over expert demonstrations. By learning a dynamics model from fixed data and penalizing uncertain, poorly covered regions, the method recovers high-quality rewards that explain observed behavior while mitigating distribution shift. The authors rigorously characterize the relationship between the true likelihood and a surrogate objective, derive sample-complexity guarantees, and provide convergence results for an efficient alternating optimization algorithm. Empirically, Offline ML-IRL outperforms leading offline IRL and imitation learning baselines on MuJoCo and D4RL, and the recovered reward can even transfer across datasets to enable effective offline RL. This framework advances practical reward learning in settings where interaction with the environment is restricted, with implications for safety-critical applications.
Abstract
Offline inverse reinforcement learning (Offline IRL) aims to recover the structure of rewards and environment dynamics that underlie observed actions in a fixed, finite set of demonstrations from an expert agent. Accurate models of expertise in executing a task has applications in safety-sensitive applications such as clinical decision making and autonomous driving. However, the structure of an expert's preferences implicit in observed actions is closely linked to the expert's model of the environment dynamics (i.e. the ``world'' model). Thus, inaccurate models of the world obtained from finite data with limited coverage could compound inaccuracy in estimated rewards. To address this issue, we propose a bi-level optimization formulation of the estimation task wherein the upper level is likelihood maximization based upon a conservative model of the expert's policy (lower level). The policy model is conservative in that it maximizes reward subject to a penalty that is increasing in the uncertainty of the estimated model of the world. We propose a new algorithmic framework to solve the bi-level optimization problem formulation and provide statistical and computational guarantees of performance for the associated optimal reward estimator. Finally, we demonstrate that the proposed algorithm outperforms the state-of-the-art offline IRL and imitation learning benchmarks by a large margin, over the continuous control tasks in MuJoCo and different datasets in the D4RL benchmark.
