On the Effective Horizon of Inverse Reinforcement Learning

Yiqing Xu, Finale Doshi-Velez, David Hsu
7/13/2023
cs.LGcs.AI

No official code found. Best implementation: eeching/Effective_Horizon_IRL (2 stars, last commit 2025-01-31). 1 more below.

Abstract

Inverse reinforcement learning (IRL) algorithms often rely on (forward) reinforcement learning or planning, over a given time horizon, to compute an approximately optimal policy for a hypothesized reward function; they then match this policy with expert demonstrations. The time horizon plays a critical role in determining both the accuracy of reward estimates and the computational efficiency of IRL algorithms. Interestingly, an *effective time horizon* shorter than the ground-truth value often produces better results faster. This work formally analyzes this phenomenon and provides an explanation: the time horizon controls the complexity of an induced policy class and mitigates overfitting with limited data. This analysis provides a guide for the principled choice of the effective horizon for IRL. It also prompts us to re-examine the classic IRL formulation: it is more natural to learn jointly the reward and the effective horizon rather than the reward alone with a given horizon. To validate our findings, we implement a cross-validation extension and the experimental results support the theoretical analysis. The project page and code are publicly available.

View on arXivView PDF

Code Implementations(2)

Code Release for paper titled "On the Effective Horizon of Inverse Reinforcement Learning"

20Python, Jupyter NotebookJan 31, 20251 years ago

Project website for the paper titled "On the Effective Horizon of Inverse Reinforcement Learning"

00CSS, HTMLJan 31, 20251 years ago

Similar Papers

Cite this paper

@article{xu2023effective,
  title  = {On the Effective Horizon of Inverse Reinforcement Learning},
  author = {Yiqing Xu and Finale Doshi-Velez and David Hsu},
  year   = {2023},
  eprint = {2307.06541},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2307.06541v3}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2307.06541.svg)](https://codeofpaper.com/paper/2307.06541)

Discussion