Proceedings of the 2021 Conference on Empirical Methods in Natural Language Processing · 2021 · 24 citations · 33 references
ComputingComputer ScienceComputational LinguisticsKnowledge RepresentationNatural Language ProcessingDeep LearningLanguage ModelingLanguage ModelsNatural Language UnderstandingWord EmbeddingsContextual Knowledge RepresentationKnowledge DistillationLanguage UnderstandingLarge Language ModelsModel CompressionNeural Language ModelsSemantic Knowledge RepresentationTransfer Of Semantic Knowledge
Large language models are computationally expensive and memory intensive, and knowledge distillation is a key technique for deploying them in resource‑constrained settings by transferring word‑level representations without architectural restrictions. This work proposes a novel distillation objective that transfers contextual knowledge through word‑relation and layer‑transforming relations, leveraging the relative positioning and holistic semantic content of language representations. The contextual distillation framework imposes no architectural constraints between teacher and student and learns to align representations via the two proposed relational mappings. Experiments on challenging language‑understanding benchmarks show that the method improves performance across models of various sizes and when combined with DynaBERT pruning.
A computationally expensive and memory intensive neural network lies behind the recent success of language representation learning. Knowledge distillation, a major technique for deploying such a vast language model in resource-scarce environments, transfers the knowledge on individual word representations learned without restrictions. In this paper, inspired by the recent observations that language representations are relatively positioned and have more semantic knowledge as a whole, we present a new knowledge distillation objective for language representation learning that transfers the contextual knowledge via two types of relationships across representations: Word Relation and Layer Transforming Relation. Unlike other recent distillation techniques for the language models, our contextual distillation does not have any restrictions on architectural changes between teacher and student. We validate the effectiveness of our method on challenging benchmarks of language understanding tasks, not only in architectures of various sizes but also in combination with DynaBERT, the recently proposed adaptive size pruning method.
33
Distributed Representations of Words and Phrases and their Compositionality
Tomáš Mikolov, Ilya Sutskever, Kai Chen et al. · arXiv (Cornell University) · 2013 · 18.1K citations · Full text
Distilling the Knowledge in a Neural Network
Geoffrey E. Hinton, Oriol Vinyals · arXiv (Cornell University) · 2015 · 14K citations · Full text