How LLM Task-Adaptation Reshapes Alignment: A Multi-dimensional Study of Behavioral and Representational Drift

James Elcock, William F. Shen, Xinchi Qiu, Nicholas D. LanearXiv 2026

TL;DR

When we fine-tune pre-aligned Large Language Models (LLMs) for specialized downstream tasks, we inadvertently trigger "alignment drift" across multiple behavioral dimensions. This study reveals that Supervised Fine-Tuning (SFT) severely degrades pre-existing alignment—especially in safety, factuality, and controllability—whereas Reinforcement Learning with Verifiable Rewards (RLVR) and KL-regularized SFT preserve these critical guardrails far better.

What Problem Does This Paper Address?

Before an LLM reaches production, it undergoes extensive alignment tuning (like RLHF) to ensure it is safe, helpful, and controllable. However, developers rarely stop there; they routinely perform post-training task adaptation to specialize the model in domains like mathematics or programming.

While previous research noted that fine-tuning can break a model's safety guardrails, its broader impact across other alignment dimensions remained a black box. This paper addresses this gap by providing a comprehensive, multi-dimensional study of how different task-adaptation methods reshape an LLM's behavioral and internal representational alignment.

Methods

The authors systematically evaluate three prominent post-training adaptation methods:

  1. Supervised Fine-Tuning (SFT): Standard next-token prediction on task solutions.
  2. KL-Regularized SFT (KL-SFT): SFT with an added Kullback-Leibler (KL) divergence penalty to anchor the model to its pre-adapted base state.
  3. GRPO-Based RLVR: Reinforcement Learning with Verifiable Rewards using Group Relative Policy Optimization, which optimizes the model using automated verifiers (e.g., code compilers or math checkers) without a learned reward model.

They test these methods across four pre-aligned model families (Qwen3-1.7B, Qwen2.5-3B, Llama3.2-3B, and Llama3.1-8B) adapting them to two downstream tasks: mathematical problem-solving and program synthesis. Crucially, the authors don't just look at final model outputs; they evaluate intermediate training checkpoints and perform a representational analysis to track how internal residual-stream features shift during training.

Datasets

  • Task Adaptation (Training): MATH (for mathematical reasoning) and TACO (for program synthesis).
  • Alignment Evaluation: A massive suite of 15 distinct benchmarks spanning 6 core domains:
  • Safety: HarmBench (Refusal and Jailbreak Robustness).
  • Factuality: TruthfulQA and HalluLens.
  • Stance Stability: VAL-Bench (Belief Consistency) and Anthropic Sycophancy.
  • Social Harm: ToxiGen, BBQ, and CrowS-Pairs.
  • Controllability: Advanced AI Risk datasets (measuring corrigibility, self-awareness, power-seeking, survival instinct, myopic reward, and coordination).
  • Instructability: IFEval (Instruction Following).

Key Insights and Ideas

  • Alignment Drift is Highly Selective: Task adaptation doesn't shift a model's alignment profile uniformly. SFT acts as a blunt instrument, disproportionately damaging safety, factuality, and controllability, while leaving aspects like social harm or instructability less affected.
  • RLVR is Inherently Alignment-Preserving: Unlike SFT, which forces the model to mimic a specific data distribution, RLVR optimizes for correctness via verifiable rewards. This allows the model to achieve high task performance while leaving its pre-existing alignment profile largely intact.
  • Behavioral Drift is Mirrored Internally: The changes we see in model behavior aren't just superficial text generation quirks. SFT actively compresses the internal latent space distance between aligned and misaligned concepts (e.g., weakening the model's internal distinction between safe and unsafe responses), while RLVR preserves this internal separation.
  • The KL Penalty is a Tunable Lever: For SFT pipelines, increasing the KL regularization coefficient ($\beta$) acts as a direct control knob, pulling both the model's behavior and its internal representations back toward the safely aligned baseline.

Key Results

  • SFT vs. RLVR Drift Severity: Across all evaluated metrics, standard SFT induced a substantial mean absolute alignment shift of 4.96 percentage points (pp) relative to the baseline. In contrast, RLVR kept this drift to a minimal 1.53 pp.
Average alignment drift across categories showing SFT vs RLVR
  • Vulnerable Domains: SFT caused a massive 11.0 pp average drift in Safety and 5.8 pp in Factuality. RLVR significantly mitigated this, restricting Safety drift to 2.4 pp and Factuality drift to 3.2 pp.
Detailed heatmap of alignment drift across models and metrics
  • Checkpoint Dynamics: SFT alignment drift accumulates rapidly early in training. Interestingly, while some behavioral metrics (like sycophancy) show a surface-level "partial recovery" later in training, internal representation distance from the baseline increases monotonically, proving that the model does not truly return to its original aligned state.
Alignment metric trajectories over intermediate training checkpoints
  • Representational Correlation: Internal representational shifts tracked behavioral drift exceptionally well, yielding strong Pearson correlations up to $|r| = 0.95$ (specifically for power-seeking tendencies).

Limitations and Future Work

  • Model Scale: Due to compute constraints, the study was limited to models up to 8B parameters. Evaluating whether massive models (70B+) exhibit the same representational drift patterns remains an open question.
  • Verifiable vs. Unverifiable Rewards: The RLVR experiments relied strictly on tasks with objective, automated ground truths (math and code). Future work must explore how alignment holds up under RL settings that use unverifiable rewards, such as human preference data or LLM-as-a-judge scoring.

Summary updated

BibTeX
@misc{elcock2026how,
  author = {James Elcock and William F. Shen and Xinchi Qiu and Nicholas D. Lane},
  title = {{How LLM Task-Adaptation Reshapes Alignment: A Multi-dimensional Study of Behavioral and Representational Drift}},
  year = {2026},
  eprint = {2607.22676},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2607.22676},
}
Figure