arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2602.06079cs.DCcs.LG
收藏

Canzona: 一个统一的、异步的、负载平衡的分布式矩阵优化器框架

Canzona: A Unified, Asynchronous, and Load-Balanced Framework for Distributed Matrix-based Optimizers

Alibaba Group(阿里巴巴集团);Peking University(北京大学)

Liangyu Wang, Siqi Zhang, Junjie Wang, Yiming Dong, Bo Zheng, Zihan Qiu, Shengkun Tang, Di Wang, Rui Men, Dayiheng Liu

AI总结:

Canzona提出一个统一的异步负载平衡框架,解决分布式矩阵优化器中张量碎片化与整体更新需求的冲突,通过alpha-平衡静态划分和异步计算流水线实现高效并行计算。

摘要:

大型语言模型的扩展性推动了对基于矩阵的优化器(如Shampoo、Muon、SOAP)的兴趣,因其收敛效率高;然而,这些优化器对整体更新的需求与分布式框架(如Megatron)中的张量碎片化存在冲突。现有解决方案效果不佳:同步方法导致计算冗余,而按层划分无法在不违反高效通信原语的几何约束的情况下解决这一冲突。为此,我们提出了Canzona,一个统一的、异步的、负载平衡的框架,将逻辑优化器分配与物理参数分布解耦。在数据并行中,我们引入了alpha-平衡静态划分策略,该策略在保持原子性的同时中和了负载不平衡。在张量并行中,我们设计了异步计算流水线,利用微组调度技术批量处理碎片化更新并隐藏重建开销。在Qwen3模型家族(参数量高达32B)上对256块GPU的大量评估表明,我们的方法保持了现有并行架构的效率,实现了端到端迭代时间的1.57倍加速,并将优化器步骤延迟降低了5.8倍相比基线。

英文摘要:

The scaling of Large Language Models (LLMs) drives interest in matrix-based optimizers (e.g., Shampoo, Muon, SOAP) for their convergence efficiency; yet their requirement for holistic updates conflicts with the tensor fragmentation in distributed frameworks like Megatron. Existing solutions are suboptimal: synchronous approaches suffer from computational redundancy, while layer-wise partitioning fails to reconcile this conflict without violating the geometric constraints of efficient communication primitives. To bridge this gap, we propose Canzona, a Unified, Asynchronous, and Load-Balanced framework that decouples logical optimizer assignment from physical parameter distribution. For Data Parallelism, we introduce an alpha-Balanced Static Partitioning strategy that respects atomicity while neutralizing the load imbalance. For Tensor Parallelism, we design an Asynchronous Compute pipeline utilizing Micro-Group Scheduling to batch fragmented updates and hide reconstruction overhead. Extensive evaluations on the Qwen3 model family (up to 32B parameters) on 256 GPUs demonstrate that our approach preserves the efficiency of established parallel architectures, achieving a 1.57x speedup in end-to-end iteration time and reducing optimizer step latency by 5.8x compared to the baseline.

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

↑