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

无数据知识融合:通过合并语言模型的权重

Dataless Knowledge Fusion by Merging Weights of Language Models

University of Southern California(南加州大学);Bloomberg(布莱尔)

Xisen Jin, Xiang Ren, Daniel Preotiuc-Pietro, Pengxiang Cheng

AI总结:

针对微调模型训练数据不可得的问题,提出在参数空间合并模型权重的无数据知识融合方法,以最小化预测差异为指导,显著优于基线,可替代多任务学习且更高效。

摘要:

对预训练语言模型进行微调已成为构建下游自然语言处理模型的普遍范式。通常情况下,微调后的模型易于获取,但其训练数据却因数据隐私或知识产权问题而无法获得。这阻碍了通过融合各个模型的知识来获得更优单一模型的过程。在本文中,我们研究了合并基于不同训练数据集构建的各个模型,以获得一个在跨所有数据集领域表现良好且能泛化到域外数据的单一模型的问题。我们提出了一种无数据知识融合方法,该方法在参数空间中合并模型,并以最小化合并模型与各个模型之间预测差异的权重为指导。在一系列评估设置中,我们表明所提出的方法显著优于诸如Fisher加权平均或模型集成等基线方法。此外,我们发现我们的方法是多任务学习的一个有前景的替代方案,可以在不访问训练数据的情况下保持甚至有时改进各个模型的性能。最后,模型合并比训练多任务模型更高效,因此适用于更广泛的场景。

英文摘要:

Fine-tuning pre-trained language models has become the prevalent paradigm for building downstream NLP models. Oftentimes fine-tuned models are readily available but their training data is not, due to data privacy or intellectual property concerns. This creates a barrier to fusing knowledge across individual models to yield a better single model. In this paper, we study the problem of merging individual models built on different training data sets to obtain a single model that performs well both across all data set domains and can generalize on out-of-domain data. We propose a dataless knowledge fusion method that merges models in their parameter space, guided by weights that minimize prediction differences between the merged model and the individual models. Over a battery of evaluation settings, we show that the proposed method significantly outperforms baselines such as Fisher-weighted averaging or model ensembling. Further, we find that our method is a promising alternative to multi-task learning that can preserve or sometimes improve over the individual models without access to the training data. Finally, model merging is more efficient than training a multi-task model, thus making it applicable to a wider set of scenarios.

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

↑