Skip to main content
QUICK REVIEW

[Paper Review] FedSiam: Towards Adaptive Federated Semi-Supervised Learning

Zewei Long, Liwei Che|arXiv (Cornell University)|Dec 6, 2020
Privacy-Preserving Technologies in DataComputer Science48 references10 citations
TL;DR

FedSiam proposes a novel federated semi-supervised learning framework that leverages a siamese network with momentum updates to improve model generalization and handle non-IID data in both labels-at-client and labels-at-server scenarios. By introducing an adaptive layer selection mechanism based on layer-wise weight divergence, FedSiam enhances communication efficiency and achieves state-of-the-art performance across multiple datasets and data distribution settings.

ABSTRACT

Federated learning (FL) has emerged as an effective technique to co-training machine learning models without actually sharing data and leaking privacy. However, most existing FL methods focus on the supervised setting and ignore the utilization of unlabeled data. Although there are a few existing studies trying to incorporate unlabeled data into FL, they all fail to maintain performance guarantees or generalization ability in various real-world settings. In this paper, we focus on designing a general framework FedSiam to tackle different scenarios of federated semi-supervised learning, including four settings in the labels-at-client scenario and two setting in the labels-at-server scenario. FedSiam is built upon a siamese network into FL with a momentum update to handle the non-IID challenges introduced by unlabeled data. We further propose a new metric to measure the divergence of local model layers within the siamese network. Based on the divergence, FedSiam can automatically select layer-level parameters to be uploaded to the server in an adaptive manner. Experimental results on three datasets under two scenarios with different data distribution settings demonstrate that the proposed FedSiam framework outperforms state-of-the-art baselines.

Motivation & Objective

  • Address the challenge of leveraging unlabeled data in federated learning while maintaining performance and generalization under non-IID data distributions.
  • Overcome limitations of existing FedSSL methods that suffer from overfitting to pseudo-labels or lack robustness in complex data distribution settings.
  • Propose a generalizable framework effective across multiple FedSSL scenarios, including labels-at-client and labels-at-server, under both IID and non-IID conditions.
  • Introduce a novel adaptive layer selection mechanism that reduces communication overhead by selectively uploading only the most informative model layers.
  • Enhance model robustness through a momentum-based update strategy that stabilizes training in the presence of statistical data heterogeneity.

Proposed method

  • Employ a siamese network architecture where two identical branches share weights, enabling consistency regularization between views of the same input.
  • Apply a momentum update mechanism to stabilize the target network in the siamese framework, reducing distribution shift and improving training stability.
  • Design a layer-level weight divergence metric to quantify the difference between corresponding layers of the two siamese branches, enabling adaptive model compression.
  • Use the divergence metric to dynamically select which layers to upload to the server, reducing communication cost while preserving model performance.
  • Train the local model using a combination of classification loss and consistency loss, with stop-gradient operations to decouple labeled and unlabeled learning paths.
  • Support both labels-at-client and labels-at-server scenarios by adapting the training and aggregation procedures accordingly, including server-side model updates in the latter.

Experimental results

Research questions

  • RQ1How can federated semi-supervised learning be made robust to non-IID data distributions when both labeled and unlabeled data are present at clients?
  • RQ2Can a siamese network architecture with momentum updates improve generalization and reduce overfitting in federated semi-supervised learning?
  • RQ3What is an effective and adaptive mechanism for selecting which model layers to communicate in federated learning to balance performance and communication cost?
  • RQ4How does the proposed FedSiam framework perform across diverse data distribution settings, including both IID and non-IID scenarios?
  • RQ5Can the framework generalize across different FedSSL settings, including labels-at-server, where labeled data are not available on clients?

Key findings

  • FedSiam outperforms state-of-the-art baselines on three benchmark datasets—MNIST, CIFAR-10, and SVHN—under both IID and Non-IID data distribution settings.
  • In the Non-IID-I setting, FedSiam achieved 48.11% accuracy on CIFAR-10 using KL divergence loss, significantly outperforming the MSE loss baseline (41.09%) under the same conditions.
  • On MNIST and SVHN under Non-IID-I, FedSiam with MSE loss achieved 95.61% and 81.61% accuracy, respectively, surpassing existing baselines.
  • The adaptive layer selection mechanism reduced communication overhead by selectively uploading only high-divergence layers, improving efficiency without sacrificing accuracy.
  • The momentum update strategy stabilized training and improved convergence, particularly in non-IID settings where data heterogeneity is high.
  • FedSiam demonstrated strong generalization across both labels-at-client and labels-at-server scenarios, validating its robustness and adaptability to real-world federated learning constraints.

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.