[论文解读] pFL-Bench: A Comprehensive Benchmark for Personalized Federated Learning
pFL-Bench 引入了首个针对个性化联邦学习(pFL)的综合基准测试,具有多样的数据集、包含 20+ 种 pFL 方法的模块化开源代码库,以及在泛化、公平性和系统效率方面的标准化评测。
Personalized Federated Learning (pFL), which utilizes and deploys distinct local models, has gained increasing attention in recent years due to its success in handling the statistical heterogeneity of FL clients. However, standardized evaluation and systematical analysis of diverse pFL methods remain a challenge. Firstly, the highly varied datasets, FL simulation settings and pFL implementations prevent easy and fair comparisons of pFL methods. Secondly, the current pFL literature diverges in the adopted evaluation and ablation protocols. Finally, the effectiveness and robustness of pFL methods are under-explored in various practical scenarios, such as the generalization to new clients and the participation of resource-limited clients. To tackle these challenges, we propose the first comprehensive pFL benchmark, pFL-Bench, for facilitating rapid, reproducible, standardized and thorough pFL evaluation. The proposed benchmark contains more than 10 dataset variants in various application domains with a unified data partition and realistic heterogeneous settings; a modularized and easy-to-extend pFL codebase with more than 20 competitive pFL method implementations; and systematic evaluations under containerized environments in terms of generalization, fairness, system overhead, and convergence. We highlight the benefits and potential of state-of-the-art pFL methods and hope the pFL-Bench enables further pFL research and broad applications that would otherwise be difficult owing to the absence of a dedicated benchmark. The code is released at https://github.com/alibaba/FederatedScope/tree/master/benchmark/pFL-Bench.
研究动机与目标
- 在异质客户端环境中,推动对个性化联邦学习(pFL)方法进行标准化、公平评估的必要性。
- 提供一个统一、可扩展的基准框架,以在多样化领域中实现快速、可重复的 pFL 实验。
- 在现实场景的 pFL 情况下评估对新/未见客户端的泛化、对客户端的公平性以及系统开销。
- 通过发布数据集、代码和评估协议,促进公平比较并为未来的 pFL 研究提供指导。
提出的方法
- 提供 4 个基准族,涵盖图像、文本、图和推荐任务的 12 种数据集变体,具有统一的划分和现实的非独立同分布(Non-IID)设置。
- 实现一个模块化的开源 pFL 代码库,包含 20+ 种竞争方法和可插拔的个性化子模块(如模型解耦、模型混合、元学习、正则化)。
- 在容器化环境中使用标准化脚本、在验证集上进行超参数调优、并进行多次运行以确保可重复性来评估方法。
- 使用抽象的广义联邦学习公式来框定个性化,包括全局 G(·)、局部 L(·)、泛化 R(·) 和耦合 Q(·) 项作为目标(Eq. 1)。
- 比较非 pFL 基线(Global-Train、Isolated)与广泛的 pFL 方法集合(FedBN、Ditto、pFedMe、HypCluster、FedEM 等),以及组合变体。
- 报告涵盖准确度(参与/未参与)、公平性和系统成本(时间、内存、FLOPs、通信)的多方面评估指标。
实验结果
研究问题
- RQ1在现实的非 IID 划分下,不同的 pFL 方法在多样域中的表现如何?
- RQ2个性化是否能提高客户端内部的准确性以及对未见客户端的泛化,且对公平性和效率的代价是什么?
- RQ3组合变体(例如与其他个性化算子结合的 FT)在准确性和泛化方面相对于原始方法如何?
- RQ4非 IID 程度和客户端采样对 pFL 的性能、公平性和收敛性有何影响?
- RQ5一个标准化的基准框架是否能够实现公平、可重复的比较并识别当前 pFL 方法的不足?
主要发现
- 在某些数据集上,pFL 方法在客户端内部准确性方面可超过 FedAvg,但在未参与客户端的泛化方面的提升却更不稳定。
- 组合变体(例如与其他个性化算子结合的 FT)经常取得最佳结果,表明模块化个性化的价值。
- FedBN 提高了同一数据集内的准确性,但可能损害对未见客户端的泛化,尤其在非图/文本域若无调整时。
- 当 Non-IID 情况更高(Dirichlet alpha 越低)时,性能通常下降,但在高度异质的设置下,pFL 方法仍比 FedAvg 更鲁棒。
- 客户端采样会降低一些优势,FT 在采样场景下增加了性能方差。
- 该基准测试揭示在新客户端的泛化和对客户端的公平性方面仍有较大改进空间。
阅读本论文
在 Nubint 阅读器中打开原文,边读边就任意段落提问。
在 Nubint 中阅读本论文本解读由 AI 根据论文原文生成,引用前请核对原文。