Papers › Learning Optimal Advantage from Preferences and Mistaking it for Reward

Learning Optimal Advantage from Preferences and Mistaking it for Reward

3 Oct 2023arXiv:2310.02456archive 2025-07-28

W. Bradley Knox, Stephane Hatgis-Kessell, Sigurdur Orn Adalgeirsson, Serena Booth, Anca Dragan, Peter Stone, Scott Niekum

We consider algorithms for learning reward functions from human preferences over pairs of trajectory segments, as used in reinforcement learning from human feedback (RLHF). Most recent work assumes that human preferences are generated based only upon the reward accrued within those segments, or their partial return. Recent work casts doubt on the validity of this assumption, proposing an alternative preference model based upon regret. We investigate the consequences of assuming preferences are based upon partial return when they actually arise from regret. We argue that the learned function is an approximation of the optimal advantage function, Â^̂*̂ᵣ̂, not a reward function. We find that if a specific pitfall is addressed, this incorrect assumption is not particularly harmful, resulting in a highly shaped reward function. Nonetheless, this incorrect usage of Â^̂*̂ᵣ̂ is less desirable than the appropriate and simpler approach of greedy maximization of Â^̂*̂ᵣ̂. From the perspective of the regret preference model, we also provide a clearer interpretation of fine tuning contemporary large language models with RLHF. This paper overall provides insight regarding why learning under the partial return preference model tends to work so well in practice, despite it conforming poorly to how humans give preferences.

PaperPDFCodeCode 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="2310.02456")

Code

Syntology Ran 11 of 12 code samples harvested from 1 repository linked to this paper; 1 has no recorded run. Of those that ran: 11 ran with no contract checked.

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

Stephanehk/Learning-OA-From-Prefs officialmentioned in paperpytorch 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

12 samples harvested; 11 ran; 0 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.

11ran
1unverified

Licence: 12 of the 12 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 Stephanehk/Learning-OA-From-Prefs. “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.

build_pi_from_nn_feats Stephanehk/Learning-OA-From-Prefs/learn_advantage/algorithms/rl_algos.py official repository ran no licence file found · pointer only · f6e5bcc0d13ef9a6 · report
build_reward_from_nn_feats Stephanehk/Learning-OA-From-Prefs/learn_advantage/algorithms/rl_algos.py official repository ran no licence file found · pointer only · 7739f17cbdd84716 · report
find_end_state Stephanehk/Learning-OA-From-Prefs/learn_advantage/env/generate_random_mdp.py official repository ran no licence file found · pointer only · 1d126d83c8e0f620 · report
get_loops Stephanehk/Learning-OA-From-Prefs/learn_advantage/analysis/generate_fig_5.py official repository ran no licence file found · pointer only · e3448e1f08ace362 · report
get_random_reward_vector Stephanehk/Learning-OA-From-Prefs/learn_advantage/env/generate_random_policies.py official repository ran no licence file found · pointer only · 45d3e57f998c2581 · report
get_reward_vec Stephanehk/Learning-OA-From-Prefs/learn_advantage/algorithms/advantage_learning.py official repository ran no licence file found · pointer only · 7830dff13490ae72 · report
is_arr_in_list Stephanehk/Learning-OA-From-Prefs/learn_advantage/env/generate_random_policies.py official repository ran no licence file found · pointer only · 0428bfbecb501b40 · report
is_in_blocked_area Stephanehk/Learning-OA-From-Prefs/learn_advantage/env/generate_random_mdp.py official repository ran no licence file found · pointer only · f8de7019770bfdbe · report
is_in_gated_area Stephanehk/Learning-OA-From-Prefs/learn_advantage/env/generate_random_mdp.py official repository ran no licence file found · pointer only · dcf3a8b47b339ebf · report
reward_pred_loss Stephanehk/Learning-OA-From-Prefs/learn_advantage/algorithms/advantage_learning.py official repository ran no licence file found · pointer only · 9b36c07728845fbc · report
run_single_set Stephanehk/Learning-OA-From-Prefs/learn_advantage/algorithms/advantage_learning.py official repository ran no licence file found · pointer only · dd91e5da29ece6a8 · report
parse_args Stephanehk/Learning-OA-From-Prefs/learn_advantage/utils/argparse_utils.py official repository unverified no licence file found · pointer only · 2708f9e87af72605 · 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