mlsanityData to 14 Oct 2026

Defense Against LLM Backdoors using Critical Neuron Isolation Pruning

arXiv 2607.19894 ↗First posted 22 Jul 2026cs.CR cs.AIcited by 0

On the map: LLM safety and security → Backdoor and data poisoning attacks

Abstract (arXiv)

Large language models (LLMs) are vulnerable to backdoor attacks, where hidden triggers induce malicious outputs. Existing defenses generally fall into inference-time detection or training-time mitigation, but face two key limitations. First, they focus on fine-tuning-based backdoors (e.g., PEFT modules) and fail to address insidious model-editing attacks that bypass training pipelines. Second, they target simple classification settings and do not naturally extend to open-ended LLM generation and do not naturally extend to the open-ended generation characteristics of LLMs. Consequently, these methods focus on surface-level behavioral patterns while neglecting the deeper representational causes of malicious activations. This lack of mechanistic understanding forces defenses to depend on empirical heuristics, limiting their robustness, generality, and practical applicability in real-world LLM deployment. To bridge this gap, we introduce DeCNIP (Defense with Critical Neuron Isolation Pruning), which leverages representational analysis to identify and neutralize backdoors in a unified pipeline. Specifically, DeCNIP identifies trigger-like behaviors by optimizing a cross-entropy loss between harmful prompts with candidate tokens and benign inputs. This representational discovery exposes latent threats by uncovering mechanisms through which triggers hijack model weights. It then isolates Backdoor Critical Neurons (BCNs) and prunes them selectively to remove malicious influence while preserving model utility. Extensive evaluations on six open-source LLMs and two benchmark datasets demonstrate that DeCNIP achieves over 95% relative reduction in Attack Success Rate (ASR), outperforming seven state-of-the-art defenses with only 0.1% neuron intervention. Moreover, it maintains 97% of the model's performance on normal benchmarks, demonstrating its efficacy, robustness, and scalability.

Key facts. No citing papers in the map yet (data through 14 Oct 2026). Placed in Backdoor and data poisoning attacks, one of 12 directions in LLM safety and security. Builds on 28 of its 45 references that are in the map. First posted on arXiv 22 Jul 2026.

Builds on

28 of 45 references.

Closest ancestors · 7

Same direction, newest first

  1. 2025P2P: A Poison-to-Poison Remedy for Reliable Backdoor Defense in LLMs6 Oct
  2. 2025Pruning Strategies for Backdoor Defense in LLMs27 Aug
  3. 2024CROW: Eliminating Backdoors from Large Language Models via Internal Consistency Regularization18 Nov
  4. 2024Simulate and Eliminate: Revoke Backdoors for Generative Large Language Models13 May
  5. 2024BadEdit: Backdooring large language models by model editing20 Mar
  6. 2024Sleeper Agents: Training Deceptive LLMs that Persist Through Safety Training10 Jan
  7. 2023Backdooring Instruction-Tuned Large Language Models with Virtual Prompt Injection31 Jul

Other references · 21

  1. 2024The Llama 3 Herd of Modelscited by 14,715
  2. 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 13,028
  3. 2023Judging LLM-as-a-Judge with MT-Bench and Chatbot Arenacited by 8,626
  4. 2023Universal and Transferable Adversarial Attacks on Aligned Language Modelscited by 3,104
  5. 2024HarmBench: A Standardized Evaluation Framework for Automated Red Teaming and Robust Refusalcited by 1,429
  6. 2024Refusal in Language Models Is Mediated by a Single Directioncited by 1,032
  7. 2022In-context Learning and Induction Headscited by 964
  8. 2023Safety-Tuned LLaMAs: Lessons From Improving the Safety of Large Language Models that Follow Instructionscited by 387
  9. 2021Neural Attention Distillation: Erasing Backdoor Triggers from Deep Neural Networkscited by 324
  10. 2020ONION: A Simple and Effective Defense Against Textual Backdoor Attackscited by 263
  11. 2021Adversarial Neuron Pruning Purifies Backdoored Deep Modelscited by 235
  12. 2024What Makes and Breaks Safety Fine-tuning? A Mechanistic Studycited by 55
9 more
  1. 2022Learning Best Combination for Efficient N:M Sparsitycited by 32
  2. 2024Competition Report: Finding Universal Jailbreak Backdoors in Aligned LLMscited by 28
  3. 2018QuSecNets: Quantization-based Defense Mechanism for Securing Deep Neural Network against Adversarial Attackscited by 21
  4. 2025Do LLMs Give Psychometrically Plausible Responses in Educational Assessments?cited by 14
  5. 2024Obliviate: Neutralizing Task-agnostic Backdoors within the Parameter-efficient Fine-tuning Paradigmcited by 9
  6. 2024DPPA: Pruning Method for Large Language Model to Model Mergingcited by 7
  7. 2025Opportunities and Challenges of LLMs in Education: An NLP Perspectivecited by 6
  8. 2025Benchmarking Ethical and Safety Risks of Healthcare LLMs in China-Toward Systemic Governance under Healthy China 2030cited by 2
  9. 2025MedicalOS: An LLM Agent based Operating System for Digital Healthcarecited by 1

Built on by

Not cited yet.

Similar, not cited

Close in wording, no citation either way

  1. 2026Merging Triggers, Breaking Backdoors: Defensive Poisoning for Instruction-Tuned Language Models
  2. 2026Purifying Generative LLMs from Backdoors without Prior Knowledge or Clean Reference
  3. 2026Backdoor Unlearning Generalization: A Path Toward the Removal of Unknown Triggers in LLMs
  4. 2026Dummy Backdoor as a Defense: Removing Unknown Backdoors via Shared Internal Mechanisms for Generative LLMs
  5. 2026Language Triggers Hijack Language Circuits: A Mechanistic Analysis of Backdoor Behaviors in Large Language Models
  6. 2025From Poisoned to Aware: Fostering Backdoor Self-Awareness in LLMs
  7. 2025CTRAP: Embedding Collapse Trap to Safeguard Large Language Models from Harmful Fine-Tuning
  8. 2024Mitigating Backdoor Threats to Large Language Models: Advancement and Challenges