arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2107.04835cs.CL
收藏

改善BERT微调的噪声稳定性正则化

Noise Stability Regularization for Improving BERT Fine-tuning

University of Rochester(罗切斯特大学);Baidu Research(百度研究院);University of Macau(澳门大学)

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

摘要:

微调预训练的语言模型(如BERT)已成为各种NLP任务中主导排行榜的常见做法。尽管它最近取得了成功并被广泛采用,但当只有少量训练样本可用时,这个过程是不稳定的。这一过程的脆弱性通常反映在对随机种子的敏感性上。在本文中,我们提出基于深度网络的噪声稳定性来解决这个问题,这在最近的文献中进行了研究(Arora等人,2018年; Sanyal等人,2020年)。具体来说,我们引入了一种新颖有效的正则化方法来改善NLP任务的微调,称为分层噪声稳定性正则化(LNSR)。我们推广了在输入中加入噪声的理论,并证明了我们的方法给出了更稳定的正则化效果。我们提供了支持性的证据,通过实验证实,表现良好的模型显示出较低的灵敏度噪声和微调与LNSR表现出明显更高的泛化能力和稳定性。此外,我们的方法还证明了优于包括L2-SP(Li等人,2018)、Mixout(Lee等人,2020)和SMART(Jiang等人,2020年)。

英文摘要:

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).

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