A Bayesian Solution To The Imitation Gap
Risto Vuorio, Mattie Fellows, Cong Lu, Clémence Grislain, Shimon Whiteson
TL;DR
The paper tackles the imitation gap that arises when the expert has access to privileged information not available to the imitator. It presents BIG, a fully Bayesian pipeline that first learns a posterior over rewards from expert demonstrations via contextual Bayesian IRL, then incorporates a cost of exploration prior to enable prudent test-time exploration, and finally computes a Bayes-optimal policy in a BAMDP. Key ideas include contextual successor features to separate dynamics from rewards, a Laplace-approximated Bayesian IRL step, and a COE prior that rescales rewards within [r_min, r_max] while introducing uncertainty over exploration costs. Empirically, BIG outperforms standard imitation learning in imitation-gap scenarios, recovers reward structure in simple and large CMDPs, and scales to high dimensional observations, demonstrating the practical viability of Bayes-optimal exploration in imitation-limited settings.
Abstract
In many real-world settings, an agent must learn to act in environments where no reward signal can be specified, but a set of expert demonstrations is available. Imitation learning (IL) is a popular framework for learning policies from such demonstrations. However, in some cases, differences in observability between the expert and the agent can give rise to an imitation gap such that the expert's policy is not optimal for the agent and a naive application of IL can fail catastrophically. In particular, if the expert observes the Markov state and the agent does not, then the expert will not demonstrate the information-gathering behavior needed by the agent but not the expert. In this paper, we propose a Bayesian solution to the Imitation Gap (BIG), first using the expert demonstrations, together with a prior specifying the cost of exploratory behavior that is not demonstrated, to infer a posterior over rewards with Bayesian inverse reinforcement learning (IRL). BIG then uses the reward posterior to learn a Bayes-optimal policy. Our experiments show that BIG, unlike IL, allows the agent to explore at test time when presented with an imitation gap, whilst still learning to behave optimally using expert demonstrations when no such gap exists.
