paper-with-me

홈 › Papers

Defense Against LLM Backdoors using Critical Neuron Isolation Pruning

2026-07-22 · Yuxi Li, Zhibo Zhang, Kailong Wang, Xingshuo Han, Ling Shi, Haoyu Wang 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.

📄 PDF Abstract BibTeX arXiv:2607.19894

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

Obliviate: Neutralizing Task-agnostic Backdoors within the Parameter-efficient Fine-tuning Paradigm

2024-09-21 · Jaehan Kim, Minkyoo Song, Seung Ho Na, Seungwon Shin

Parameter-efficient fine-tuning (PEFT) has become a key training strategy for large language models. However, its reliance on fewer trainable parameters poses security risks, such as task-agnostic backdoors. Despite thei…

backdoor defenseparameter-efficient fine-tuning

Nearest is Not Dearest: Towards Practical Defense against Quantization-conditioned Backdoor Attacks

2024-05-21 · CVPR 2024 1 · Boheng Li, Yishuo Cai, Haowei Li, Feng Xue 외

Model quantization is widely used to compress and accelerate deep neural networks. However, recent studies have revealed the feasibility of weaponizing model quantization via implanting quantization-conditioned backdoors…

Quantization

Backdoor Attacks Against Deep Learning Systems in the Physical World

2020-06-25 · CVPR 2021 1 · Emily Wenger, Josephine Passananti, Arjun Bhagoji, Yuanshun Yao 외

Backdoor attacks embed hidden malicious behaviors into deep learning models, which only activate and cause misclassifications on model inputs containing a specific trigger. Existing works on backdoor attacks and defenses…

Deep LearningTransfer Learning

Training with More Confidence: Mitigating Injected and Natural Backdoors During Training

2022-02-13 · Zhenting Wang, Hailun Ding, Juan Zhai, Shiqing Ma

The backdoor or Trojan attack is a severe threat to deep neural networks (DNNs). Researchers find that DNNs trained on benign data and settings can also learn backdoor behaviors, which is known as the natural backdoor. E…

Backdoor Attack

Magnitude-based Neuron Pruning for Backdoor Defens

2024-05-28 · Nan Li, Haoyu Jiang, Ping Yi

Deep Neural Networks (DNNs) are known to be vulnerable to backdoor attacks, posing concerning threats to their reliable deployment. Recent research reveals that backdoors can be erased from infected DNNs by pruning a spe…

backdoor defense