TRACEALIGN -- Tracing the Drift: Attributing Alignment Failures to Training-Time Belief Sources in LLMs
On the map: LLM alignment / RLHF / preference optimisation → LLM preference optimization methods
also in 1 more
Abstract (arXiv)
Large Language Models (LLMs) fine-tuned to align with human values often exhibit alignment drift, producing unsafe or policy-violating completions when exposed to adversarial prompts, decoding perturbations, or paraphrased jailbreaks. While prior work has behaviorally characterized alignment failure, little is known about the training-time belief sources underlying these failures. We introduce TraceAlign, a unified framework for tracing unsafe completions back to their root causes in the model's training corpus. Central to our approach is the Belief Conflict Index (BCI), which quantifies semantic inconsistency between generated spans and aligned policies, based on retrieved training documents using suffix-array matching. We propose three complementary interventions: (i) TraceShield, an inference-time safety filter that refuses completions with high-BCI spans, (ii) Contrastive Belief Deconfliction Loss, a contrastive fine-tuning objective penalizing high-BCI continuations during DPO, and (iii) Prov-Decode, a provenance-aware decoding strategy that vetoes beam expansions predicted to yield high-BCI spans. Together, these defenses reduce alignment drift by up to 85% on our curated Alignment Drift Benchmark (ADB) while preserving utility on standard tasks, with delta less than 0.2 and improved refusal quality. We further derive a theoretical upper bound on drift likelihood via suffix-array span statistics, linking memorization frequency and length to adversarial reactivation risk. TraceAlign thus provides the first scalable, traceable, and grounded toolkit for understanding and mitigating alignment failures at source. To encourage further exploration and development, we open-source our implementation at: https://anonymous.4open.science/r/tracealign-2DA7
Key facts. No citing papers in the map yet (data through 14 Oct 2026). Placed in LLM preference optimization methods, one of 10 directions in LLM alignment / RLHF / preference optimisation. Builds on 36 of its 70 references that are in the map. First posted on arXiv 4 Aug 2025.
Builds on
36 of 70 references.
Closest ancestors · 3
Same direction, newest first
- 2023LIMA: Less Is More for Alignment18 May
- 2022Training language models to follow instructions with human feedback4 Mar
- 2021A General Language Assistant as a Laboratory for Alignment1 Dec
Other references · 33
- 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,599
- 2023LLaMA: Open and Efficient Foundation Language Modelscited by 14,132
- 2023Direct Preference Optimization: Your Language Model is Secretly a Reward Modelcited by 8,065
- 2017Towards Deep Learning Models Resistant to Adversarial Attackscited by 6,415
- 2021On the Opportunities and Risks of Foundation Modelscited by 4,033
- 2023Universal and Transferable Adversarial Attacks on Aligned Language Modelscited by 3,104
- 2019The Curious Case of Neural Text Degenerationcited by 2,916
- 2022Locating and Editing Factual Associations in GPTcited by 2,691
- 2017Billion-scale similarity search with GPUscited by 2,497
- 2016A Baseline for Detecting Misclassified and Out-of-Distribution Examples in Neural Networkscited by 2,385
- 2023G-Eval: NLG Evaluation using GPT-4 with Better Human Alignmentcited by 2,276
- 2021SimCSE: Simple Contrastive Learning of Sentence Embeddingscited by 2,173
21 more
- 2017Understanding Black-box Predictions via Influence Functionscited by 1,741
- 2018A Simple Unified Framework for Detecting Out-of-Distribution Samples and Adversarial Attackscited by 1,485
- 2017Enhancing The Reliability of Out-of-distribution Image Detection in Neural Networkscited by 1,328
- 2020Energy-based Out-of-distribution Detectioncited by 1,299
- 2020RealToxicityPrompts: Evaluating Neural Toxic Degeneration in Language Modelscited by 1,255
- 2022Mass-Editing Memory in a Transformercited by 1,001
- 2019Adversarial NLI: A New Benchmark for Natural Language Understandingcited by 807
- 2023Extracting Training Data from Diffusion Modelscited by 732
- 2019Universal Adversarial Triggers for Attacking and Analyzing NLPcited by 722
- 2019Latent Retrieval for Weakly Supervised Open Domain Question Answeringcited by 695
- 2023RAFT: Reward rAnked FineTuning for Generative Foundation Model Alignmentcited by 686
- 2021Documenting Large Webtext Corpora: A Case Study on the Colossal Clean Crawled Corpuscited by 492
- 2019Does Learning Require Memorization? A Short Tale about a Long Tailcited by 460
- 2020GeDi: Generative Discriminator Guided Sequence Generationcited by 378
- 2016Diverse Beam Search: Decoding Diverse Solutions from Neural Sequence Modelscited by 301
- 2017Right for the Right Reasons: Training Differentiable Models by Constraining their Explanationscited by 294
- 2021Recursively Summarizing Books with Human Feedbackcited by 290
- 2022Predictability and Surprise in Large Generative Modelscited by 210
- 2021Robustness Gym: Unifying the NLP Evaluation Landscapecited by 108
- 2023Contrastive Decoding Improves Reasoning in Large Language Modelscited by 74
- 2019Probing What Different NLP Tasks Teach Machines about Function Word Comprehensioncited by 44
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2025The Realignment Problem: When Right becomes Wrong in LLMs
- 2023Large Language Model Alignment: A Survey
- 2025Alignment and Safety in Large Language Models: Safety Mechanisms, Training Paradigms, and Emerging Challenges
- 2026The Alignment Paradox: How Post-Training Amplifies Confident Hallucinations in Language Models
- 2025Targeting Misalignment: A Conflict-Aware Framework for Reward-Model-based LLM Alignment
- 2025On Almost Surely Safe Alignment of Large Language Models at Inference-Time
- 2026Emergent Unfaithfulness: How Alignment Training Causes Language Models to Silently Override Task Faithfulness
- 2026The Wrong Kind of Right: Quantifying and Localizing Misfired Alignment in LLMs