A Common Pitfall of Margin-based Language Model Alignment: Gradient Entanglement
On the map: LLM alignment / RLHF / preference optimisation → LLM preference optimization methods
Abstract (arXiv)
Reinforcement Learning from Human Feedback (RLHF) has become the predominant approach for language model (LM) alignment. At its core, RLHF uses a margin-based loss for preference optimization, specifying ideal LM behavior only by the difference between preferred and dispreferred responses. In this paper, we identify a common pitfall of margin-based methods -- the under-specification of ideal LM behavior on preferred and dispreferred responses individually, which leads to two unintended consequences as the margin increases: (1) The probability of dispreferred (e.g., unsafe) responses may increase, resulting in potential safety alignment failures. (2) The probability of preferred responses may decrease, even when those responses are ideal. We demystify the reasons behind these problematic behaviors: margin-based losses couple the change in the preferred probability to the gradient of the dispreferred one, and vice versa, often preventing the preferred probability from increasing while the dispreferred one decreases, and thus causing a synchronized increase or decrease in both probabilities. We term this effect, inherent in margin-based objectives, gradient entanglement. Formally, we derive conditions for general margin-based alignment objectives under which gradient entanglement becomes concerning: the inner product of the gradients of preferred and dispreferred log-probabilities is large relative to the individual gradient norms. We theoretically investigate why such inner products can be large when aligning language models and empirically validate our findings. Empirical implications of our framework extend to explaining important differences in the training dynamics of various preference optimization algorithms, and suggesting potential algorithm designs to mitigate the under-specification issue of margin-based methods and thereby improving language model alignment.
Key facts. Cited by 10 papers in the map (data through 7 Oct 2026). Placed in LLM preference optimization methods, one of 10 directions in LLM alignment / RLHF / preference optimisation. Builds on 19 of its 27 references that are in the map. First posted on arXiv 17 Oct 2024.
Builds on
19 of 27 references.
Closest ancestors · 7
Same direction, newest first
- 2024SimPO: Simple Preference Optimization with a Reference-Free Reward23 May
- 2024Disentangling Length from Quality in Direct Preference Optimization28 Mar
- 2024ORPO: Monolithic Preference Optimization without Reference Model12 Mar
- 2024Smaug: Fixing Failure Modes of Preference Optimisation with DPO-Positive20 Feb
- 2024Contrastive Preference Optimization: Pushing the Boundaries of LLM Performance in Machine Translation16 Jan
- 2023A General Theoretical Paradigm to Understand Learning from Human Preferences18 Oct
- 2022Training language models to follow instructions with human feedback4 Mar
Other references · 12
- 2024The Llama 3 Herd of Modelscited by 14,192
- 2023Direct Preference Optimization: Your Language Model is Secretly a Reward Modelcited by 7,916
- 2022Training a Helpful and Harmless Assistant with Reinforcement Learning from Human Feedbackcited by 3,634
- 2020Learning to summarize from human feedbackcited by 2,562
- 2024Gemma 2: Improving Open Language Models at a Practical Sizecited by 1,928
- 2024Self-Play Fine-Tuning Converts Weak Language Models to Strong Language Modelscited by 552
- 2023RRHF: Rank Responses to Align Language Models with Human Feedback without tearscited by 454
- 2023SLiC-HF: Sequence Likelihood Calibration with Human Feedbackcited by 395
- 2024Self-Play Preference Optimization for Language Model Alignmentcited by 228
- 2023Controlled Decoding from Language Modelscited by 133
- 2024RL on Incorrect Synthetic Data Scales the Efficiency of LLM Math Reasoning by Eight-Foldcited by 99
- 2024TLCR: Token-Level Continuous Reward for Fine-grained Reinforcement Learning from Human Feedbackcited by 43
Built on by
Citing papers per year: 2025: 3; 2026: 7.
10 papers.
- 2025A Survey of Direct Preference Optimizationcited by 35
- 2025AMaPO: Adaptive Margin-attached Preference Optimization for Language Model Alignmentcited by 2
- 2025Future Policy Approximation for Offline Reinforcement Learning in LLM Reasoningcited by 1
- 2026Beyond Binary Preference: Aligning Diffusion Models to Fine-grained Criteria by Decoupling Attributescited by 1
- 2026Towards Disentangled Preference Optimization Dynamics: Suppress the Loser, Preserve the Winnercited by 1
- 2026Gradient-Gated DPO: Stabilizing Preference Optimization in Language Modelscited by 1
- 2026ChainPrune: Evaluating and Reducing Redundancy in Long Chain-of-Thought Reasoningcited by 0
- 2026Masking Frequent Tokens Sharpens Direct Preference Optimizationcited by 0
- 2026Smaller Models, Better Rejects: Preference Distillation Scalingcited by 0
- 2026Gradient-Aligned Pair Selection for Personalized Preference Optimizationcited by 0
- 2026Smaller Models, Better Rejects: Preference Distillation Scaling30 Sep 2026
- 2026Masking Frequent Tokens Sharpens Direct Preference Optimization26 Sep 2026
- 2026Gradient-Aligned Pair Selection for Personalized Preference Optimization4 Sep 2026
- 2026ChainPrune: Evaluating and Reducing Redundancy in Long Chain-of-Thought Reasoning22 Aug 2026
- 2026Gradient-Gated DPO: Stabilizing Preference Optimization in Language Models4 May 2026
- 2026Towards Disentangled Preference Optimization Dynamics: Suppress the Loser, Preserve the Winner20 Apr 2026
- 2026Beyond Binary Preference: Aligning Diffusion Models to Fine-grained Criteria by Decoupling Attributes7 Jan 2026
- 2025AMaPO: Adaptive Margin-attached Preference Optimization for Language Model Alignment12 Nov 2025
- 2025Future Policy Approximation for Offline Reinforcement Learning in LLM Reasoning24 Sep 2025
- 2025A Survey of Direct Preference Optimization12 Mar 2025
Similar, not cited
Close in wording, no citation either way
- 2025A Principled Loss Function for Direct Language Model Alignment
- 2025Beyond RLHF: A Unified Theoretical Framework of Alignment
- 2025Alignment is Localized: A Causal Probe into Preference Layers
- 2025Align-Pro: A Principled Approach to Prompt Optimization for LLM Alignment
- 2024Margin Matching Preference Optimization: Enhanced Model Alignment with Granular Feedback
- 2025Doubly Robust Alignment for Large Language Models
- 2026SLIME: Stabilized Likelihood Implicit Margin Enforcement for Preference Optimization
- 2026Theoretical Limits of Language Model Alignment