ELLE:新兴数据的有效终身预培训
ELLE: Efficient Lifelong Pre-training for Emerging Data
摘要:
当前的预训练语言模型(PLM)通常是用静态数据训练的,忽略了在现实世界场景中,各种源的流数据可能会不断增长。这就要求PLM以终身的方式整合来自所有来源的信息。虽然这一目标可以通过对所有现有数据进行详尽的预训练来实现,但已知这样的过程在计算上是昂贵的。为此,我们提出了ELLE,旨在为新兴数据进行有效的终身预训练。具体来说,ELLE包括(1)功能保留模型扩展,它灵活地扩展了现有PLM的宽度和深度,以提高知识获取的效率;和(2)预训练的领域提示,它解开了在预训练过程中学习到的通用知识,并为下游任务激发适当的知识。我们在BERT和GPT上用来自5个域的流数据对ELLE进行了实验。结果表明,ELLE的优势,在各种终身学习基线的预培训效率和下游性能。这些守则可在https://github.com/thunlp/ELLE上公开查阅。
英文摘要:
Current pre-trained language models (PLM) are typically trained with static data, ignoring that in real-world scenarios, streaming data of various sources may continuously grow. This requires PLMs to integrate the information from all the sources in a lifelong manner. Although this goal could be achieved by exhaustive pre-training on all the existing data, such a process is known to be computationally expensive. To this end, we propose ELLE, aiming at efficient lifelong pre-training for emerging data. Specifically, ELLE consists of (1) function preserved model expansion, which flexibly expands an existing PLM's width and depth to improve the efficiency of knowledge acquisition; and (2) pre-trained domain prompts, which disentangle the versatile knowledge learned during pre-training and stimulate the proper knowledge for downstream tasks. We experiment ELLE with streaming data from 5 domains on BERT and GPT. The results show the superiority of ELLE over various lifelong learning baselines in both pre-training efficiency and downstream performances. The codes are publicly available at https://github.com/thunlp/ELLE.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。