Skip to main content
QUICK REVIEW

[Paper Review] Efficient Split-Mix Federated Learning for On-Demand and In-Situ Customization

Junyuan Hong, Haotao Wang|arXiv (Cornell University)|Mar 18, 2022
Privacy-Preserving Technologies in DataComputer Science6 citations
TL;DR

This paper proposes Split-Mix Federated Learning, a novel framework that enables on-demand and in-situ customization of model size and robustness in heterogeneous federated learning environments. By training and aggregating multiple base sub-networks of varying widths and robustness levels, the method allows dynamic model composition at inference time, achieving superior efficiency in communication, storage, and inference compared to existing approaches, with minimal accuracy degradation even under resource constraints.

ABSTRACT

Federated learning (FL) provides a distributed learning framework for multiple participants to collaborate learning without sharing raw data. In many practical FL scenarios, participants have heterogeneous resources due to disparities in hardware and inference dynamics that require quickly loading models of different sizes and levels of robustness. The heterogeneity and dynamics together impose significant challenges to existing FL approaches and thus greatly limit FL's applicability. In this paper, we propose a novel Split-Mix FL strategy for heterogeneous participants that, once training is done, provides in-situ customization of model sizes and robustness. Specifically, we achieve customization by learning a set of base sub-networks of different sizes and robustness levels, which are later aggregated on-demand according to inference requirements. This split-mix strategy achieves customization with high efficiency in communication, storage, and inference. Extensive experiments demonstrate that our method provides better in-situ customization than the existing heterogeneous-architecture FL methods. Codes and pre-trained models are available: https://github.com/illidanlab/SplitMix.

Motivation & Objective

  • To address the challenge of dynamic, run-time resource and robustness requirements in federated learning due to device heterogeneity and environmental changes.
  • To enable in-situ and on-demand customization of model size and adversarial robustness without incurring high training, storage, or inference costs.
  • To overcome limitations of existing heterogeneous-architecture FL methods, such as under-training in large models and poor generalization under non-IID data.
  • To develop a scalable, modular framework that allows efficient knowledge transfer and model composition across diverse clients with varying hardware and budget constraints.

Proposed method

  • The method splits a full-width model into multiple base sub-networks of different widths (e.g., ×0.25, ×0.5) and robustness levels, trained independently on each client.
  • Each base model is fully trained on its local data, ensuring complete knowledge utilization and mitigating under-training issues common in large models.
  • Customized models are formed at inference time by mixing selected base models through weighted aggregation, enabling dynamic adaptation to device constraints.
  • A novel differentiable architecture search (DBN-based) method is introduced to jointly optimize robustness and width during training, improving generalization.
  • Clients use a sampling strategy (Algorithm 2) to ensure all base models are trained across all devices, enhancing knowledge diversity and model stability.
  • The framework supports both width and robustness customization simultaneously, with trade-offs smoothly adjustable via a single condition variable.

Experimental results

Research questions

  • RQ1Can a federated learning framework enable on-demand and in-situ customization of model size and robustness without retraining?
  • RQ2How can knowledge be efficiently shared and aggregated across heterogeneous clients with varying resource budgets?
  • RQ3Can base sub-networks trained independently achieve better generalization and lower accuracy loss than jointly trained large models under resource constraints?
  • RQ4How does the proposed Split-Mix strategy compare to existing heterogeneous-architecture FL methods in terms of accuracy, communication, and inference efficiency?
  • RQ5To what extent can the method maintain robustness and accuracy when dynamically adjusting model width and adversarial robustness?

Key findings

  • Split-Mix achieves significantly better in-situ customization than HeteroFL and FedAvg, with lower accuracy degradation under resource constraints.
  • The method reduces accuracy loss by up to 3.5% compared to HeteroFL in non-IID data settings, particularly in domains like clipart and painting where model under-training is severe.
  • Split-Mix ensures all base models are fully trained across clients, resulting in 100% parameter utilization in each domain, unlike HeteroFL which leaves up to 60% of parameters under-trained.
  • The proposed Split-Mix+DAT extension achieves smoother robustness-standard accuracy trade-offs than FedAvg+OAT, with no convergence issues and better performance than FedAvg+AT baselines.
  • In customizable width scenarios, Split-Mix+DAT improves both robust and standard accuracy as width increases, demonstrating effective and stable joint customization.
  • The framework reduces communication and storage costs by avoiding the need to store or retrain multiple full models, enabling efficient on-device model switching.

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.