mlsanityData to 7 Oct 2026

A Common Pitfall of Margin-based Language Model Alignment: Gradient Entanglement

arXiv 2410.13828 ↗First posted 17 Oct 2024cs.LG cs.AI cs.CLcited by 10

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

  1. 2024SimPO: Simple Preference Optimization with a Reference-Free Reward23 May
  2. 2024Disentangling Length from Quality in Direct Preference Optimization28 Mar
  3. 2024ORPO: Monolithic Preference Optimization without Reference Model12 Mar
  4. 2024Smaug: Fixing Failure Modes of Preference Optimisation with DPO-Positive20 Feb
  5. 2024Contrastive Preference Optimization: Pushing the Boundaries of LLM Performance in Machine Translation16 Jan
  6. 2023A General Theoretical Paradigm to Understand Learning from Human Preferences18 Oct
  7. 2022Training language models to follow instructions with human feedback4 Mar

Other references · 12

  1. 2024The Llama 3 Herd of Modelscited by 14,192
  2. 2023Direct Preference Optimization: Your Language Model is Secretly a Reward Modelcited by 7,916
  3. 2022Training a Helpful and Harmless Assistant with Reinforcement Learning from Human Feedbackcited by 3,634
  4. 2020Learning to summarize from human feedbackcited by 2,562
  5. 2024Gemma 2: Improving Open Language Models at a Practical Sizecited by 1,928
  6. 2024Self-Play Fine-Tuning Converts Weak Language Models to Strong Language Modelscited by 552
  7. 2023RRHF: Rank Responses to Align Language Models with Human Feedback without tearscited by 454
  8. 2023SLiC-HF: Sequence Likelihood Calibration with Human Feedbackcited by 395
  9. 2024Self-Play Preference Optimization for Language Model Alignmentcited by 228
  10. 2023Controlled Decoding from Language Modelscited by 133
  11. 2024RL on Incorrect Synthetic Data Scales the Efficiency of LLM Math Reasoning by Eight-Foldcited by 99
  12. 2024TLCR: Token-Level Continuous Reward for Fine-grained Reinforcement Learning from Human Feedbackcited by 43

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2025: 3; 2026: 7.

10 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2025A Principled Loss Function for Direct Language Model Alignment
  2. 2025Beyond RLHF: A Unified Theoretical Framework of Alignment
  3. 2025Alignment is Localized: A Causal Probe into Preference Layers
  4. 2025Align-Pro: A Principled Approach to Prompt Optimization for LLM Alignment
  5. 2024Margin Matching Preference Optimization: Enhanced Model Alignment with Granular Feedback
  6. 2025Doubly Robust Alignment for Large Language Models
  7. 2026SLIME: Stabilized Likelihood Implicit Margin Enforcement for Preference Optimization
  8. 2026Theoretical Limits of Language Model Alignment