Knowledge Inheritance for Pre-trained Language Models

Yujia Qin, Yankai Lin, Jing Yi, Jiajie Zhang, Xu Han +6 more
5/28/2021
66 citations
cs.CLcs.AIcs.LG

Official code: thunlp/Knowledge-Inheritance (37 stars, Python, last commit 2022-04-24).

Abstract

Recent explorations of large-scale pre-trained language models (PLMs) have revealed the power of PLMs with huge amounts of parameters, setting off a wave of training ever-larger PLMs. However, it requires tremendous computational resources to train a large-scale PLM, which may be practically unaffordable.

Show full abstract

In addition, existing large-scale PLMs are mainly trained from scratch individually, ignoring that many well-trained PLMs are available. To this end, we explore the question how could existing PLMs benefit training large-scale PLMs in future. Specifically, we introduce a pre-training framework named "knowledge inheritance" (KI) and explore how could knowledge distillation serve as auxiliary supervision during pre-training to efficiently learn larger PLMs. Experimental results demonstrate the superiority of KI in training efficiency. We also conduct empirical analyses to explore the effects of teacher PLMs' pre-training settings, including model architecture, pre-training data, etc. Finally, we show that KI could be applied to domain adaptation and knowledge transfer.

View on arXivView PDF

Code Implementations(1)

Source code for paper: Knowledge Inheritance for Pre-trained Language Models

374Python, CudaMay 27, 20214 years ago

Similar Papers

Cite this paper

@article{qin2021knowledge,
  title  = {Knowledge Inheritance for Pre-trained Language Models},
  author = {Yujia Qin and Yankai Lin and Jing Yi and Jiajie Zhang and Xu Han and Zhengyan Zhang and Yusheng Su and Zhiyuan Liu and Peng Li and Maosong Sun and Jie Zhou},
  year   = {2021},
  eprint = {2105.13880},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2105.13880}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2105.13880.svg)](https://codeofpaper.com/paper/2105.13880)

Discussion