ImageNet classification with deep convolutional neural networks
Alex Krizhevsky, Ilya Sutskever et al.
0
Citations
0
Influential Citations
—
Venue
2019
Year
Distills BERT on very large batches leveraging gradient accumulation, using dynamic masking and without the next sentence prediction objective.
DistilBERT addresses a critical bottleneck in deploying large language models: computational cost. BERT, with its 110 million parameters, is prohibitively expensive for many real-world applications, especially on edge devices or in latency-sensitive systems. By distilling BERT into a model that is 40% smaller and 60% faster while retaining 97% of its performance, DistilBERT makes state-of-the-art NLP accessible to a much wider audience. This paper is a landmark in model compression, demonstrating that knowledge distillation can be effectively applied to transformer architectures without significant loss in accuracy.
The paper also introduces practical training techniques—large-batch gradient accumulation and dynamic masking—that stabilize the distillation process and improve generalization. These innovations are not only useful for distillation but can be applied to other large-scale training scenarios. DistilBERT's success has spurred a wave of research into efficient transformers, including TinyBERT, MobileBERT, and ALBERT, cementing its influence on the field.
DistilBERT achieves a GLUE score of 77.0 (average across tasks) compared to BERT-base's 79.5, retaining 97% of performance. On individual tasks like MNLI (84.9 vs 86.7), QQP (89.2 vs 91.3), and SST-2 (91.3 vs 93.5), the drops are minimal. Inference speed is 60% faster on CPU and 40% faster on GPU, with a 40% reduction in model size (66 million parameters vs 110 million). The paper also shows that DistilBERT outperforms other compressed models like BERT-PKD and BERT-6L on several GLUE tasks.
DistilBERT democratizes access to BERT-level NLP by making it feasible to run on mobile devices, web servers, and low-resource environments. It establishes knowledge distillation as a standard technique for transformer compression, influencing subsequent models like TinyBERT, MobileBERT, and DistilGPT2. The paper's practical insights—such as dynamic masking and gradient accumulation—have been widely adopted in the training of efficient transformers. DistilBERT remains a popular choice for production systems where latency and memory are critical, and its methodology continues to inspire research into model compression, quantization, and pruning.
Alex Krizhevsky, Ilya Sutskever et al.
Ashish Vaswani, Noam Shazeer et al.
Douglas M. Bates, Martin Mächler et al.
Diederik P. Kingma, Jimmy Ba