Manuscript Offprint

arXiv:2608.24192

Preference Data Selection for Mitigating the Alignment Tax in Large Language Models

Minsu Kim, Jianxun Lian, Xing Xie, Steven Euijong Whang

Abstract

Aligning large language models to human preferences is crucial for real-world deployment but frequently incurs an alignment tax, leading to the catastrophic forgetting of pre-trained general capabilities. While previous works primarily frame this problem as an optimization or architectural challenge, the inherent characteristics of preference data that drive this degradation remain largely underexplored. In this paper, we propose BALIGN, a balanced data selection strategy that explicitly mitigates catastrophic forgetting while optimizing alignment efficacy. Through theoretical and empirical analyses of the preference optimization gradient, we identify three key data-centric features that dictate parameter drift: the reference model's log-probability margin, the token length difference between chosen and rejected responses, and the TF-IDF similarity to general capability corpora. By aggregating these orthogonal features into a unified composite risk score, BALIGN systematically filters out high-risk preference samples that disrupt intrinsic model parameters or provide minimal alignment utility. Extensive experiments on standard human preference datasets demonstrate that BALIGN strongly preserves foundational capabilities without compromising alignment gains, consistently achieving the optimal Pareto frontier with minimal computational overhead.

Introduction

Large language models (LLMs) pre-trained on massive corpora have become foundational building blocks for a wide range of natural language processing applications (Kaddour et al. 2023). A common practice in deploying these models is to take pre-trained LLMs as base models and fine-tune them to enhance their capabilities, such as mathematical reasoning (Shao et al. 2024), clinical reasoning (Chen et al. 2024), or code generation (Hui et al. 2024). Among such fine-tuning objectives, alignment with human preferences is one of the most critical, as it determines whether the resulting model produces safe, helpful, and human-aligned responses (Shen et al. 2023; Liu et al. 2023; Ji et al. 2023).

While alignment improves the quality of model responses on preference-related tasks, it is known to induce a phenomenon referred to as the alignment tax (Ouyang et al. 2022), in which the model loses a portion of its previously acquired general capabilities. This degradation constitutes a form of catastrophic forgetting (Kirkpatrick et al. 2016) as shown in Figure 1a. Such a decline in foundational skills limits the broader utility of LLMs, as their real-world application relies on these general capabilities. To mitigate this issue, effective alignment necessitates maintaining a balance between preserving general capabilities (i.e., stability) and integrating human-aligned preferences (i.e., plasticity). Despite the importance of this dual objective, most existing works on LLM fine-tuning have solely focused on adapting to new tasks for domain specialization (Xie et al. 2023; Xia et al. 2024; Liu, Karbasi, and Rekatsinas 2024).

Prior work widely acknowledges that the underlying cause of catastrophic forgetting is not simply a deficit in memory capacity, but rather a disruption of intrinsic model parameters (Kirkpatrick et al. 2016; Luo et al. 2023). Based on these findings, several approaches have been proposed to mitigate catastrophic forgetting in LLM fine-tuning (Kotha, Springer, and Raghunathan 2024; Li et al. 2024; Xiong and Xie 2026). However, these methods predominantly frame catastrophic forgetting as an optimization or architectural challenge, leaving the relationship between the characteristics of new task data and catastrophic forgetting largely underexplored.

Motivated by the intuition that the fundamental difference between general and new tasks disturbs intrinsic model parameters, we focus on the data itself to analyze and mitigate catastrophic forgetting. Given that LLMs solidify the majority of their general capabilities during the SFT phase, it is crucial to analyze the interplay between the knowledge embedded in the previously learned SFT data and the learning signals provided by the newly introduced preference data from a stability-plasticity perspective. To the best of our knowledge, no existing data-centric method simultaneously optimizes both stability and plasticity in LLM alignment.

We identify three key features that characterize the impact of training samples on the stability and plasticity of LLM alignment, as shown in Figure 1b. Specifically, the length-normalized log-probability margin under the base reference model (i.e., the initial pre-trained model prior to alignment) and the token length difference between the chosen and rejected responses serve as indicators for stability, whereas the cosine similarity between the TF-IDF representations of training samples and those of a general benchmark corpus acts as a proxy for plasticity. Our theoretical and empirical analyses reveal that selecting training samples with minimal length-normalized log-probability margins and small token length differences effectively mitigates catastrophic forget-

∗^{*}Work done during an internship at Microsoft Research Asia.

†^{\dagger}Corresponding authors.

Figure

(a)

(b)

Figure 1: (a) Catastrophic forgetting of general capabilities (e.g., general knowledge, instruction following, reasoning, code, and math) in LLM alignment. (b) Overview of BALIGN, which selects low-risk data for stability and plasticity using risk scores based on three features: reference margin, token length difference, and TF-IDF similarity.

ting. In addition, selecting training samples that are highly distinct from the general SFT corpus based on their TF–IDF representations yields better model alignment.

Based on our findings, we propose BALIGN, a balanced data selection strategy for effective LLM alignment that jointly addresses stability and plasticity. We first define a risk score tailored to each of the three features, namely reference margin, token length difference, and TF-IDF similarity, such that training on samples with high risk scores leads to degradation in either stability or plasticity. We then formulate a composite risk score that accounts for stability and plasticity by aggregating the three normalized risk scores. Based on the composite risk scores computed across all samples, we filter out high-risk samples and select a predefined proportion of low-risk samples to form the training set. Experiments on human preference datasets demonstrate that BALIGN effectively mitigates catastrophic forgetting across diverse capabilities while preserving alignment performance with a filtered data subset. We believe that our data selection strategy serves as a simple yet effective method for preprocessing training data in LLM alignment.

Summary of Contributions: (1) We identify three orthogonal data-centric features, namely reference margin, token length difference, and TF-IDF similarity, and analyze their impact on the stability-plasticity trade-off during LLM alignment; (2) We propose a balanced data selection strategy that mitigates catastrophic forgetting by filtering out high-risk preference data using a composite risk score tailored to these three features; (3) We empirically demonstrate that our approach successfully preserves general capabilities across diverse domains while maintaining alignment performance.

References (51)