Research map / Adversarial robustness and security / Certified and empirical robustness
Model-tuning Via Prompts Makes NLP Models Adversarially Robust
Mrigank Raman, Pratyush Maini, Zico Kolter, Zachary C. Lipton, Danish Pruthi
AI-extracted. The measured effects below were read by AI from the paper's full text (no summary yet). Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.
Measured effects reported in the paper
| What was changed | Where | Measured | Effect |
|---|---|---|---|
| tune via prompts (MVP) instead of MLP head | RoBERTa-base · BoolQ TextFooler | robust accuracy: 28.2 -> 42.9 | Improved |
| add single-step adversarial training to MVP | MVP · BoolQ TextFooler | robust accuracy: 42.9 -> 52.2 | Improved |
| increase number of prompt templates from 1 to 4 (ablation) | MVP · BoolQ TextFooler | robust accuracy: 35.9 -> 42.9 | Improved |
| use 4 candidate answers per class instead of class label (ablation) | MVP (4 templates) · BoolQ TextFooler | robust accuracy: 42.9 -> 46.1 | Improved |
| remove random MLP layer (ProjectCLS) (ablation) | MLP-FT · BoolQ TextFooler | robust accuracy: 28.2 -> 37.4 | Improved |
| read candidate probabilities at CLS (no random head) (ablation) | MLP-FT · BoolQ TextFooler | robust accuracy: 28.2 -> 36.5 | Improved |
| linear-probe then fine-tune (LPFT) (ablation) | MLP-FT · BoolQ TextFooler | robust accuracy: 28.2 -> 37.5 | Improved |
| remove pre-training (untrained model) (ablation) | MVP · BoolQ TextFooler | robust accuracy: 42.9 -> 11.7 | Hurt |
| replace semantically related candidates by random names (ablation) | MVP · BoolQ TextFooler | robust accuracy: 42.9 -> 42.1 | No clear effect |
| use empty or random templates (ablation) | MVP · BoolQ/AG News | robust accuracy | No clear effect |
| tune via prompts (MVP) vs MLP-FT on GPT-2 | GPT-2 · BoolQ clean accuracy | accuracy: 61.0 -> 72.5 | Improved |
| tune via prompts (MVP) vs MLP-FT on OOD sentiment | RoBERTa · OOD sentiment avg | accuracy: about +2% (89.65 for MVP) | Improved |
Earlier methods this paper compares with
Named baselines from earlier accepted papers in this paper's results tables: better than 1 of 1 on most shared results.
- InfoBERT — InfoBERT: Improving Robustness of Language Models from An Information Theoretic Perspective (ICLR 2021) · better on 3 of 3 shared results
Matched by method name in results tables read by AI. Authors' own tables tend to favour the newer method, and a comparison can be missed when a method is renamed.
Closest papers by meaning
- One Prompt Word is Enough to Boost Adversarial Robustness for Pre-trained Vision-Language Models (CVPR 2024 · similarity 0.91)
- Fight Back Against Jailbreaking via Prompt Adversarial Tuning (NeurIPS 2024 · similarity 0.89)
- An LLM can Fool Itself: A Prompt-Based Adversarial Attack (ICLR 2024 · similarity 0.89)
- AdvPrompter: Fast Adaptive Adversarial Prompting for LLMs (ICML 2025 · similarity 0.88)
- R-TPT: Improving Adversarial Robustness of Vision-Language Models through Test-Time Prompt Tuning (CVPR 2025 · similarity 0.88)
- Evaluating the Zero-shot Robustness of Instruction-tuned Language Models (ICLR 2024 · similarity 0.88)
Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.
