ArXiv

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

Authors
Ning Liu, Chuanneng Sun, Kristina Klinkner...
Categories
cs.LG, cs.AI
arXiv
https://arxiv.org/abs/2605.08037v1
PDF
https://arxiv.org/pdf/2605.08037v1

Brief

GraphDPO, introduced by Ning Liu et al. (arXiv 2026-05-08), extends DPO to operate over directed acyclic preference graphs built from multiple rollouts per prompt. It optimizes a Plackett–Luce–inspired, graph-aggregated objective, uses equivalence-class layers to avoid spurious gradients, keeps linear per-prompt cost via log-sum-exp, and—with optional annealed ground-truth anchoring—outperforms pairwise DPO on reasoning and program synthesis tasks.

Why it matters

GraphDPO generalizes Direct Preference Optimization (DPO) to directed acyclic preference graphs induced by multiple rollouts per prompt, encoding dominance relations as edges, enforcing transitivity, and recovering standard DPO as a special case.

Key details

  • GraphDPO optimizes a Plackett–Luce–inspired graph objective with an equivalence-class construction that assigns zero loss to intra-layer edges for discrete/sparse signals, and it maintains linear per-prompt complexity via efficient log-sum-exp aggregation.
  • GraphDPO supports optional ground-truth anchoring by inserting verified dominant nodes and applying an annealed schedule to stabilize early training; experiments on reasoning and program synthesis (Ning Liu et al., arXiv 2026-05-08) report superior performance over pairwise DPO.
Source evidence

Abstract

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 practical settings, training data consists of multiple rollouts per prompt, inducing rich preference structure that pairwise DPO fails to exploit. Collapsing such data into independent pairs discards transitivity, introduces redundant or conflicting supervision, and can lead to unstable optimization. We propose Graph Direct Preference Optimization (GraphDPO), a principled generalization of DPO that operates over directed acyclic preference graphs induced by rollout rankings. GraphDPO encodes dominance relations as edges and optimizes a graph-structured Plackett--Luce-inspired objective that aggregates supervision over graph neighborhoods, enforcing transitivity while recovering standard DPO as a special case. To handle discrete or sparse signals, we introduce an equivalence-class construction where responses with identical preferences form graph layers, and intra-layer edges contribute zero loss, preventing spurious gradients. Despite leveraging full graph structure, GraphDPO maintains linear per-prompt complexity via efficient log-sum-exp aggregation. We further incorporate optional ground-truth anchoring by inserting verified solutions as dominant nodes and applying an annealed schedule that stabilizes early training while gradually relaxing oracle supervision. Experiments on reasoning and program synthesis tasks demonstrate superior performance, suggesting that graph-structured preference modeling is a scalable and robust alternative to pairwise and listwise alignment objectives.