The Hidden Link between RLHF and Contrastive Learning
Xufei Lv, Kehai Chen, Haoyuan Sun, Xuefeng Bai, Min zhang, Houde Liu
摘要
Alignment of large language models (LLMs) with human values has recently garnered significant attention, with prominent examples including the canonical yet costly Reinforcement Learning from Human Feedback (RLHF) and the simple Direct Preference Optimization (DPO). In this work, we demonstrate that both RLHF and DPO can be interpreted from the perspective of mutual information (MI) maximization, uncovering a profound connection to contrastive learning. Within this framework, both RLHF and DPO can be interpreted as methods that performing contrastive learning based on the positive and negative samples derived from base model, leveraging the Donsker-Varadhan (DV) lower bound on MI (equivalently, the MINE estimator). Such paradigm further reveals why RLHF cannot correctly update when the probability of sampling the correct answer from the base model is close to 0, which often leads to RLHF failing to incentivize reasoning capacities in LLMs beyond what is already present in the base model. Building on the perspective, we replace the DV/MINE bound with the Jensen-Shannon (JS) MI estimator and propose the Mutual Information Optimization (MIO). Comprehensive theoretical analysis and extensive empirical evaluations demonstrate that MIO mitigates the late-stage decline in chosenlikelihood observed in DPO, achieving competitive or superior performance across various challenging reasoning and mathematical benchmarks. The code is available at: https://anonymous.4open.science/r/MIO-63E6/
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 2 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Multiplayer Nash Preference Optimization 引用了 Direct Preference Optimization: Your Language Model is Secretly a Reward Model
- Multiplayer Nash Preference Optimization 引用了 Solving Quantitative Reasoning Problems with Language Models
- Multiplayer Nash Preference Optimization 引用了 SimPO: Simple Preference Optimization with a Reference-Free Reward
- Multiplayer Nash Preference Optimization 引用了 Training language models to follow instructions with human feedback
- Maximizing Mutual Information Between Prompt and Response Improves LLM Performance With No Additional Data 引用了 Direct Preference Optimization: Your Language Model is Secretly a Reward Model
- Maximizing Mutual Information Between Prompt and Response Improves LLM Performance With No Additional Data 引用了 Training language models to follow instructions with human feedback
- Direct Preference Optimization: Your Language Model is Secretly a Reward Model 引用了 Training language models to follow instructions with human feedback
- Does Reinforcement Learning Really Incentivize Reasoning Capacity in LLMs Beyond the Base Model? 引用了 Direct Preference Optimization: Your Language Model is Secretly a Reward Model
- Does Reinforcement Learning Really Incentivize Reasoning Capacity in LLMs Beyond the Base Model? 引用了 Solving Quantitative Reasoning Problems with Language Models
- Does Reinforcement Learning Really Incentivize Reasoning Capacity in LLMs Beyond the Base Model? 引用了 Training language models to follow instructions with human feedback
- SimPO: Simple Preference Optimization with a Reference-Free Reward 引用了 Direct Preference Optimization: Your Language Model is Secretly a Reward Model
- SimPO: Simple Preference Optimization with a Reference-Free Reward 引用了 Training language models to follow instructions with human feedback
引用它的顶会 Paper2
它引用的 Paper17
- Training language models to follow instructions with human feedbackLong Ouyang, Jeffrey Wu, Xu Jiang, Diogo Almeida 等NeurIPS 2022 · 24,707 次引用
- Direct Preference Optimization: Your Language Model is Secretly a Reward ModelRafael Rafailov, Archit Sharma, Eric Mitchell, Christopher D. Manning 等NeurIPS 2023 · 10,924 次引用
- Solving Quantitative Reasoning Problems with Language ModelsAitor Lewkowycz, Anders Andreassen, David Dohan, Ethan Dyer 等NeurIPS 2022 · 2,039 次引用
- SimPO: Simple Preference Optimization with a Reference-Free RewardYu Meng, Mengzhou Xia, Danqi ChenNeurIPS 2024 · 1,203 次引用
- Does Reinforcement Learning Really Incentivize Reasoning Capacity in LLMs Beyond the Base Model?Zhiqi Chen, Rui Lu, Andrew Zhao, Zhaokai Wang 等NeurIPS 2025 · 1,109 次引用
相关 Paper
- Beyond Reverse KL: Generalizing Direct Preference Optimization with Diverse Divergence ConstraintsChaoqi Wang, Yibo Jiang, Chenghao Yang, Han Liu 等ICLR 2024 · 173 次引用
- Iterative Preference Learning from Human Feedback: Bridging Theory and Practice for RLHF under KL-constraintWei Xiong, Hanze Dong, Chenlu Ye, Ziqi Wang 等ICML 2024 · 346 次引用
- Cal-DPO: Calibrated Direct Preference Optimization for Language Model AlignmentTeng Xiao, Yige Yuan, Huaisheng Zhu, Mingxiao Li 等NeurIPS 2024 · 76 次引用
- On a Connection Between Imitation Learning and RLHFTeng Xiao, Yige Yuan, Mingxiao Li, Zhengyu Chen 等ICLR 2025
- As Simple as Fine-tuning: LLM Alignment via Bidirectional Negative Feedback LossXin Mao, Huimin Xu, Feng-Lin Li, Ziqi Jin 等ICLR 2025
