arXiv:2504.21023cs.CLcs.AI2025-04被引 1

无需训练,用权重差直接让新模型拥有指令能力

Param$Δ$ for Direct Weight Mixing: Post-Train Large Language Model at Zero Cost

  • 通过计算指令模型与基础模型的权重差,迁移知识到新模型
  • 70B Llama3系列模型使用后性能达原模型95%水平
  • 适合快速迭代模型、资源受限的开源社区使用

大语言模型的后训练阶段对提升指令遵循、推理和对齐人类偏好等能力至关重要,但需大量高质量数据,存在过拟合风险,并因每次基础模型更新后需重复训练与评估而带来巨大计算成本。本文提出 $ParamΔ$ 方法,通过将已后训练模型权重 $Θ_ ext{post}$ 与基础模型权重 $Θ_ ext{base}$ 的差值加至更新后的基础模型 $Θ'_ ext{base}$,定义新模型 $Θ_{ ext{Param}Δ} = Θ_ ext{post} - Θ_ ext{base} + Θ'_ ext{base}$,实现零成本知识迁移。实验在 LLama3、Llama3.1、Qwen 及 DeepSeek-distilled 模型上验证,结果表明 $ParamΔ$ 模型能有效复现传统后训练效果。例如,基于 70B Llama3-inst、Llama3-base、Llama3.1-base 构建的 $ParamΔ$ 模型平均达到 Llama3.1-inst 模型约 95% 的性能。该方法为开放权重社区中频繁更新的基座与指令模型提供零成本加速框架。

原文摘要 · Abstract (English)

The post-training phase of large language models is essential for enhancing capabilities such as instruction-following, reasoning, and alignment with human preferences. However, it demands extensive high-quality data and poses risks like overfitting, alongside significant computational costs due to repeated post-training and evaluation after each base model update. This paper introduces $ParamΔ$, a novel method that streamlines post-training by transferring knowledge from an existing post-trained model to a newly updated base model with ZERO additional training. By computing the difference between post-trained model weights ($Θ_\text{post}$) and base model weights ($Θ_\text{base}$), and adding this to the updated base model ($Θ'_\text{base}$), we define $ParamΔ$ Model as: $Θ_{\text{Param}Δ} = Θ_\text{post} - Θ_\text{base} + Θ'_\text{base}$. This approach surprisingly equips the new base model with post-trained capabilities, achieving performance comparable to direct post-training. We did analysis on LLama3, Llama3.1, Qwen, and DeepSeek-distilled models. Results indicate $ParamΔ$ Model effectively replicates traditional post-training. For example, the $ParamΔ$ Model obtained from 70B Llama3-inst, Llama3-base, Llama3.1-base models attains approximately 95\% of Llama3.1-inst model's performance on average. $ParamΔ$ brings a new perspective on how to fully leverage models in the open-weight community, where checkpoints for base and instruct models are readily available and frequently updated, by providing a cost-free framework to accelerate the iterative cycle of model development.

模型优化零成本训练权重迁移LLM

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。