AI Paper Atlas

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

EMNLP 2023 · Adversarial robustness and security › Certified and empirical robustness · approach: Adversarial training with feature consistency · 17 citations (OpenAlex) · Carnegie Mellon University, Indian Institute of Science

Read the paper

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 changedWhereMeasuredEffect
tune via prompts (MVP) instead of MLP headRoBERTa-base · BoolQ TextFoolerrobust accuracy: 28.2 -> 42.9Improved
add single-step adversarial training to MVPMVP · BoolQ TextFoolerrobust accuracy: 42.9 -> 52.2Improved
increase number of prompt templates from 1 to 4 (ablation)MVP · BoolQ TextFoolerrobust accuracy: 35.9 -> 42.9Improved
use 4 candidate answers per class instead of class label (ablation)MVP (4 templates) · BoolQ TextFoolerrobust accuracy: 42.9 -> 46.1Improved
remove random MLP layer (ProjectCLS) (ablation)MLP-FT · BoolQ TextFoolerrobust accuracy: 28.2 -> 37.4Improved
read candidate probabilities at CLS (no random head) (ablation)MLP-FT · BoolQ TextFoolerrobust accuracy: 28.2 -> 36.5Improved
linear-probe then fine-tune (LPFT) (ablation)MLP-FT · BoolQ TextFoolerrobust accuracy: 28.2 -> 37.5Improved
remove pre-training (untrained model) (ablation)MVP · BoolQ TextFoolerrobust accuracy: 42.9 -> 11.7Hurt
replace semantically related candidates by random names (ablation)MVP · BoolQ TextFoolerrobust accuracy: 42.9 -> 42.1No clear effect
use empty or random templates (ablation)MVP · BoolQ/AG Newsrobust accuracyNo clear effect
tune via prompts (MVP) vs MLP-FT on GPT-2GPT-2 · BoolQ clean accuracyaccuracy: 61.0 -> 72.5Improved
tune via prompts (MVP) vs MLP-FT on OOD sentimentRoBERTa · OOD sentiment avgaccuracy: 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.

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

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.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy