paper-with-me

홈 › Papers

MKD: a Multi-Task Knowledge Distillation Approach for Pretrained Language Models

2019-11-09 · Linqing Liu, Huan Wang, Jimmy Lin, Richard Socher, Caiming Xiong

Pretrained language models have led to significant performance gains in many NLP tasks. However, the intensive computing resources to train such models remain an issue. Knowledge distillation alleviates this problem by learning a light-weight student model. So far the distillation approaches are all task-specific. In this paper, we explore knowledge distillation under the multi-task learning setting. The student is jointly distilled across different tasks. It acquires more general representation capacity through multi-tasking distillation and can be further fine-tuned to improve the model in the target domain. Unlike other BERT distillation methods which specifically designed for Transformer-based architectures, we provide a general learning framework. Our approach is model agnostic and can be easily applied on different future teacher model architectures. We evaluate our approach on a Transformer-based and LSTM based student model. Compared to a strong, similarly LSTM-based approach, we achieve better quality under the same computational constraints. Compared to the present state of the art, we reach comparable results with much faster inference speed.

📄 PDF Abstract BibTeX arXiv:1911.03588

Code (0)

등록된 구현이 없습니다.

Tasks

Knowledge DistillationMulti-Task Learning

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.…
Sigmoid Activation 설명 없음
Tanh Activation 설명 없음
Residual Connection 설명 없음
Attention Dropout Attention Dropout is a type of dropout used in attention-based architectures, where elements are randomly dropped out of the…
Linear Warmup With Linear Decay Linear Warmup With Linear Decay is a learning rate schedule in which we increase the learning rate linearly for $n$ updates and then linearly decay afterwards.
Weight Decay 설명 없음

Similar Papers 제목 키워드 기반

ERNIE 3.0 Tiny: Frustratingly Simple Method to Improve Task-Agnostic Distillation Generalization

2023-01-09 · Weixin Liu, Xuyi Chen, Jiaxiang Liu, Shikun Feng 외

Task-agnostic knowledge distillation attempts to address the problem of deploying large pretrained language model in resource-constrained scenarios by compressing a large pretrained model called teacher into a smaller on…

Knowledge DistillationLanguage ModellingMulti-Task Learning

Limitations of Knowledge Distillation for Zero-shot Transfer Learning

2021-11-01 · EMNLP (sustainlp) 2021 11 · Saleh Soltan, Haidar Khan, Wael Hamza

Pretrained transformer-based encoders such as BERT have been demonstrated to achieve state-of-the-art performance on numerous NLP tasks. Despite their success, BERT style encoders are large in size and have high latency …

CPUCross-Lingual TransferKnowledge DistillationTransfer Learning+1

Natural Language Generation for Effective Knowledge Distillation

2019-11-01 · WS 2019 11 · Raphael Tang, Yao Lu, Jimmy Lin

Knowledge distillation can effectively transfer knowledge from BERT, a deep language representation model, to traditional, shallow word embedding-based neural networks, helping them approach or exceed the quality of othe…

Knowledge DistillationLinguistic AcceptabilitySentenceSentence Similarity+4

Domain Knowledge Transferring for Pre-trained Language Model via Calibrated Activation Boundary Distillation

2022-05-01 · ACL 2022 5 · Dongha Choi, HongSeok Choi, Hyunju Lee

Since the development and wide use of pretrained language models (PLMs), several approaches have been applied to boost their performance on downstream tasks in specific domains, such as biomedical or scientific domains. …

Knowledge DistillationLanguage ModelingLanguage Modelling

Self-Knowledge Distillation in Natural Language Processing

2019-08-02 · RANLP 2019 9 · Sangchul Hahn, Heeyoul Choi

Since deep learning became a key player in natural language processing (NLP), many deep learning models have been showing remarkable performances in a variety of NLP tasks, and in some cases, they are even outperforming …

Deep LearningKnowledge DistillationLanguage ModelingLanguage Modelling+3