Eliminating Domain Bias for Federated Learning in Representation Space
Jianqing Zhang, Yang Hua, Jian Cao, Hao Wang, Tao Song, Zhengui Xue, Ruhui Ma, Haibing Guan
TL;DR
This work tackles representation bias and degeneration in federated learning under statistical heterogeneity by introducing Domain Bias Eliminator (DBE), composed of Personalized Representation Bias Memory (PRBM) and Mean Regularization (MR). PRBM stores client-specific bias while DBE creates a global mean translation to guide learning, enabling bi-directional knowledge transfer between server and clients. The authors provide theoretical bounds showing reduced domain discrepancy improves both local-to-global and global-to-local transfer, and they validate DBE across CV and NLP tasks, where FedAvg+DBE achieves substantial generalization and personalization gains and outperforms many state-of-the-art personalized FL methods. The approach preserves privacy and incurs negligible overhead, while demonstrating broad applicability to existing FL methods and real-world scenarios.
Abstract
Recently, federated learning (FL) is popular for its privacy-preserving and collaborative learning abilities. However, under statistically heterogeneous scenarios, we observe that biased data domains on clients cause a representation bias phenomenon and further degenerate generic representations during local training, i.e., the representation degeneration phenomenon. To address these issues, we propose a general framework Domain Bias Eliminator (DBE) for FL. Our theoretical analysis reveals that DBE can promote bi-directional knowledge transfer between server and client, as it reduces the domain discrepancy between server and client in representation space. Besides, extensive experiments on four datasets show that DBE can greatly improve existing FL methods in both generalization and personalization abilities. The DBE-equipped FL method can outperform ten state-of-the-art personalized FL methods by a large margin. Our code is public at https://github.com/TsingZ0/DBE.
