mlsanityData to 14 Oct 2026

textitLinkPrompt: Natural and Universal Adversarial Attacks on Prompt-based Language Models

arXiv 2403.16432 ↗First posted 25 Mar 2024cs.CL cs.AIcited by 3

Not on the map. Why?

Abstract (arXiv)

Prompt-based learning is a new language model training paradigm that adapts the Pre-trained Language Models (PLMs) to downstream tasks, which revitalizes the performance benchmarks across various natural language processing (NLP) tasks. Instead of using a fixed prompt template to fine-tune the model, some research demonstrates the effectiveness of searching for the prompt via optimization. Such prompt optimization process of prompt-based learning on PLMs also gives insight into generating adversarial prompts to mislead the model, raising concerns about the adversarial vulnerability of this paradigm. Recent studies have shown that universal adversarial triggers (UATs) can be generated to alter not only the predictions of the target PLMs but also the prediction of corresponding Prompt-based Fine-tuning Models (PFMs) under the prompt-based learning paradigm. However, UATs found in previous works are often unreadable tokens or characters and can be easily distinguished from natural texts with adaptive defenses. In this work, we consider the naturalness of the UATs and develop textitLinkPrompt, an adversarial attack algorithm to generate UATs by a gradient-based beam search algorithm that not only effectively attacks the target PLMs and PFMs but also maintains the naturalness among the trigger tokens. Extensive results demonstrate the effectiveness of textitLinkPrompt, as well as the transferability of UATs generated by textitLinkPrompt to open-sourced Large Language Model (LLM) Llama2 and API-accessed LLM GPT-3.5-turbo. The resource is available at hrefhttps://github.com/SavannahXu79/LinkPrompthttps://github.com/SavannahXu79/LinkPrompt.

Key facts. Cited by 3 papers in the map (data through 14 Oct 2026). Builds on 32 of its 44 references that are in the map. First posted on arXiv 25 Mar 2024.

Builds on

32 of 44 references.

References · 32

  1. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
  2. 2020Language Models are Few-Shot Learnerscited by 32,419
  3. 2021LoRA: Low-Rank Adaptation of Large Language Modelscited by 14,380
  4. 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,372
  5. 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 13,028
  6. 2014Explaining and Harnessing Adversarial Examplescited by 7,364
  7. 2013Intriguing properties of neural networkscited by 5,155
  8. 2018GLUE: A Multi-Task Benchmark and Analysis Platform for Natural Language Understandingcited by 4,899
  9. 2021Finetuned Language Models Are Zero-Shot Learnerscited by 3,780
  10. 2016Pointer Sentinel Mixture Modelscited by 3,096
  11. 2021An Explanation of In-context Learning as Implicit Bayesian Inferencecited by 938
  12. 2022Super-NaturalInstructions: Generalization via Declarative Instructions on 1600+ NLP Taskscited by 868
20 more
  1. 2019Universal Adversarial Triggers for Attacking and Analyzing NLPcited by 722
  2. 2020It's Not Just Size That Matters: Small Language Models Are Also Few-Shot Learnerscited by 669
  3. 2021Multimodal Few-Shot Learning with Frozen Language Modelscited by 661
  4. 2018Universal Sentence Encodercited by 489
  5. 2022RLPrompt: Optimizing Discrete Text Prompts with Reinforcement Learningcited by 366
  6. 2020Weight Poisoning Attacks on Pre-trained Modelscited by 341
  7. 2020ONION: A Simple and Effective Defense Against Textual Backdoor Attackscited by 263
  8. 2021Adversarial GLUE: A Multi-Task Benchmark for Robustness Evaluation of Language Modelscited by 232
  9. 2021How Many Data Points is a Prompt Worth?cited by 198
  10. 2021Cutting Down on Prompts and Parameters: Simple Few-Shot Learning with Language Modelscited by 139
  11. 2021Differentiable Prompt Makes Pre-trained Language Models Better Few-shot Learnerscited by 115
  12. 2021Improving and Simplifying Pattern Exploiting Trainingcited by 97
  13. 2021Language Models are Few-shot Multilingual Learnerscited by 92
  14. 2020Universal Adversarial Attacks with Natural Triggers for Text Classificationcited by 51
  15. 2020Generating Label Cohesive and Well-Formed Adversarial Claimscited by 27
  16. 2020Generating Natural Language Adversarial Examples on a Large Scale with Generative Modelscited by 15
  17. 2022PromptAttack: Prompt-based Attack for Language Models via Gradient Searchcited by 15
  18. 2017Satirical News Detection and Analysis using Attention Mechanism and Linguistic Featurescited by 14
  19. 2022A Prompting-based Approach for Adversarial Example Generation and Robustness Enhancementcited by 12
  20. 2023COVER: A Heuristic Greedy Adversarial Attack on Prompt-based Learning in Language Modelscited by 3

Built on by

Cited by year

Citing papers per year: 2025: 3.

3 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2022Exploring the Universal Vulnerability of Prompt-based Learning Paradigm
  2. 2024AdvPrompter: Fast Adaptive Adversarial Prompting for LLMs
  3. 2023PromptRobust: Towards Evaluating the Robustness of Large Language Models on Adversarial Prompts
  4. 2025OET: Optimization-based prompt injection Evaluation Toolkit
  5. 2024Fight Back Against Jailbreaking via Prompt Adversarial Tuning
  6. 2026RECAP: A Resource-Efficient Method for Adversarial Prompting in Large Language Models
  7. 2024One Prompt Word is Enough to Boost Adversarial Robustness for Pre-trained Vision-Language Models
  8. 2024Adversarial Tuning: Defending Against Jailbreak Attacks for LLMs