Skip to main content
QUICK REVIEW

[Paper Review] SPIDER: Searching Personalized Neural Architecture for Federated Learning

Erum Mushtaq, Chaoyang He|arXiv (Cornell University)|Dec 27, 2021
Privacy-Preserving Technologies in DataComputer Science7 citations
TL;DR

SPIDER proposes a novel federated learning framework that jointly optimizes a global Supernet and client-specific personalized subnetworks via alternating bi-level optimization with weight-sharing regularization. By leveraging perturbation-based neural architecture search, SPIDER achieves higher test accuracy (1.4% avg. improvement over perFedAvg) and more inference-efficient architectures than state-of-the-art personalization methods.

ABSTRACT

Federated learning (FL) is an efficient learning framework that assists distributed machine learning when data cannot be shared with a centralized server due to privacy and regulatory restrictions. Recent advancements in FL use predefined architecture-based learning for all the clients. However, given that clients' data are invisible to the server and data distributions are non-identical across clients, a predefined architecture discovered in a centralized setting may not be an optimal solution for all the clients in FL. Motivated by this challenge, in this work, we introduce SPIDER, an algorithmic framework that aims to Search Personalized neural architecture for federated learning. SPIDER is designed based on two unique features: (1) alternately optimizing one architecture-homogeneous global model (Supernet) in a generic FL manner and one architecture-heterogeneous local model that is connected to the global model by weight sharing-based regularization (2) achieving architecture-heterogeneous local model by a novel neural architecture search (NAS) method that can select optimal subnet progressively using operation-level perturbation on the accuracy value as the criterion. Experimental results demonstrate that SPIDER outperforms other state-of-the-art personalization methods, and the searched personalized architectures are more inference efficient.

Motivation & Objective

  • To address data heterogeneity and data invisibility in federated learning by enabling client-specific neural architecture search.
  • To design a privacy-preserving framework where personalized architectures are not shared with the server.
  • To improve model performance and inference efficiency beyond optimization-only personalization methods.
  • To develop a scalable, alternating training procedure that jointly optimizes global and personalized local models.
  • To demonstrate that architecture personalization yields better generalization and robustness across non-IID client data distributions.

Proposed method

  • SPIDER employs a two-model architecture: a shared global Supernet and a client-specific local subnetwork, both initialized from the DARTS search space.
  • The framework uses alternating bi-level optimization: the global Supernet is updated via standard FedAvg, while local models are trained with architecture search via perturbation-based NAS.
  • A weight-sharing-based regularization is applied between the global Supernet and local subnetworks to stabilize training and enable knowledge transfer.
  • The SPIDER-Searcher performs progressive architecture search by perturbing operation-level accuracy values to select optimal subnetworks per client.
  • The training process is divided into three phases: Supernet pre-training, architecture search, and fine-tuning, with recovery rounds to stabilize the search.
  • Model efficiency is evaluated via FLOPs and estimated model size, showing significant reduction in computation and memory usage post-search.

Experimental results

Research questions

  • RQ1Can personalized neural architecture search improve performance in non-IID federated learning settings compared to optimization-only personalization?
  • RQ2How can architecture personalization be achieved while preserving client data privacy and avoiding model sharing?
  • RQ3Does progressive architecture search via operation-level perturbation yield more efficient and accurate models in FL?
  • RQ4Can weight-sharing regularization effectively align global and local model updates during joint training in FL?
  • RQ5How does SPIDER compare in accuracy, robustness, and inference efficiency to state-of-the-art personalization baselines like Ditto, perFedAvg, and local adaptation?

Key findings

  • SPIDER achieves 1.4% higher average test accuracy than perFedAvg, the next best baseline, across 8 clients in a cross-silo FL setting with Dirichlet non-IID data.
  • For 7 out of 8 clients, SPIDER outperforms perFedAvg, with only one client (client 0) showing slightly better performance with perFedAvg.
  • SPIDER achieves a standard deviation of 0.02 in client accuracy, matching perFedAvg and local adaptation, and outperforming Ditto (0.03), indicating high consistency.
  • The average FLOPs per round drop from 319M to 62M during the search process, demonstrating significant computational efficiency gains.
  • The estimated model size of SPIDER’s final architectures is 14MB, significantly lower than the Supernet (104MB) and ResNet18 (44MB), indicating high inference efficiency.
  • SPIDER’s searched architectures are more parameter-efficient, reducing model size from 1.9M to 345K parameters, which benefits deployment in resource-constrained environments.

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.