RoAST: Robustifying Language Models via Adversarial Perturbation with Selective Training

Jaehyung Kim, Yuning Mao, Rui Hou, Hanchao Yu, Davis Liang +5 more
12/7/2023
cs.CLcs.LG

No official code found. Best implementation: bbuing9/RoAST (9 stars, last commit 2024-01-13).

Abstract

Fine-tuning pre-trained language models (LMs) has become the de facto standard in many NLP tasks. Nevertheless, fine-tuned LMs are still prone to robustness issues, such as adversarial robustness and model calibration. Several perspectives of robustness for LMs have been studied independently, but lacking a unified consideration in multiple perspectives. In this paper, we propose Robustifying LMs via Adversarial perturbation with Selective Training (RoAST), a simple yet effective fine-tuning technique to enhance the multi-perspective robustness of LMs in a unified way. RoAST effectively incorporates two important sources for the model robustness, robustness on the perturbed inputs and generalizable knowledge in pre-trained LMs. To be specific, RoAST introduces adversarial perturbation during fine-tuning while the model parameters are selectively updated upon their relative importance to minimize unnecessary deviation. Under a unified evaluation of fine-tuned LMs by incorporating four representative perspectives of model robustness, we demonstrate the effectiveness of RoAST compared to state-of-the-art fine-tuning methods on six different types of LMs, which indicates its usefulness in practice.

View on arXivView PDF

Code Implementations(1)

bbuing9/RoASTCommunity100%

Code for the paper "RoAST: Robustifying Language Models via Adversarial Perturbation with Selective Training" (EMNLP 2023)

90Shell, PythonOct 16, 20232 years ago

Similar Papers

Cite this paper

@article{kim2023roast,
  title  = {RoAST: Robustifying Language Models via Adversarial Perturbation with Selective Training},
  author = {Jaehyung Kim and Yuning Mao and Rui Hou and Hanchao Yu and Davis Liang and Pascale Fung and Qifan Wang and Fuli Feng and Lifu Huang and Madian Khabsa},
  year   = {2023},
  eprint = {2312.04032},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2312.04032v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2312.04032.svg)](https://codeofpaper.com/paper/2312.04032)

Discussion