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

持续预训练的可回收调优

Recyclable Tuning for Continual Pre-training

Tsinghua University(清华大学);Renmin University of China(中国人民大学);Tencent Inc.(腾讯公司)

Yujia Qin, Cheng Qian, Xu Han, Yankai Lin, Huadong Wang, Ruobing Xie, Zhiyuan Liu, Maosong Sun, Jie Zhou

AI总结:

针对持续预训练中过时适配权重被丢弃的问题,提出可回收调优任务,基于模式连通性和功能相似性分析,提出初始化与蒸馏两种方法,提升升级版PLM调优的收敛性和性能。

摘要:

持续预训练是一种范式,其中预训练语言模型(PLMs)从不断增长的数据中持续获取新知识并逐步升级。在升级版PLM发布之前,我们可能已经针对各种任务调优了原始PLM并存储了适配权重。然而,在调优升级版PLM时,这些过时的适配权重通常会被忽略和丢弃,造成潜在的资源浪费。我们将这一问题置于前沿,并主张应开发适当的算法来回收过时的适配权重。为此,我们提出了持续预训练的可回收调优任务。在初步研究中,我们发现持续预训练后,升级版PLM在某种程度上仍与过时的适配权重兼容。受此发现启发,我们从两个新颖的方面分析持续预训练PLM之间的联系,即模式连通性和功能相似性。基于相应发现,我们为我们的任务提出了基于初始化的方法和基于蒸馏的方法。我们证明了它们在改善升级版PLM调优的收敛性和性能方面的可行性。我们还表明,这两种方法可以结合使用以获得更好的性能。源代码公开于https://github.com/thunlp/RecyclableTuning。

英文摘要:

Continual pre-training is the paradigm where pre-trained language models (PLMs) continually acquire fresh knowledge from growing data and gradually get upgraded. Before an upgraded PLM is released, we may have tuned the original PLM for various tasks and stored the adapted weights. However, when tuning the upgraded PLM, these outdated adapted weights will typically be ignored and discarded, causing a potential waste of resources. We bring this issue to the forefront and contend that proper algorithms for recycling outdated adapted weights should be developed. To this end, we formulate the task of recyclable tuning for continual pre-training. In pilot studies, we find that after continual pre-training, the upgraded PLM remains compatible with the outdated adapted weights to some extent. Motivated by this finding, we analyze the connection between continually pre-trained PLMs from two novel aspects, i.e., mode connectivity, and functional similarity. Based on the corresponding findings, we propose both an initialization-based method and a distillation-based method for our task. We demonstrate their feasibility in improving the convergence and performance for tuning the upgraded PLM. We also show that both methods can be combined to achieve better performance. The source codes are publicly available at https://github.com/thunlp/RecyclableTuning.

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

↑