arXiv:2508.01675cs.LGcs.DC2025-08被引 2

解决异步联邦学习中非凸目标与数据异构的收敛难题

Asynchronous Federated Learning with non-convex client objective functions and heterogeneous dataset

  • 设计自适应聚合机制,优先采纳较新更新
  • 提出动态学习率,应对客户端延迟与数据差异
  • 适用于计算能力不一、网络延迟高的真实场景

联邦学习可在保护数据隐私的前提下实现跨分布式设备的协同训练。但传统联邦学习存在通信开销大、系统异构和慢速节点问题。异步联邦学习(AFL)通过允许客户端独立更新,提升可扩展性并减少同步延迟。本文将AFL拓展至处理非凸目标函数和异构数据集,常见于现代深度学习场景。我们提供了严格的收敛性分析,推导出期望梯度范数的上界,并研究了延迟、方差和异构性的影响。为缓解过时更新,引入基于延迟感知的聚合策略,优先选择较新更新;同时设计动态学习率调度,随客户端延迟和异构性自适应调整,增强稳定性与收敛性。该框架支持计算能力、数据分布和通信延迟的差异,具备实际应用价值。我们还分析了客户端选择策略(有放回或无放回采样)对方差和收敛的影响。在PyTorch中使用asyncio实现,实验验证了在异步、异构、非凸场景下的性能提升与可扩展性。

原文摘要 · Abstract (English)

Federated Learning (FL) enables collaborative model training across decentralized devices while preserving data privacy. However, traditional FL suffers from communication overhead, system heterogeneity, and straggler effects. Asynchronous Federated Learning (AFL) addresses these by allowing clients to update independently, improving scalability and reducing synchronization delays. This paper extends AFL to handle non-convex objective functions and heterogeneous datasets, common in modern deep learning. We present a rigorous convergence analysis, deriving bounds on the expected gradient norm and studying the effects of staleness, variance, and heterogeneity. To mitigate stale updates, we introduce a staleness aware aggregation that prioritizes fresher updates and a dynamic learning rate schedule that adapts to client staleness and heterogeneity, improving stability and convergence. Our framework accommodates variations in computational power, data distribution, and communication delays, making it practical for real world applications. We also analyze the impact of client selection strategies-sampling with or without replacement-on variance and convergence. Implemented in PyTorch with Python's asyncio, our approach is validated through experiments demonstrating improved performance and scalability for asynchronous, heterogeneous, and non-convex FL scenarios.

联邦学习异步训练非凸优化数据异构

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