paper-with-me

홈 › Papers

Direct Preference Optimization: Your Language Model is Secretly a Reward Model

2023-05-29 · NeurIPS 2023 11 · Rafael Rafailov, Archit Sharma, Eric Mitchell, Stefano Ermon, Christopher D. Manning, Chelsea Finn

While large-scale unsupervised language models (LMs) learn broad world knowledge and some reasoning skills, achieving precise control of their behavior is difficult due to the completely unsupervised nature of their training. Existing methods for gaining such steerability collect human labels of the relative quality of model generations and fine-tune the unsupervised LM to align with these preferences, often with reinforcement learning from human feedback (RLHF). However, RLHF is a complex and often unstable procedure, first fitting a reward model that reflects the human preferences, and then fine-tuning the large unsupervised LM using reinforcement learning to maximize this estimated reward without drifting too far from the original model. In this paper we introduce a new parameterization of the reward model in RLHF that enables extraction of the corresponding optimal policy in closed form, allowing us to solve the standard RLHF problem with only a simple classification loss. The resulting algorithm, which we call Direct Preference Optimization (DPO), is stable, performant, and computationally lightweight, eliminating the need for sampling from the LM during fine-tuning or performing significant hyperparameter tuning. Our experiments show that DPO can fine-tune LMs to align with human preferences as well as or better than existing methods. Notably, fine-tuning with DPO exceeds PPO-based RLHF in ability to control sentiment of generations, and matches or improves response quality in summarization and single-turn dialogue while being substantially simpler to implement and train.

📄 PDF Abstract BibTeX arXiv:2305.18290

Code (29)

https://bitbucket.org/paladinanalytics/direct-preference-optimization pytorch
12kimih/hicupid pytorch
2024-MindSpore-1/Code3/tree/main/MindNLP mindspore
KomeijiForce/Active_Passive_Constraint_Koishiday_2024 pytorch
OctopusMind/DPO pytorch
TU2021/DPO-VP pytorch
ahmed-alllam/Direct-Preference-Optimization pytorch
babelscape/alert pytorch
davidkim205/komt pytorch
eric-mitchell/direct-preference-optimization pytorch
frankxwang/dpo-prefix-sharing pytorch
huggingface/trl pytorch
icip-cas/Word-Deed-Consistency-Test pytorch
imagination-research/lbt
internlm/xtuner pytorch
kidist-amde/ddro pytorch
kidist-amde/ddro-direct-document-relevance-optimization pytorch
lucidrains/self-rewarding-lm-pytorch pytorch
lujunru/sampo pytorch
lvwerra/trl pytorch
padlex/trl pytorch
sauc-abadal/alt pytorch
shibing624/medicalgpt pytorch
sunzeyeah/rlhf pytorch
tatsu-lab/alpaca_farm pytorch
uppaal/detox-edit pytorch
wangclnlp/deepspeed-chat-extension pytorch
yangyucheng000/Paper-3/tree/main/dir-mindspore-main mindspore
yifan-song793/eto pytorch

Tasks

Language ModelingLanguage ModellingmodelPreference Mappingreinforcement-learningWorld Knowledge

Methods 이 논문이 사용한 방법론

DPO 설명 없음
ALIGN In the ALIGN method, visual and language representations are jointly trained from noisy image alt-text data. The image and text encoders are learned via contrastive loss…

Similar Papers 제목 키워드 기반

IPO: Your Language Model is Secretly a Preference Classifier

2025-02-22 · Shivank Garg, Ayush Singh, Shweta Singh, Paras Chopra

Reinforcement learning from human feedback (RLHF) has emerged as the primary method for aligning large language models (LLMs) with human preferences. While it enables LLMs to achieve human-level alignment, it often incur…

Language ModelingLanguage Modelling

Beyond Pairs: Your Language Model is Secretly Optimizing a Preference Graph

2026-05-08 · Ning Liu, Chuanneng Sun, Kristina Klinkner, Shervin Malmasi arxiv

Direct Preference Optimization (DPO) aligns language models using pairwise preference comparisons, offering a simple and effective alternative to Reinforcement Learning (RL) from human feedback. However, in many practica…

Reinforcement LearningProgram Synthesis

Semiparametric Preference Optimization: Your Language Model is Secretly a Single-Index Model

2025-12-26 · Nathan Kallus arxiv

Policy alignment to preference data typically assumes a known link function between observed preferences and latent rewards (e.g., Bradley-Terry model / logistic link). Misspecification of this link can bias inferred rew…

DPO Unchained: Your Training Algorithm is Secretly Disentangled in Human Choice Theory (and its Loss' Convexity is Dispensable)

2025-07-10 · Wenxuan Zhou, Shujian Zhang, Brice Magdalou, John Lambert 외 arxiv

Normative theories allow one to elicit key parts of a ML algorithm from first principles, which is crucial at a time of championed scrutiny for ML work. Direct Preference Optimization (DPO) cleverly bypasses reward model…

Preference Optimization via Contrastive Divergence: Your Reward Model is Secretly an NLL Estimator

2025-02-06 · Zhuotong Chen, Fang Liu, Xuan Zhu, Yanjun Qi 외

Existing studies on preference optimization (PO) have centered on constructing pairwise preference data following simple heuristics, such as maximizing the margin between preferred and dispreferred completions based on h…