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

通过强化学习实现联邦学习中的优化本地更新

Optimized Local Updates in Federated Learning via Reinforcement Learning

Auburn University(亚伯拉罕大学)

Ali Murad, Bo Hui, Wei-Shinn Ku

AI总结:

本文提出利用 DRL 智能体依据训练损失变化动态生成各类别数据权重,优化联邦学习中的本地数据划分,以缓解非 IID 聚合导致的性能下降。

摘要:

联邦学习(Federated Learning,FL)是一种用于在大规模分布式数据上进行协同模型训练的分布式框架,能够在保持客户端数据隐私的同时实现更高性能。然而,集中式服务器处的模型聚合本质可能在不同客户端之间存在非 IID 数据时导致性能下降。我们指出,在客户端本地使用超出必要数量的数据进行训练,并不会提升所有客户端的整体性能。本文设计了一种新颖框架,利用深度强化学习(Deep Reinforcement Learning,DRL)智能体选择训练客户端模型所需的优化数据量,同时避免向服务器过度共享信息。DRL 智能体在开始时并不了解客户端性能,它将训练损失的变化用作奖励信号,并学习优化提升客户端性能所需的训练数据量。具体而言,在每一轮聚合之后,DRL 算法将本地性能视为当前状态,并输出训练数据中每个类别的优化权重,以供下一轮本地训练使用。通过这种方式,智能体学习一种策略,在 FL 轮次期间创建本地训练数据集的优化划分。FL 结束后,客户端利用整个本地训练数据集进一步增强其在自身数据分布上的性能,从而缓解聚合带来的非 IID 影响。通过大量实验,我们证明,以本文算法训练 FL 客户端,可在多个基准数据集和 FL 框架上取得优越性能。我们的代码可在 https://github.com/amuraddd/optimized_client_training.git 获取。

英文摘要:

Federated Learning (FL) is a distributed framework for collaborative model training over large-scale distributed data, enabling higher performance while maintaining client data privacy. However, the nature of model aggregation at the centralized server can result in a performance drop in the presence of non-IID data across different clients. We remark that training a client locally on more data than necessary does not benefit the overall performance of all clients. In this paper, we devise a novel framework that leverages a Deep Reinforcement Learning (DRL) agent to select an optimized amount of data necessary to train a client model without oversharing information with the server. Starting without awareness of the client's performance, the DRL agent utilizes the change in training loss as a reward signal and learns to optimize the amount of training data necessary for improving the client's performance. Specifically, after each aggregation round, the DRL algorithm considers the local performance as the current state and outputs the optimized weights for each class, in the training data, to be used during the next round of local training. In doing so, the agent learns a policy that creates an optimized partition of the local training dataset during the FL rounds. After FL, the client utilizes the entire local training dataset to further enhance its performance on its own data distribution, mitigating the non-IID effects of aggregation. Through extensive experiments, we demonstrate that training FL clients through our algorithm results in superior performance on multiple benchmark datasets and FL frameworks. Our code is available at https://github.com/amuraddd/optimized_client_training.git.

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

↑