Skip to main content
QUICK REVIEW

[Paper Review] Federated Semi-Supervised Learning with Prototypical Networks

Woojung Kim, Keondo Park|arXiv (Cornell University)|May 27, 2022
Privacy-Preserving Technologies in DataComputer Science5 citations
TL;DR

This paper proposes ProtoFSSL, a novel federated semi-supervised learning framework that uses lightweight class prototypes for inter-client knowledge sharing, enabling accurate pseudo-labeling of unlabeled data with minimal communication and computation costs. By leveraging prototypical networks for consistency regularization, ProtoFSSL achieves state-of-the-art accuracy—matching fully supervised FL on SVHN—while reducing communication by 2x and client-side computation by 1.7–3.4x compared to FedMatch.

ABSTRACT

With the increasing computing power of edge devices, Federated Learning (FL) emerges to enable model training without privacy concerns. The majority of existing studies assume the data are fully labeled on the client side. In practice, however, the amount of labeled data is often limited. Recently, federated semi-supervised learning (FSSL) is explored as a way to effectively utilize unlabeled data during training. In this work, we propose ProtoFSSL, a novel FSSL approach based on prototypical networks. In ProtoFSSL, clients share knowledge with each other via lightweight prototypes, which prevents the local models from diverging. For computing loss on unlabeled data, each client creates accurate pseudo-labels based on shared prototypes. Jointly with labeled data, the pseudo-labels provide training signals for local prototypes. Compared to a FSSL approach based on weight sharing, the prototype-based inter-client knowledge sharing significantly reduces both communication and computation costs, enabling more frequent knowledge sharing between more clients for better accuracy. In multiple datasets, ProtoFSSL results in higher accuracy compared to the recent FSSL methods with and without knowledge sharing, such as FixMatch, FedRGD, and FedMatch. On SVHN dataset, ProtoFSSL performs comparably to fully supervised FL methods.

Motivation & Objective

  • To address the challenge of limited labeled data in federated learning by enabling effective use of unlabeled client-side data.
  • To reduce communication and computation overhead in federated semi-supervised learning (FSSL) while maintaining model accuracy.
  • To investigate whether inter-client knowledge sharing can be effective in FSSL when using lightweight prototypes instead of full model weights.
  • To design a communication-efficient, computation-lightweight mechanism that mitigates local model divergence in non-i.i.d. data settings.
  • To evaluate the synergy between prototype-based knowledge sharing and normalization techniques in FSSL.

Proposed method

  • ProtoFSSL uses prototypical networks to learn class-level embeddings (prototypes) from local client data, which are shared across clients to enable knowledge transfer.
  • Each client computes pseudo-labels for its unlabeled data using shared prototypes, applying consistency regularization to improve pseudo-label quality.
  • Inter-client knowledge sharing occurs via lightweight prototypes (typically 13,000× smaller than model weights), reducing communication cost compared to weight-sharing methods like FedMatch.
  • The framework employs a helper-based mechanism where active clients share prototypes with others, enabling frequent and scalable knowledge exchange.
  • A prototype aggregation strategy ensures robustness even when some clients share low-quality prototypes, and noise injection can further enhance privacy.
  • The method integrates seamlessly with normalization techniques such as BN, GN, and sBN, and is compatible with differential privacy and multi-party aggregation for enhanced security.

Experimental results

Research questions

  • RQ1Can lightweight prototype sharing in federated semi-supervised learning effectively reduce model divergence without increasing client-side computation or communication?
  • RQ2How does prototype-based inter-client knowledge sharing compare to weight-sharing methods like FedMatch in terms of accuracy, communication, and computation efficiency?
  • RQ3Does inter-client consistency regularization via shared prototypes improve model convergence in non-i.i.d. and low-labeled-data settings?
  • RQ4How does ProtoFSSL interact with normalization techniques such as BN, GN, and sBN in terms of performance and convergence?
  • RQ5Can prototype sharing be made privacy-preserving while maintaining model accuracy, especially in data-heterogeneous environments?

Key findings

  • ProtoFSSL achieves 2.9% to 5.7% higher test accuracy than recent FSSL methods on CIFAR-10, SVHN, and STL-10, even with limited labeled data.
  • On the SVHN dataset, ProtoFSSL attains performance comparable to fully supervised FL, demonstrating strong generalization with minimal labels.
  • ProtoFSSL reduces communication cost by 2x and client-side computation by 1.7–3.4x compared to FedMatch, due to the use of lightweight prototypes instead of model weights.
  • The method performs best with traditional Batch Normalization (BN), showing that normalization effects are framework-dependent and not generalizable across FL systems.
  • ProtoFSSL shows strong synergy with normalization techniques, improving convergence across all tested methods (BN, GN, sBN), especially in non-i.i.d. settings.
  • The framework remains effective even with larger models like ResNet17, showing no significant overfitting and scalability to complex architectures.

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.