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

Minsu Kim, Jianxun Lian, Xing Xie, Steven Euijong WhangarXiv 2026

TL;DR

BALIGN is a smart, data-centric selection strategy designed to eliminate the "alignment tax"—the tendency for Large Language Models (LLMs) to lose their general reasoning, coding, and math skills when fine-tuned on human preferences. By filtering out high-risk training samples using just three lightweight features, BALIGN matches full-dataset alignment performance using only 5% of the data while keeping the model's foundational capabilities intact.

What Problem Does This Paper Address?

When we align LLMs to be safe, helpful, and harmless using techniques like Direct Preference Optimization (DPO), we often pay an alignment tax. This is a form of catastrophic forgetting where the model gets better at chatting politely but gets worse at core tasks like mathematical reasoning, coding, and general knowledge retrieval.

Most existing solutions treat this as an optimization or architectural problem, trying to constrain weight updates or modify loss functions. This paper takes a data-centric approach, asking a fundamental question: What specific characteristics of preference data cause the model to forget its core skills, and can we simply filter those bad samples out before training begins?

Methods

The authors introduce BALIGN (Balanced Alignment), a method that analyzes the mathematical gradients of preference optimization to identify three orthogonal data features that dictate parameter drift and forgetting:

  1. Reference Margin ($\Delta p_{\text{ref}}$): The difference in average per-token log-probability between the chosen and rejected responses under the unaligned base model. If the base model is already highly confident (large positive margin) or completely wrong (large negative margin), forcing a gradient update causes massive parameter drift with little to no learning benefit.
  2. Token Length Difference ($\Delta \ell$): The difference in length between the chosen and rejected responses. Large length discrepancies inflate the gradient signal based on sheer volume rather than actual quality, causing unnecessary disruption to the model's weights.
  3. TF-IDF Similarity ($\tau_i$): The lexical overlap between a preference sample and a general capability corpus. High similarity means the alignment updates will overwrite parameters holding general knowledge. Low similarity means the updates occur in nearly orthogonal parameter regions, safely preserving foundational skills.

BALIGN normalizes these three features and combines them into a single composite risk score. It then filters out high-risk data, selecting a clean, low-risk subset (typically the top 5%) for training.

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.

Datasets

  • Alignment Training & Testing: The standard HH-RLHF (Helpful and Harmless) dataset from Anthropic.
  • General Capabilities Evaluation: A comprehensive suite of five benchmarks: MMLU (general knowledge), IFEval (instruction following), ARC-Challenge (reasoning), HumanEval (code generation), and GSM8K (grade-school math).

Key Insights and Ideas

  • The Extremes Hurt Most: Samples where the reference model is already highly opinionated (either strongly agreeing or strongly disagreeing with the human label) are the primary drivers of catastrophic forgetting.
  • Length Bias is Destructive: Length bias doesn't just make models verbose; the resulting bloated gradients actively destroy intrinsic model parameters.
  • Lexical Orthogonality is a Safe Harbor: If a preference sample uses a vocabulary distinct from general pre-training data, the model can absorb the alignment signal without structural resistance or interference with its core knowledge base.

Key Results

The authors evaluated BALIGN using Llama-3.1-8B-Instruct and Qwen2.5-7B-Instruct as base models.

  • The 5% Solution: Training on just 5% of the data selected by BALIGN achieved alignment gains virtually identical to training on 100% of the dataset, while drastically reducing catastrophic forgetting.
  • Pareto Frontier Dominance: Across different regularization strengths ($\beta$), BALIGN consistently outperformed existing SFT and alignment data selection baselines (like LESS, DSIR, and Selective DPO), occupying the ideal top-right corner of the stability-plasticity trade-off space.
Figure 2: Detailed general capabilities and alignment of LLMs. BALIGN successfully preserves the base model’s diverse general capabilities while achieving alignment performance on par with training on the full preference dataset.
  • Blazing Fast Efficiency: Because BALIGN only requires a single forward pass over the reference model to compute its scores, it took just 22 minutes to process the dataset, compared to 6 to 10 hours for complex gradient-based selection methods like LESS or Selective DPO.
Computation time comparison of data selection baselines.

Limitations and Future Work

  • White-Box Dependency: BALIGN requires access to the model's internal token log-probabilities, meaning it cannot be applied directly to closed-source, API-only models (like GPT-4).
  • Offline Focus: The current framework is tailored for offline preference optimization (DPO). Extending this data-centric filtering to online RLHF frameworks (like PPO or GRPO) remains an open and promising direction for future research.

Summary updated

BibTeX
@misc{kim2026preference,
  author = {Minsu Kim and Jianxun Lian and Xing Xie and Steven Euijong Whang},
  title = {{Preference Data Selection for Mitigating the Alignment Tax in Large Language Models}},
  year = {2026},
  eprint = {2608.24192},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2608.24192},
}
Figure