[论文解读] Merging Beyond: Streaming LLM Updates via Activation-Guided Rotations
本文提出 Streaming Merging 的迭代更新范式,以及 ARM(Activation-guided Rotation-aware Merging),通过旋转激活派生方向来近似梯度下降,使合并在早期 checkpoint 下即可超越收敛微调。
The escalating scale of Large Language Models (LLMs) necessitates efficient adaptation techniques. Model merging has gained prominence for its efficiency and controllability. However, existing merging techniques typically serve as post-hoc refinements or focus on mitigating task interference, often failing to capture the dynamic optimization benefits of supervised fine-tuning (SFT). In this work, we propose Streaming Merging, an innovative model updating paradigm that conceptualizes merging as an iterative optimization process. Central to this paradigm is extbf{ARM} ( extbf{A}ctivation-guided extbf{R}otation-aware extbf{M}erging), a strategy designed to approximate gradient descent dynamics. By treating merging coefficients as learning rates and deriving rotation vectors from activation subspaces, ARM effectively steers parameter updates along data-driven trajectories. Unlike conventional linear interpolation, ARM aligns semantic subspaces to preserve the geometric structure of high-dimensional parameter evolution. Remarkably, ARM requires only early SFT checkpoints and, through iterative merging, surpasses the fully converged SFT model. Experimental results across model scales (1.7B to 14B) and diverse domains (e.g., math, code) demonstrate that ARM can transcend converged checkpoints. Extensive experiments show that ARM provides a scalable and lightweight framework for efficient model adaptation.
研究动机与目标
- 通过持续、流式更新为大语言模型提供高效的模型适配动机。
- 将合并重新表述为类似优化的过程,而非静态插值。
- 引入 ARM 以使更新与数据驱动的激活子空间对齐。
- 证明流式 ARM 在不同规模和任务上可超越完全收敛的有监督微调。
提出的方法
- 将 Streaming Merging 定义为使用中间检查点序列的迭代更新规则。
- 引入 ARM,通过激活子空间中的激活派生旋转矩阵(通过激活位移的 SVD)对任务向量进行旋转。
- 用锚定和滑动窗口机制来实现合并更新,以在稳定性与可塑性之间取得平衡。
- 推导激活方向与梯度下降更新之间的理论联系。
- 在多种模型尺度(1.7B–14B)和任务(数学、代码)上评估 Streaming Merging 中的 ARM。
实验结果
研究问题
- RQ1流式、迭代合并是否在固定任务内优于事后合并或完全微调?
- RQ2基于激活引导的旋转是否使合并超越仿射子空间并模拟基于梯度的更新?
- RQ3ARM 对早期 checkpoint 的鲁棒性以及在不同模型规模和领域的可扩展性如何?
- RQ4在标准微调完全收敛后,流式 ARM 是否还能提升性能?
- RQ5ARM 如何与基于强化学习的编辑和低秩精炼交互?
主要发现
- 将 ARM 与 Streaming Merging 集成在各模型尺度上呈现最强表现(例如在不同配置下的平均分数为 42.5–59.3)。
- ARM 能超越完全收敛的 SFT checkpoint,在特定情形下实现如 +0.7 和 +3.0 的准确性提升。
- 带 ARM 的流式合并减少对长时间训练的依赖,通常在收敛前需要 2–6 次迭代,达到平台后更少。
- 将 ARM 添加到已收敛模型时仍有效,进一步提升性能(例如在 14B 上提升 1.8 点)。
- 在代码任务中,ARM 在 Qwen2.5-7B 的流式合并后达到最高平均 48.2,领先 TA 0.2 点。
- ARM 可以与 RL 编辑方法结合以获得额外增益,显示与低秩编辑的兼容性。
阅读本论文
在 Nubint 阅读器中打开原文,边读边就任意段落提问。
在 Nubint 中阅读本论文本解读由 AI 根据论文原文生成,引用前请核对原文。