Skip to main content
QUICK REVIEW

[Paper Review] Virtual Homogeneity Learning: Defending against Data Heterogeneity in Federated Learning

Zhenheng Tang, Yonggang Zhang|arXiv (Cornell University)|Jun 6, 2022
Privacy-Preserving Technologies in DataComputer Science17 citations
TL;DR

This paper proposes Virtual Homogeneity Learning (VHL), a novel approach to mitigate data heterogeneity in federated learning by introducing a virtual, non-private dataset shared across clients to calibrate feature distributions. By aligning the conditional class distributions of virtual and natural data via domain adaptation, VHL achieves provable generalization and significantly improves convergence speed and model accuracy across multiple FL algorithms and datasets.

ABSTRACT

In federated learning (FL), model performance typically suffers from client drift induced by data heterogeneity, and mainstream works focus on correcting client drift. We propose a different approach named virtual homogeneity learning (VHL) to directly "rectify" the data heterogeneity. In particular, VHL conducts FL with a virtual homogeneous dataset crafted to satisfy two conditions: containing no private information and being separable. The virtual dataset can be generated from pure noise shared across clients, aiming to calibrate the features from the heterogeneous clients. Theoretically, we prove that VHL can achieve provable generalization performance on the natural distribution. Empirically, we demonstrate that VHL endows FL with drastically improved convergence speed and generalization performance. VHL is the first attempt towards using a virtual dataset to address data heterogeneity, offering new and effective means to FL.

Motivation & Objective

  • To address the fundamental challenge of data heterogeneity in federated learning, which causes client drift and degrades model performance.
  • To explore whether data heterogeneity can be mitigated by sharing data with no private information.
  • To develop a method that improves generalization and convergence in FL without relying on private data sharing or differential privacy.
  • To establish a theoretical foundation for generalization performance when using virtual data in FL.
  • To empirically validate the effectiveness of VHL across diverse FL algorithms and datasets.

Proposed method

  • VHL constructs a virtual homogeneous dataset from pure noise shared across all clients, ensuring no private information is exposed.
  • The method calibrates features of natural data from heterogeneous clients by aligning their conditional distributions with those of the virtual dataset, inspired by domain adaptation.
  • Feature calibration is achieved by minimizing the distributional discrepancy between natural and virtual data within the same class, using a contrastive loss or similar metric.
  • The virtual dataset is designed to be separable and contain the same number of classes as the original data to enable label alignment.
  • VHL integrates with existing FL algorithms (e.g., FedAvg, FedProx, SCAFFOLD, FedNova) by augmenting client local training with virtual data samples.
  • The approach is robust to varying model capacities and calibration weights, with optimal performance observed when calibrating features from intermediate layers (e.g., 4th layer of ResNet-18).

Experimental results

Research questions

  • RQ1Can data heterogeneity in federated learning be effectively mitigated by sharing a virtual dataset that contains no private information?
  • RQ2Does aligning the conditional class distributions of virtual and natural data improve generalization and convergence in FL?
  • RQ3How does VHL perform across different FL algorithms and model architectures under varying degrees of data non-IIDness?
  • RQ4What is the impact of virtual data sampling frequency and calibration weight on model performance?
  • RQ5Can VHL maintain strong performance when using simpler virtual data generation methods (e.g., pure noise) instead of complex GANs?

Key findings

  • VHL significantly improves convergence speed and generalization performance across all evaluated FL algorithms, including FedAvg, FedProx, SCAFFOLD, and FedNova.
  • On CIFAR-10 with ResNet-18, VHL achieves 87.82% test accuracy, compared to 79.98% for the baseline, representing a 7.84% absolute improvement.
  • Using pure Gaussian noise as the virtual dataset yields comparable or better performance than using more complex virtual data (e.g., from StyleGAN or Tiny-ImageNet), suggesting simplicity enhances effectiveness.
  • The method is robust to calibration weight variations, with performance stable across different λ values, indicating low sensitivity to hyperparameter tuning.
  • VHL maintains strong performance across different model capacities, including ResNet-10, ResNet-18, and ResNet-34, demonstrating scalability.
  • Ablation studies confirm that increasing virtual data sampling frequency strengthens feature calibration and further improves performance.

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.