Back to Search Start Over

Pea-KD: Parameter-efficient and accurate Knowledge Distillation on BERT.

Authors :
Cho I
Kang U
Source :
PloS one [PLoS One] 2022 Feb 18; Vol. 17 (2), pp. e0263592. Date of Electronic Publication: 2022 Feb 18 (Print Publication: 2022).
Publication Year :
2022

Abstract

Knowledge Distillation (KD) is one of the widely known methods for model compression. In essence, KD trains a smaller student model based on a larger teacher model and tries to retain the teacher model's level of performance as much as possible. However, existing KD methods suffer from the following limitations. First, since the student model is smaller in absolute size, it inherently lacks model capacity. Second, the absence of an initial guide for the student model makes it difficult for the student to imitate the teacher model to its fullest. Conventional KD methods yield low performance due to these limitations. In this paper, we propose Pea-KD (Parameter-efficient and accurate Knowledge Distillation), a novel approach to KD. Pea-KD consists of two main parts: Shuffled Parameter Sharing (SPS) and Pretraining with Teacher's Predictions (PTP). Using this combination, we are capable of alleviating the KD's limitations. SPS is a new parameter sharing method that increases the student model capacity. PTP is a KD-specialized initialization method, which can act as a good initial guide for the student. When combined, this method yields a significant increase in student model's performance. Experiments conducted on BERT with different datasets and tasks show that the proposed approach improves the student model's performance by 4.4% on average in four GLUE tasks, outperforming existing KD baselines by significant margins.<br />Competing Interests: The authors have declared that no competing interests exist.

Details

Language :
English
ISSN :
1932-6203
Volume :
17
Issue :
2
Database :
MEDLINE
Journal :
PloS one
Publication Type :
Academic Journal
Accession number :
35180258
Full Text :
https://doi.org/10.1371/journal.pone.0263592