Papers › The Effects of Reward Misspecification: Mapping and Mitigating Misaligned Models

The Effects of Reward Misspecification: Mapping and Mitigating Misaligned Models

10 Jan 2022ICLR 2022 4arXiv:2201.03544archive 2025-07-28

Alexander Pan, Kush Bhatia, Jacob Steinhardt

Reward hacking -- where RL agents exploit gaps in misspecified reward functions -- has been widely observed, but not yet systematically studied. To understand how reward hacking arises, we construct four RL environments with misspecified rewards. We investigate reward hacking as a function of agent capabilities: model capacity, action space resolution, observation space noise, and training time. More capable agents often exploit reward misspecifications, achieving higher proxy reward and lower true reward than less capable agents. Moreover, we find instances of phase transitions: capability thresholds at which the agent's behavior qualitatively shifts, leading to a sharp decrease in the true reward. Such phase transitions pose challenges to monitoring the safety of ML systems. To address this, we propose an anomaly detection task for aberrant policies and offer several baseline detectors.

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="2201.03544")

Code

Syntology Ran 25 of 26 code samples harvested from 1 repository linked to this paper; 1 has no recorded run. Of those that ran: 7 ran · honoured contract; 18 ran · our draft was wrong.

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

aypan17/reward-misspecification officialmentioned in papermentioned on GitHub 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

26 samples harvested; 25 ran; 7 honoured the contract we drafted; 1 has no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

7ran · honoured contract
18ran · our draft was wrong
1unverified

Licence: 0 of the 26 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 aypan17/reward-misspecification. “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.

commute_time aypan17/reward-misspecification/flow/envs/reward_wrapper.py official repository ran · our draft was wrong MIT (permissive) · c07b1065dc495f48 · report
compute_baseline_loss aypan17/reward-misspecification/atari/torchbeast/monobeast.py official repository ran · our draft was wrong fingerprinted MIT (permissive) · e9123707cba84b2c · report
compute_entropy_loss aypan17/reward-misspecification/atari/torchbeast/monobeast.py official repository ran · our draft was wrong fingerprinted MIT (permissive) · a27a9dc97eefda7f · report
compute_policy_gradient_loss aypan17/reward-misspecification/atari/torchbeast/monobeast.py official repository ran · our draft was wrong MIT (permissive) · d6d7e0906f1c57b2 · report
create_client aypan17/reward-misspecification/flow/utils/aimsun/api.py official repository ran · our draft was wrong MIT (permissive) · 552d152dfb50144b · report
desired_velocity aypan17/reward-misspecification/flow/envs/reward_wrapper.py official repository ran · honoured contract MIT (permissive) · f134e49cf4945317 · report
desired_velocity_all aypan17/reward-misspecification/flow/envs/reward_wrapper.py official repository ran · our draft was wrong MIT (permissive) · fd4884464a9c2e1e · report
forward_progress aypan17/reward-misspecification/flow/envs/reward_wrapper.py official repository ran · our draft was wrong MIT (permissive) · 87788ea605276b52 · report
global_vel_all aypan17/reward-misspecification/flow/envs/reward_wrapper.py official repository ran · our draft was wrong MIT (permissive) · 46efffa70825570e · report
local_desired_vel_all aypan17/reward-misspecification/flow/envs/reward_wrapper.py official repository ran · our draft was wrong MIT (permissive) · 82c961f3c9edac5d · report
local_desired_vel_first aypan17/reward-misspecification/flow/envs/reward_wrapper.py official repository ran · our draft was wrong MIT (permissive) · 3d5f714f72b94405 · report
local_desired_vel_last aypan17/reward-misspecification/flow/envs/reward_wrapper.py official repository ran · our draft was wrong MIT (permissive) · 2d66a065fa9320a0 · report
local_desired_velocity aypan17/reward-misspecification/flow/envs/reward_wrapper.py official repository ran · our draft was wrong MIT (permissive) · 3488cca1a136f258 · report
min_delay_unscaled aypan17/reward-misspecification/flow/envs/reward_wrapper.py official repository ran · honoured contract MIT (permissive) · 9ba1bd737249ca19 · report
outflow aypan17/reward-misspecification/flow/envs/reward_wrapper.py official repository ran · honoured contract MIT (permissive) · f5d4db1d8aff7042 · report
penalize_accel aypan17/reward-misspecification/flow/envs/reward_wrapper.py official repository ran · honoured contract MIT (permissive) · 073d130eaee08fc2 · report
penalize_boolean_lane_change aypan17/reward-misspecification/flow/envs/reward_wrapper.py official repository ran · our draft was wrong MIT (permissive) · b382253230203a5d · report
penalize_cars aypan17/reward-misspecification/flow/envs/reward_wrapper.py official repository ran · our draft was wrong MIT (permissive) · a410281ad545b4eb · report
penalize_headway aypan17/reward-misspecification/flow/envs/reward_wrapper.py official repository ran · our draft was wrong MIT (permissive) · ec79dbe1ac601d22 · report
penalize_lane_change aypan17/reward-misspecification/flow/envs/reward_wrapper.py official repository ran · our draft was wrong MIT (permissive) · 51025c4dc296185e · report
penalize_light_change aypan17/reward-misspecification/flow/envs/reward_wrapper.py official repository ran · honoured contract MIT (permissive) · b1caf703f297303e · report
penalize_mean_delay aypan17/reward-misspecification/flow/envs/reward_wrapper.py official repository ran · honoured contract MIT (permissive) · 74ee9f91bbf19e6e · report
penalize_standstill aypan17/reward-misspecification/flow/envs/reward_wrapper.py official repository ran · honoured contract MIT (permissive) · 0cc033a1bf65b8fa · report
penalize_still aypan17/reward-misspecification/flow/envs/reward_wrapper.py official repository ran · our draft was wrong MIT (permissive) · c3fa7c4e60c383aa · report
upweight_bus_vel aypan17/reward-misspecification/flow/envs/reward_wrapper.py official repository ran · our draft was wrong MIT (permissive) · c05e384bb14b1ea0 · report
ProxyRewardEnv aypan17/reward-misspecification/flow/envs/reward_wrapper.py official repository unverified MIT (permissive) · 2750bb69aec9993d · report

Tasks

Anomaly Detection

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