STAR:用于模型合并的谱截断与重缩放
STAR: Spectral Truncation and Rescale for Model Merging
AI总结:
本文提出模型合并方法 STAR,通过谱截断小分量并自动重缩放参数以保留核范数,缓解多模型合并冲突,在多种 NLP 任务和模型规模下显著提升性能。
摘要:
模型合并是一种无需进一步微调即可从多个预训练模型获得多任务模型的高效方法,并已在包括自然语言处理(NLP)在内的多个领域受到关注。尽管具有高效性,模型合并的一个关键挑战是:随着模型数量增加,任务性能似乎会不可避免地下降。本文提出 Spectral Truncation And Rescale(STAR,谱截断与重缩放),旨在通过截断各自谱空间中的较小分量来缓解“合并冲突”,随后采用自动参数重缩放方案以保留原始矩阵的核范数。STAR 不需要在原始训练数据上进行额外推理,并且对超参数选择具有鲁棒性。我们通过在多种 NLP 任务上的大量模型合并案例证明了 STAR 的有效性。具体而言,STAR 在不同模型规模下均表现稳健;在 Flan-T5 上合并 12 个模型时,其性能可比基线高出 4.2%。代码已公开发布于 https://github.com/IBM/STAR。
英文摘要:
Model merging is an efficient way of obtaining a multi-task model from several pretrained models without further fine-tuning, and it has gained attention in various domains, including natural language processing (NLP). Despite the efficiency, a key challenge in model merging is the seemingly inevitable decrease in task performance as the number of models increases. In this paper, we propose $\mathbf{S}$pectral $\mathbf{T}$runcation $\mathbf{A}$nd $\mathbf{R}$escale (STAR) that aims at mitigating ``merging conflicts'' by truncating small components in the respective spectral spaces, which is followed by an automatic parameter rescaling scheme to retain the nuclear norm of the original matrix. STAR requires no additional inference on original training data and is robust to hyperparamater choice. We demonstrate the effectiveness of STAR through extensive model merging cases on diverse NLP tasks. Specifically, STAR works robustly across varying model sizes, and can outperform baselines by 4.2$\%$ when merging 12 models on Flan-T5. Our code is publicly available at https://github.com/IBM/STAR.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。