arXiv:2607.03011cs.LGcs.AI2026-07

用模型合并方法提升低通信量分布式训练的性能表现

Can Model Merging Improve Aggregation in DiLoCo?

  • 将模型合并技术引入分布式优化,替代传统伪梯度平均
  • 新方法Iso-C在多节点训练中显著优于经典DiLoCo,性能随节点数增加而更优
  • 适合需要低通信成本的大规模分布式训练场景

模型合并技术通过整合独立微调后的模型来融合其能力,近年来受到广泛关注。与此同时,分布式学习中出现了一类高效通信方法(如Local SGD和DiLoCo),通过周期性聚合本地模型大幅降低通信开销。然而,随着本地模型数量增加或本地训练步数上升,这类方法性能会明显下降,低于同计算量的数据并行基准。本文首次建立本地SGD/DiLoCo中的伪梯度聚合与基于任务算术的模型合并之间的明确类比,提出将先进合并方法应用于分布式优化。实验评估多种前沿合并方法后,发现Iso-C尤为有效。采用Iso-C聚合的DiLoCo SGD不仅超越简单伪梯度平均,甚至优于带动量机制的原始DiLoCo。基于此,我们提出IsoLoCo——通过引入Nesterov动量适配分布式训练的Iso-C变体。在不同本地工作节点数下的语言模型预训练实验表明,IsoLoCo显著优于原版DiLoCo,且差距随节点数增加而扩大。该优势在不同模型规模和内部训练步数下均保持,验证了基于合并的聚合策略在低通信分布式训练中的有效性。

原文摘要 · Abstract (English)

Model merging techniques, which aggregate independently finetuned models into one to combine their capabilities, have become a topic of significant interest in recent years, with a broad array of methods having been proposed to tackle this problem. Simultaneously, an emerging trend in distributed learning has been the use of methods such as local SGD and DiLoCo, which greatly reduce communication costs by periodically aggregating the independently trained local models. However, these communication-efficient methods have been shown to degrade in performance relative to the FLOP-matched data-parallel gold standard as the number of independent local models grows and as the number of local training steps before global communication is increased. In this work, we draw an explicit analogy between the pseudo-gradient aggregation step in local SGD/DiLoCo and task arithmetic-based model merging, establishing a straightforward way to utilize merging methods in the context of distributed optimization. We then evaluate multiple state-of-the-art model merging methods in this setting and identify one method in particular, Iso-C, as a promising approach for improving DiLoCo. We find that DiLoCo SGD with Iso-C aggregation outperforms not only simple pseudo-gradient averaging but even the momentum-based DiLoCo, despite lacking a momentum mechanism itself. Building on this finding, we propose IsoLoCo, which adapts Iso-C for distributed training by equipping it with Nesterov momentum. Our empirical evaluations on language model pre-training across varying numbers of local workers show that IsoLoCo significantly outperforms DiLoCo, with the gap between them widening as the number of workers increases. This advantage remains present across model sizes and inner step counts, confirming that merging-inspired aggregation is an effective strategy for low-communication distributed training.

分布式训练模型合并低通信

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