SMAT:简单高效的合并感知训练
研究论文 · 2026/09/29
模型合并无需联合重训练即可整合多个专家的能力,但标准专家训练仅优化任务损失,无法保证合并后的性能。合并感知训练(MAT)旨在提升合并性能,但现有方法未充分考虑常见合并操作且增加训练成本。我们从专家角度观察到,常见合并方法可描述为三种操作:缩放(重新加权自身更新)、掩码(移除选定坐标)和扰动(添加其他专家的更新)。基于此,我们提出SMAT(Simple MAT),通过采样缩放系数、掩码和加性噪声,在模拟合并参数上联合优化专家损失和期望损失。我们进一步引入周期性调度、内核融合和参数存储切换,使SMAT高效,每步仅需一次前向和一次反向传播。在四个语言和视觉语言骨干网络上,SMAT在五种合并方法上的平均得分比每个骨干网络的最强基线提高1.07-2.16分,训练时间开销比标准微调增加不到2%。
该工作提出了一种简单高效的合并感知训练方法,显著提升模型合并性能且训练开销极低,对多专家模型集成领域具有实用价值。
Model merging integrates the capabilities of multiple experts without joint retraining, but standard expert training optimizes task loss alone and does not guarantee good performance after merging. Merge-aware training (MAT) aims to improve merged performance, but existing methods do not fully account for common merging operations and add training cost. We observe that, from an expert's perspective, common merging methods can be described by three operations: Scale reweights its own update, Mask removes selected coordinates, and Perturb adds updates from other experts. Based on this view, we introduce SMAT (Simple MAT), which jointly optimizes expert loss and expected loss at simulated merged parameters generated by sampling scaling coefficients, masks, and additive noise. We further introduce periodic scheduling, kernel fusion, and parameter storage switching to make SMAT efficient, with one forward and one backward pass per step. Across four language and vision-language backbones, SMAT improves the mean score across five merging methods by 1.07-2.16 points over the strongest baseline for each backbone, with less than 2% training-time overhead over standard fine-tuning.