Beyond Pairs: Your Language Model is Secretly Optimizing a Preference Graph
cs.LG, cs.AI
Submitted: 2026-05-08
Updated: 2026-10-08
License: http://creativecommons.org/licenses/by/4.0/
The gist: Direct Preference Optimization (DPO) aligns language models using pairwise preference comparisons, offering a simple and effective alternative to Reinforcement Learning (RL) from human feedback.
Terminology
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 structured 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 dominated neighborhoods, propagating the transitive structure of the input preferences while recovering standard DPO as a special case. GraphDPO naturally handles tied and incomparable responses through an equivalence-class construction: responses with identical preference signals form graph layers, incomparable responses share a layer without an edge, and absent edges contribute zero loss, preventing the spurious gradients that strict total-order objectives incur. Under this layered construction, 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.
Sources
- Constitutional AI: Harmlessness from AI Feedback
- Predictability and Surprise in Large Generative Models
- LLaMA: Open and Efficient Foundation Language Models
- Proximal Policy Optimization Algorithms
- Fine-Tuning Language Models from Human Preferences
- KTO: Model Alignment as Prospect Theoretic Optimization
- SimPO: Simple Preference Optimization with a Reference-Free Reward
- Self-Play Fine-Tuning Converts Weak Language Models to Strong Language Models
- Measuring Coding Challenge Competence With APPS
- Training Verifiers to Solve Math Word Problems
- Measuring Mathematical Problem Solving With the MATH Dataset
- DeepSeekMath: Pushing the Limits of Mathematical Reasoning in Open Language Models
- Self-Consistency Improves Chain of Thought Reasoning in Language Models
- Order Matters: Sequence to sequence for sets
- Small-Margin Preferences Still Matter-If You Train Them Right
- WebGPT: Browser-assisted question-answering with human feedback
- Multi-Preference Optimization: Generalizing DPO via Set-Level Contrasts
- Relative Preference Optimization: Enhancing LLM Alignment through Contrasting Responses across Identical and Diverse Prompts
Related papers
- Polynomial-Augmented Neural Networks (PANNs) with Weak Orthogonality Constraints for Enhanced Function and PDE Approximation
- AIRL-S: Unifying Reinforcement Learning and Search-Based Test-Time Scaling via Adversarial Inverse Reinforcement Learning
- Transformers as Bayesian In-Context Experimenters: Smoothness-Adaptive Efficient ATE Estimation
- Convergence issues in Relational Concept Analysis based on AOC-posets
- Beliefs Beyond Posteriors: The Predictive Cost of ELBO Binding
- Understanding Diffusion Models via Ratio-Based Function Approximation with SignReLU Networks