arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2605.26484cs.LG
收藏

Extra-Merge:追踪语言模型预训练中模型合并的秩-1子空间

Extra-Merge: Tracing the Rank-1 Subspace of Model Merging in Language Model Pre-Training

School of Advanced Interdisciplinary Sciences, University of Chinese Academy of Sciences, Beijing, China(中国科学院大学先进交叉学科学院);State Key Laboratory of AI Safety, Institute of Computing Technology, Chinese Academy of Sciences, China(中国科学院人工智能安全国家重点实验室);University of Chinese Academy of Sciences, China(中国科学院大学);Alibaba Group, China(阿里巴巴集团);School of Mathematics, Southeast University, Nanjing, China(东南大学数学学院)

Wenjie Zhou, Bohan Wang, Hongtao Zhang, Chenxi Jia, Wei Chen, Xueqi Cheng

AI总结:

本文通过分析预训练后期轨迹发现秩-1子空间现象,提出无需额外训练的Extra-Merge方法,沿该子空间外推以最小化损失,在GPT-2和LLaMA系列上优于标准合并基线。

摘要:

模型合并已成为增强大型语言模型(LLMs)的轻量级范式,但其底层机制仍知之甚少。在这项工作中,我们分析了后期预训练轨迹,并揭示了一个 extbf{秩-1子空间}现象:虽然原始优化步骤剧烈振荡,但连续的\emph{合并}检查点坍缩到一个稳定的、近似一维的线性流形上。我们通过\emph{河谷}景观分析从理论上为这一观察提供了依据:平均操作充当了几何低通滤波器,抑制高曲率噪声以揭示最优下降方向。基于这一见解,我们提出了 extbf{Extra-Merge},一种无需训练的策略,沿该子空间外推以最小化损失,无需额外的梯度更新。在GPT-2和LLaMA系列(124M到2B)上的大量实验表明,Extra-Merge始终优于标准合并基线。值得注意的是,它在Pythia-12B下游任务上取得了一致的零样本准确率提升,并有效推广到Muon优化器\citep{jordan2024muon}。

英文摘要:

Model merging has emerged as a lightweight paradigm for enhancing Large Language Models (LLMs), yet its underlying mechanisms remain poorly understood. In this work, we analyze late-stage pre-training trajectories and uncover a \textbf{Rank-1 Subspace} phenomenon: while raw optimization steps oscillate violently, consecutive \emph{merged} checkpoints collapse onto a stable, approximately one-dimensional linear manifold. We theoretically ground this observation in a \emph{river-valley} landscape analysis: averaging acts as a geometric low-pass filter that dampens high-curvature noise to reveal the optimal descent direction. Capitalizing on this insight, we propose \textbf{Extra-Merge}, a training-free strategy that extrapolates along this subspace to minimize loss without additional gradient updates. Extensive experiments across GPT-2 and LLaMA families (124M to 2B) demonstrate that Extra-Merge consistently outperforms standard merging baselines. Notably, it yields consistent zero-shot accuracy gains on Pythia-12B downstream tasks and generalizes effectively to the Muon optimizer \citep{jordan2024muon}.

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

↑