Distilling Task-Specific Knowledge from BERT into Simple Neural Networks

By Raphael Tang, Yao Lu, Linqing Liu, Lili Mou, Olga Vechtomova, Jimmy J. Lin. 2019

459 citations recorded by the source corpus.

In the natural language processing literature, neural networks are becoming increasingly deeper and complex. The recent poster child of this trend is the deep language representation model, which includes BERT, ELMo, and GPT. These developments have led to the conviction that previous-generation, shallower neural networks for language understanding are obsolete. In this paper, however, we demonstrate that rudimentary, lightweight neural networks can still be made competitive without architecture changes, external training data, or additional input features. We propose to distill knowledge from BERT, a state-of-the-art language representation model, into a single-layer BiLSTM, as well as its siamese counterpart for sentence-pair tasks. Across multiple datasets in paraphrasing, natural language inference, and sentiment classification, we achieve comparable results with ELMo, while using roughly 100 times fewer parameters and 15 times less inference time.

Subfields: Artificial Intelligence, Computer Vision and Pattern Recognition, Efficiency & Compression

How researchers see this paper

The researchers whose trusted networks rank it highest, strongest advocate first. Every researcher gets a different order.

In Artificial Intelligence

  1. Jianfeng Gao
  2. Mohit Bansal
  3. Furu Wei
  4. Luke S. Zettlemoyer
  5. Percy Liang
  6. Yejin Choi
  7. Graham Neubig
  8. Noah A. Smith

In Computer Vision and Pattern Recognition

  1. Dacheng Tao
  2. Luc Van Gool
  3. Trevor Darrell
  4. Xiaogang Wang
  5. Jianfeng Gao
  6. Jitendra Malik
  7. Ming-Hsuan Yang
  8. Andrew Zisserman

In Efficiency & Compression

  1. Kurt Keutzer
  2. Zi-Mei Yao
  3. Alexander M. Rush
  4. Michael W. Mahoney
  5. A. Gholami
  6. Furu Wei
  7. Sehoon Kim
  8. Jimmy J. Lin

Citations in the corpus