paper-with-me

Papers

Distilling BERT into Simple Neural Networks with Unlabeled Transfer Data

2019-10-04 · Subhabrata Mukherjee, Ahmed Hassan Awadallah

Recent advances in pre-training huge models on large amounts of text through self supervision have obtained state-of-the-art results in various natural language processing tasks. However, these huge and expensive models are difficult to use in practise for downstream tasks. Some recent efforts use knowledge distillation to compress these models. However, we see a gap between the performance of the smaller student models as compared to that of the large teacher. In this work, we leverage large amounts of in-domain unlabeled transfer data in addition to a limited amount of labeled training instances to bridge this gap for distilling BERT. We show that simple RNN based student models even with hard distillation can perform at par with the huge teachers given the transfer set. The student performance can be further improved with soft distillation and leveraging teacher intermediate representations. We show that our student models can compress the huge teacher by up to 26x while still matching or even marginally exceeding the teacher performance in low-resource settings with small amount of labeled data. Additionally, for the multilingual extension of this work with XtremeDistil (Mukherjee and Hassan Awadallah, 2020), we demonstrate massive distillation of multilingual BERT-like teacher models by upto 35x in terms of parameter compression and 51x in terms of latency speedup for batch inference while retaining 95% of its F1-score for NER over 41 languages.

📄 PDF Abstract BibTeX arXiv:1910.01769

Code (0)

등록된 구현이 없습니다.

Tasks

Knowledge DistillationNER

Methods 이 논문이 사용한 방법론

Linear Layer A Linear Layer is a projection $\mathbf{XW + b}$.
Knowledge Distillation A very simple way to improve the performance of almost any machine learning algorithm is to train many different models on the same data and then to average their predictions.…
Layer Normalization Unlike batch normalization, Layer Normalization directly estimates the normalization statistics from the summed inputs…
Attention 설명 없음
Dense Connections Dense Connections, or Fully Connected Connections, are a type of layer in a deep neural network that use a linear operation where every input is connected to every output…
Residual Connection 설명 없음
Adam 설명 없음
Multi-Head Attention 설명 없음

Similar Papers 제목 키워드 기반

BERT2DNN: BERT Distillation with Massive Unlabeled Data for Online E-Commerce Search

2020-10-20 · Yunjiang Jiang, Yue Shang, Ziyang Liu, Hongwei Shen 외

Relevance has significant impact on user experience and business profit for e-commerce search platform. In this work, we propose a data-driven framework for search relevance prediction, by distilling knowledge from BERT …

Sentiment Analysis

In-Batch Negatives for Knowledge Distillation with Tightly-Coupled Teachers for Dense Retrieval

2021-08-01 · ACL (RepL4NLP) 2021 8 · Sheng-Chieh Lin, Jheng-Hong Yang, Jimmy Lin

We present an efficient training approach to text retrieval with dense representations that applies knowledge distillation using the ColBERT late-interaction ranking model. Specifically, we propose to transfer the knowle…

Document RankingKnowledge DistillationRetrievalText Retrieval

Revisiting Intermediate Layer Distillation for Compressing Language Models: An Overfitting Perspective

2023-02-03 · Jongwoo Ko, Seungjoon Park, Minchan Jeong, Sukjin Hong 외

Knowledge distillation (KD) is a highly promising method for mitigating the computational problems of pre-trained language models (PLMs). Among various KD approaches, Intermediate Layer Distillation (ILD) has been a de f…

Knowledge Distillation

Distilling HuBERT with LSTMs via Decoupled Knowledge Distillation

2023-09-18 · Danilo de Oliveira, Timo Gerkmann

Much research effort is being applied to the task of compressing the knowledge of self-supervised models, which are powerful, yet large and memory consuming. In this work, we show that the original method of knowledge di…

Automatic Speech RecognitionKnowledge Distillationspeech-recognitionSpeech Recognition

Distilling BERT for low complexity network training

2021-05-13 · Bansidhar Mangalwedhekar

This paper studies the efficiency of transferring BERT learnings to low complexity models like BiLSTM, BiLSTM with attention and shallow CNNs using sentiment analysis on SST-2 dataset. It also compares the complexity of …

Sentiment AnalysisSST-2