模型合并不必要求统一的LoRA秩
Model Merging Does Not Require Uniform LoRA Ranks
在数学、指令跟随、多语言三个领域、四种秩与三种模型规模上训练的36个专家实验显示,为各专家分配不同LoRA秩不会损害平均法与效用选择法的效果,多域准确率最多提升1.8个百分点。按幅度选取谱分量的合并方法会几乎完全丢弃奇异值最小的指令适配器,使IFEval下降16至25个百分点;改按对损失的影响选取分量则可保留全部三个专家,在8倍秩范围内准确率波动仅0.7个百分点。
arXiv:2611.06486v2 Announce Type: replace Abstract: Model merging combines separately fine-tuned experts into a single model without retraining. Standard practice trains every expert at the same LoRA rank, which couples the rank choice across experts even though each domain has its own best rank. We show this coupling is a property of the merge method, not of merging. We train 36 experts on three domains (mathematics, instruction following, multilingual) at four ranks and three model scales, then merge with six methods at uniform ranks and at each domain's own best rank. Giving experts different ranks costs averaging and utility-based selection nothing, and gains them up to 1.8 pp of multi-domain accuracy, while the conflict-resolution methods are inconsistent and can lose up to 4 pp. The split has a simple cause. Merging keeps only a fixed share of the pooled spectral components, and methods that choose them by size discard many that would have reduced loss. They also tend to discard the same expert: the instruction adapter has the smallest singular values, so it is dropped almost entirely and IFEval falls by 16 to 25 pp. Choosing components by their effect on loss instead keeps all three experts, and leaves accuracy nearly flat across an 8$\times$ rank range (0.7 pp, against 6.7 pp for TIES at 4B scale). Rank can therefore be chosen per expert whenever the merge operator does not select by magnitude.
来源:arXiv (AI + Vision + Imaging) · arxiv.org