arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2603.04972cs.LGcs.CL
收藏

面向功能的LLM在Fisher-Rao流形上的融合

Functionality-Oriented LLM Merging on the Fisher--Rao Manifold

Pennsylvania State University(宾夕法尼亚州立大学)

Jiayu Wang, Zuojun Ye, Wenpeng Yin

AI总结:

本文提出在Fisher-Rao流形上计算加权Karcher均值,以实现更稳定的LLM融合,提升模型性能。

摘要:

权重空间融合旨在将多个微调的LLM合并成一个模型而无需重新训练,但大多数现有方法仍停留在参数空间的启发式方法上。这导致了三个实际限制。首先,线性平均、任务向量及相关规则在欧几里得坐标上操作,尽管目标是合并功能,即跨任务的预测行为。其次,当源检查点更远或更异质时,欧几里得混合往往会触发表示崩溃,表现为激活方差缩小和有效秩退化,这会显著降低准确性。第三,许多几何启发式方法最自然用于两模型插值,但无法清晰地扩展到具有原则性目标的N>2专家融合。我们通过将模型融合公式化为在Fisher-Rao流形上计算加权Karcher均值来解决这些问题,这在局部上等价于最小化预测分布之间的KL基于函数距离。我们推导出一个实用的固定点算法,使用轻量级的球面代理来保持范数并直接推广到多专家融合。在各种基准和崩溃诊断中,我们的方法在合并模型的数量和异质性增加时保持稳定,始终优于先前的基线。

英文摘要:

Weight-space merging aims to combine multiple fine-tuned LLMs into a single model without retraining, yet most existing approaches remain fundamentally parameter-space heuristics. This creates three practical limitations. First, linear averaging, task vectors, and related rules operate on Euclidean coordinates, even though the desired goal is to merge functionality, i.e., predictive behaviors across tasks. Second, when the source checkpoints are farther apart or more heterogeneous, Euclidean blends often trigger representation collapse, manifested as activation variance shrinkage and effective-rank degradation, which sharply degrades accuracy. Third, many geometry-inspired methods are most natural for two-model interpolation and do not extend cleanly to merging N>2 experts with a principled objective. We address these issues by formulating model merging as computing a weighted Karcher mean on the Fisher--Rao manifold, which is locally equivalent to minimizing a KL-based function distance between predictive distributions. We derive a practical fixed-point algorithm using a lightweight spherical proxy that preserves norms and generalizes directly to multi-expert merging. Across various benchmarks and collapse diagnostics, our method remains stable as the number and heterogeneity of merged models increase, consistently outperforming prior baselines.

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

↑