ACL 2021short75 citations

Robust Transfer Learning with Pretrained Language Models through Adapters

Wenjuan Han, Bo Pang, Ying Nian Wu

Abstract

Transfer learning with large pretrained transformer-based language models like BERT has become a dominating approach for most NLP tasks. Simply fine-tuning those large language models on downstream tasks or combining it with task-specific pretraining is often not robust. In particular, the performance considerably varies as the random seed changes or the number of pretraining and/or fine-tuning iterations varies, and the fine-tuned model is vulnerable to adversarial attack. We propose a simple yet effective adapter-based approach to mitigate these issues. Specifically, we insert small bottleneck layers (i.e., adapter) within each layer of a pretrained model, then fix the pretrained layers and train the adapter layers on the downstream task data, with (1) task-specific unsupervised pretraining and then (2) task-specific supervised training (e.g., classification, sequence labeling). Our experiments demonstrate that such a training scheme leads to improved stability and adversarial robustness in transfer learning to various downstream tasks.

BibTeX
@inproceedings{han-etal-2021-robust,
    title = "Robust Transfer Learning with Pretrained Language Models through Adapters",
    author = "Han, Wenjuan  and
      Pang, Bo  and
      Wu, Ying Nian",
    editor = "Zong, Chengqing  and
      Xia, Fei  and
      Li, Wenjie  and
      Navigli, Roberto",
    booktitle = "Proceedings of the 59th Annual Meeting of the Association for Computational Linguistics and the 11th International Joint Conference on Natural Language Processing (Volume 2: Short Papers)",
    month = aug,
    year = "2021",
    address = "Online",
    publisher = "Association for Computational Linguistics",
    url = "https://aclanthology.org/2021.acl-short.108/",
    doi = "10.18653/v1/2021.acl-short.108",
    pages = "854--861"
}
Robust Transfer Learning with Pretrained Language Models through Adapters · ACL 2021