mlsanityData to 7 Oct 2026

On Robust Prefix-Tuning for Text Classification

arXiv 2203.10378 ↗First posted 19 Mar 2022cs.CL cs.AI cs.LGcited by 15

Not on the map. Why?

Abstract (arXiv)

Recently, prefix-tuning has gained increasing attention as a parameter-efficient finetuning method for large-scale pretrained language models. The method keeps the pretrained models fixed and only updates the prefix token parameters for each downstream task. Despite being lightweight and modular, prefix-tuning still lacks robustness to textual adversarial attacks. However, most currently developed defense techniques necessitate auxiliary model update and storage, which inevitably hamper the modularity and low storage of prefix-tuning. In this work, we propose a robust prefix-tuning framework that preserves the efficiency and modularity of prefix-tuning. The core idea of our framework is leveraging the layerwise activations of the language model by correctly-classified training data as the standard for additional prefix finetuning. During the test phase, an extra batch-level prefix is tuned for each batch and added to the original prefix for robustness enhancement. Extensive experiments on three text classification benchmarks show that our framework substantially improves robustness over several strong baselines against five textual attacks of different types while maintaining comparable accuracy on clean texts. We also interpret our robust prefix-tuning framework from the optimal control perspective and pose several directions for future research.

Key facts. Cited by 15 papers in the map (data through 7 Oct 2026). Builds on 68 of its 91 references that are in the map. First posted on arXiv 19 Mar 2022.

Builds on

68 of 91 references.

References · 68

  1. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  2. 2014Adam: A Method for Stochastic Optimizationcited by 36,960
  3. 2020Language Models are Few-Shot Learnerscited by 32,199
  4. 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,160
  5. 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,491
  6. 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,266
  7. 2017Towards Deep Learning Models Resistant to Adversarial Attackscited by 6,326
  8. 2019BART: Denoising Sequence-to-Sequence Pre-training for Natural Language Generation, Translation, and Comprehensioncited by 5,874
  9. 2019Parameter-Efficient Transfer Learning for NLPcited by 4,195
  10. 2021Prefix-Tuning: Optimizing Continuous Prompts for Generationcited by 3,878
  11. 2021The Power of Scale for Parameter-Efficient Prompt Tuningcited by 3,769
  12. 2019XLNet: Generalized Autoregressive Pretraining for Language Understandingcited by 2,801
38 more
  1. 2015Character-level Convolutional Networks for Text Classificationcited by 2,293
  2. 2018Deep contextualized word representationscited by 2,285
  3. 2021Pre-train, Prompt, and Predict: A Systematic Survey of Prompting Methods in Natural Language Processingcited by 2,222
  4. 2015A large annotated corpus for learning natural language inferencecited by 1,837
  5. 2020mT5: A massively multilingual pre-trained text-to-text transformercited by 1,813
  6. 2019Theoretically Principled Trade-off between Robustness and Accuracycited by 1,510
  7. 2020Making Pre-trained Language Models Better Few-shot Learnerscited by 1,255
  8. 2019Energy and Policy Considerations for Deep Learning in NLPcited by 1,242
  9. 2019How Can We Know What Language Models Know?cited by 953
  10. 2017Virtual Adversarial Training: A Regularization Method for Supervised and Semi-Supervised Learningcited by 918
  11. 2019Attention is not Explanationcited by 916
  12. 2020Quantifying Attention Flow in Transformerscited by 759
  13. 2019Universal Adversarial Triggers for Attacking and Analyzing NLPcited by 709
  14. 2021Multimodal Few-Shot Learning with Frozen Language Modelscited by 657
  15. 2019Attention is not not Explanationcited by 629
  16. 2018Generating Natural Language Adversarial Examplescited by 422
  17. 2021Unifying Vision-and-Language Tasks via Text Generationcited by 411
  18. 2019Is Attention Interpretable?cited by 387
  19. 2018TextBugger: Generating Adversarial Text Against Real-world Applicationscited by 376
  20. 2021Learning How to Ask: Querying LMs with Mixtures of Soft Promptscited by 376
  21. 2020BAE: BERT-based Adversarial Examples for Text Classificationcited by 316
  22. 2021Factual Probing Is [MASK]: Learning vs. Learning to Recallcited by 291
  23. 2018Adversarial Example Generation with Syntactically Controlled Paraphrase Networkscited by 282
  24. 2016Adversarial Training Methods for Semi-Supervised Text Classificationcited by 280
  25. 2019FreeLB: Enhanced Adversarial Training for Natural Language Understandingcited by 261
  26. 2019SMART: Robust and Efficient Fine-Tuning for Pre-trained Natural Language Models through Principled Regularized Optimizationcited by 253
  27. 2018The Natural Language Decathlon: Multitask Learning as Question Answeringcited by 235
  28. 2021WARP: Word-level Adversarial ReProgrammingcited by 220
  29. 2019Gender Bias in Contextualized Word Embeddingscited by 203
  30. 2021Knowledgeable Prompt-tuning: Incorporating Knowledge into Prompt Verbalizer for Text Classificationcited by 183
  31. 2019Certified Robustness to Adversarial Word Substitutionscited by 164
  32. 2019Combating Adversarial Misspellings with Robust Word Recognitioncited by 162
  33. 2019The Bottom-up Evolution of Representations in the Transformer: A Study with Machine Translation and Language Modeling Objectivescited by 139
  34. 2020Adversarial Training for Large Neural Language Modelscited by 109
  35. 2019Text Processing Like Humans Do: Visually Attacking and Shielding NLP Systemscited by 99
  36. 2020InfoBERT: Improving Robustness of Language Models from An Information Theoretic Perspectivecited by 92
  37. 2019Achieving Verified Robustness to Symbol Substitutions via Interval Bound Propagationcited by 87
  38. 2020OpenAttack: An Open-source Textual Adversarial Attack Toolkitcited by 84

50 most cited of 68 All 68 (JSON)

Built on by

Cited by year (2026 to 7 Oct)

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

15 papers.

Sort:

By area: