Skip to main content
QUICK REVIEW

[Paper Review] Improving Semi-supervised Federated Learning by Reducing the Gradient Diversity of Models

Zhengming Zhang, Yaoqing Yang|arXiv (Cornell University)|Aug 26, 2020
Privacy-Preserving Technologies in DataComputer Science62 references16 citations
TL;DR

This paper proposes a novel approach to semi-supervised federated learning (SSFL) by reducing gradient diversity through Group Normalization (GN) and a grouping-based model averaging method, achieving significantly higher test accuracy—up to 18.10% better—than prior SSFL methods and outperforming several supervised FL algorithms, even with lower communication frequency and higher data non-iidness.

ABSTRACT

Federated learning (FL) is a promising way to use the computing power of mobile devices while maintaining the privacy of users. Current work in FL, however, makes the unrealistic assumption that the users have ground-truth labels on their devices, while also assuming that the server has neither data nor labels. In this work, we consider the more realistic scenario where the users have only unlabeled data, while the server has some labeled data, and where the amount of labeled data is smaller than the amount of unlabeled data. We call this learning problem semi-supervised federated learning (SSFL). For SSFL, we demonstrate that a critical issue that affects the test accuracy is the large gradient diversity of the models from different users. Based on this, we investigate several design choices. First, we find that the so-called consistency regularization loss (CRL), which is widely used in semi-supervised learning, performs reasonably well but has large gradient diversity. Second, we find that Batch Normalization (BN) increases gradient diversity. Replacing BN with the recently-proposed Group Normalization (GN) can reduce gradient diversity and improve test accuracy. Third, we show that CRL combined with GN still has a large gradient diversity when the number of users is large. Based on these results, we propose a novel grouping-based model averaging method to replace the FedAvg averaging method. Overall, our grouping-based averaging, combined with GN and CRL, achieves better test accuracy than not just a contemporary paper on SSFL in the same settings (>10\%), but also four supervised FL algorithms.

Motivation & Objective

  • To address the realistic scenario in federated learning where users have only unlabeled data and the server holds a small amount of labeled data, known as semi-supervised federated learning (SSFL).
  • To investigate the impact of gradient diversity on model performance in SSFL, particularly in the context of consistency regularization and normalization layers.
  • To propose a novel grouping-based model averaging technique that reduces gradient diversity and improves test accuracy, especially with a large number of users.
  • To establish a strong baseline for SSFL that outperforms both contemporary SSFL methods and established supervised FL algorithms.

Proposed method

  • Replacing Batch Normalization (BN) with Group Normalization (GN) to reduce gradient diversity, as BN was found to increase gradient diversity in the SSFL setting.
  • Applying consistency regularization loss (CRL) to leverage unlabeled data, while identifying that CRL alone still suffers from high gradient diversity.
  • Introducing a grouping-based model averaging method to replace FedAvg, which reduces gradient diversity by clustering users with similar model updates before aggregation.
  • Combining GN and grouping-based averaging with CRL to form a unified training pipeline that enhances generalization and test accuracy in SSFL.
  • Evaluating the method across multiple datasets and varying environmental factors, including data non-iidness and communication frequency.
  • Using a virtual co-location assumption to model the server and label-holding institution as a single entity, enabling mathematical formulation without loss of generality.

Experimental results

Research questions

  • RQ1How does gradient diversity affect model performance in semi-supervised federated learning (SSFL) when users have only unlabeled data and the server has limited labeled data?
  • RQ2To what extent does Batch Normalization (BN) exacerbate gradient diversity in SSFL, and can Group Normalization (GN) mitigate this issue?
  • RQ3Can consistency regularization loss (CRL) effectively improve performance in SSFL, and does it still suffer from high gradient diversity despite its benefits?
  • RQ4How does the proposed grouping-based model averaging method reduce gradient diversity compared to FedAvg, especially when the number of users is large?
  • RQ5Can the combination of GN, CRL, and grouping-based averaging outperform both state-of-the-art SSFL methods and established supervised FL algorithms in terms of test accuracy?

Key findings

  • The use of Group Normalization (GN) instead of Batch Normalization (BN) significantly reduces gradient diversity and improves test accuracy in the SSFL setting.
  • Consistency regularization loss (CRL) achieves reasonable test accuracy but still exhibits high gradient diversity, limiting its effectiveness in SSFL.
  • Even with GN and CRL, gradient diversity remains high when the number of users is large, necessitating a new aggregation strategy.
  • The proposed grouping-based model averaging method reduces gradient diversity further and achieves a 14.79% to 18.10% improvement in test accuracy over a contemporary SSFL method in the same setting.
  • The proposed method outperforms four supervised FL algorithms, including FedAvg and EASGD, by 14.44% and 0.80% respectively, despite lower communication frequency and higher data non-iidness.
  • The method achieves comparable or better accuracy than supervised FL baselines, demonstrating its robustness and generalization capability in realistic federated learning scenarios.

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.