Skip to content

Prompt-based model tuning (MVP) makes NLP models more adversarially robustModel-tuning Via Prompts Makes NLP Models Adversarially Robust

arXiv· arXiv:2303.07320· Mrigank Raman, Pratyush Maini, J. Zico Kolter, Zachary C. Lipton, Danish Pruthi·Indexed by this site · 25 days ago· Originally publishedDefenses
AI summary

The prompt-tuning method MVP uses a prompt template plus text infilling to make predictions, replacing conventional MLP-head fine-tuning, and can significantly improve the adversarial robustness of NLP models. On 5 datasets, 4 adversarial attacks and 3 models, its adversarial replacement performance is on average 8% higher than standard fine-tuning and 3.5% higher than state-of-the-art adversarial training defenses. Combining it with adversarial training can further improve robustness; the ablation mainly attributes the fragility of MLP-FT to the mismatch between pretraining and fine-tuning tasks and to randomly initialized MLP parameters.

Read originalarxiv.org