arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2110.08534cs.CL
收藏

终身预训练:不断调整语言模型以适应新兴语料库

Lifelong Pretraining: Continually Adapting Language Models to Emerging Corpora

AWS AI Labs(AWS人工智能实验室);University of Southern California(南加州大学)

Xisen Jin, Dejiao Zhang, Henghui Zhu, Wei Xiao, Shang-Wen Li, Xiaokai Wei, Andrew Arnold, Xiang Ren

摘要:

预训练的语言模型(PTLM)通常在大型静态语料库上学习,并针对各种下游任务进行进一步微调。然而,当部署在现实世界中,一个基于PTLM的模型必须处理的数据分布偏离什么PTLM最初trainedon.In本文中,我们研究了终身语言模型预训练的挑战,PTLM不断更新,以适应新出现的数据。在一个领域增量的研究论文流和一个按时间顺序排序的推文流上,我们用不同的持续学习算法增量地预训练PTLM,并跟踪下游任务的性能(微调后)。我们评估PTLM的能力,以适应新的语料库,同时保留学到的知识,在早期的语料库。我们的实验表明,蒸馏为基础的方法是最有效的保留下游性能在早期领域。这些算法还改善了知识转移,使模型能够在最新数据上实现更好的下游性能,并在训练和评估之间由于时间而存在分布差距时改善时间泛化。我们相信,我们的问题制定,方法和分析将激发未来的研究对持续预训练的语言模型。

英文摘要:

Pretrained language models (PTLMs) are typically learned over a large, static corpus and further fine-tuned for various downstream tasks. However, when deployed in the real world, a PTLM-based model must deal with data distributions that deviate from what the PTLM was initially trained on. In this paper, we study a lifelong language model pretraining challenge where a PTLM is continually updated so as to adapt to emerging data. Over a domain-incremental research paper stream and a chronologically-ordered tweet stream, we incrementally pretrain a PTLM with different continual learning algorithms, and keep track of the downstream task performance (after fine-tuning). We evaluate PTLM's ability to adapt to new corpora while retaining learned knowledge in earlier corpora. Our experiments show distillation-based approaches to be most effective in retaining downstream performance in earlier domains. The algorithms also improve knowledge transfer, allowing models to achieve better downstream performance over the latest data, and improve temporal generalization when distribution gaps exist between training and evaluation because of time. We believe our problem formulation, methods, and analysis will inspire future studies towards continual pretraining of language models.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