mlsanityData to 7 Oct 2026

Setting the Trap: Capturing and Defeating Backdoors in Pretrained Language Models through Honeypots

arXiv 2310.18633 ↗First posted 28 Oct 2023cs.LG cs.AI cs.CLcited by 16

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

Abstract (arXiv)

In the field of natural language processing, the prevalent approach involves fine-tuning pretrained language models (PLMs) using local samples. Recent research has exposed the susceptibility of PLMs to backdoor attacks, wherein the adversaries can embed malicious prediction behaviors by manipulating a few training samples. In this study, our objective is to develop a backdoor-resistant tuning procedure that yields a backdoor-free model, no matter whether the fine-tuning dataset contains poisoned samples. To this end, we propose and integrate a honeypot module into the original PLM, specifically designed to absorb backdoor information exclusively. Our design is motivated by the observation that lower-layer representations in PLMs carry sufficient backdoor features while carrying minimal information about the original tasks. Consequently, we can impose penalties on the information acquired by the honeypot module to inhibit backdoor creation during the fine-tuning process of the stem network. Comprehensive experiments conducted on benchmark datasets substantiate the effectiveness and robustness of our defensive strategy. Notably, these results indicate a substantial reduction in the attack success rate ranging from 10% to 40% when compared to prior state-of-the-art methods.

Key facts. Cited by 16 papers in the map (data through 7 Oct 2026). Placed in Backdoor and data poisoning attacks, one of 12 directions in LLM safety and security. Builds on 32 of its 46 references that are in the map. First posted on arXiv 28 Oct 2023.

Builds on

32 of 46 references.

Closest ancestors · 8

Same direction, newest first

  1. 2023ChatGPT as an Attack Tool: Stealthy Textual Backdoor Attack via Blackbox Generative Model Trigger27 Apr
  2. 2023Backdoor Learning for NLP: Recent Advances, Challenges, and Future Research Directions14 Feb
  3. 2022Expose Backdoors on the Way: A Feature-Based Efficient Defense against Textual Backdoor Attacks14 Oct
  4. 2022A Unified Evaluation of Textual Backdoor Learning: Frameworks and Benchmarks17 Jun
  5. 2022Constrained Optimization with Dynamic Bound-scaling for Effective NLPBackdoor Defense11 Feb
  6. 2021RAP: Robustness-Aware Perturbations for Defending against Backdoor Attacks on NLP Models15 Oct
  7. 2021Mind the Style of Text! Adversarial and Backdoor Attacks Based on Text Style Transfer14 Oct
  8. 2021Hidden Killer: Invisible Textual Backdoor Attacks with Syntactic Trigger26 May

Other references · 24

  1. 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,266
  2. 2016Understanding intermediate layers using linear classifier probescited by 1,279
  3. 2018Generalized Cross Entropy Loss for Training Deep Neural Networks with Noisy Labelscited by 994
  4. 2020A Primer in BERTology: What we know about how BERT workscited by 807
  5. 2021Recent Advances in Natural Language Processing via Large Pre-Trained Language Models: A Surveycited by 457
  6. 2020Backdoor Learning: A Surveycited by 412
  7. 2020Weight Poisoning Attacks on Pre-trained Modelscited by 318
  8. 2019Predicting the Type and Target of Offensive Posts in Social Mediacited by 268
  9. 2021Anti-Backdoor Learning: Training Clean Models on Poisoned Datacited by 258
  10. 2020ONION: A Simple and Effective Defense Against Textual Backdoor Attackscited by 231
  11. 2019A backdoor attack against LSTM-based text classification systemscited by 214
  12. 2019Detecting AI Trojans Using Meta Neural Analysiscited by 192
12 more
  1. 2020Reformulating Unsupervised Style Transfer as Paraphrase Generationcited by 181
  2. 2021Measure and Improve Robustness in NLP Models: A Surveycited by 107
  3. 2020An Embarrassingly Simple Approach for Trojan Attack in Deep Neural Networkscited by 92
  4. 2020Mitigating backdoor attacks in LSTM-based Text Classification Systems by Backdoor Keyword Identificationcited by 80
  5. 2023Large Language Models Can be Lazy Learners: Analyze Shortcuts in In-Context Learningcited by 69
  6. 2019Design and Evaluation of a Multi-Domain Trojan Detection Method on Deep Neural Networkscited by 66
  7. 2021Fairness via Representation Neutralizationcited by 63
  8. 2022A Study of the Attention Abnormality in Trojaned BERTscited by 47
  9. 2021Generating Syntactically Controlled Paraphrases without Using Annotated Parallel Pairscited by 45
  10. 2022Few-Shot Backdoor Attacks on Visual Object Trackingcited by 35
  11. 2022Untargeted Backdoor Attack against Object Detectioncited by 28
  12. 2022Trap and Replace: Defending Backdoor Attacks by Trapping Them into an Easy-to-Replace Subnetworkcited by 12

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2023: 1; 2024: 5; 2025: 5; 2026: 5.

16 papers.

Sort:

By area: