Abstract
Alignment training is crucial for enabling large language models (LLMs) to cater to human intentions and preferences. It is typically performed based on two stages with different objectives: instruction-following alignment and human-preference alignment. However, aligning LLMs with these objectives in sequence suffers from an inherent problem: the objectives may conflict, and the LLMs cannot guarantee to simultaneously align with the instructions and human preferences well. To response to these, in this work, we propose a Hybrid Alignment Training (Hbat) approach, based on alternating alignment and modified elastic weight consolidation methods. The basic idea is to alternate between different objectives during alignment training, so that better collaboration can be achieved between the two alignment tasks. We experiment with Hbat on summarization and dialogue tasks. Experimental results show that the proposed Hbat can significantly outperform all baselines. Notably, Hbat yields consistent performance gains over the traditional two-stage alignment training when using both proximal policy optimization and direct preference optimization.
Introduction
Aligning Large Language Models (LLMs) to follow instructions and adhere to human preferences is a cornerstone of modern AI development. Traditionally, this is achieved through a two-stage sequential process: Instruction-Following Alignment (IFA), often via Supervised Fine-Tuning (SFT), followed by Human-Preference Alignment (HPA), typically using Reinforcement Learning from Human Feedback (RLHF) or Direct Preference Optimization (DPO).
However, this sequential approach often leads to the "alignment tax"—a phenomenon where optimizing for human preferences in the second stage causes the model to degrade in its ability to follow strict instructions. The objectives of IFA and HPA can conflict, and sequential training fails to find an optimal balance between them.
Methodology: Hybrid Alignment Training (HBAT)
To address the limitations of sequential alignment, we introduce Hybrid Alignment Training (HBAT). HBAT focuses on two primary innovations: Alternating Alignment and Modified Elastic Weight Consolidation.
Alternating Alignment
Instead of treating IFA and HPA as separate, sequential phases, HBAT alternates between them. The training datasets for both instruction-following and human-preference tasks are divided into $N$ mutually exclusive subsets. The model then cycles through these subsets (e.g., IFA subset 1 $\rightarrow$ HPA subset 1 $\rightarrow$ IFA subset 2 $\rightarrow$ ...). This allows the human-preference objective to continuously interact with and refine the instruction-following capabilities, treating HPA as a "decision maker" that guides the overall alignment process.
Modified Elastic Weight Consolidation (EWC)
To prevent catastrophic forgetting during these alternating cycles, we employ a Modified Elastic Weight Consolidation (EWC). Standard EWC is computationally prohibitive for LLMs due to the need to calculate the Fisher Information Matrix. Our modified version estimates parameter importance based on the magnitude of weight changes during training. This approach is significantly more efficient, reducing training time by approximately 23% and memory consumption by 17% compared to the original EWC formulation, while effectively constraining the model from drifting too far from previously learned objectives.
Experimental Results
We evaluated HBAT using LLaMA2-7B and LLaMA2-13B models on two core tasks: Summarization (using the TL;DR dataset) and Dialogue (using the Alpaca dataset).
Quantitative Performance
HBAT demonstrated consistent improvements over traditional two-stage RLHF and DPO baselines. As shown in the table below, HBAT achieves superior results across ROUGE-L, BARTScore (BS), and GPT-4 win rates.
Specifically, for the LLaMA2-13B model, HBAT achieved a +2.26 ROUGE-L improvement over traditional RLHF in summarization and outperformed SFT by 21.01 GPT-4 win rate points in dialogue tasks. The results indicate that HBAT successfully finds a better Pareto frontier between instruction following and preference alignment.
Qualitative and Human Evaluation
Side-by-side human evaluations confirmed the quantitative findings. HBAT-trained models were rated higher in coherence, accuracy, and overall quality compared to both SFT and standard RLHF/DPO baselines. Furthermore, HBAT proved more robust to changes in decoding hyperparameters, such as temperature, maintaining higher quality scores across a wider range of settings than DPO.
Conclusion
Hybrid Alignment Training (HBAT) effectively mitigates the alignment tax by alternating between alignment objectives and utilizing a computationally efficient EWC constraint. Our results across multiple model sizes and tasks demonstrate that HBAT is a robust, efficient, and high-performing alternative to sequential alignment strategies. Future work will explore the applicability of HBAT to more diverse tasks such as code generation and mathematical reasoning, as well as its integration with other emerging preference-alignment methods.
Summary updated