Training deep learning models on edge devices via Federated Learning (FL) is a powerful way to preserve privacy. However, the "edge" is a messy place: one user might have a brand-new iPhone with a dedicated neural engine, while another is using a five-year-old Android on 10% battery. Standard Neural Architecture Search (NAS) methods for FL struggle here because they typically require retraining the entire system for every new hardware constraint or latency budget.
SuperFedNAS changes the game by decoupling training from search, allowing a single training run to support an infinite variety of deployment targets.
TL;DR
SuperFedNAS co-trains a massive "supernet" containing over 500 million potential architectures in a single federated learning stage. Once trained, devices can locally perform a training-free search to find the optimal model for their specific hardware and battery constraints, reducing the training cost from $O(N)$ to $O(1)$ for $N$ deployment targets.
What Problem Does This Paper Address?
Existing federated NAS methods face two major hurdles:
- Prohibitive Costs (C1): Most methods perform "train-and-search" simultaneously. If you want a model for a high-end GPU and another for a low-power CPU, you have to run the entire expensive federated training process twice. As deployment targets grow, the cost scales linearly ($O(N)$).
- Sub-optimal Architectures (C2): Many methods use "repeated stacking"—finding one good building block and repeating it. This lacks the architectural diversity (varying depth and width per layer) needed to truly squeeze performance out of heterogeneous hardware.
Methods
The core innovation of SuperFedNAS is the MaxNet training algorithm. Instead of training one static model, it trains a supernet—a large network where smaller "subnets" share weights.
Key technical components include:
- Decoupled Search: Training happens once globally. Search happens locally on the client device. Because the supernet is already trained, "searching" just means picking the best pre-trained weights for a specific architecture.
- MaxNet Algorithm: Training a supernet in FL is hard because small subnets can "interfere" with the training of larger ones. MaxNet solves this by optimizing a novel objective: it explicitly minimizes the loss of the worst-performing subnets on each client's data partition. This forces the supernet to adapt to diverse data distributions (non-IID data) and reduces interference.
- Weight-Shared Sampling: To prevent "staleness" (where some parts of the supernet aren't updated often enough), MaxNet prioritizes sampling subnets that share the most weights with the overall supernet.
- Predictor-Guided Search: To make local search nearly instantaneous, the authors use small Multi-Layer Perceptrons (MLPs) to predict the accuracy and latency of subnets, allowing a device to find its ideal model in about 2 minutes.
Datasets
The authors evaluated SuperFedNAS across several standard benchmarks to test both image and text performance:
- Image: CIFAR-10, CIFAR-100, and CINIC-10.
- Text: The Shakespeare dataset (derived from the LEAF benchmark), which simulates a tough FL environment with 660 clients and non-IID data.
Key Insights and Ideas
- Worst-Case Optimization is a Win-Win: By focusing on the worst-performing subnets, MaxNet actually improves the performance of the best subnets too. This is due to weight sharing; a "rising tide lifts all boats" effect.
- Diversity Matters: Unlike prior FL-NAS works that just stack blocks, SuperFedNAS allows for different widths and depths at every stage. This flexibility is what allows it to find a "shallow/thin" model for an old CPU and a "wide/deep" model for a modern GPU from the same supernet.
- The $O(1)$ Advantage: By moving the search to a post-training phase, the communication and computation cost for the server remains constant regardless of how many different types of devices you are targeting.
Key Results
- Accuracy Boost: SuperFedNAS achieves up to 37.7% higher accuracy for the same computational budget (MACs) compared to existing federated NAS methods.
- Efficiency Gain: It can provide the same accuracy as baselines while requiring 8.13x fewer MACs.
- Scalability: For 20 different deployment targets, SuperFedNAS reduced training costs by 11x compared to traditional methods.
- Robustness: It significantly outperformed baselines in highly non-IID (heterogeneous data) settings, thanks to the MaxNet objective.
Limitations and Future Work
While SuperFedNAS excels at handling diversity in inference targets (the devices the model runs on after training), the authors note that it does not yet explicitly account for system heterogeneity during training (e.g., some clients having much lower bandwidth than others during the FL process). Integrating training-time constraints is a suggested direction for future research.
Summary updated