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

基于梯度提升决策树的Transformers改进算法用于NLI优化

Enhancing Transformers with Gradient Boosted Decision Trees for NLI Fine-Tuning

Johannes Kepler University(约翰内斯·开普勒大学);Huawei Noah’s Ark Lab(华为诺亚方舟实验室)

Benjamin Minixhofer, Milan Gritta, Ignacio Iacobacci

摘要:

迁移学习已经成为许多自然语言处理任务的主导范式。除了在大型数据集上预训练模型外,还可以在类似于目标任务的中间(监督)任务上进一步训练模型。对于小的自然语言推理(NLI)数据集,语言建模之后通常是在大的(带标签的)NLI数据集上进行预训练,然后对每个NLI子任务进行微调。在这项工作中,我们探讨梯度提升决策树(GBDTs)作为一种替代常用的多层感知器(MLP)分类头。GBDTs具有期望的性质,例如在密集的数值特征上的良好性能,并且在样本数量与特征数量的比率低的情况下是有效的。然后,我们介绍FreeGBDT,一种在微调期间计算的特征上拟合GBDT头部的方法,以提高性能,而无需神经网络进行额外的计算。我们使用强基线模型(带有MNLI预训练的RoberTa-large)在几个NLI数据集上证明了我们的方法的有效性。FreeGBDT显示了对MLP分类头的一致改进。

英文摘要:

Transfer learning has become the dominant paradigm for many natural language processing tasks. In addition to models being pretrained on large datasets, they can be further trained on intermediate (supervised) tasks that are similar to the target task. For small Natural Language Inference (NLI) datasets, language modelling is typically followed by pretraining on a large (labelled) NLI dataset before fine-tuning with each NLI subtask. In this work, we explore Gradient Boosted Decision Trees (GBDTs) as an alternative to the commonly used Multi-Layer Perceptron (MLP) classification head. GBDTs have desirable properties such as good performance on dense, numerical features and are effective where the ratio of the number of samples w.r.t the number of features is low. We then introduce FreeGBDT, a method of fitting a GBDT head on the features computed during fine-tuning to increase performance without additional computation by the neural network. We demonstrate the effectiveness of our method on several NLI datasets using a strong baseline model (RoBERTa-large with MNLI pretraining). The FreeGBDT shows a consistent improvement over the MLP classification head.

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

↑