mlsanityData to 13 Oct 2026

COVER: A Heuristic Greedy Adversarial Attack on Prompt-based Learning in Language Models

arXiv 2306.05659 ↗First posted 9 Jun 2023cs.CL cs.AIcited by 3

Not on the map. Why?

Abstract (arXiv)

Prompt-based learning has been proved to be an effective way in pre-trained language models (PLMs), especially in low-resource scenarios like few-shot settings. However, the trustworthiness of PLMs is of paramount significance and potential vulnerabilities have been shown in prompt-based templates that could mislead the predictions of language models, causing serious security concerns. In this paper, we will shed light on some vulnerabilities of PLMs, by proposing a prompt-based adversarial attack on manual templates in black box scenarios. First of all, we design character-level and word-level heuristic approaches to break manual templates separately. Then we present a greedy algorithm for the attack based on the above heuristic destructive approaches. Finally, we evaluate our approach with the classification tasks on three variants of BERT series models and eight datasets. And comprehensive experimental results justify the effectiveness of our approach in terms of attack success rate and attack speed.

Key facts. Cited by 3 papers in the map (data through 13 Oct 2026). Builds on 18 of its 20 references that are in the map. First posted on arXiv 9 Jun 2023.

Builds on

18 of 20 references.

References · 18

  1. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,304
  2. 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,322
  3. 2018GLUE: A Multi-Task Benchmark and Analysis Platform for Natural Language Understandingcited by 4,880
  4. 2021Pre-train, Prompt, and Predict: A Systematic Survey of Prompting Methods in Natural Language Processingcited by 2,229
  5. 2017Decoupled Weight Decay Regularizationcited by 1,788
  6. 2020Making Pre-trained Language Models Better Few-shot Learnerscited by 1,255
  7. 2020Exploiting Cloze Questions for Few Shot Text Classification and Natural Language Inferencecited by 935
  8. 2021GPT Understands, Toocited by 716
  9. 2020It's Not Just Size That Matters: Small Language Models Are Also Few-Shot Learnerscited by 668
  10. 2023A Prompt Pattern Catalog to Enhance Prompt Engineering with ChatGPTcited by 616
  11. 2021Pre-Trained Models: Past, Present and Futurecited by 319
  12. 2021PTR: Prompt Tuning with Rules for Text Classificationcited by 238
6 more
  1. 2021Mind the Style of Text! Adversarial and Backdoor Attacks Based on Text Style Transfercited by 158
  2. 2022Why Should Adversarial Perturbations be Imperceptible? Rethink the Research Paradigm in Adversarial NLPcited by 101
  3. 2022Exploring the Universal Vulnerability of Prompt-based Learning Paradigmcited by 57
  4. 2022SemAttack: Natural Textual Attacks via Different Semantic Spacescited by 42
  5. 2022Query-Efficient and Scalable Black-Box Adversarial Attacks on Discrete Sequential Data via Bayesian Optimizationcited by 22
  6. 2022PromptAttack: Prompt-based Attack for Language Models via Gradient Searchcited by 15

Built on by

Cited by year

Citing papers per year: 2023: 1; 2024: 2.

3 papers.