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

改进预训练语言模型微调的正则化方法:噪声稳定性正则化

Improving Pre-trained Language Model Fine-tuning with Noise Stability Regularization

University of Rochester(罗切斯特大学);Carnegie Mellon University(卡内基梅隆大学);BCG(波士顿咨询公司);University of Macau(澳门大学)

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

AI总结:

针对预训练语言模型微调中的过拟合问题,提出层间噪声稳定性正则化(LNSR)方法,通过注入噪声并正则化隐藏表示,在文本分类和问答任务上提升域内性能与域外泛化能力。

摘要:

大规模预训练语言模型的出现极大地推动了自然语言处理领域的最新进展。许多最先进的语音模型首先在大规模文本语料库上进行训练,然后在下游任务上进行微调。尽管预训练语言模型的微调方法近年来取得了成功并被广泛采用,但由于模型复杂度极高且下游任务训练样本有限,微调过程常常面临过拟合问题,导致模型的泛化能力较差。为了解决这一问题,我们提出了一种新颖且有效的微调框架,命名为“层间噪声稳定性正则化”(Layerwise Noise Stability Regularization, LNSR)。具体而言,我们提出向微调模型的隐藏表示中注入标准高斯噪声或流形内噪声,并对其隐藏表示进行正则化。我们首先提供了理论分析,以支持我们方法的有效性。随后,我们展示了所提出的方法相较于其他最先进算法(包括L2-SP、Mixout和SMART)的优势。虽然这些先前的工作仅在相对简单的文本分类任务上验证了其方法的有效性,我们还在问答任务上验证了我们方法的有效性,该任务的目标问题更为困难,且可用的训练样本更多。此外,大量的实验结果表明,所提出的算法不仅能提升语言模型的域内性能,还能提高其在域外数据上的域泛化性能。

英文摘要:

The advent of large-scale pre-trained language models has contributed greatly to the recent progress in natural language processing. Many state-of-the-art language models are first trained on a large text corpus and then fine-tuned on downstream tasks. Despite its recent success and wide adoption, fine-tuning a pre-trained language model often suffers from overfitting, which leads to poor generalizability due to the extremely high complexity of the model and the limited training samples from downstream tasks. To address this problem, we propose a novel and effective fine-tuning framework, named Layerwise Noise Stability Regularization (LNSR). Specifically, we propose to inject the standard Gaussian noise or In-manifold noise and regularize hidden representations of the fine-tuned model. We first provide theoretical analyses to support the efficacy of our method. We then demonstrate the advantages of the proposed method over other state-of-the-art algorithms including L2-SP, Mixout and SMART. While these previous works only verify the effectiveness of their methods on relatively simple text classification tasks, we also verify the effectiveness of our method on question answering tasks, where the target problem is much more difficult and more training examples are available. Furthermore, extensive experimental results indicate that the proposed algorithm can not only enhance the in-domain performance of the language models but also improve the domain generalization performance on out-of-domain data.

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

↑