Fed-CO2: Cooperation of Online and Offline Models for Severe Data Heterogeneity in Federated Learning

Zhongyi Cai, Ye Shi, Wei Huang, Jingya Wang
2/12/2026

No official code found. Best implementation: zhyczy/Fed-CO2 (7 stars, last commit 2023-05-27).

Abstract

Federated Learning (FL) has emerged as a promising distributed learning paradigm that enables multiple clients to learn a global model collaboratively without sharing their private data. However, the effectiveness of FL is highly dependent on the quality of the data that is being used for training. In particular, data heterogeneity issues, such as label distribution skew and feature skew, can significantly impact the performance of FL. Previous studies in FL have primarily focused on addressing label distribution skew data heterogeneity, while only a few recent works have made initial progress in tackling feature skew issues. Notably, these two forms of data heterogeneity have been studied separately and have not been well explored within a unified FL framework. To address this gap, we propose Fed-CO$_{2}$, a universal FL framework that handles both label distribution skew and feature skew within a \textbf{C}ooperation mechanism between the \textbf{O}nline and \textbf{O}ffline models. Specifically, the online model learns general knowledge that is shared among all clients, while the offline model is trained locally to learn the specialized knowledge of each individual client. To further enhance model cooperation in the presence of feature shifts, we design an intra-client knowledge transfer mechanism that reinforces mutual learning between the online and offline models, and an inter-client knowledge transfer mechanism to increase the models' domain generalization ability. Extensive experiments show that our Fed-CO$_{2}$ outperforms a wide range of existing personalized federated learning algorithms in terms of handling label distribution skew and feature skew, both individually and collectively. The empirical results are supported by our convergence analyses in a simplified setting.

View on arXivView PDF

Code Implementations(1)

zhyczy/Fed-CO2Community100%

This is official implementation of Fed-CO2 (NeurIPS.2023)[https://arxiv.org/abs/2312.13923]

71Shell, PythonFeb 10, 20233 years ago

Similar Papers

Cite this paper

@article{cai2026fedco,
  title  = {Fed-CO2: Cooperation of Online and Offline Models for Severe Data Heterogeneity in Federated Learning},
  author = {Zhongyi Cai and Ye Shi and Wei Huang and Jingya Wang},
  year   = {2026},
  eprint = {2312.13923},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2312.13923},
  journal = {NEURIPS 2023 2023}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2312.13923.svg)](https://codeofpaper.com/paper/2312.13923)

Discussion