Inverse Reinforcement Learning with Simultaneous Estimation of Rewards and Dynamics

Michael Herman, Tobias Gindele, Jörg Wagner, Felix Schmitt, Wolfram BurgardAISTATS 2016

Abstract

Traditional Inverse Reinforcement Learning (IRL) algorithms typically operate under the assumption that the environment's transition dynamics are known, focusing solely on recovering the expert's reward function. However, in many real-world scenarios, the underlying physics are unknown or only partially observable. This paper introduces SERD, a framework for the Simultaneous Estimation of Rewards and Dynamics. By treating the recovery of goals and environment mechanics as a joint optimization problem, SERD significantly improves accuracy and sample efficiency, particularly when expert demonstrations are biased toward high-reward states.

Introduction

In the standard IRL paradigm, we observe an expert's behavior and attempt to infer the reward function that motivates their actions. A critical oversight in many model-based IRL methods is the requirement for a pre-defined, accurate transition model. While researchers often estimate this model directly from expert data, this approach suffers from inherent selection bias: experts naturally gravitate toward "good" states and avoid "bad" ones. Consequently, the resulting datasets are often too sparse to accurately model the dynamics of the entire environment. If the inferred dynamics are flawed, the recovered reward function—and any policy derived from it—will inevitably be inaccurate.

The SERD Framework

To bridge this gap, the authors propose Simultaneous Estimation of Rewards and Dynamics (SERD). Rather than a sequential two-step process, SERD optimizes both reward weights and transition parameters concurrently.

Technical Contributions

  • Joint Likelihood Optimization: The framework maximizes the log-likelihood of observed demonstrations with respect to a parameter vector that encompasses reward weights, the agent's internal belief about dynamics, and the actual system dynamics.
  • MDCE-SERD: The authors specifically apply this framework to Maximum Discounted Causal Entropy (MDCE) IRL, a robust probabilistic approach to imitation learning.
  • Soft Q-Gradient Iteration: To ensure computational tractability, the paper derives a recursive "soft Q-gradient." The authors provide a mathematical proof that this iteration is a contraction mapping, guaranteeing convergence to a unique fixed point.
  • Gradient-Based Learning: By calculating the gradient of the policy with respect to both reward and transition parameters, the model can refine its understanding of the environment's mechanics and the agent's values through backpropagation.

Experimental Evaluation

The authors evaluated SERD using a synthetic grid world navigation task derived from real-world satellite imagery. The environment featured diverse terrain types, such as "open terrain" with high movement success rates and "forest" areas characterized by stochastic movement.

Original satellite imagery of a highway interchange used for the navigation task.
Discretized grid world representation with expert demonstrations (red and green markers).

Beyond simple navigation, the models were subjected to a Transfer Learning Benchmark. In this test, models trained on one satellite image were deployed on a completely different map layout that shared the same underlying physics and objectives. This tested the model's ability to truly disentangle the "why" (reward) from the "how" (dynamics).

Key Insights and Results

  • The Policy as a Mirror: A key insight of this work is that an expert's choice of actions provides indirect information about the transition model. Even transitions not explicitly observed can be inferred by analyzing the expert's overall strategy.
  • Sample Efficiency and Accuracy: MDCE-SERD outperformed standard MDCE IRL and Relative Entropy IRL (REIRL), achieving higher log-likelihoods with fewer demonstrations. Furthermore, it achieved significantly lower Kullback-Leibler (KL) divergence for both the transition model and the resulting policy compared to frequentist baselines.
  • Superior Transferability: In transfer tasks, SERD's ability to separate goals from environment mechanics allowed it to produce policies much closer to the true optimal policy than competing methods, which often conflated the two.

Conclusion and Future Work

While SERD demonstrates significant improvements in robustness and transferability, it faces challenges regarding computational complexity, as it requires repeatedly solving the forward reinforcement learning problem. Future research directions include extending the framework to continuous state spaces, partially observable domains, and scenarios where an expert's internal beliefs about the world may differ from the true physics.

Summary updated

BibTeX
@inproceedings{herman2016inverse,
  author = {Michael Herman and Tobias Gindele and Jörg Wagner and Felix Schmitt and Wolfram Burgard},
  title = {{Inverse Reinforcement Learning with Simultaneous Estimation of Rewards and Dynamics}},
  booktitle = {International Conference on Artificial Intelligence and Statistics},
  year = {2016},
}
Figure