Share your thoughts, 1 month free Claude Pro on usSee more
WorkDL logo mark

Noise Stability Regularization for Improving BERT Fine-tuning

About

Fine-tuning pre-trained language models such as BERT has become a common practice dominating leaderboards across various NLP tasks. Despite its recent success and wide adoption, this process is unstable when there are only a small number of training samples available. The brittleness of this process is often reflected by the sensitivity to random seeds. In this paper, we propose to tackle this problem based on the noise stability property of deep nets, which is investigated in recent literature (Arora et al., 2018; Sanyal et al., 2020). Specifically, we introduce a novel and effective regularization method to improve fine-tuning on NLP tasks, referred to as Layer-wise Noise Stability Regularization (LNSR). We extend the theories about adding noise to the input and prove that our method gives a stabler regularization effect. We provide supportive evidence by experimentally confirming that well-performing models show a low sensitivity to noise and fine-tuning with LNSR exhibits clearly higher generalizability and stability. Furthermore, our method also demonstrates advantages over other state-of-the-art algorithms including L2-SP (Li et al., 2018), Mixout (Lee et al., 2020) and SMART (Jiang et al., 2020).

Hang Hua, Xingjian Li, Dejing Dou, Cheng-Zhong Xu, Jiebo Luo• 2021

Related benchmarks

TaskDatasetResultRank
Image ClassificationCIFAR-10 Long-Tailed
Accuracy97.27
71
Image ClassificationCIFAR-100 Long-Tailed
Accuracy87.9
71
Sequence ClassificationGLUE & SuperGLUE (MultiRC, COPA, RTE, BoolQ, MRPC, CoLA)
MultiRC Accuracy66.07
24
Image ClassificationCIFAR-10 step
Accuracy96.9
12
Image ClassificationCIFAR-100 step
Accuracy87.72
12
Multi-task ClassificationGLUE MRPC, RTE, CoLA (test, val)
MRPC Accuracy88.01
12
Showing 6 of 6 rows

Other info

Follow for update