Skip to main content
QUICK REVIEW

[Paper Review] FedMAX: Mitigating Activation Divergence for Accurate and Communication-Efficient Federated Learning

Wei Chen, Kartikeya Bhardwaj|arXiv (Cornell University)|Apr 7, 2020
Privacy-Preserving Technologies in DataComputer Science20 references10 citations
TL;DR

FedMAX proposes a novel federated learning framework that mitigates activation divergence—caused by non-IID data—by enforcing maximum entropy priors on local activation vectors to improve similarity across devices. This leads to higher accuracy and up to 5× fewer communication rounds compared to FedAvg and FedProx on CIFAR-10, CIFAR-100, FEMNIST, and medical datasets.

ABSTRACT

In this paper, we identify a new phenomenon called activation-divergence which occurs in Federated Learning (FL) due to data heterogeneity (i.e., data being non-IID) across multiple users. Specifically, we argue that the activation vectors in FL can diverge, even if subsets of users share a few common classes with data residing on different devices. To address the activation-divergence issue, we introduce a prior based on the principle of maximum entropy; this prior assumes minimal information about the per-device activation vectors and aims at making the activation vectors of same classes as similar as possible across multiple devices. Our results show that, for both IID and non-IID settings, our proposed approach results in better accuracy (due to the significantly more similar activation vectors across multiple devices), and is more communication-efficient than state-of-the-art approaches in FL. Finally, we illustrate the effectiveness of our approach on a few common benchmarks and two large medical datasets.

Motivation & Objective

  • Address the problem of activation divergence in federated learning due to non-IID data, where activation vectors for the same class across devices become dissimilar despite shared class labels.
  • Improve model accuracy in both IID and non-IID settings by aligning activation representations across devices without requiring shared global data.
  • Enhance communication efficiency by enabling longer local training epochs without accuracy degradation, reducing the number of communication rounds.
  • Provide a privacy-preserving solution that avoids data sharing while maintaining high performance on real-world and medical datasets.

Proposed method

  • Introduce a maximum entropy prior that assumes minimal information about per-device activation vectors, promoting uniformity and similarity across devices for the same class.
  • Formulate a regularized loss function that combines standard cross-entropy with an L2 norm penalty on activation vectors to encourage compact, similar representations.
  • Apply the maximum entropy principle to constrain activation distributions such that they are as uniform as possible under the constraint of matching class labels across devices.
  • Train local models with the new prior during each communication round, then aggregate global model weights via FedAvg-style averaging.
  • Use t-SNE visualization to analyze and compare activation vector clustering across devices between FedMAX and FedAvg, demonstrating improved alignment.
  • Evaluate the method under both IID and non-IID data splits, including real-world benchmarks and two large medical datasets (APTOS and Chest X-ray).

Experimental results

Research questions

  • RQ1To what extent does activation divergence degrade model accuracy in non-IID federated learning, even when users share common classes?
  • RQ2Can enforcing maximum entropy priors on local activation vectors reduce inter-device divergence and improve model generalization?
  • RQ3How does FedMAX compare to FedAvg and FedProx in terms of test accuracy and communication efficiency across diverse datasets?
  • RQ4Does FedMAX maintain performance gains on privacy-sensitive medical datasets where data sharing is infeasible?
  • RQ5Can the proposed method reduce the number of communication rounds required to achieve target accuracy without sacrificing model performance?

Key findings

  • FedMAX achieves 5.64% to 5.84% higher test accuracy than FedAvg on the CIFAR-10 dataset under non-IID settings.
  • On CIFAR-10, FedMAX reduces the number of communication rounds by up to 5× compared to FedAvg and FedProx while maintaining or improving accuracy.
  • t-SNE visualizations show that activation vectors for the same class cluster more tightly across devices in FedMAX than in FedAvg, especially after 6–15 training epochs.
  • FedMAX outperforms FedAvg and FedProx on both FEMNIST and CIFAR-100 datasets in both IID and non-IID settings, with consistent gains in accuracy and communication efficiency.
  • On the APTOS medical dataset (IID), FedMAX shows measurable improvement over FedAvg, while performance on the smaller Chest X-ray dataset is similar due to limited data-induced divergence.
  • L2 regularization on activation vectors significantly improves performance on medical datasets, whereas it underperforms on CIFAR-10, indicating dataset-specific sensitivity.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.