CLAug 23, 2019

Well-Read Students Learn Better: On the Importance of Pre-training Compact Models

arXiv:1908.08962v2284 citations
AI Analysis

This work addresses the cost and efficiency issues for practitioners needing to deploy language models in resource-constrained settings, though it is incremental as it builds on existing pre-training and distillation techniques.

The paper tackles the problem of applying large pre-trained language models to downstream tasks by showing that pre-training compact models and fine-tuning them can be competitive with more complex compression methods, and that adding knowledge distillation from large models further improves performance, with experiments revealing compound effects between pre-training and distillation based on model size and unlabeled data.

Recent developments in natural language representations have been accompanied by large and expensive models that leverage vast amounts of general-domain text through self-supervised pre-training. Due to the cost of applying such models to down-stream tasks, several model compression techniques on pre-trained language representations have been proposed (Sun et al., 2019; Sanh, 2019). However, surprisingly, the simple baseline of just pre-training and fine-tuning compact models has been overlooked. In this paper, we first show that pre-training remains important in the context of smaller architectures, and fine-tuning pre-trained compact models can be competitive to more elaborate methods proposed in concurrent work. Starting with pre-trained compact models, we then explore transferring task knowledge from large fine-tuned models through standard knowledge distillation. The resulting simple, yet effective and general algorithm, Pre-trained Distillation, brings further improvements. Through extensive experiments, we more generally explore the interaction between pre-training and distillation under two variables that have been under-studied: model size and properties of unlabeled task data. One surprising observation is that they have a compound effect even when sequentially applied on the same data. To accelerate future research, we will make our 24 pre-trained miniature BERT models publicly available.

Code Implementations40 repos

Data from Papers with Code (CC-BY-SA-4.0)

Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes