Improving BERT Fine-Tuning via Self-Ensemble and Self-Distillation
About
Fine-tuning pre-trained language models like BERT has become an effective way in NLP and yields state-of-the-art results on many downstream tasks. Recent studies on adapting BERT to new tasks mainly focus on modifying the model structure, re-designing the pre-train tasks, and leveraging external data and knowledge. The fine-tuning strategy itself has yet to be fully explored. In this paper, we improve the fine-tuning of BERT with two effective mechanisms: self-ensemble and self-distillation. The experiments on text classification and natural language inference tasks show our proposed methods can significantly improve the adaption of BERT without any external data or knowledge.
Yige Xu, Xipeng Qiu, Ligao Zhou, Xuanjing Huang• 2020
Related benchmarks
| Task | Dataset | Result | Rank | |
|---|---|---|---|---|
| Question Classification | TREC | Accuracy66.18 | 205 | |
| Text Classification | AGNews | Accuracy85.72 | 119 | |
| Sentiment Classification | IMDB | Accuracy86.72 | 41 | |
| Word Sense Disambiguation | WiC (dev) | Accuracy62.71 | 32 | |
| Sentiment Classification | Yelp | Accuracy80.08 | 24 | |
| Slot Filling | MIT-R | Accuracy72.88 | 13 | |
| Relation Classification | ChemProt | Accuracy44.62 | 13 |
Showing 7 of 7 rows