MML:用于语言模型鲁棒微调的最大多元宇宙学习
MML: Maximal Multiverse Learning for Robust Fine-Tuning of Language Models
摘要:
最新的最先进的语言模型利用两阶段训练过程,包括(i)对未标记文本的无监督预训练,以及(ii)针对特定的监督任务进行微调。最近,许多研究都集中在试图通过增强预训练阶段来改进这些模型,无论是通过更好地选择超参数还是通过利用改进的公式。然而,预训练阶段在计算上是昂贵的,并且通常在私有数据集上进行。在这项工作中,我们提出了一种方法,充分利用BERT的微调阶段,通过应用大量的并行分类器头,这是强制正交,同时自适应地消除较弱的头在训练过程中。我们的方法允许模型收敛到最佳数量的并行分类器,这取决于手头的给定数据集。我们进行了广泛的数据集间和数据集内的评估,表明我们的方法提高了BERT的鲁棒性,有时会导致+9\%的准确性增益。这些结果突出了适当的微调程序的重要性,特别是对于相对较小的数据集。我们的代码作为补充,我们的模型将完全公开。
英文摘要:
Recent state-of-the-art language models utilize a two-phase training procedure comprised of (i) unsupervised pre-training on unlabeled text, and (ii) fine-tuning for a specific supervised task. More recently, many studies have been focused on trying to improve these models by enhancing the pre-training phase, either via better choice of hyperparameters or by leveraging an improved formulation. However, the pre-training phase is computationally expensive and often done on private datasets. In this work, we present a method that leverages BERT's fine-tuning phase to its fullest, by applying an extensive number of parallel classifier heads, which are enforced to be orthogonal, while adaptively eliminating the weaker heads during training. Our method allows the model to converge to an optimal number of parallel classifiers, depending on the given dataset at hand. We conduct an extensive inter- and intra-dataset evaluations, showing that our method improves the robustness of BERT, sometimes leading to a +9\% gain in accuracy. These results highlight the importance of a proper fine-tuning procedure, especially for relatively smaller-sized datasets. Our code is attached as supplementary and our models will be made completely public.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。