Beyond Pairs: Your Language Model is Secretly Optimizing a Preference Graph
Ning Liu, Chuanneng Sun, Kristina L Klinkner, Shervin Malmasi
NeurIPS page · OpenReview · alphaXiv · Open on the map
Category: LLM Post-Training: RL & Distillation › Direct Preference Optimization · Type: new method · Keywords: graph-based preference optimization, language model alignment, DPO generalization, preference graph, multi-rollout alignment
Areas: RL for LLMs & Agents › Language Model Alignment › Preference Optimization
Summary
GraphDPO generalizes Direct Preference Optimization to operate over preference graphs, exploiting richer multi-rollout structures and improving alignment performance.
Explained to a 5-year-old
When we teach a big computer brain how to answer questions, we usually show it two answers and say which one is better. But sometimes we have many possible answers for the same question, and the current way ignores the connections between them. The new idea makes a big picture where each answer is a node and arrows point from worse to better answers, so the computer can see the whole picture. This helps the computer learn more correctly and avoid confusing or contradictory advice. In the end, the computer becomes smarter at giving good answers.
Explained to a 5-year-old, longer
When we teach a big computer brain how to answer questions, we show it examples of answers and tell it which one is better. The usual way only looks at pairs of answers, like picking the better of two. But sometimes we have many possible answers for the same question, and the pair-wise method misses how they relate to each other. The new idea builds a network where each answer is a node and arrows point from answers that are worse to those that are better. This network is called a preference graph because it shows the preferences among many answers at once. By looking at the whole graph, the computer can see that if answer A beats B and B beats C, then A should also be better than C. This helps avoid contradictory advice that can happen when only comparing two answers. The method also groups answers that have the same preferences together, so it doesn’t waste time on useless comparisons. Sometimes the researchers add a known correct answer as a special node to guide learning at the start. As training goes on, the influence of this perfect answer fades, letting the model rely more on the gathered preferences. Experiments show that using this richer graph leads to better answers on tasks like reasoning and writing code. Overall, the approach makes the computer brain more reliable and smarter at giving good responses.
For a technical reader
The paper observes that standard DPO aligns language models by comparing pairs of responses, discarding useful transitive information when multiple rollouts per prompt are available. It introduces a graph-structured extension that builds a directed acyclic preference graph from rollout rankings, encodes dominance as edges, and optimizes a Plackett-Luce-inspired objective that aggregates supervision over neighborhoods. The method adds equivalence-class layers to avoid spurious gradients and optionally anchors training with verified solutions via an annealing schedule, all while keeping per-prompt complexity linear. Experiments on reasoning and program synthesis tasks show that the graph-based approach outperforms pairwise DPO. This provides a scalable and more robust alternative for aligning large language models without requiring reinforcement learning.
Problem
Aligning language models using pairwise preferences discards useful transitive information present in multi-rollout data, leading to suboptimal and unstable training. There is a need for a method that can leverage richer preference structures while maintaining efficiency.
Method
The approach constructs a directed acyclic preference graph from rollout rankings, encodes dominance relations as edges, and optimizes a graph-structured Plackett-Luce-inspired objective that aggregates supervision over graph neighborhoods. It also introduces equivalence-class layers to handle discrete preferences and optional ground-truth anchoring with an annealing schedule, while preserving linear per-prompt complexity.
Results
The approach shows superior performance on reasoning and program synthesis tasks compared to standard DPO.
Contributions
It provides a principled graph-structured generalization of DPO that exploits transitive preference information, introduces equivalence-class handling and optional anchoring, and maintains linear per-prompt complexity. The work also demonstrates improved alignment on reasoning and program synthesis benchmarks.
Research questions this paper is counted under
This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. Suggest a correction