English

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

Computation and Language 2022-09-13 v2

Abstract

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.

Keywords

Cite

@article{arxiv.2105.03791,
  title  = {Enhancing Transformers with Gradient Boosted Decision Trees for NLI Fine-Tuning},
  author = {Benjamin Minixhofer and Milan Gritta and Ignacio Iacobacci},
  journal= {arXiv preprint arXiv:2105.03791},
  year   = {2022}
}

Comments

Findings of ACL 2021

R2 v1 2026-06-24T01:54:32.860Z