The reviewed record of science sign in
Pith

arxiv: 2012.07335 · v1 · pith:AUVI3H7L · submitted 2020-12-14 · cs.CL · cs.AI

LRC-BERT: Latent-representation Contrastive Knowledge Distillation for Natural Language Understanding

Reviewed by Pithpith:AUVI3H7Lopen to challenge →

classification cs.CL cs.AI
keywords distillationlrc-bertknowledgelanguagemethodtrainingcontrastiveexisting
0
0 comments X
read the original abstract

The pre-training models such as BERT have achieved great results in various natural language processing problems. However, a large number of parameters need significant amounts of memory and the consumption of inference time, which makes it difficult to deploy them on edge devices. In this work, we propose a knowledge distillation method LRC-BERT based on contrastive learning to fit the output of the intermediate layer from the angular distance aspect, which is not considered by the existing distillation methods. Furthermore, we introduce a gradient perturbation-based training architecture in the training phase to increase the robustness of LRC-BERT, which is the first attempt in knowledge distillation. Additionally, in order to better capture the distribution characteristics of the intermediate layer, we design a two-stage training method for the total distillation loss. Finally, by verifying 8 datasets on the General Language Understanding Evaluation (GLUE) benchmark, the performance of the proposed LRC-BERT exceeds the existing state-of-the-art methods, which proves the effectiveness of our method.

This paper has not been read by Pith yet.

discussion (0)

Sign in with ORCID, Apple, or X to comment. Anyone can read and Pith papers without signing in.