Introduction
In modern machine learning, models are rarely optimized for a single metric. A search engine must balance relevance with diversity and fairness; an AI assistant must be helpful while remaining safe and concise. This challenge, known as Multi-Objective Fine-Tuning (MOFT), typically relies on "Linear Scalarization"—training a model with a fixed set of weights for different objectives. However, this approach is prohibitively expensive for Large Language Models (LLMs), as exploring different trade-offs requires retraining the model from scratch for every new weight configuration.
To address this, the authors propose COS-DPO (Conditioned One-Shot Direct Preference Optimization), a framework that enables researchers to navigate the "Pareto front"—the set of optimal trade-offs—in a single training run. By conditioning the model on objective weights during training, COS-DPO allows for post-training control without the need for retraining.
The COS-DPO Framework
The core innovation of COS-DPO lies in its conditioning mechanism, which builds upon the Direct Preference Optimization (DPO) algorithm.
Weight-COS-DPO and Temperature-COS-DPO
Instead of using fixed weights, Weight-COS-DPO feeds a weight vector $w$ (representing objective priorities) directly into the model. During training, these weights are sampled from a Dirichlet distribution, teaching the model to adapt its behavior for any possible combination of priorities.
The authors further extend this with Temperature-COS-DPO, which also conditions the model on a temperature parameter $\beta$. This provides finer control over the strength of the fine-tuning, allowing users to adjust how much the model deviates from its base behavior to satisfy auxiliary goals.
Hyper Prompt Tuning (HPT)
For LLMs, where raw vectors cannot be easily concatenated to text tokens, the authors developed Hyper Prompt Tuning (HPT). HPT uses a small neural network to transform the weight vector into a "mask" applied to virtual prefix tokens. This effectively steers the LLM's behavior toward specific objectives without altering its core architecture.
Experimental Setup
The framework was evaluated across two distinct domains:
- Learning-to-Rank (LTR): Using the MSLR-WEB10K dataset, the authors treated relevance as the primary objective and five other features (e.g., dwell time, click counts) as auxiliary objectives.
- LLM Alignment: Using the PKU-SafeRLHF dataset, the authors tested the model's ability to balance "helpfulness" and "harmlessness" in response generation.
Key Results and Insights
COS-DPO demonstrates significant advantages over traditional baselines like DPO Soup or MO-DPO.
Superior Pareto Fronts
Quantitatively, COS-DPO achieves a higher Hypervolume (HV), a metric that measures both the quality and diversity of the Pareto front. Unlike "DPO Soup," which averages model weights and often produces "jagged" results or suffers from mode collapse, COS-DPO generates smooth, comprehensive trade-off curves.
Efficiency and Control
One of the most striking results is the training speedup. In LLM alignment tasks, COS-DPO was approximately 10x faster to train than standard Linear Scalarization because it eliminated the need for multiple training runs. Furthermore, the authors mathematically proved a "linear transformation property," showing that the trade-off between the base model and the fine-tuned goals is predictable and controllable via simple output scaling.
Conclusion and Future Work
COS-DPO offers a mathematically grounded and efficient "one-shot" solution for multi-objective optimization. While the framework currently handles up to five objectives effectively, future research will explore its scalability to higher-dimensional weight spaces and its integration with more complex ranking techniques. The ability to control model behavior post-training represents a significant step toward more flexible and deployable AI systems.
Summary updated