mlsanityData to 14 Oct 2026

NLSR: Neuron-Level Safety Realignment of Large Language Models Against Harmful Fine-Tuning

arXiv 2412.12497 ↗First posted 17 Dec 2024cs.CLcited by 37

On the map: LLM alignment / RLHF / preference optimisation → Safety alignment and jailbreak attacks

Abstract (arXiv)

The emergence of finetuning-as-a-service has revealed a new vulnerability in large language models (LLMs). A mere handful of malicious data uploaded by users can subtly manipulate the finetuning process, resulting in an alignment-broken model. Existing methods to counteract fine-tuning attacks typically require substantial computational resources. Even with parameter-efficient techniques like LoRA, gradient updates remain essential. To address these challenges, we propose Neuron-Level Safety Realignment (NLSR), a training-free framework that restores the safety of LLMs based on the similarity difference of safety-critical neurons before and after fine-tuning. The core of our framework is first to construct a safety reference model from an initially aligned model to amplify safety-related features in neurons. We then utilize this reference model to identify safety-critical neurons, which we prepare as patches. Finally, we selectively restore only those neurons that exhibit significant similarity differences by transplanting these prepared patches, thereby minimally altering the fine-tuned model. Extensive experiments demonstrate significant safety enhancements in fine-tuned models across multiple downstream tasks, while greatly maintaining task-level accuracy. Our findings suggest regions of some safety-critical neurons show noticeable differences after fine-tuning, which can be effectively corrected by transplanting neurons from the reference model without requiring additional training. The code will be available at urlhttps://github.com/xinykou/NLSR

Key facts. Cited by 37 papers in the map (data through 14 Oct 2026). Placed in Safety alignment and jailbreak attacks, one of 10 directions in LLM alignment / RLHF / preference optimisation. Builds on 22 of its 34 references that are in the map. First posted on arXiv 17 Dec 2024.

Builds on

22 of 34 references.

Closest ancestors · 7

Same direction, newest first

  1. 2024Harmful Fine-tuning Attacks and Defenses for Large Language Models: A Survey26 Sep
  2. 2024Antidote: Post-fine-tuning Safety Alignment for Large Language Models against Harmful Fine-tuning18 Aug
  3. 2024Safety Alignment Should Be Made More Than Just a Few Tokens Deep10 Jun
  4. 2024Lisa: Lazy Safety Alignment for Large Language Models against Harmful Fine-tuning Attack28 May
  5. 2024Assessing the Brittleness of Safety Alignment via Pruning and Low-Rank Modifications7 Feb
  6. 2023Shadow Alignment: The Ease of Subverting Safely-Aligned Language Models4 Oct
  7. 2023BeaverTails: Towards Improved Safety Alignment of LLM via a Human-Preference Dataset10 Jul

Other references · 15

  1. 2022Training language models to follow instructions with human feedbackcited by 15,971
  2. 2021Training Verifiers to Solve Math Word Problemscited by 10,109
  3. 2023Direct Preference Optimization: Your Language Model is Secretly a Reward Modelcited by 8,065
  4. 2017Deep reinforcement learning from human preferencescited by 3,912
  5. 2015Character-level Convolutional Networks for Text Classificationcited by 2,330
  6. 2024SimPO: Simple Preference Optimization with a Reference-Free Rewardcited by 963
  7. 2018SNIP: Single-shot Network Pruning based on Connection Sensitivitycited by 812
  8. 2024tinyBenchmarks: evaluating LLMs with fewer examplescited by 310
  9. 2023Poisoning Language Models During Instruction Tuningcited by 269
  10. 2024What is in Your Safe Data? Identifying Benign Data that Breaks Safetycited by 118
  11. 2023On the Exploitability of Instruction Tuningcited by 116
  12. 2024DELLA-Merging: Reducing Interference in Model Merging through Magnitude-Based Samplingcited by 81
3 more
  1. 2024BEEAR: Embedding-based Adversarial Removal of Safety Backdoors in Instruction-tuned Language Modelscited by 58
  2. 2024What does the Knowledge Neuron Thesis Have to do with Knowledge?cited by 49
  3. 2024Model Extrapolation Expedites Alignmentcited by 37

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2025: 20; 2026: 17.

37 papers.

Sort:

