TPO: Tri-level Distributionally Robust Learning for OOD Direct Preference Optimization
Abstract
Direct Preference Optimization (DPO) minimizes empirical risk over observed preference comparisons, implicitly assuming that the training preference distribution matches the deployment preference distribution. In practice, this distributional assumption often fails, as preference distribution shifts can arise at three levels: group-level shift, prompt-level shift, and preference-level shift. Existing robust DPO methods typically either model uncertainty over the joint preference distribution or focus on individual sources of shift, leaving their hierarchical structure underexplored. To address this gap, we propose TPO, a tri-level distributionally robust framework for out-of-distribution (OOD) preference alignment, which jointly models all three levels of distributional uncertainty through a hierarchically structured rectangular ambiguity set. By instantiating the ambiguity set with Wasserstein distances, we derive a tractable and interpretable objective that combines a preference-level margin penalty, prompt-level adversarial embedding perturbation, and worst-case group reweighting, each governed by an independent radius. We establish finite-sample convergence guarantees and empirically validate the effectiveness of TPO across diverse OOD environments.