SMART: Robust and Efficient Fine-Tuning for Pre-trained Natural Language Models through Principled Regularized Optimization

Haoming Jiang, Pengcheng He, Weizhu Chen, Xiaodong Liu, Jianfeng Gao +1 more
11/8/2019
cs.CLcs.LGmath.OC

Official code: namisan/mt-dnn (2,258 stars, MIT, PyTorch, last commit 2024-03-07).

Abstract

Transfer learning has fundamentally changed the landscape of natural language processing (NLP) research. Many existing state-of-the-art models are first pre-trained on a large text corpus and then fine-tuned on downstream tasks. However, due to limited data resources from downstream tasks and the extremely large capacity of pre-trained models, aggressive fine-tuning often causes the adapted model to overfit the data of downstream tasks and forget the knowledge of the pre-trained model. To address the above issue in a more principled manner, we propose a new computational framework for robust and efficient fine-tuning for pre-trained language models. Specifically, our proposed framework contains two important ingredients: 1. Smoothness-inducing regularization, which effectively manages the capacity of the model; 2. Bregman proximal point optimization, which is a class of trust-region methods and can prevent knowledge forgetting. Our experiments demonstrate that our proposed method achieves the state-of-the-art performance on multiple NLP benchmarks.

View on arXivView PDF

Code Implementations(1)

namisan/mt-dnnOfficial100%
PyTorchMIT

Multi-Task Deep Neural Networks for Natural Language Understanding

2,258407Shell, PythonFeb 19, 20192 years agoMIT
bertdeep-learningmachine-reading-comprehensionmicrosoftmulti-task-learning+5 more

Similar Papers

Cite this paper

@article{jiang2019smart,
  title  = {SMART: Robust and Efficient Fine-Tuning for Pre-trained Natural Language Models through Principled Regularized Optimization},
  author = {Haoming Jiang and Pengcheng He and Weizhu Chen and Xiaodong Liu and Jianfeng Gao and Tuo Zhao},
  year   = {2019},
  eprint = {1911.03437},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1911.03437}
}

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

Discussion