FedMuon:利用矩阵正交化加速联邦学习
FedMuon: Accelerating Federated Learning with Matrix Orthogonalization
AI总结:
针对联邦学习通信轮数瓶颈,提出FedMuon优化器,通过动量聚合和本地-全局对齐技术解决非独立同分布下的客户端漂移,实现无异性假设的线性加速收敛并显著减少通信轮数。
摘要:
联邦学习(FL)的核心瓶颈在于通信轮数。即,如何实现更有效的本地更新对于减少通信轮数至关重要。现有的 FL 方法仍主要使用逐元素的本地优化器(Adam/SGD),忽略了权重矩阵的几何结构。这通常会导致本地更新期间权重中病态方向的放大,进而导致条件数恶化和收敛缓慢。因此,我们在本地引入了 Muon 优化器,该优化器利用矩阵正交化来优化矩阵结构参数。实验结果表明,在 IID 设置中,与 Local SGD 和 Local AdamW 相比,Local Muon 显著加速了 FL 的收敛并减少了通信轮数。然而,在 non-IID 设置中,基于每个客户端本地分布的独立矩阵正交化会引起强烈的客户端漂移。在 non-IID FL 中应用 Muon 面临重大挑战:(1)客户端预条件导致客户端漂移;(2)矩重新初始化。为了应对这些挑战,我们提出了一种新颖的联邦 Muon 优化器(FedMuon),它包含两项关键技术:(1)动量聚合,客户端使用聚合动量进行本地初始化;(2)本地-全局对齐,将本地梯度与全局更新方向对齐以显著减少客户端漂移。在理论上,我们证明了 FedMuon 在无需异质性假设的情况下实现了线性加速收敛速率,其中 $S$ 是每轮参与的客户端数量,$K$ 是本地迭代次数,$R$ 是总通信轮数。在实验上,我们在语言和视觉模型上验证了 FedMuon 的有效性。与几个基线相比,FedMuon 显著减少了通信轮数并提高了测试准确率。
英文摘要:
The core bottleneck of Federated Learning (FL) lies in the communication rounds. That is, how to achieve more effective local updates is crucial for reducing communication rounds. Existing FL methods still primarily use element-wise local optimizers (Adam/SGD), neglecting the geometric structure of the weight matrices. This often leads to the amplification of pathological directions in the weights during local updates, leading deterioration in the condition number and slow convergence. Therefore, we introduce the Muon optimizer in local, which has matrix orthogonalization to optimize matrix-structured parameters. Experimental results show that, in IID setting, Local Muon significantly accelerates the convergence of FL and reduces communication rounds compared to Local SGD and Local AdamW. However, in non-IID setting, independent matrix orthogonalization based on the local distributions of each client induces strong client drift. Applying Muon in non-IID FL poses significant challenges: (1) client preconditioner leading to client drift; (2) moment reinitialization. To address these challenges, we propose a novel Federated Muon optimizer (FedMuon), which incorporates two key techniques: (1) momentum aggregation, where clients use the aggregated momentum for local initialization; (2) local-global alignment, where the local gradients are aligned with the global update direction to significantly reduce client drift. Theoretically, we prove that \texttt{FedMuon} achieves a linear speedup convergence rate without the heterogeneity assumption, where $S$ is the number of participating clients per round, $K$ is the number of local iterations, and $R$ is the total number of communication rounds. Empirically, we validate the effectiveness of FedMuon on language and vision models. Compared to several baselines, FedMuon significantly reduces communication rounds and improves test accuracy.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。