Papers › D2PO: Discriminator-Guided DPO with Response Evaluation Models

D2PO: Discriminator-Guided DPO with Response Evaluation Models

2 May 2024arXiv:2405.01511archive 2025-07-28

Prasann Singhal, Nathan Lambert, Scott Niekum, Tanya Goyal, Greg Durrett

Varied approaches for aligning language models have been proposed, including supervised fine-tuning, RLHF, and direct optimization methods such as DPO. Although DPO has rapidly gained popularity due to its straightforward training process and competitive results, there is an open question of whether there remain practical advantages of using a discriminator, like a reward model, to evaluate responses. We propose D2PO, discriminator-guided DPO, an approach for the online setting where preferences are being collected throughout learning. As we collect gold preferences, we use these not only to train our policy, but to train a discriminative response evaluation model to silver-label even more synthetic data for policy training. We explore this approach across a set of diverse tasks, including a realistic chat setting, we find that our approach leads to higher-quality outputs compared to DPO with the same data budget, and greater efficiency in terms of preference data requirements. Furthermore, we show conditions under which silver labeling is most helpful: it is most effective when training the policy with DPO, outperforming traditional PPO, and benefits from maintaining a separate discriminator from the policy model.

PaperPDFCodeCode Syntology ran

In Syntology View this paper on Syntology: its repositories, every harvested function with whether it ran, its licence and the call to fetch it.

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

Code

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

By repository: official repository: 13 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.

PrasannS/d2po 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

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

11ran
2unverified

Licence: 13 of the 13 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 PrasannS/d2po. “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.

add_row_index PrasannS/d2po/src/train_rm.py official repository ran no licence file found · pointer only · bdf1e0f893679196 · report
adjust_input PrasannS/d2po/src/eval/generate_outs.py official repository ran fingerprinted no licence file found · pointer only · 39dae513044dc499 · report
adjust_tulu PrasannS/d2po/src/eval/generate_outs.py official repository ran fingerprinted no licence file found · pointer only · 22de807813131078 · report
get_step_ckpt PrasannS/d2po/src/eval/generate_outs.py official repository ran no licence file found · pointer only · af95fc70de192cc3 · report
lensco PrasannS/d2po/src/utils/rl_utils.py official repository ran fingerprinted no licence file found · pointer only · ea8d7cf234eea3bb · report
new_forward PrasannS/d2po/rlhfutils/rlhfutils/modeling_override.py official repository ran no licence file found · pointer only · d0004fe553444d0e · report
onlyans PrasannS/d2po/src/train_dpo.py official repository ran no licence file found · pointer only · 80a8b3f87c775a21 · report
prepare_sample_text PrasannS/d2po/src/trainsft.py official repository ran no licence file found · pointer only · 148dc2c38b7cd922 · report
preproc_wgpt PrasannS/d2po/src/eval/generate_outs_old.py official repository ran no licence file found · pointer only · 3f0252eb62a38d86 · report
simplecat PrasannS/d2po/src/train_dpo.py official repository ran fingerprinted no licence file found · pointer only · b4cda67a5a5317e9 · report
tulu_pf PrasannS/d2po/src/train_dpo.py official repository ran fingerprinted no licence file found · pointer only · ab9274275c75ba41 · report
get_pipeline PrasannS/d2po/src/utils/rl_utils.py official repository unverified no licence file found · pointer only · 576b5052f87d577b · report
load_stack PrasannS/d2po/src/eval/generate_outs_old.py official repository unverified no licence file found · pointer only · 8faae6d33f36ed52 · report

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Methods

DPOEntropy RegularizationPPOSET

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