The Realignment Problem: When Right becomes Wrong in LLMs

Aakash Sen Sharma, Debdeep Sanyal, Manodeep Ray, Vivek Srivastava, Shirish Karande, Murari Mandal

TL;DR

Large Language Model (LLM) alignment is typically treated as a static, one-time calibration, making models brittle when corporate policies, laws, or cultural norms inevitably change. This paper introduces TRACE (Triage and Re-align by Alignment Conflict Evaluation), a framework that updates a deployed model's behavior using its existing training data under a new policy specification, completely bypassing the need for expensive new human re-annotation.

What Problem Does This Paper Address?

When an organization updates its safety or operational guidelines, deployed LLMs suffer from an Alignment–Reality Gap. For example, an older policy might mandate that an LLM completely refuse to answer any queries related to mental health to avoid liability. A revised policy, however, might encourage the model to provide constructive, therapeutically framed advice while clearly stating its limitations as an AI.

Figure 1. Comparison of old and new policy responses to a mental health-related prompt without access to a new human oracle signal. The new policy enables constructive, therapeutically-framed advice, whereas the old policy requires complete avoidance.

Traditionally, fixing this requires gathering a massive new dataset of human preferences tailored to the new guidelines—a process that is economically impractical and prone to annotator drift. Alternative approaches like machine unlearning or purely punitive optimization (e.g., Negative Preference Optimization) often cause the model's performance to collapse, leading to overly defensive behavior and "over-refusal" where the model rejects even benign prompts.

Methods

TRACE reframes realignment from a data-collection problem into a post-hoc optimization problem over the original preference dataset. It operates via a three-stage pipeline:

  1. Triage: Using a more capable model (like GPT-4o) as a proxy judge for the new policy, TRACE evaluates the historical prompt-response pairs and categorizes them into three actionable bins:
  2. Invert ($D_I$): The old losing response is now preferred over the old winner.
  3. Punish ($D_{II}$): Both old responses violate the new policy and must be suppressed.
  4. Retain ($D_R$): The original preference remains valid and serves as a regularization anchor.
  5. Alignment Impact Weighting: Not all policy conflicts are equally informative. TRACE uses a bi-level optimization approximation to calculate an "alignment impact score" for each sample. This score measures how well a local data update aligns with the global target policy gradient, effectively filtering out noisy or low-value conflicts.
  6. Hybrid Objective Optimization: TRACE updates the model using a tailored combination of losses: Direct Preference Optimization (DPO) for inverted pairs, punitive losses (like NPO) or oracle-guided corrections for punished pairs, and a forward KL-divergence constraint on retained pairs to prevent the model from forgetting its general capabilities.

Datasets

The authors evaluated TRACE using two distinct testbeds:

  • PKU-SafeRLHF: A real-world, multi-dimensional safety preference dataset containing annotations across 19 safety categories (e.g., physical harm, privacy violations).
  • SynthValueBench: A new synthetic benchmark introduced by the authors to provide programmatic ground truth for complex policy shifts across four core axes: Financial Crimes, Personal Attacks, Public Health, and IP Violations.

General capabilities were tracked using standard academic benchmarks: MMLU, GPQA, HellaSwag, and GSM8K.

Key Insights and Ideas

  • Overcoming the False Dichotomy: Prior unlearning methods assumed that if an old preferred response became invalid, the old dispreferred response must be the new winner. TRACE recognizes that a new policy might render both options non-compliant, successfully avoiding this trap through its triage phase.
  • Semantic Gradient Filtering: Treating all conflicting data points equally introduces gradient interference, which degrades the model's reasoning skills. The authors discovered that impact weighting acts as a sparse filter, prioritizing high-leverage updates and protecting unrelated capabilities.
  • The Helpfulness/Utility Trade-off: While purely punitive baselines can technically force a model to stop violating a policy, they do so by making the model unhelpful. TRACE trades a minor, bounded drop in commonsense reasoning for massive gains in user-preferred helpfulness.

