ROSE: Robust Selective Fine-tuning for Pre-trained Language Models
Lan Jiang, Hao Zhou, Yankai Lin, Peng Li, Jie Zhou, Rui Jiang
摘要
Even though the large-scale language models have achieved excellent performances, they suffer from various adversarial attacks. A large body of defense methods has been proposed. However, they are still limited due to redundant attack search spaces and the inability to defend against various types of attacks. In this work, we present a novel fine-tuning approach called RObust SEletive fine-tuning (ROSE) to address this issue. ROSE conducts selective updates when adapting pre-trained models to downstream tasks, filtering out invaluable and unrobust updates of parameters. Specifically, we propose two strategies: the first-order and second-order ROSE for selecting target robust parameters. The experimental results show that ROSE achieves significant improvements in adversarial robustness on various downstream NLP tasks, and the ensemble method even surpasses both variants above. Furthermore, ROSE can be easily incorporated into existing fine-tuning methods to improve their adversarial robustness further. The empirical analysis confirms that ROSE eliminates unrobust spurious updates during fine-tuning, leading to solutions corresponding to flatter and wider optima than the conventional method. Code is available at https: //github.com/jiangllan/ROSE .
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 3 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Evaluating Concurrent Robustness of Language Models Across Diverse Challenge Sets 引用了 Adversarial NLI: A New Benchmark for Natural Language Understanding
- Don't Retrain, Just Rewrite: Countering Adversarial Perturbations by Rewriting Text 引用了 Is BERT Really Robust? A Strong Baseline for Natural Language Attack on Text Classification and Entailment
- SimCSE: Simple Contrastive Learning of Sentence Embeddings 引用了 Adversarial NLI: A New Benchmark for Natural Language Understanding
引用它的顶会 Paper3
- Don't Retrain, Just Rewrite: Countering Adversarial Perturbations by Rewriting TextAshim Gupta, Carter Wood Blum, Temma Choji, Yingjie Fei 等ACL 2023 · 7 次引用
- Evaluating Concurrent Robustness of Language Models Across Diverse Challenge SetsVatsal Gupta, Pranshu Pandya, Tushar Kataria, Vivek Gupta 等EMNLP 2024 · 1 次引用
- Analyzing and Reducing the Performance Gap in Cross-Lingual Transfer with Fine-tuning Slow and FastYiduo Guo, Yaobo Liang, Dongyan Zhao, Bing Liu 等ACL 2023
它引用的 Paper21
- SimCSE: Simple Contrastive Learning of Sentence EmbeddingsTianyu Gao, Xingcheng Yao, Danqi ChenEMNLP 2021 · 2,496 次引用
- Is BERT Really Robust? A Strong Baseline for Natural Language Attack on Text Classification and EntailmentDi Jin, Zhijing Jin, Joey Tianyi Zhou, Peter SzolovitsAAAI 2020 · 1,333 次引用
- R-Drop: Regularized Dropout for Neural NetworksXiaobo Liang, Lijun Wu, Juntao Li, Yue Wang 等NeurIPS 2021 · 610 次引用
- Adversarial NLI: A New Benchmark for Natural Language UnderstandingYixin Nie, Adina Williams, Emily Dinan, Mohit Bansal 等ACL 2020 · 602 次引用
- FreeLB: Enhanced Adversarial Training for Natural Language UnderstandingChen Zhu, Yu Cheng, Zhe Gan, Siqi Sun 等ICLR 2020 · 502 次引用
相关 Paper
- RoAST: Robustifying Language Models via Adversarial Perturbation with Selective TrainingJaehyung Kim, Yuning Mao, Rui Hou, Hanchao Yu 等EMNLP Findings 2023 · 3 次引用
- How Should Pre-Trained Language Models Be Fine-Tuned Towards Adversarial Robustness?Xinshuai Dong, Anh Tuan Luu, Min Lin, Shuicheng Yan 等NeurIPS 2021 · 80 次引用
- Model-tuning Via Prompts Makes NLP Models Adversarially RobustMrigank Raman, Pratyush Maini, J. Zico Kolter, Zachary C. Lipton 等EMNLP 2023 · 7 次引用
- Stochastic Fine-Tuning of Language Models Using Masked GradientsMohammad Akbar-Tajari, Mohammad Taher PilehvarEMNLP Findings 2024 · 2 次引用
- Impact of Adversarial Training on Robustness and Generalizability of Language ModelsEnes Altinisik, Hassan Sajjad, Husrev T. Sencar, Safa Messaoud 等ACL Findings 2023 · 10 次引用
