Federated Neural Architecture Search with Model-Agnostic Meta Learning

Xinyuan Huang, Jiechao Gao, Jie Wang

Introduction

Federated Learning (FL) has emerged as a powerful paradigm for training machine learning models across decentralized devices while preserving data privacy. However, a significant challenge in FL is data heterogeneity, where non-IID (not identically and independently distributed) data across clients leads to poor performance for a single global model. While Neural Architecture Search (NAS) can automate the discovery of optimal model structures, traditional NAS is a computationally expensive two-stage process—search followed by retraining—that is often impractical for resource-constrained edge devices.

Methodology: The FedMetaNAS Framework

To address these challenges, the authors propose FedMetaNAS, a framework that streamlines the discovery and deployment of neural architectures in federated environments. The system architecture, illustrated below, coordinates communication between a central server and multiple heterogeneous clients.

Figure 1: The FedMetaNAS framework architecture showing the interaction between the central server and distributed clients during the model search process.

FedMetaNAS introduces three primary innovations:

  1. MAML Integration: By treating architecture search as a meta-learning problem, the framework employs a dual-learner system. Local task learners adapt model weights and architecture parameters ($\alpha$) to local data, while a global meta-learner aggregates these updates to find a robust starting point for rapid adaptation.
  2. Gumbel-Softmax Relaxation: Instead of the standard softmax used in gradient-based NAS, FedMetaNAS utilizes the Gumbel-Softmax reparameterization trick. This allows the discrete choice of operations (e.g., specific convolution types) to be relaxed into a continuous optimization problem, encouraging convergence toward a sparse final architecture.
  3. Soft Pruning: This mechanism allows for the gradual removal of unnecessary network components during the search phase itself. By closing the "retraining gap," the model can be used immediately after the search phase, eliminating the need for a separate, time-consuming retraining stage.

Experimental Results

The researchers evaluated FedMetaNAS against several baselines, including FedAvg, perFedAvg, and FedNAS, using CIFAR-10, CIFAR-100, and MNIST datasets under highly heterogeneous conditions ($Dir_\alpha = 0.1$).

Figure 4: Accuracy vs. Time comparison on CIFAR-10 and CIFAR-100 datasets, demonstrating the superior convergence speed and final accuracy of FedMetaNAS.

Key Performance Metrics

  • Accuracy Boost: On CIFAR-10 with high heterogeneity, FedMetaNAS achieved 81.65% accuracy, significantly outperforming standard FedAvg (70.93%) and prior federated NAS methods like FedNAS (79.31%).
  • Efficiency Gains: The framework reduced total search and training time by over 50%. For instance, convergence on CIFAR-10 was reached in approximately 7.12 hours, compared to 19.47 hours for traditional two-stage methods.
  • Stability: Unlike traditional NAS, which often sees a performance drop of up to 12% when transitioning from search to a pruned model, FedMetaNAS maintains stable performance due to its integrated soft pruning approach.

Conclusion and Future Work

FedMetaNAS demonstrates that a single-stage, meta-learning-based NAS approach is not only faster but more effective for heterogeneous federated environments. By eliminating the retraining stage and optimizing for rapid adaptation, it provides a viable path for automated machine learning on the edge. Future research will look toward optimizing communication packet sizes and expanding the search space to include modern architectures like Vision Transformers (ViT).

Summary updated

BibTeX
@misc{huang2025federated,
  author = {Xinyuan Huang and Jiechao Gao and Jie Wang},
  title = {{Federated Neural Architecture Search with Model-Agnostic Meta Learning}},
  year = {2025},
  eprint = {2504.06457},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2504.06457},
}
Figure