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

从模仿到集成:预训练语言模型的知识集成

From Mimicking to Integrating: Knowledge Integration for Pre-Trained Language Models

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

Lei Li, Yankai Lin, Xuancheng Ren, Guangxiang Zhao, Peng Li, Jie Zhou, Xu Sun

摘要:

研究更好的方法来重用已发布的预训练语言模型(PLM)可以显着降低计算成本和潜在的环境副作用。本文探讨了一种新的PLM重用范式,知识集成(KI)。在没有人工注释的情况下,KI的目标是将来自不同教师PLM的知识合并到一个通用的学生模型中,每个教师PLM都专注于不同的分类问题。为了实现这一点,我们首先推导出虚拟黄金监督和教师预测之间的相关性。然后,我们设计了一个模型不确定性-感知知识集成(MUKI)框架,以恢复学生的黄金监督。具体而言,MUKI采用Monte-Carlo Dropout来估计监督集成的模型不确定性。此外,还引入了一种基于不确定性分数的实例权重调整机制,以处理教师监督的潜在冲突。实验结果表明,MUKI在基准数据集上取得了显著的改进。进一步的分析表明,MUKI可以很好地推广融合教师模型与异构架构,甚至教师专业的跨语言数据集。

英文摘要:

Investigating better ways to reuse the released pre-trained language models (PLMs) can significantly reduce the computational cost and the potential environmental side-effects. This paper explores a novel PLM reuse paradigm, Knowledge Integration (KI). Without human annotations available, KI aims to merge the knowledge from different teacher-PLMs, each of which specializes in a different classification problem, into a versatile student model. To achieve this, we first derive the correlation between virtual golden supervision and teacher predictions. We then design a Model Uncertainty--aware Knowledge Integration (MUKI) framework to recover the golden supervision for the student. Specifically, MUKI adopts Monte-Carlo Dropout to estimate model uncertainty for the supervision integration. An instance-wise re-weighting mechanism based on the margin of uncertainty scores is further incorporated, to deal with the potential conflicting supervision from teachers. Experimental results demonstrate that MUKI achieves substantial improvements over baselines on benchmark datasets. Further analysis shows that MUKI can generalize well for merging teacher models with heterogeneous architectures, and even teachers major in cross-lingual datasets.

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

↑