CLDec 2, 2020

Meta-KD: A Meta Knowledge Distillation Framework for Language Model Compression across Domains

arXiv:2012.01266v2725 citations
Originality Incremental advance
AI Analysis

This work aims to improve the efficiency and generalization of language model compression for real-time NLP applications by incorporating cross-domain transferable knowledge, which is an incremental improvement over single-domain knowledge distillation methods.

The paper addresses the challenge of compressing large pre-trained language models for real-time applications by proposing Meta-KD, a framework that leverages transferable knowledge across multiple domains. This framework creates a meta-teacher model that captures instance-level and feature-level transferable knowledge, which then guides the learning of single-domain student models. Experiments on public multi-domain NLP tasks demonstrate the effectiveness and superiority of Meta-KD, particularly in scenarios with scarce training data.

Pre-trained language models have been applied to various NLP tasks with considerable performance gains. However, the large model sizes, together with the long inference time, limit the deployment of such models in real-time applications. One line of model compression approaches considers knowledge distillation to distill large teacher models into small student models. Most of these studies focus on single-domain only, which ignores the transferable knowledge from other domains. We notice that training a teacher with transferable knowledge digested across domains can achieve better generalization capability to help knowledge distillation. Hence we propose a Meta-Knowledge Distillation (Meta-KD) framework to build a meta-teacher model that captures transferable knowledge across domains and passes such knowledge to students. Specifically, we explicitly force the meta-teacher to capture transferable knowledge at both instance-level and feature-level from multiple domains, and then propose a meta-distillation algorithm to learn single-domain student models with guidance from the meta-teacher. Experiments on public multi-domain NLP tasks show the effectiveness and superiority of the proposed Meta-KD framework. Further, we also demonstrate the capability of Meta-KD in the settings where the training data is scarce.

Code Implementations1 repo
Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes