SPO: Multi-Dimensional Preference Sequential Alignment With Implicit Reward Modeling

Xingzhou Lou, Junge Zhang, Jian Xie, Lifeng Liu, Dong Yan, Kaiqi Huang · DOI

Abstract

Aligning Large Language Models (LLMs) with human values often involves navigating multiple, frequently conflicting dimensions such as helpfulness and harmlessness. Sequential Preference Optimization (SPO) is a novel framework designed to address this multi-objective alignment challenge. By fine-tuning models in stages and utilizing a mathematically derived sequential constraint, SPO "locks in" gains from previous alignment rounds while optimizing for new preferences. This approach avoids the instability of multiple explicit reward models and the catastrophic forgetting typical of naive sequential fine-tuning. Experiments on Llama 2 models demonstrate that SPO achieves a superior balance across preference dimensions compared to existing state-of-the-art baselines.

Introduction

The alignment of LLMs with human preferences is rarely a simple, one-dimensional task. Developers aim for models that are simultaneously helpful, harmless, concise, and honest. Current alignment strategies generally follow two paths: collapsing all dimensions into a single scalar score ("Melting Pot") or training separate reward models for each dimension. The former often fails when dimensions conflict (e.g., a helpful response might be unsafe), leading to training instability. The latter is difficult to scale and stabilize due to the sensitivity of Reinforcement Learning from Human Feedback (RLHF).

Furthermore, attempting to align models sequentially—first for helpfulness, then for safety—often results in "catastrophic forgetting," where the model loses its previous capabilities as it learns new ones. SPO addresses these issues by providing a stable, sequential method to layer preferences using implicit reward modeling.

Methodology

SPO builds upon the foundations of Direct Preference Optimization (DPO), which aligns models by optimizing an implicit reward function directly from preference data. The core innovation of SPO is the Sequential Constraint. During the $n$-th round of training, targeting a specific preference dimension, SPO optimizes the policy to maximize the current reward while ensuring that rewards for all previously aligned dimensions ($1$ to $n-1$) do not degrade below a defined threshold.

Figure 1: The SPO framework sequentially aligns an SFT model across multiple preference dimensions using ranked response pairs to produce a final aligned model.

The authors derive a closed-form optimal policy and a corresponding loss function that incorporates a regularization term from previous models in the sequence. This term acts as a gradient "gatekeeper": if a proposed update for a new dimension would significantly harm alignment on a previous dimension, the update's weight is automatically reduced. This mechanism ensures preference consistency and stability throughout the sequential process.

Experimental Setup

The researchers evaluated SPO using several prominent benchmarks and datasets:

  • PKU-SafeRLHF-30k: Contains 26.9k response pairs ranked for helpfulness and harmlessness.
  • Helpsteer2: Used for multi-dimensional tasks involving helpfulness, correctness, coherence, and verbosity.
  • Evaluation Benchmarks: Performance was measured on HH-helpful/harmless, AlpacaEval, and PKU-SafeRLHF-test against baselines including Safe-RLHF and "DPO-Mix" (a single-round mixture of all data).

Results and Discussion

SPO consistently outperformed baselines on Llama 2 7B and 13B models. Key findings include:

  • Superior Multi-Objective Balance: SPO achieved the best trade-off on the helpfulness-harmlessness Pareto frontier. Unlike other methods that sacrifice one dimension for another, SPO effectively reconciles them.
  • Aggregated Utility: When measuring the product of helpfulness and harmlessness scores—a proxy for overall quality—SPO achieved the highest scores among all tested algorithms.
  • Resistance to Over-refusal: In overfitting studies, naive sequential DPO (S-DPO) quickly led to over-refusal of safe prompts. In contrast, SPO maintained its helpfulness even after multiple epochs of safety training.
  • Outperforming Open Models: SPO-aligned Llama 2 models achieved higher win rates against popular open models like Vicuna and Mistral-7B-Instruct on helpfulness and harmlessness benchmarks.
Figure 2: Comprehensive evaluation of SPO showing (a) Helpfulness-Harmlessness Pareto frontier, (b) aggregated utility, and (c-d) reward curves over training epochs.

The authors also noted that SPO is computationally efficient. Because it is sequential and relies on previous models, inference results from earlier rounds can be cached, streamlining the multi-round training process compared to simultaneous multi-reward modeling.

Conclusion

SPO provides a robust and theoretically grounded framework for multi-dimensional LLM alignment. By leveraging implicit reward modeling and sequential constraints, it avoids the pitfalls of catastrophic forgetting and training instability. While current experiments focused on 7B and 13B models, the underlying theory suggests scalability to larger frontier models. Future work will explore integrating SPO into iterative, online alignment settings to further enhance performance.

Summary updated

BibTeX
@misc{lou2024spo,
  author = {Xingzhou Lou and Junge Zhang and Jian Xie and Lifeng Liu and Dong Yan and Kaiqi Huang},
  title = {{SPO: Multi-Dimensional Preference Sequential Alignment With Implicit Reward Modeling}},
  year = {2024},
  eprint = {2405.12739},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2405.12739},
}
Figure