mlsanityData to 7 Oct 2026

Shortcuts Arising from Contrast: Effective and Covert Clean-Label Attacks in Prompt-Based Learning

arXiv 2404.00461 ↗First posted 30 Mar 2024cs.LG cs.AI cs.CLcited by 0

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

Abstract (arXiv)

Prompt-based learning paradigm has demonstrated remarkable efficacy in enhancing the adaptability of pretrained language models (PLMs), particularly in few-shot scenarios. However, this learning paradigm has been shown to be vulnerable to backdoor attacks. The current clean-label attack, employing a specific prompt as a trigger, can achieve success without the need for external triggers and ensure correct labeling of poisoned samples, which is more stealthy compared to the poisoned-label attack, but on the other hand, it faces significant issues with false activations and poses greater challenges, necessitating a higher rate of poisoning. Using conventional negative data augmentation methods, we discovered that it is challenging to trade off between effectiveness and stealthiness in a clean-label setting. In addressing this issue, we are inspired by the notion that a backdoor acts as a shortcut and posit that this shortcut stems from the contrast between the trigger and the data utilized for poisoning. In this study, we propose a method named Contrastive Shortcut Injection (CSI), by leveraging activation values, integrates trigger design and data selection strategies to craft stronger shortcut features. With extensive experiments on full-shot and few-shot text classification tasks, we empirically validate CSI's high effectiveness and high stealthiness at low poisoning rates. Notably, we found that the two approaches play leading roles in full-shot and few-shot settings, respectively.

Key facts. No citing papers in the map yet (data through 7 Oct 2026). Placed in Backdoor and data poisoning attacks, one of 12 directions in LLM safety and security. Builds on 30 of its 39 references that are in the map. First posted on arXiv 30 Mar 2024.

Builds on

30 of 39 references.

Closest ancestors · 10

Same direction, newest first

  1. 2023PoisonPrompt: Backdoor Attack on Prompt-based Large Language Models19 Oct
  2. 2023Composite Backdoor Attacks Against Large Language Models11 Oct
  3. 2023NOTABLE: Transferable Backdoor Attacks Against Prompt-based NLP Models28 May
  4. 2023Prompt as Triggers for Backdoor Attack: Examining the Vulnerability in Language Models2 May
  5. 2022BadPrompt: Backdoor Attacks on Continuous Prompts27 Nov
  6. 2022Kallima: A Clean-label Framework for Textual Backdoor Attacks3 Jun
  7. 2021Triggerless Backdoor Attack for NLP Tasks with Clean Labels15 Nov
  8. 2021Textual Backdoor Attacks Can Be More Harmful via Two Simple Tricks15 Oct
  9. 2021Hidden Killer: Invisible Textual Backdoor Attacks with Syntactic Trigger26 May
  10. 2021Be Careful about Poisoned Word Embeddings: Exploring the Vulnerability of the Embedding Layers in NLP Models29 Mar

Other references · 20

  1. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  2. 2020Language Models are Few-Shot Learnerscited by 32,199
  3. 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,491
  4. 2021Prefix-Tuning: Optimizing Continuous Prompts for Generationcited by 3,878
  5. 2021The Power of Scale for Parameter-Efficient Prompt Tuningcited by 3,769
  6. 2021Pre-train, Prompt, and Predict: A Systematic Survey of Prompting Methods in Natural Language Processingcited by 2,222
  7. 2019Language Models as Knowledge Bases?cited by 1,922
  8. 2022Large Language Models Are Human-Level Prompt Engineerscited by 1,020
  9. 2020It's Not Just Size That Matters: Small Language Models Are Also Few-Shot Learnerscited by 668
  10. 2020Weight Poisoning Attacks on Pre-trained Modelscited by 318
  11. 2019Predicting the Type and Target of Offensive Posts in Social Mediacited by 268
  12. 2019A backdoor attack against LSTM-based text classification systemscited by 214
8 more
  1. 2021Unsupervised Corpus Aware Language Model Pre-training for Dense Passage Retrievalcited by 203
  2. 2020BadNL: Backdoor Attacks against NLP Models with Semantic-preserving Improvementscited by 191
  3. 2020Backdoor Attacks to Graph Neural Networkscited by 126
  4. 2021Backdoor Attacks on Pre-trained Models by Layerwise Weight Poisoningcited by 103
  5. 2022Exploring the Universal Vulnerability of Prompt-based Learning Paradigmcited by 56
  6. 2023TrojLLM: A Black-box Trojan Prompt Attack on Large Language Modelscited by 29
  7. 2023From Shortcuts to Triggers: Backdoor Defense with Denoised PoEcited by 26
  8. 2023Ladder-of-Thought: Using Knowledge as Steps to Elevate Stance Detectioncited by 4

Built on by

Not cited yet.