MCPcopy Index your code
hub / github.com/WenkeHuang/FCCL

github.com/WenkeHuang/FCCL @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
396 symbols 1,067 edges 53 files 48 documented · 12%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Generalizable Heterogeneous Federated Cross-Correlation and Instance Similarity Learning

Generalizable Heterogeneous Federated Cross-Correlation and Instance Similarity Learning
Wenke Huang, Mang Ye, Zekun Shi, Bo Du TPAMI, 2023

Abstract

Federated learning is an important privacy-preserving multi-party learning paradigm, involving collaborative learning with others and local updating on private data. Model heterogeneity and catastrophic forgetting are two crucial challenges, which greatly limit the applicability and generalizability. This paper presents a novel FCCL+, federated correlation and similarity learning with non-target distillation, facilitating the both intra-domain discriminability and inter-domain generalization. For heterogeneity issue, we leverage irrelevant unlabeled public data for communication between the heterogeneous participants. We construct cross-correlation matrix and align instance similarity distribution on both logits and feature levels, which effectively overcomes the communication barrier and improves the generalizable ability. For catastrophic forgetting in local updating stage, FCCL+ introduces Federated Non Target Distillation, which retains inter-domain knowledge while avoiding the optimization conflict issue, fulling distilling privileged inter-domain information through depicting posterior classes relation. Considering that there is no standard benchmark for evaluating existing heterogeneous federated learning under the same setting, we present a comprehensive benchmark with extensive representative methods under four domain shift scenarios, supporting both heterogeneous and homogeneous federated settings. Empirical results demonstrate the superiority of our method and the efficiency of modules on various scenarios.

Learn from others and Be yourself in Heterogeneous Federated Learning

Learn from others and Be yourself in Heterogeneous Federated Learning
Wenke Huang, Mang Ye, Bo Du CVPR, 2022 Link

Abstract

Federated learning has emerged as an important distributed learning paradigm, which normally involves collaborative updating with others and local updating on private data. However, heterogeneity problem and catastrophic forgetting bring distinctive challenges. First, due to non-i.i.d (identically and independently distributed) data and heterogeneous architectures, models suffer performance degradation on other domains and communication barrier with participants models. Second, in local updating, model is separately optimized on private data, which is prone to overfit current data distribution and forgets previously acquired knowledge, resulting in catastrophic forgetting. In this work, we propose FCCL (Federated Cross-Correlation and Continual Learning). For heterogeneity problem, FCCL leverages unlabeled public data for communication and construct cross-correlation matrix to learn a generalizable representation under domain shift. Meanwhile, for catastrophic forgetting, FCCL utilizes knowledge distillation in local updating, providing inter and intra domain information without leaking privacy. Empirical results on various image classification tasks demonstrate the effectiveness of our method and the efficiency of modules.

Citation

@inproceedings{FCCL_CVPR22,
    title={Learn from others and be yourself in heterogeneous federated learning},
    author={Huang, Wenke and Ye, Mang and Du, Bo},
    booktitle={CVPR},
    year={2022}
}
@article{FCCLPlus_TPAMI23,
  title={Generalizable Heterogeneous Federated Cross-Correlation and Instance Similarity Learning}, 
  author={Wenke Huang and Mang Ye and Zekun Shi and Bo Du},
  year={2023},
  journal={TPAMI}
}

Relevant Projects

[1] Rethinking Federated Learning with Domain Shift: A Prototype View - CVPR 2023 [Link] [Code]

[2] Federated Graph Semantic and Structural Learning - IJCAI 2023 [Link][Code]

Core symbols most depended-on inside this repo

train
called by 15
fccl/Idea/_base.py
data_path
called by 15
fccl+/utils/conf.py
get_dataloader
called by 14
fccl/Dataset/utils_dataset.py
mkdirs
called by 12
fccl/Idea/utils_idea.py
create_if_not_exists
called by 10
fccl+/utils/util.py
add_management_args
called by 7
fccl+/utils/args.py
init_nets
called by 6
fccl/Network/utils_network.py
swish
called by 6
fccl+/backbone/efficientnet.py

Shape

Method 244
Function 86
Class 66

Languages

Python100%

Modules by API surface

fccl/Dataset/init_dataset.py30 symbols
fccl+/datasets/market1501.py18 symbols
fccl/Network/resnet.py17 symbols
fccl+/backbone/efficientnet.py16 symbols
fccl+/backbone/ResNet.py15 symbols
fccl/Network/efficientnet.py14 symbols
fccl/Idea/_base.py14 symbols
fccl+/datasets/utils/federated_dataset.py14 symbols
fccl/Network/shufflenet.py13 symbols
fccl+/datasets/digits.py13 symbols
fccl+/models/utils/federated_model.py12 symbols
fccl+/models/fccl.py12 symbols

For agents

$ claude mcp add FCCL \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact