LoX: Low-Rank Extrapolation Robustifies LLM Safety Against Fine-tuning
On the map: LLM safety and security → Safety alignment, refusal and guardrails
Abstract (arXiv)
Large Language Models (LLMs) have become indispensable in real-world applications. However, their widespread adoption raises significant safety concerns, particularly in responding to socially harmful questions. Despite substantial efforts to improve model safety through alignment, aligned models can still have their safety protections undermined by subsequent fine-tuning - even when the additional training data appears benign. In this paper, we empirically demonstrate that this vulnerability stems from the sensitivity of safety-critical low-rank subspaces in LLM parameters to fine-tuning. Building on this insight, we propose a novel training-free method, termed Low-Rank Extrapolation (LoX), to enhance safety robustness by extrapolating the safety subspace of an aligned LLM. Our experimental results confirm the effectiveness of LoX, demonstrating significant improvements in robustness against both benign and malicious fine-tuning attacks while preserving the model's adaptability to new tasks. For instance, LoX leads to 11% to 54% absolute reductions in attack success rates (ASR) facing benign or malicious fine-tuning attacks. By investigating the ASR landscape of parameters, we attribute the success of LoX to that the extrapolation moves LLM parameters to a flatter zone, thereby less sensitive to perturbations. The code is available at github.com/VITA-Group/LoX.
Key facts. Cited by 12 papers in the map (data through 14 Oct 2026). Placed in Safety alignment, refusal and guardrails, one of 12 directions in LLM safety and security. Builds on 36 of its 41 references that are in the map. First posted on arXiv 18 Jun 2025.
Builds on
36 of 41 references.
Closest ancestors · 10
Same direction, newest first
- 2024Harmful Fine-tuning Attacks and Defenses for Large Language Models: A Survey26 Sep
- 2024Antidote: Post-fine-tuning Safety Alignment for Large Language Models against Harmful Fine-tuning18 Aug
- 2024Refusal in Language Models Is Mediated by a Single Direction17 Jun
- 2024Navigating the Safety Landscape: Measuring Risks in Finetuning Large Language Models27 May
- 2024Robustifying Safety-Aligned Large Language Models through Clean Data Curation24 May
- 2024Representation Noising: A Defence Mechanism Against Harmful Finetuning23 May
- 2024A safety realignment framework via subspace-oriented model fusion for large language models15 May
- 2024What is in Your Safe Data? Identifying Benign Data that Breaks Safety1 Apr
- 2024Assessing the Brittleness of Safety Alignment via Pruning and Low-Rank Modifications7 Feb
- 2023Fine-tuning Aligned Language Models Compromises Safety, Even When Users Do Not Intend To!5 Oct
Other references · 26
- 2022Training language models to follow instructions with human feedbackcited by 15,971
- 2021Training Verifiers to Solve Math Word Problemscited by 10,109
- 2021Evaluating Large Language Models Trained on Codecited by 8,320
- 2023Direct Preference Optimization: Your Language Model is Secretly a Reward Modelcited by 8,065
- 2021Measuring Mathematical Problem Solving With the MATH Datasetcited by 5,371
- 2022Training a Helpful and Harmless Assistant with Reinforcement Learning from Human Feedbackcited by 3,720
- 2023Universal and Transferable Adversarial Attacks on Aligned Language Modelscited by 3,104
- 2023Jailbroken: How Does LLM Safety Training Fail?cited by 1,651
- 2023A Survey on Evaluation of Large Language Modelscited by 1,242
- 2022Red Teaming Language Models with Language Modelscited by 1,026
- 2017Crowdsourcing Multiple Choice Science Questionscited by 765
- 2022Red Teaming Language Models to Reduce Harms: Methods, Scaling Behaviors, and Lessons Learnedcited by 729
14 more
- 2024Self-Play Fine-Tuning Converts Weak Language Models to Strong Language Modelscited by 557
- 2023Catastrophic Jailbreak of Open-source LLMs via Exploiting Generationcited by 451
- 2023Safety-Tuned LLaMAs: Lessons From Improving the Safety of Large Language Models that Follow Instructionscited by 387
- 2023The Unlocking Spell on Base LLMs: Rethinking Alignment via In-Context Learningcited by 257
- 2023Parameter-Efficient Fine-Tuning Methods for Pretrained Language Models: A Critical Review and Assessmentcited by 230
- 2024Safety Fine-Tuning at (Almost) No Cost: A Baseline for Vision Large Language Modelscited by 167
- 2024Vaccine: Perturbation-aware Alignment for Large Language Models against Harmful Fine-tuning Attackcited by 115
- 2023Fine-tuning can cripple your foundation model; preserving features may be the solutioncited by 96
- 2024Booster: Tackling Harmful Fine-tuning for Large Language Models via Attenuating Harmful Perturbationcited by 92
- 2023Use of LLMs for Illicit Purposes: Threats, Prevention Measures, and Vulnerabilitiescited by 82
- 2021How Should Pre-Trained Language Models Be Fine-Tuned Towards Adversarial Robustness?cited by 49
- 2024Mitigating Fine-tuning based Jailbreak Attack with Backdoor Enhanced Safety Alignmentcited by 31
- 2022TextGrad: Advancing Robustness Evaluation in NLP by Gradient-Driven Optimizationcited by 21
- 2023RoAST: Robustifying Language Models via Adversarial Perturbation with Selective Trainingcited by 3
Built on by
Citing papers per year: 2025: 2; 2026: 10.
12 papers.
- 2025Watch the Weights: Unsupervised monitoring and control of fine-tuned LLMscited by 7
- 2026Antibody: Strengthening Defense Against Harmful Fine-Tuning for Large Language Models via Attenuating Harmful Gradient Influencecited by 6
- 2025Turning the Spell Around: Lightweight Alignment Amplification via Rank-One Safety Injectioncited by 5
- 2026Surgery: Mitigating Harmful Fine-Tuning for Large Language Models via Attention Sinkcited by 4
- 2026Revisiting Robustness for LLM Safety Alignment via Selective Geometry Controlcited by 4
- 2026Preventing Safety Drift in Large Language Models via Coupled Weight and Activation Constraintscited by 4
- 2026Safeguarding LLM Fine-tuning via Push-Pull Distributional Alignmentcited by 2
- 2026A Few Steps Further: Why Defenses Against Malicious Finetuning Erode Under Continued Trainingcited by 2
- 2026Open-Weight LLM Fine-Tuning Defenses are Susceptible to Simple Attackscited by 1
- 2026Safety Anchor: Defending Harmful Fine-tuning via Geometric Bottleneckscited by 0
- 2026Jailbreak to Protect: Buffering and Reinforcing via Temporary Jailbreaking for Safe Fine-Tuning in Large Language Modelscited by 0
- 2026SafeTune: A Unified Faithful Library for Auditing and Repairing Safety Drift in Fine-Tuned LLMscited by 0
- 2026SafeTune: A Unified Faithful Library for Auditing and Repairing Safety Drift in Fine-Tuned LLMs26 Aug 2026
- 2026Open-Weight LLM Fine-Tuning Defenses are Susceptible to Simple Attacks26 May 2026
- 2026Jailbreak to Protect: Buffering and Reinforcing via Temporary Jailbreaking for Safe Fine-Tuning in Large Language Models23 May 2026
- 2026A Few Steps Further: Why Defenses Against Malicious Finetuning Erode Under Continued Training14 May 2026
- 2026Safety Anchor: Defending Harmful Fine-tuning via Geometric Bottlenecks7 May 2026
- 2026Preventing Safety Drift in Large Language Models via Coupled Weight and Activation Constraints14 Apr 2026
- 2026Antibody: Strengthening Defense Against Harmful Fine-Tuning for Large Language Models via Attenuating Harmful Gradient Influence28 Feb 2026
- 2026Revisiting Robustness for LLM Safety Alignment via Selective Geometry Control7 Feb 2026
- 2026Surgery: Mitigating Harmful Fine-Tuning for Large Language Models via Attention Sink5 Feb 2026
- 2026Safeguarding LLM Fine-tuning via Push-Pull Distributional Alignment12 Jan 2026
- 2025Turning the Spell Around: Lightweight Alignment Amplification via Rank-One Safety Injection28 Aug 2025
- 2025Watch the Weights: Unsupervised monitoring and control of fine-tuned LLMs31 Jul 2025
Similar, not cited
Close in wording, no citation either way
- 2024Safety Layers in Aligned Large Language Models: The Key to LLM Security
- 2026Understanding and Preserving Safety in Fine-Tuned LLMs
- 2024Safety Alignment Should Be Made More Than Just a Few Tokens Deep
- 2025Advancing LLM Safe Alignment with Safety Representation Ranking
- 2025Fine-Tuning Lowers Safety and Disrupts Evaluation Consistency
- 2025AdversariaLLM: A Unified and Modular Toolbox for LLM Robustness Research
- 2026Safety at One Shot: Patching Fine-Tuned LLMs with A Single Instance
- 2025SafeTuneBed: A Toolkit for Benchmarking LLM Safety Alignment in Fine-Tuning