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

AlignMerge - 通过Fisher引导的几何约束实现的保持对齐的大语言模型合并

AlignMerge - Alignment-Preserving Large Language Model Merging via Fisher-Guided Geometric Constraints

AI Institute, University of South Carolina(AI研究院,南卡罗来纳大学);Indian Institute of Technology, Kharagpur(印度理工学院,Khargpur分校);Islamic University of Technology(伊斯兰科技大学);Stanford University, USA(斯坦福大学,美国);Amazon AI, USA(亚马逊AI,美国);HCL(HCL公司);Evalueserve(Evalueserve公司);Apple (USA)(苹果(美国));Google (USA)(谷歌(美国));Pragya Lab, BITS Pilani, Goa(Pragya实验室, BITS Pilani,Goa分校)

Aniruddha Roy, Jyoti Patel, Aman Chadha, Vinija Jain, Amitava Das

AI总结:

AlignMerge通过Fisher引导的几何约束实现大语言模型合并,提升对齐度量并保持性能。

摘要:

将大型语言模型(LLMs)合并是一种在不重新训练的情况下从多个微调检查点中组合能力的实用方法。然而,标准方案(线性权重汤、任务向量和Fisher加权平均)可以在不引起注意的情况下保持损失,却在暗中破坏对齐。我们主张合并不是一种数值技巧,而是在一个已经对齐的锚点周围的几何约束操作:融合必须被引导以尊重安全几何,而不是事后验证。我们介绍了AlignMerge,一种具有几何意识的合并框架,使对齐成为显式的不变量。在围绕指令微调基础的局部Fisher图表中,我们使用投影器P_A估计一个对齐子空间,并优化:L_AlignMerge = L_geo + lambda_align * L_align + lambda_bud * L_bud,其中L_geo使合并靠近其专家在Fisher-Rao几何中,L_align惩罚沿对齐敏感方向的运动,L_bud强制执行一个软对齐预算。作为对齐功能,我们使用解码不变的对齐质量指数(AQI),这是一个隐空间准则,捕捉到表示空间中对齐和非对齐行为如何清晰分离。在五个模型家族(LLaMA-3 8B,Mistral 7B,Qwen 2,Phi-3.5,Gemma 2)中,通过合并安全锚点与任务专家,AlignMerge在对齐度量(AQI、毒性、LLM-judge对齐)上有所提高,同时在指令遵循、推理和有用性上匹配或超过最佳专家。它还表现出比Fisher汤、TIES、SafeMerge和MergeAlign更小的对齐子空间漂移和更少的预算违规。这些结果使保持对齐的合并成为一级设计目标,并建议了一条通往未来基础模型几何意识组合的路径。

英文摘要:

Merging large language models (LLMs) is a practical way to compose capabilities from multiple fine-tuned checkpoints without retraining. Yet standard schemes (linear weight soups, task vectors, and Fisher-weighted averaging) can preserve loss while quietly destroying alignment. We argue that merging is not a numerical trick but a geometry-constrained operation around an already-aligned anchor: fusion must be steered to respect safety geometry, not validated post hoc. We introduce AlignMerge, a geometry-aware merging framework that makes alignment an explicit invariant. In a local Fisher chart around an instruction-tuned base, we estimate an alignment subspace with projector P_A and optimize: L_AlignMerge = L_geo + lambda_align * L_align + lambda_bud * L_bud, where L_geo keeps the merge close to its experts in Fisher-Rao geometry, L_align penalizes motion along alignment-sensitive directions, and L_bud enforces a soft alignment budget. As the alignment functional we use the decoding-invariant Alignment Quality Index (AQI), a latent-space criterion that captures how cleanly aligned and misaligned behaviors separate in representation space. Across five model families (LLaMA-3 8B, Mistral 7B, Qwen 2, Phi-3.5, Gemma 2), merging safety anchors with task experts, AlignMerge improves alignment metrics (AQI, toxicity, LLM-judge alignment) while matching or exceeding the best expert on instruction-following, reasoning, and helpfulness. It also exhibits smaller alignment-subspace drift and fewer budget violations than Fisher soups, TIES, SafeMerge, and MergeAlign. These results make alignment-preserving merging a first-class design goal and suggest a path to geometry-aware composition of future foundation models.

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

↑