DualFed:通过层次化表示在联邦学习中同时享受泛化与个性化
DualFed: Enjoying both Generalization and Personalization in Federated Learning via Hierachical Representations
AI总结:
针对个性化联邦学习中泛化与个性化难以兼得的冲突,本文提出DualFed方法,通过在编码器与分类器间插入个性化投影网络,分别生成泛化表示和个性化表示,从而同时提升模型泛化能力与本地个性化效果。
摘要:
在个性化联邦学习(PFL)中,人们普遍认识到,由于高模型泛化与有效个性化之间存在冲突,同时实现这两者构成了重大挑战。因此,现有的PFL方法只能在这两个目标之间进行权衡。这引出了一个有趣的问题:是否有可能开发一个能够同时实现这两个目标的模型?本文给出了肯定的回答,关键在于观察到深度模型本质上具有层次化架构,这些架构在不同阶段产生具有不同泛化与个性化水平的表示。基于这一观察,一种直接的方法是选择来自这些层的多个表示并将它们组合起来,以同时实现泛化和个性化。然而,候选表示的数量通常非常庞大,这使得该方法由于高计算成本而不可行。为了解决这个问题,我们提出了DualFed,这是一种新方法,可以直接产生分别对应泛化和个性化的双重表示,从而简化优化任务。具体而言,DualFed在编码器和分类器之间插入一个个性化投影网络。投影前的表示能够捕获跨客户端可共享的泛化信息,而投影后的表示则能够有效捕获本地客户端上的任务特定信息。这种设计最大限度地减少了泛化与个性化之间的相互干扰,从而实现了双赢的局面。大量实验表明,DualFed能够优于其他联邦学习方法。代码可在 https://github.com/GuogangZhu/DualFed 获取。
英文摘要:
In personalized federated learning (PFL), it is widely recognized that achieving both high model generalization and effective personalization poses a significant challenge due to their conflicting nature. As a result, existing PFL methods can only manage a trade-off between these two objectives. This raises an interesting question: Is it feasible to develop a model capable of achieving both objectives simultaneously? Our paper presents an affirmative answer, and the key lies in the observation that deep models inherently exhibit hierarchical architectures, which produce representations with various levels of generalization and personalization at different stages. A straightforward approach stemming from this observation is to select multiple representations from these layers and combine them to concurrently achieve generalization and personalization. However, the number of candidate representations is commonly huge, which makes this method infeasible due to high computational costs.To address this problem, we propose DualFed, a new method that can directly yield dual representations correspond to generalization and personalization respectively, thereby simplifying the optimization task. Specifically, DualFed inserts a personalized projection network between the encoder and classifier. The pre-projection representations are able to capture generalized information shareable across clients, and the post-projection representations are effective to capture task-specific information on local clients. This design minimizes the mutual interference between generalization and personalization, thereby achieving a win-win situation. Extensive experiments show that DualFed can outperform other FL methods. Code is available at https://github.com/GuogangZhu/DualFed.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。