TrojFSP: Trojan Insertion in Few-shot Prompt Tuning
Not on the map. Why?
Abstract (arXiv)
Prompt tuning is one of the most effective solutions to adapting a fixed pre-trained language model (PLM) for various downstream tasks, especially with only a few input samples. However, the security issues, e.g., Trojan attacks, of prompt tuning on a few data samples are not well-studied. Transferring established data poisoning attacks directly to few-shot prompt tuning presents multiple challenges. One significant issue is the textitpoisoned imbalance issue, where non-target class samples are added to the target class, resulting in a greater number of target-class samples compared to non-target class. While this issue is not critical in regular tuning, it significantly hampers the few-shot prompt tuning, making it difficult to simultaneously achieve a high attack success rate (ASR) and maintain clean data accuracy (CDA). Additionally, few-shot prompting is prone to overfitting in terms of both ASR and CDA. In this paper, we introduce textitTrojFSP, a method designed to address the challenges. To solve the poisoned imbalance issue, we develop a textitTarget-Class Shrink (TC-Shrink) technique, which aims to equalize the number of poisoning samples. To combat overfitting, we employ a textitSelective Token Poisoning technique to boost attack performance. Furthermore, we introduce a textitTrojan-Trigger Attention objective function to amplify the attention of the poisoned trojan prompt on triggers. Experiments show that our TrojFSP achieves an ASR of over 99% while maintaining negligible decreases in CDA across various PLMs and datasets.
Key facts. Cited by 9 papers in the map (data through 7 Oct 2026). Builds on 22 of its 32 references that are in the map. First posted on arXiv 16 Dec 2023.
Builds on
22 of 32 references.
References · 22
- 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,491
- 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,266
- 2021The Power of Scale for Parameter-Efficient Prompt Tuningcited by 3,769
- 2017BadNets: Identifying Vulnerabilities in the Machine Learning Model Supply Chaincited by 1,052
- 2019How Can We Know What Language Models Know?cited by 953
- 2023DecodingTrust: A Comprehensive Assessment of Trustworthiness in GPT Modelscited by 505
- 2020BERTweet: A pre-trained language model for English Tweetscited by 346
- 2021Pre-Trained Models: Past, Present and Futurecited by 319
- 2018Large Scale Crowdsourcing and Characterization of Twitter Abusive Behaviorcited by 265
- 2020ONION: A Simple and Effective Defense Against Textual Backdoor Attackscited by 231
- 2021Hidden Killer: Invisible Textual Backdoor Attacks with Syntactic Triggercited by 203
- 2021Differentiable Prompt Makes Pre-trained Language Models Better Few-shot Learnerscited by 115
10 more
- 2021RAP: Robustness-Aware Perturbations for Defending against Backdoor Attacks on NLP Modelscited by 97
- 2021Template-free Prompt Tuning for Few-shot NERcited by 73
- 2022BadPrompt: Backdoor Attacks on Continuous Promptscited by 59
- 2023Detecting Backdoors in Pre-trained Encoderscited by 53
- 2023NOTABLE: Transferable Backdoor Attacks Against Prompt-based NLP Modelscited by 33
- 2023TrojText: Test-time Invisible Textual Trojan Insertioncited by 26
- 2023Backdoor Learning on Sequence to Sequence Modelscited by 19
- 2022PromptAttack: Prompt-based Attack for Language Models via Gradient Searchcited by 15
- 2022ESTAS: Effective and Stable Trojan Attacks in Self-supervised Encoders with One Target Unlabelled Samplecited by 9
- 2023PromptAttack: Probing Dialogue State Trackers with Adversarial Promptscited by 6
Built on by
Citing papers per year: 2024: 4; 2025: 4; 2026: 1.
9 papers.
- 2024BadRAG: Identifying Vulnerabilities in Retrieval Augmented Generation of Large Language Modelscited by 84
- 2025A Systematic Review of Poisoning Attacks Against Large Language Modelscited by 8
- 2024Jailbreaking LLMs with Arabic Transliteration and Arabizicited by 7
- 2024BadFair: Backdoored Fairness Attacks with Group-conditioned Triggerscited by 4
- 2025Evaluating the Robustness and Accuracy of Text Watermarking Under Real-World Cross-Lingual Manipulationscited by 4
- 2025Factuality Beyond Coherence: Evaluating LLM Watermarking Methods for Medical Textscited by 4
- 2024CR-UTP: Certified Robustness against Universal Text Perturbations on Large Language Modelscited by 1
- 2025MuTRAP: Multi-trigger Trojans Attacking Robot Task Planning Systemscited by 0
- 2026REALM: A Unified Red-Teaming Benchmark for Physical-World VLMscited by 0
- 2026REALM: A Unified Red-Teaming Benchmark for Physical-World VLMs22 Jun 2026
- 2025Factuality Beyond Coherence: Evaluating LLM Watermarking Methods for Medical Texts9 Sep 2025
- 2025A Systematic Review of Poisoning Attacks Against Large Language Models6 Jun 2025
- 2025MuTRAP: Multi-trigger Trojans Attacking Robot Task Planning Systems23 Apr 2025
- 2025Evaluating the Robustness and Accuracy of Text Watermarking Under Real-World Cross-Lingual Manipulations23 Feb 2025
- 2024BadFair: Backdoored Fairness Attacks with Group-conditioned Triggers23 Oct 2024
- 2024Jailbreaking LLMs with Arabic Transliteration and Arabizi26 Jun 2024
- 2024CR-UTP: Certified Robustness against Universal Text Perturbations on Large Language Models4 Jun 2024
- 2024BadRAG: Identifying Vulnerabilities in Retrieval Augmented Generation of Large Language Models3 Jun 2024