Key Results

The authors evaluated TRACE across three model families: Qwen2.5-7B, Gemma-2-9B, and Llama-3.1-8B.

Table 2. Aggregated Human Preference Evaluation for Value Re-alignment. This table presents pairwise win rates (%) and inter- annotator agreement (Krippendorff’s α) on the PKU-SafeRLHF and SynthValueBench datasets, with scores averaged across three dis- tinct underlying LLMs. Core takeaway: TRACE(Ours) demonstrates superior performance in re-alignment compared to the U2A baseline, achieving decisive win rates of 81.8% and 85.3% on the respective datasets, supported by high levels of annotator consensus (α ≥0.75). Table 10 can be referred for model-level breakdown of human preference win rates.
  • Human Preference: In head-to-head human evaluations, TRACE decisively outperformed the primary unlearning baseline (U2A), achieving win rates of 81.8% on PKU-SafeRLHF and 85.3% on SynthValueBench.
  • Capability Preservation: On complex reasoning tasks (GPQA, GSM8K), TRACE maintained highly competitive performance profiles close to the base models, whereas punitive baselines suffered pronounced degradation.
  • Robustness to Noise: TRACE proved remarkably resilient to imperfect policy judges. Even when 20% of the triage labels were intentionally flipped (simulating oracle noise), TRACE maintained alignment performance superior to the baseline.

Limitations and Future Work

  • The Non-Blind Assumption: TRACE requires access to the original preference dataset used to train the model. If a developer is dealing with a third-party or legacy model where the training data is completely missing (a fully "blind" setup), TRACE cannot be applied in its current form.
  • The Adversarial Resilience Gap: While TRACE successfully aligns models to in-distribution policy shifts, a robustness gap remains when compared to full retraining from scratch (DPO-Gold) under adversarial stress tests. Because TRACE only reuses historical data, it cannot synthesize entirely novel adversarial attacks that a human red-team would discover under the new policy.

Future work includes integrating latent principle reverse-engineering to adapt TRACE for fully blind deployment settings.

Summary updated

Abstract

Post-training alignment of large language models (LLMs) relies on large-scale human annotations guided by policy specifications that change over time. Cultural shifts, value reinterpretations, and regulatory or industrial updates make static alignment increasingly brittle. As policies evolve, deployed models can diverge from current alignment objectives, creating an Alignment-Reality Gap that is difficult to audit or correct. Existing remediation typically requires re-annotation under revised guidelines, which introduces systematic challenges, including guideline ambiguity, annotator interpretation drift, and reduced consistency at scale. We introduce TRACE (Triage and Re-align by Alignment Conflict Evaluation), a framework that transforms realignment into a structured optimization problem over existing data without requiring fresh human annotation. Leveraging a stronger model as a proxy judge, TRACE operates via a three-stage pipeline: (1) triaging preference pairs into inversion, suppression, or retention categories based on alignment conflicts; (2) computing an alignment impact score via bi-level optimization to prioritize high-leverage samples; and (3) executing updates using a hybrid objective that combines relational losses (e.g., IPO) for preference inversion and punitive losses (e.g., NPO) for response suppression. Experiments on Qwen2.5-7B, Gemma-2-9B, and Llama-3.1-8B demonstrate robust realignment on synthetic benchmarks and the PKU-SafeRLHF dataset without degrading general utility. This work provides a scalable approach for LLM realignment under evolving data annotation policies and alignment guidelines. We release our code: https://respailab.github.io/TRACE/
BibTeX
@inproceedings{sharma2026realignment,
  author = {Aakash Sen Sharma and Debdeep Sanyal and Manodeep Ray and Vivek Srivastava and Shirish Karande and Murari Mandal},
  title = {{The Realignment Problem: When Right becomes Wrong in LLMs}},
  booktitle = {International Conference on Machine Learning},
  year = {2026},
  url = {https://openreview.net/forum?id=yt6vQ8gbGm},
}
Figure