paper-with-me

홈 › Papers

Expose Backdoors on the Way: A Feature-Based Efficient Defense against Textual Backdoor Attacks

2022-10-14 · Sishuo Chen, Wenkai Yang, Zhiyuan Zhang, Xiaohan Bi, Xu sun

Natural language processing (NLP) models are known to be vulnerable to backdoor attacks, which poses a newly arisen threat to NLP models. Prior online backdoor defense methods for NLP models only focus on the anomalies at either the input or output level, still suffering from fragility to adaptive attacks and high computational cost. In this work, we take the first step to investigate the unconcealment of textual poisoned samples at the intermediate-feature level and propose a feature-based efficient online defense method. Through extensive experiments on existing attacking methods, we find that the poisoned samples are far away from clean samples in the intermediate feature space of a poisoned NLP model. Motivated by this observation, we devise a distance-based anomaly score (DAN) to distinguish poisoned samples from clean samples at the feature level. Experiments on sentiment analysis and offense detection tasks demonstrate the superiority of DAN, as it substantially surpasses existing online defense methods in terms of defending performance and enjoys lower inference costs. Moreover, we show that DAN is also resistant to adaptive attacks based on feature-level regularization. Our code is available at https://github.com/lancopku/DAN.

📄 PDF Abstract BibTeX arXiv:2210.07907

Code (1)

lancopku/dan 공식 구현 pytorch

Tasks

backdoor defenseSentiment Analysis

Similar Papers 제목 키워드 기반

AgentRAE: Remote Action Execution through Notification-based Visual Backdoors against Screenshots-based Mobile GUI Agents

2026-03-24 · Yutao Luo, Haotian Zhu, Shuchao Pang, Zhigang Lu 외 arxiv

The rapid adoption of mobile graphical user interface (GUI) agents, which autonomously control applications and operating systems (OS), exposes new system-level attack surfaces. Existing backdoors against web GUI agents …

Contrastive Learning

Hammer and Anvil: Toward a Theory of Backdoors in Federated Learning

2025-09-09 · Lucas Fenaux, Zheng Wang, Jacob Yan, Nathan Chung 외 arxiv

Federated Learning (FL) enables distributed model training but is vulnerable to backdoor attacks, where malicious clients embed attacker-controlled behaviors into the global model. Existing defenses fail against adaptive…

Federated LearningOutlier Detection

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

Defense Against LLM Backdoors using Critical Neuron Isolation Pruning

2026-07-22 · Yuxi Li, Zhibo Zhang, Kailong Wang, Xingshuo Han 외 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 ke…

Detecting Backdoors in Neural Networks Using Novel Feature-Based Anomaly Detection

2020-11-04 · Hao Fu, Akshaj Kumar Veldanda, Prashanth Krishnamurthy, Siddharth Garg 외

This paper proposes a new defense against neural network backdooring attacks that are maliciously trained to mispredict in the presence of attacker-chosen triggers. Our defense is based on the intuition that the feature …

Anomaly DetectionData Augmentation