DualFed: Enjoying both Generalization and Personalization in Federated Learning via Hierachical Representations

Fuente: arXiv
Salvato in:
Dettagli Bibliografici
Autori principali: Zhu, Guogang, Liu, Xuefeng, Niu, Jianwei, Tang, Shaojie, Wu, Xinghao, Zhang, Jiayuan
Natura: Preprint
Pubblicazione: 2024
Soggetti:
Accesso online:
Tags: Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
_version_ 1866917913852641280
author Zhu, Guogang
Liu, Xuefeng
Niu, Jianwei
Tang, Shaojie
Wu, Xinghao
Zhang, Jiayuan
author_facet Zhu, Guogang
Liu, Xuefeng
Niu, Jianwei
Tang, Shaojie
Wu, Xinghao
Zhang, Jiayuan
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2407_17754
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle DualFed: Enjoying both Generalization and Personalization in Federated Learning via Hierachical Representations
Zhu, Guogang
Liu, Xuefeng
Niu, Jianwei
Tang, Shaojie
Wu, Xinghao
Zhang, Jiayuan
Machine Learning
Distributed, Parallel, and Cluster Computing
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.
title DualFed: Enjoying both Generalization and Personalization in Federated Learning via Hierachical Representations
topic Machine Learning
Distributed, Parallel, and Cluster Computing
url https://arxiv.org/abs/2407.17754