arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2403.04146cs.LGcs.AIcs.DC
收藏

FL-GUARD:面向负联邦学习运行时检测与恢复的整体框架

FL-GUARD: A Holistic Framework for Run-Time Detection and Recovery of Negative Federated Learning

Zhejiang University(浙江大学)

Hong Lin, Lidan Shou, Ke Chen, Gang Chen, Sai Wu

AI总结:

针对现有负联邦学习解决方案成本高、浪费轮次且未考虑不配合客户端的问题,提出可运行时动态检测并按需启动恢复的FL-GUARD框架,实验验证其有效、兼容旧方案且对不配合客户端鲁棒。

摘要:

联邦学习(FL)是一种极具前景的方法,可在不泄露数据隐私的前提下,利用分布在海量客户端上的数据训练模型。在客户端数据分布和学习行为均同质的理想联邦场景中,它能有效发挥作用。然而,当联邦环境不理想时,联邦学习可能无法正常运行,陷入被称为负联邦学习(NFL)的不健康状态,即大多数客户端参与联邦学习却无法获得任何收益。已有诸多研究尝试解决负联邦学习问题,但现有解决方案要么(1)预先设定在整个学习生命周期内预防负联邦学习,要么(2)在经历大量学习轮次后才处理负联邦学习。因此,这些方法要么(1)即便无需额外成本联邦学习也能良好运行,仍会无差别地产生额外开销;要么(2)浪费大量学习轮次。此外,在使用这些方案升级已投入使用的联邦学习系统时,以往研究均未考虑到可能不愿或无法遵循所提负联邦学习解决方案的客户端。本文提出FL-GUARD,这是一个可应用于任何联邦学习系统的整体框架,以运行时范式解决负联邦学习问题,即在学习早期阶段(数十轮)动态检测负联邦学习,必要时启动恢复措施。具体而言,我们设计了一种低成本的负联邦学习检测机制,该机制基于对客户端性能增益的估计。仅当检测到负联邦学习时,我们才启动负联邦学习恢复流程,在该流程中,每个客户端在训练全局模型的同时,并行学习一个适配模型。大量实验结果证实了FL-GUARD在检测负联邦学习以及将系统从负联邦学习恢复至健康学习状态方面的有效性。我们还表明,FL-GUARD与以往的负联邦学习解决方案兼容,且对不愿或无法采取任何恢复措施的客户端具有鲁棒性。

英文摘要:

Federated learning (FL) is a promising approach for learning a model from data distributed on massive clients without exposing data privacy. It works effectively in the ideal federation where clients share homogeneous data distribution and learning behavior. However, FL may fail to function appropriately when the federation is not ideal, amid an unhealthy state called Negative Federated Learning (NFL), in which most clients gain no benefit from participating in FL. Many studies have tried to address NFL. However, their solutions either (1) predetermine to prevent NFL in the entire learning life-cycle or (2) tackle NFL in the aftermath of numerous learning rounds. Thus, they either (1) indiscriminately incur extra costs even if FL can perform well without such costs or (2) waste numerous learning rounds. Additionally, none of the previous work takes into account the clients who may be unwilling/unable to follow the proposed NFL solutions when using those solutions to upgrade an FL system in use. This paper introduces FL-GUARD, a holistic framework that can be employed on any FL system for tackling NFL in a run-time paradigm. That is, to dynamically detect NFL at the early stage (tens of rounds) of learning and then to activate recovery measures when necessary. Specifically, we devise a cost-effective NFL detection mechanism, which relies on an estimation of performance gain on clients. Only when NFL is detected, we activate the NFL recovery process, in which each client learns in parallel an adapted model when training the global model. Extensive experiment results confirm the effectiveness of FL-GUARD in detecting NFL and recovering from NFL to a healthy learning state. We also show that FL-GUARD is compatible with previous NFL solutions and robust against clients unwilling/unable to take any recovery measures.

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

↑