atlas

Research map / Large language models / Alignment and preferences

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

ICLR 2025 · Large language models › Alignment and preferences · approach: Reward modeling for diverse preferences · 0 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Identifies gradient entanglement in margin-based preference optimization (DPO and variants) as the cause of synchronized chosen/rejected log-probability changes, derives gradient-inner-product conditions, and proposes Normalized and Sparse Preference Optimization.

Problem

Margin-based preference optimization losses (DPO and variants) only constrain the margin between chosen and rejected log-probabilities, so individual chosen and rejected probabilities can increase or decrease together, risking safety failures and degraded preferred responses.

Approach

Shows that the change in each log-probability is coupled to the other response's gradient via the inner product of chosen and rejected gradients ("gradient entanglement"), derives a general gradient condition for margin-based losses that determines when both probabilities move in the ideal direction, and proposes pairwise-normalized gradient updates and token-level sparse masking to mitigate it.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
use DPO on preference pairs with highly correlated chosen and rejected gradientsDPO · TL;DRchosen log-probabilityHurt
use DPO on preference pairs with highly correlated chosen and rejected gradientsDPO · TL;DRrejected log-probabilityMixed
use R-DPO instead of a method that separates chosen and rejected probability updatesR-DPO · TL;DRchosen and rejected log-probabilitiesMixed
use SPPO instead of DPOpreference optimization · TL;DRchosen and rejected log-probabilitiesHelped
add explicit regularization on the chosen responseCPO, DPOP, RRHF, and Slic-HF · TL;DRchosen log-probabilityHelped
use length-normalized margin optimizationSimPO and IPO · TL;DRaverage chosen and rejected log-probabilitiesMixed
use a single-token chosen/rejected contrast instead of responses with shared suffix tokensDPO · sentiment preference taskschosen log-probabilityHelped
add more identical suffix tokens after the differing tokenDPO · sentiment preference taskschosen log-probabilityHurt
increase the number of shared suffix tokens after the differing tokenDPO · sentiment preference tasksgradient cosine similarityHurt
align on a single differing token rather than a differing token followed by shared suffix tokensDPO · sentiment preference tasksgradient cosine similarityHelped
contrast only significant tokens rather than all response tokensSparse Preference Optimization · language-model alignmentgradient entanglementHelped
normalize chosen and rejected response gradients before combining themNormalized Preference Optimization · language-model alignmentchosen and rejected log-probability directionsHelped

Surprising findings

Limitations

Experimental setup

Datasets: TL;DR summarization preference dataset mteb/tweet_sentiment_extraction (curated into sentiment preference pairs)

Benchmarks: TL;DR

Metrics: chosen and rejected log-probability trajectories gradient cosine similarity

Baselines: DPO R-DPO SimPO IPO RRHF SlicHF CPO DPOP KTO SPPO

Builds on: DPO IPO SimPO KTO

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy