Papers › Quantifying Differences in Reward Functions

Quantifying Differences in Reward Functions

24 Jun 2020ICLR 2021 1arXiv:2006.13900archive 2025-07-28

Adam Gleave, Michael Dennis, Shane Legg, Stuart Russell, Jan Leike

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. 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.

PaperPDFConference PDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2006.13900")

Code

Syntology Ran 5 of 15 code samples harvested from 1 repository linked to this paper; 10 have no recorded run. Of those that ran: 2 ran · our draft was wrong; 3 ran · fixture could not drive it.

By repository: official repository: 15 samples from 1 repository, 5 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

HumanCompatibleAI/evaluating-rewards officialmentioned in papermentioned on GitHubApache-2.0 report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

15 samples harvested; 5 ran; 0 honoured the contract we drafted; 10 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

2ran · our draft was wrong
3ran · fixture could not drive it
10unverified

Licence: 0 of the 15 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from humancompatibleai/evaluating-rewards. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

canonical_reward humancompatibleai/evaluating-rewards/src/evaluating_rewards/distances/tabular.py official repository ran · our draft was wrong Apache-2.0 (permissive) · 99673a17240a4b96 · report
canonical_reward_distance humancompatibleai/evaluating-rewards/src/evaluating_rewards/distances/tabular.py official repository ran · our draft was wrong Apache-2.0 (permissive) · 57bfe2328f932299 · report
canonical_scale_normalizer humancompatibleai/evaluating-rewards/src/evaluating_rewards/distances/tabular.py official repository ran · fixture could not drive it Apache-2.0 (permissive) · f77296320081f6cb · report
direct_distance humancompatibleai/evaluating-rewards/src/evaluating_rewards/distances/tabular.py official repository ran · fixture could not drive it Apache-2.0 (permissive) · 059ae906194fa41e · report
lp_norm humancompatibleai/evaluating-rewards/src/evaluating_rewards/distances/tabular.py official repository ran · fixture could not drive it Apache-2.0 (permissive) · 52e8470eebb3f3b2 · report
_check_dist humancompatibleai/evaluating-rewards/src/evaluating_rewards/distances/tabular.py official repository unverified Apache-2.0 (permissive) · 133a3fcd2cec81e8 · report
average_loss HumanCompatibleAI/evaluating-rewards/src/evaluating_rewards/analysis/results.py official repository unverified Apache-2.0 (permissive) · a29d79e85914dfb5 · report
average_unwrapped_loss HumanCompatibleAI/evaluating-rewards/src/evaluating_rewards/analysis/results.py official repository unverified Apache-2.0 (permissive) · 0bb7f4c2ffeed496 · report
canonicalize_reward_cfg HumanCompatibleAI/evaluating-rewards/src/evaluating_rewards/distances/common_config.py official repository unverified Apache-2.0 (permissive) · de1436200998ee2b · report
closest_potential HumanCompatibleAI/evaluating-rewards/src/evaluating_rewards/distances/tabular.py official repository unverified Apache-2.0 (permissive) · fde68a593d79622a · report
cross_distance HumanCompatibleAI/evaluating-rewards/src/evaluating_rewards/analysis/util.py official repository unverified Apache-2.0 (permissive) · 634610fc0258be61 · report
empirical_ci HumanCompatibleAI/evaluating-rewards/src/evaluating_rewards/analysis/util.py official repository unverified Apache-2.0 (permissive) · d51d87c4fe9aac67 · report
point_maze_learned_cfgs HumanCompatibleAI/evaluating-rewards/src/evaluating_rewards/distances/common_config.py official repository unverified Apache-2.0 (permissive) · 305cdb60adc847a4 · report
shape HumanCompatibleAI/evaluating-rewards/src/evaluating_rewards/distances/tabular.py official repository unverified Apache-2.0 (permissive) · 8bf23ee16d057358 · report
to_series HumanCompatibleAI/evaluating-rewards/src/evaluating_rewards/analysis/results.py official repository unverified Apache-2.0 (permissive) · ae2b77081a249387 · report

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections