Controllable Preference Optimization: Toward Controllable Multi-Objective Alignment

Yiju Guo, Ganqu Cui, Lifan Yuan, Ning Ding, Zexu Sun, Bowen Sun, Huimin Chen, Ruobing Xie, Jie Zhou, Yankai Lin, Zhiyuan Liu, Maosong Sun

Introduction

The alignment of Large Language Models (LLMs) is typically guided by the "3H" principle: ensuring models are Helpful, Honest, and Harmless. However, optimizing for these objectives simultaneously often leads to a phenomenon known as the "alignment tax." This occurs when improvements in one dimension, such as safety (harmlessness), inadvertently degrade performance in another, such as utility (helpfulness). Traditional alignment methods like Direct Preference Optimization (DPO) and Proximal Policy Optimization (PPO) often struggle with these conflicting goals because they treat alignment as a unidirectional maximization problem.

In this paper, we present Controllable Preference Optimization (CPO), a framework designed to navigate these trade-offs by shifting the paradigm from simple reward maximization to controllable steering. By utilizing explicit preference tokens, CPO allows models to achieve superior performance across multiple objectives without the typical performance degradation associated with the alignment tax.

The Challenge: The Alignment Tax and the Pareto Front

The tension between helpfulness and harmlessness is a primary hurdle in LLM development. A model optimized solely for helpfulness might provide dangerous information, while a model optimized strictly for safety may become overly evasive—the "silent model" problem.

Current alignment techniques often aim for a single scalar reward, which frequently results in a sub-optimal position within the objective space. Ideally, a model should operate on the "Pareto front," where one objective cannot be improved without a corresponding loss in another. Standard DPO often lands in the interior of this frontier, failing to reach the maximum potential of the model's capabilities across all three dimensions simultaneously.

The CPO Framework

Controllable Preference Optimization addresses these conflicts through a two-stage training process that incorporates explicit grounding of preferences.

1. Controllable Preference Supervised Fine-Tuning (CPSFT)

The first stage involves augmenting training data with explicit preference tokens. For example, an input might be prefixed with <Helpfulness:5, Harmlessness:1>. This stage teaches the model to associate specific generation styles and content characteristics with numerical scores. By conditioning the model on these tokens during supervised fine-tuning, the model learns the relationship between the desired objective levels and the resulting output.

2. Controllable Direct Preference Optimization (CDPO)

Building upon the DPO algorithm, CDPO introduces a multi-preference value reward system. Instead of a binary comparison between a "chosen" and "rejected" response based on a latent reward, CDPO calculates the difference between the model's estimated performance and a specific user-provided preference condition. This allows the model to optimize for a specific "slice" of the performance frontier, effectively narrowing its focus to meet the requested criteria without being pulled in contradictory directions by other objectives.

Experimental Setup and Datasets

To evaluate CPO, the researchers utilized a combination of established datasets and a new security-focused benchmark:

  • UltraFeedback: Provides fine-grained scores for helpfulness and honesty.
  • HH-RLHF: A standard dataset for balancing helpfulness and harmlessness.
  • UltraSafety: A new benchmark introduced in this work containing 3,000 harmful instructions paired with jailbreak prompts to test model robustness and security.

Performance was measured using MT-bench for helpfulness, HaluEval 2.0 for honesty, and HackaPrompt for harmlessness and jailbreak resistance.

Key Results and Insights

The implementation of CPO yielded several significant findings:

  • Superior Multi-Objective Performance: CPO consistently outperformed PPO, standard DPO, and Curry-DPO across all 3H objectives. By providing a "dial" for different objectives, the model could reach higher peaks in specific dimensions than models trained on a single scalar reward.
  • Mitigating the Alignment Tax: CPO achieved a more favorable trade-off than "3H-Best" models (those trained only on the highest-rated data). While standard DPO often saw helpfulness decline as harmlessness increased, CPO maintained high utility while significantly boosting safety scores.
  • Qualitative Steering: The model demonstrated a remarkable ability to change its behavior based on input tokens. For instance, changing a token from <Harmlessness:1> to <Harmlessness:5> could transform a model from providing a detailed (but potentially harmful) guide to a firm, safe refusal that offers legal alternatives.
  • Evaluation Accuracy: Using GPT-4 as an evaluator, the authors found a 90%+ similarity with human annotators, confirming the reliability of the automated metrics used to assess the 3H dimensions.

Conclusion and Future Work

Controllable Preference Optimization offers a promising path toward resolving the inherent conflicts in LLM alignment. By treating alignment as a controllable steering task rather than a static maximization problem, CPO allows for more flexible and high-performing models.

Future research will need to address the scalability of CPO as the number of objectives increases beyond the 3Hs to include factors like conciseness or cultural sensitivity. Additionally, the requirement for preference tokens at inference time suggests the need for secondary classifier models to automatically determine the appropriate steering tokens based on user intent. Finally, the potential for misuse—where users might intentionally set low safety scores—remains a critical area for further safety research.

Summary updated

BibTeX
@inproceedings{guo2024controllable,
  author = {Yiju Guo and Ganqu Cui and Lifan Yuan and Ning Ding and Zexu Sun and Bowen Sun and Huimin Chen and Ruobing Xie and Jie Zhou and Yankai Lin and Zhiyuan Liu and Maosong Sun},
  title = {{Controllable Preference Optimization: Toward Controllable Multi-Objective Alignment}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2024},
  doi = {10.18653/v1/2024.emnlp-main.85},
}
Figure