Fine-Tuning Pre-Trained Language Models Effectively by Optimizing Subnetworks Adaptively

Haojie Zhang, Ge Li, Jia Li, Zhongjin Zhang, Yuqi Zhu +1 more
11/3/2022
cs.CLcs.AI

Official code: ZhangHaojie077/DPS (11 stars, Python, last commit 2023-01-06).

Abstract

Large-scale pre-trained language models have achieved impressive results on a wide range of downstream tasks recently. However, fine-tuning an extremely large-scale pre-trained language model on limited target datasets is often plagued by overfitting and representation degradation.

Show full abstract

In this paper, we propose a Dynamic Parameter Selection (DPS) algorithm for the large-scale pre-trained models during fine-tuning, which adaptively selects a more promising subnetwork to perform staging updates based on gradients of back-propagation. Experiments on the GLUE benchmark show that DPS outperforms previous fine-tuning methods in terms of overall performance and stability, and consistently achieves better results with variable pre-trained language models. In addition, DPS brings a large magnitude of improvement in out-of-domain transferring experiments and low-resource scenarios, which shows that it can maintain stable general contextual features and reduce the representation collapse. We release our code at https://github.com/ZhangHaojie077/DPS

View on arXivView PDF

Code Implementations(1)

ZhangHaojie077/DPSOfficial100%
110Python, ShellOct 11, 20223 years ago

Similar Papers

Cite this paper

@article{zhang2022finetuning,
  title  = {Fine-Tuning Pre-Trained Language Models Effectively by Optimizing Subnetworks Adaptively},
  author = {Haojie Zhang and Ge Li and Jia Li and Zhongjin Zhang and Yuqi Zhu and Zhi Jin},
  year   = {2022},
  eprint = {2211.01642},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2211.01642}
}

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/2211.01642.svg)](https://codeofpaper.com/paper/2211.01642)

Discussion