Quantifying Differences in Reward Functions

Adam Gleave, Michael Dennis, Shane Legg, Stuart Russell, Jan Leike
6/24/2020
cs.LGcs.AIstat.ML
rl

Official code: HumanCompatibleAI/evaluating-rewards (69 stars, Python, Apache-2.0, last commit 2023-10-23).

Abstract

For many tasks, the reward function is inaccessible to introspection or too complex to be specified procedurally, and must instead be learned from user data. Prior work has evaluated learned reward functions by evaluating policies optimized for the learned reward.

Show full abstract

However, this method cannot distinguish between the learned reward function failing to reflect user preferences and the policy optimization process failing to optimize the learned reward. Moreover, this method can only tell us about behavior in the evaluation environment, but the reward may incentivize very different behavior in even a slightly different deployment environment. To address these problems, we introduce the Equivalent-Policy Invariant Comparison (EPIC) distance to quantify the difference between two reward functions directly, without a policy optimization step. We prove EPIC is invariant on an equivalence class of reward functions that always induce the same optimal policy. Furthermore, we find EPIC can be efficiently approximated and is more robust than baselines to the choice of coverage distribution. Finally, we show that EPIC distance bounds the regret of optimal policies even under different transition dynamics, and we confirm empirically that it predicts policy training success. Our source code is available at https://github.com/HumanCompatibleAI/evaluating-rewards.

View on arXivView PDF

Code Implementations(1)

Apache-2.0

Library to compare and evaluate reward functions

6910Python, ShellAug 30, 20193 years agoApache-2.0

Similar Papers

Cite this paper

@article{gleave2020quantifying,
  title  = {Quantifying Differences in Reward Functions},
  author = {Adam Gleave and Michael Dennis and Shane Legg and Stuart Russell and Jan Leike},
  year   = {2020},
  eprint = {2006.13900},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2006.13900}
}

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/2006.13900.svg)](https://codeofpaper.com/paper/2006.13900)

Discussion