TPO: Tri-level Distributionally Robust Learning for OOD Direct Preference Optimization
Chengtao Jian, Kai Yang
NeurIPS page · Open on the map
Category: LLM Post-Training: RL & Distillation › Direct Preference Optimization · Type: new method · Keywords: distributionally robust learning, out-of-distribution preference optimization, hierarchical uncertainty, Wasserstein distance, LLM alignment, robust DPO
Summary
TPO introduces a tri-level distributionally robust framework for OOD Direct Preference Optimization that jointly models group-, prompt-, and preference-level distributional uncertainties via a hierarchical ambiguity set, yielding a tractable objective with margin penalty, embedding perturbation, and group reweighting.
Explained to a 5-year-old
A chatbot learns which answers are better by looking at people's choices. Sometimes the choices change because of who asks, what they ask, or the answer itself. Old methods only fixed one kind of change. The new method fixes all three kinds at once. This makes the chatbot work better in new situations.
Explained to a 5-year-old, longer
A chatbot is a computer program that talks to people. To make it give good answers, we show it examples of which answers people like better. These examples are called preferences. The chatbot assumes that the preferences it sees during training are the same as the preferences it will see later. In real life, preferences can change depending on who is asking, what they are asking about, and even the specific answer they like. This change is called distribution shift. When the preferences shift, the chatbot may give answers that people don't like. Existing methods try to make the chatbot robust, but they only handle one type of shift at a time. The new method looks at three levels of shift: groups of users, different questions, and the specific answer preferences. It builds a special mathematical set that captures all possible changes at these three levels. By using a distance measure, it creates a training loss that protects against the worst-case changes. This helps the chatbot stay reliable even when the preferences are different from what it saw before.
For a technical reader
TPO addresses distribution shift in preference data for LLM alignment by modeling uncertainty at three hierarchical levels-group, prompt, and conditional preference-using a rectangular ambiguity set with Wasserstein distance. It yields a tractable objective that combines a margin penalty, adversarial embedding perturbation, and worst-case group reweighting, each controlled by independent radii. The approach provides finite-sample convergence guarantees and is validated empirically against existing robust DPO methods. It can be integrated into existing DPO pipelines as a drop-in replacement for improved out-of-distribution robustness, requiring only minor modifications to the training loop and hyper-parameters for the three radii.
Problem
Direct Preference Optimization (DPO) assumes that the training preference distribution matches the deployment distribution, but in practice preferences can shift across multiple levels (group, prompt, and conditional preference), causing performance degradation when models are deployed out-of-distribution. Existing robust DPO methods typically model only overall or single-level uncertainty, leaving the hierarchical nature of these shifts unaddressed.
Method
The approach constructs a hierarchical rectangular ambiguity set that captures group-, prompt-, and preference-level distributional uncertainties, instantiates it with Wasserstein distance to obtain a tractable objective, and combines a preference-level margin penalty, prompt-level adversarial embedding perturbation, and worst-case group reweighting, each governed by independent radii.
Contributions
It introduces a tri-level distributionally robust framework that jointly models hierarchical preference distribution shifts, derives a tractable objective with interpretable components, and provides finite-sample convergence guarantees, along with empirical comparisons showing improved OOD performance.
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