Provably Efficient Direct Primal-Dual Optimization for Constrained Preference Learning: From Bradley-Terry to General Preferences
cs.LG
Submitted: 2025-10-07
Updated: 2026-12-01
License: http://creativecommons.org/licenses/by/4.0/
The gist: Learning from preference feedback under constraints has become critical for policy training to mitigate high-cost outputs or enforce predefined rules.
Terminology
Abstract
Learning from preference feedback under constraints has become critical for policy training to mitigate high-cost outputs or enforce predefined rules. This paper first studies constrained preference optimization (CPO), which aims to maximize the expected reward of the learned policy while restricting the expected cost. We propose a primal-dual direct preference optimization (PD-DPO) approach for CPO, which first trains a reward-optimized policy to provide reward information, and then adopts a novel rearranged Lagrangian DPO objective to train a reward-cost trade-off policy. This objective eliminates the need for training a cost model, and we establish its equivalence to the constrained reinforcement learning from human feedback (RLHF) procedure in terms of optimal solutions, which enables a finite-sample analysis. Moreover, to remove the widely used structural assumption that human preferences follow the Bradley-Terry model, we introduce a general constrained preference optimization (GCPO) formulation, which considers maximizing the expected reward preference probability subject to a constraint on the expected cost preference probability. For GCPO, we propose a primal-dual identity preference optimization (PD-IPO) approach, which employs a squared-loss rearranged Lagrangian objective leveraging signals from a reward-preference-optimized policy. We establish suboptimality and constraint violation guarantees for both PD-DPO and PD-IPO, which explicitly quantify how the preference learning error propagates through the learning pipeline and influences the final policies. Furthermore, we design online exploratory variants for both approaches and provide coverage-free results. Experiments on real large language models (LLMs) demonstrate the effectiveness of our approaches.
Sources
- GPT-4 Technical Report
- Exploration-Exploitation in Constrained MDPs
- SafeDPO: A Simple Approach to Direct Preference Optimization with Enhanced Safety
- Advantage-Weighted Regression: Simple and Scalable Off-Policy Reinforcement Learning
- MidPO: Dual Preference Optimization for Safety and Helpfulness in Large Language Models via a Mixture of Experts Framework
- Proximal Policy Optimization Algorithms
- Gemma 3 Technical Report
- LLaMA: Open and Efficient Foundation Language Models
- Llama 2: Open Foundation and Fine-Tuned Chat Models
Related papers
- Biologically Inspired Coordination of Parameter Selection and Update Strength for Language Model Adaptation
- Sketching for First Order Method: Efficient Algorithm for Low-Bandwidth Channel and Vulnerability
- The WMDP Benchmark: Measuring and Reducing Malicious Use With Unlearning
- On the notion of missingness for path attribution explainability methods in medical settings: Guiding the selection of medically meaningful baselines
- Variable-Length Generative Protein Design via Generalized Poisson Flow
- UniCon: Unified Framework for Efficient Contrastive Alignment via Kernels