Lune

NeurIPS2021Top-tier venue

No Fear of Heterogeneity: Classifier Calibration for Federated Learning with Non-IID Data

Mi Luo, Fei Chen, Dapeng Hu, Yifan Zhang, Jian Liang, Jiashi Feng

Abstract

A central challenge in training classification models in the real-world federated system is learning with non-IID data. To cope with this, most of the existing works involve enforcing regularization in local optimization or improving the model aggregation scheme at the server. Other works also share public datasets or synthesized samples to supplement the training of under-represented classes or introduce a certain level of personalization. Though effective, they lack a deep understanding of how the data heterogeneity affects each layer of a deep classification model. In this paper, we bridge this gap by performing an experimental analysis of the representations learned by different layers. Our observations are surprising: (1) there exists a greater bias in the classifier than other layers, and (2) the classification performance can be significantly improved by post-calibrating the classifier after federated training. Motivated by the above findings, we propose a novel and simple algorithm called Classifier Calibration with Virtual Representations (CCVR), which adjusts the classifier using virtual representations sampled from an approximated gaussian mixture model. Experimental results demonstrate that CCVR achieves state-of-the-art performance on popular federated learning benchmarks including CIFAR-10, CIFAR-100, and CINIC-10. We hope that our simple yet effective method can shed some light on the future research of federated learning with non-IID data.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

109 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Preservation of the Global Knowledge by Not-True Distillation in Federated Learning cites Ensemble Distillation for Robust Model Fusion in Federated Learning
  • Preservation of the Global Knowledge by Not-True Distillation in Federated Learning cites SCAFFOLD: Stochastic Controlled Averaging for Federated Learning
  • Preservation of the Global Knowledge by Not-True Distillation in Federated Learning cites Tackling the Objective Inconsistency Problem in Heterogeneous Federated Optimization
  • Preservation of the Global Knowledge by Not-True Distillation in Federated Learning cites On the Convergence of FedAvg on Non-IID Data
  • SCAFFOLD: Stochastic Controlled Averaging for Federated Learning cites On the Convergence of FedAvg on Non-IID Data
  • Tackling the Objective Inconsistency Problem in Heterogeneous Federated Optimization cites On the Convergence of FedAvg on Non-IID Data
  • Federated Learning from Pre-Trained Models: A Contrastive Learning Approach cites Ensemble Distillation for Robust Model Fusion in Federated Learning
  • Mix-of-Show: Decentralized Low-Rank Adaptation for Multi-Concept Customization of Diffusion Models cites Ensemble Distillation for Robust Model Fusion in Federated Learning
  • Mix-of-Show: Decentralized Low-Rank Adaptation for Multi-Concept Customization of Diffusion Models cites SCAFFOLD: Stochastic Controlled Averaging for Federated Learning
  • Mix-of-Show: Decentralized Low-Rank Adaptation for Multi-Concept Customization of Diffusion Models cites Tackling the Objective Inconsistency Problem in Heterogeneous Federated Optimization
  • Federated Learning on Non-IID Graphs via Structural Knowledge Sharing cites Tackling the Objective Inconsistency Problem in Heterogeneous Federated Optimization
  • Federated Learning on Non-IID Graphs via Structural Knowledge Sharing cites Federated Learning from Pre-Trained Models: A Contrastive Learning Approach
  • FedBABU: Toward Enhanced Representation for Federated Image Classification cites Decoupling Representation and Classifier for Long-Tailed Recognition
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers109

  1. Mix-of-Show: Decentralized Low-Rank Adaptation for Multi-Concept Customization of Diffusion ModelsYuchao Gu, Xintao Wang, Jay Zhangjie Wu, Yujun Shi et al.NeurIPS 2023 · 333 citations
  2. FedBABU: Toward Enhanced Representation for Federated Image ClassificationJaehoon Oh, Sangmook Kim, Se-Young YunICLR 2022 · 332 citations
  3. Federated Learning from Pre-Trained Models: A Contrastive Learning ApproachYue Tan, Guodong Long, Jie Ma, Lu Liu et al.NeurIPS 2022 · 316 citations
  4. Preservation of the Global Knowledge by Not-True Distillation in Federated LearningGihun Lee, Minchan Jeong, Yongjin Shin, Sangmin Bae et al.NeurIPS 2022 · 235 citations
  5. Federated Learning on Non-IID Graphs via Structural Knowledge SharingYue Tan, Yixin Liu, Guodong Long, Jing Jiang et al.AAAI 2023 · 224 citations

Builds on12

  1. SCAFFOLD: Stochastic Controlled Averaging for Federated LearningSai Praneeth Karimireddy, Satyen Kale, Mehryar Mohri, Sashank J. Reddi et al.ICML 2020 · 3,875 citations
  2. On the Convergence of FedAvg on Non-IID DataXiang Li, Kaixuan Huang, Wenhao Yang, Shusen Wang et al.ICLR 2020 · 2,930 citations
  3. Tackling the Objective Inconsistency Problem in Heterogeneous Federated OptimizationJianyu Wang, Qinghua Liu, Hao Liang, Gauri Joshi et al.NeurIPS 2020 · 2,231 citations
  4. Ensemble Distillation for Robust Model Fusion in Federated LearningTao Lin, Lingjing Kong, Sebastian U. Stich, Martin JaggiNeurIPS 2020 · 1,615 citations
  5. Decoupling Representation and Classifier for Long-Tailed RecognitionBingyi Kang, Saining Xie, Marcus Rohrbach, Zhicheng Yan et al.ICLR 2020 · 1,496 citations

Related papers

  1. FedUV: Uniformity and Variance for Heterogeneous Federated LearningHa Min Son, Moon-Hyun Kim, Tai-Myoung Chung, Chao Huang et al.CVPR 2024 · 11 citations
  2. FedNLR: Federated Learning with Neuron-wise Learning RatesHaozhao Wang, Peirong Zheng, Xingshuo Han, Wenchao Xu et al.KDD 2024 · 15 citations
  3. FedCal: Achieving Local and Global Calibration in Federated Learning via Aggregated Parameterized ScalerHongyi Peng, Han Yu, Xiaoli Tang, Xiaoxiao LiICML 2024 · 12 citations
  4. No Fear of Classifier Biases: Neural Collapse Inspired Federated Learning with Synthetic and Fixed ClassifierZexi Li, Xinyi Shang, Rui He, Tao Lin et al.ICCV 2023 · 81 citations
  5. FedCD: A Classifier Debiased Federated Learning Framework for Non-IID DataYunfei Long, Zhe Xue, Lingyang Chu, Tianlong Zhang et al.ACM MM 2023 · 20 citations
Dusk over the sea between two cliffs drawn in fine vertical lines