By area:

  1. 2025A Comprehensive Survey in LLM(-Agent) Full Stack Safety: Data, Training and Deploymentcited by 116
  2. 2025Benign Samples Matter! Fine-tuning On Outlier Benign Samples Severely Breaks Safetycited by 22
  3. 2025Panacea: Mitigating Harmful Fine-tuning for Large Language Models via Post-fine-tuning Perturbationcited by 20
  4. 2025Why LLM Safety Guardrails Collapse After Fine-tuning: A Similarity Analysis Between Alignment and Fine-tuning Datasetscited by 20
  5. 2025TwinBreak: Jailbreaking LLM Security Alignments based on Twin Promptscited by 19
  6. 2025Investigating the Impact of Quantization Methods on the Safety and Reliability of Large Language Modelscited by 18
  7. 2025Safe Delta: Consistently Preserving Safety when Fine-Tuning LLMs on Diverse Datasetscited by 18
  8. 2025SAFEx: Analyzing Vulnerabilities of MoE-Based LLMs via Stable Safety-critical Expert Identificationcited by 18
  9. 2025CTRAP: Embedding Collapse Trap to Safeguard Large Language Models from Harmful Fine-Tuningcited by 11
  10. 2025Gradient Surgery for Safe LLM Fine-Tuningcited by 11
  11. 2025Reshaping Representation Space to Balance the Safety and Over-rejection in Large Audio Language Modelscited by 7
  12. 2025Why Safeguarded Ships Run Aground? Aligned Large Language Models' Safety Mechanisms Tend to Be Anchored in The Template Regioncited by 6
25 more
  1. 2025No, of Course I Can! Deeper Fine-Tuning Attacks That Bypass Token-Level Safety Mechanismscited by 6
  2. 2025Safety Subspaces are Not Linearly Distinct: A Fine-Tuning Case Studycited by 6
  3. 2025When Style Breaks Safety: Defending LLMs Against Superficial Style Alignmentcited by 6
  4. 2025Unified Defense for Large Language Models against Jailbreak and Fine-Tuning Attacks in Educationcited by 5
  5. 2026Q-realign: Piggybacking Realignment on Quantization for Safe and Efficient LLM Deploymentcited by 5
  6. 2025Alignment-Constrained Dynamic Pruning for LLMs: Identifying and Preserving Alignment-Critical Circuitscited by 4
  7. 2026Surgery: Mitigating Harmful Fine-Tuning for Large Language Models via Attention Sinkcited by 4
  8. 2026Few Tokens, Big Leverage: Preserving Safety Alignment by Constraining Safety Tokens during Fine-tuningcited by 4
  9. 2026SafeSeek: Universal Attribution of Safety Circuits in Language Modelscited by 4
  10. 2026Preventing Safety Drift in Large Language Models via Coupled Weight and Activation Constraintscited by 4
  11. 2025Fine-Tuned LLMs Know They Don't Know: A Parameter-Efficient Approach to Recovering Honestycited by 3
  12. 2025Safety-Aligned Weights Are Not Enough: Refusal-Teacher-Guided Finetuning Enhances Safety and Downstream Performance under Harmful Finetuning Attackscited by 2
  13. 2025Multi-Level Safety Continual Projection for Fine-Tuned Large Language Models without Retrainingcited by 2
  14. 2026Lingua-SafetyBench: A Benchmark for Safety Evaluation of Multilingual Vision-Language Modelscited by 2
  15. 2026Fail-Closed Alignment for Large Language Modelscited by 2
  16. 2026Beyond Creed: A Non-Identity Safety Condition A Strong Empirical Alternative to Identity Framing in Low-Data LoRA Fine-Tuningcited by 1
  17. 2026Security in the Fine-Tuning Lifecycle of Large Language Models: Threats, Defenses,Evaluation, and Future Directionscited by 1
  18. 2026Alignment-Aware Model Adaptation via Feedback-Guided Optimizationcited by 0
  19. 2026Can LLM Safety Be Ensured by Constraining Parameter Regions?cited by 0
  20. 2026From Insight to Action: A Novel Framework for Interpretability-Guided Data Selection in Large Language Modelscited by 0
  21. 2026Safety Anchor: Defending Harmful Fine-tuning via Geometric Bottleneckscited by 0
  22. 2026GradShield: Alignment Preserving Finetuningcited by 0
  23. 2026Jailbreak to Protect: Buffering and Reinforcing via Temporary Jailbreaking for Safe Fine-Tuning in Large Language Modelscited by 0
  24. 2026SafeTune: A Unified Faithful Library for Auditing and Repairing Safety Drift in Fine-Tuned LLMscited by 0
  25. 2026SafeEvo: Deciphering the Safety Alignment Mechanism and Evolution in Language Modelscited by 0

Similar, not cited

Close in wording, no citation either way

  1. 2025NeuRel-Attack: Neuron Relearning for Safety Disalignment in Large Language Models
  2. 2026NeST: Neuron Selective Tuning for LLM Safety
  3. 2026SafeNeuron: Neuron-Level Safety Alignment for Large Language Models
  4. 2025NeuroStrike: Neuron-Level Attacks on Aligned LLMs
  5. 2025NeuronTune: Fine-Grained Neuron Modulation for Balanced Safety-Utility Alignment in LLMs
  6. 2025SafeMERGE: Preserving Safety Alignment in Fine-Tuned Large Language Models via Selective Layer-Wise Model Merging
  7. 2026Safety at One Shot: Patching Fine-Tuned LLMs with A Single Instance
  8. 2026Understanding and Preserving Safety in Fine-Tuned LLMs