arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2305.12281cs.CLcs.LG
收藏

使用分布专业化专家的终身语言预训练

Lifelong Language Pretraining with Distribution-Specialized Experts

The University of Texas at Austin(德克萨斯大学奥斯汀分校);Google(谷歌)

Wuyang Chen, Yanqi Zhou, Nan Du, Yanping Huang, James Laudon, Zhifeng Chen, Claire Cu

AI总结:

针对语言模型在持续学习中面临的灾难性遗忘问题,提出可动态增加专家容量的Lifelong-MoE架构,在保持计算成本不变的前提下,有效适应数据分布偏移并保留旧知识,在19个下游NLP任务中取得更优的少样本性能。

摘要:

在大规模语料库上进行预训练已成为构建通用语言模型(LMs)的标准方法。将模型适应到针对不同下游任务的新数据分布带来了重大挑战。当过参数化的LMs对新数据过拟合而未能保留预训练特征时,朴素的微调可能会导致灾难性遗忘。终身学习(LLL)旨在使信息系统能够从跨越时间的连续数据流中学习。然而,大多数先前的工作修改了训练方案,假设采用静态固定的网络架构。我们发现额外的模型容量和适当的正则化是实现强大LLL性能的关键要素。因此,我们提出了Lifelong-MoE,这是一种可扩展的MoE(混合专家)架构,通过添加专家并进行正则化预训练来动态增加模型容量。我们的结果表明,仅引入有限数量的额外专家并保持计算成本不变,我们的模型能够稳步适应数据分布偏移,同时保留先前的知识。与现有的终身学习方法相比,Lifelong-MoE在19个下游NLP任务上实现了更好的少样本性能。

英文摘要:

Pretraining on a large-scale corpus has become a standard method to build general language models (LMs). Adapting a model to new data distributions targeting different downstream tasks poses significant challenges. Naive fine-tuning may incur catastrophic forgetting when the over-parameterized LMs overfit the new data but fail to preserve the pretrained features. Lifelong learning (LLL) aims to enable information systems to learn from a continuous data stream across time. However, most prior work modifies the training recipe assuming a static fixed network architecture. We find that additional model capacity and proper regularization are key elements to achieving strong LLL performance. Thus, we propose Lifelong-MoE, an extensible MoE (Mixture-of-Experts) architecture that dynamically adds model capacity via adding experts with regularized pretraining. Our results show that by only introducing a limited number of extra experts while keeping the computation cost constant, our model can steadily adapt to data distribution shifts while preserving the previous knowledge. Compared to existing lifelong learning approaches, Lifelong-MoE achieves better few-shot performance on 19 downstream NLP tasks.

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

↑