SPATL: Salient Parameter Aggregation and Transfer Learning for Heterogeneous Federated Learning

Sixing Yu, Phuong Nguyen, Waqwoya Abebe, Wei Qian, Ali Anwar, Ali Jannesari

TL;DR

This paper introduces SPATL, a novel federated learning (FL) approach designed to tackle communication costs and data heterogeneity in edge devices. SPATL achieves this by selectively transmitting only "salient" model parameters and employing a transfer learning strategy with a shared encoder and client-specific predictors, leading to significant reductions in communication overhead and faster inference.

What Problem Does This Paper Address?

Federated learning (FL) enables training AI models across decentralized edge devices while preserving user privacy. However, FL faces several critical challenges:

  • Expensive Communication Costs: Constantly transmitting model weights between edge devices and a central server consumes significant bandwidth and energy, especially with large deep learning models.
  • Data Heterogeneity (Non-IID Data): Local datasets on edge devices are often unique and non-independent and identically distributed (non-IID), which can lead to training instability and model divergence.
  • Resource Constraints: Edge devices often have limited computing power, memory, and storage, making it difficult to deploy and train complex AI models.

Existing FL methods often address one or two of these issues but struggle to provide a holistic solution, particularly when aiming for a single, uniform model for all clients, which may not perform optimally on diverse local data.

Methods

SPATL introduces a multi-pronged approach to address the aforementioned challenges:

  • Salient Parameter Selection: Instead of transmitting all model parameters, SPATL employs a pre-trained Reinforcement Learning (RL) agent to identify and select only the most "salient" parameters that are crucial for model performance. This significantly reduces the amount of data that needs to be communicated. The RL agent is fine-tuned on each client to adapt to local model characteristics.
  • Heterogeneous Knowledge Transfer Learning: SPATL splits deep learning models into a shared encoder and client-specific predictors. During federated training, only the encoder is trained collaboratively across clients. This learned encoder's knowledge is then transferred to each client, where it's used with a locally customized predictor. This allows clients to adapt the model to their unique non-IID data without requiring the entire model to be shared or trained heterogeneously.
  • Gradient Control Mechanism: To further stabilize training and mitigate gradient heterogeneity arising from non-IID data, SPATL incorporates a gradient control mechanism. This mechanism helps to guide local gradient updates towards a more generic global direction, preventing divergence and speeding up convergence.

Datasets

The paper evaluates SPATL on the following datasets:

  • CIFAR-10: Used with the Non-IID benchmark setting, where data is split heterogeneously across clients.
  • FEMNIST: Used with the LEAF benchmark setting, which provides a framework for federated learning experiments, including non-IID data distributions.

The paper does not introduce new benchmarks but utilizes existing ones to evaluate its method.

Key Insights and Ideas

  • Not all parameters are created equal: The core idea that only a subset of parameters truly dictates a model's performance is leveraged to drastically cut communication costs. This moves away from the assumption that all model weights need to be synchronized.
  • Transfer learning as a bridge for heterogeneity: By separating the feature extraction (encoder) from the final prediction (predictor), SPATL allows for a shared, robust feature extractor while enabling clients to specialize their final output layers for their specific data. This is a powerful way to handle non-IID data without sacrificing global model learning.
  • RL for intelligent parameter selection: Using an RL agent to dynamically select salient parameters is a clever way to automate and optimize the pruning process for communication efficiency, making it adaptable to different models and clients.
  • Gradient control as a stabilizer: The gradient control mechanism acts as a crucial component to ensure that the benefits of salient parameter selection and transfer learning don't come at the cost of training stability, especially in highly heterogeneous environments.

Key Results

SPATL demonstrates significant improvements across several key areas:

  • Communication Efficiency:
    • Reduces communication cost by up to 86.45% (as stated in the abstract, specific table shows up to 7.6x reduction for ResNet-20).
  • Requires 7.4x less communication overhead when training ResNet-20 compared to FedAvg (Table I).
  • Achieves target accuracy with significantly fewer communication rounds (Figure 7).
  • Inference Acceleration:
    • Accelerates local inference by reducing FLOPs by up to 39.7% on VGG-11 (abstract).
  • Model Performance:
    • Improves model performance by up to 19.86% (abstract).
  • Outperforms state-of-the-art FL methods (FedAvg, FedNova, FedProx, SCAFFOLD) in terms of convergence accuracy, especially in more complex FL settings with higher heterogeneity (Figure 5, Table II).
  • Achieves more stable training processes with less variance in local validation accuracy across clients (Figure 6).
  • Transferability: SPATL's trained model shows comparable transfer learning results to SoTAs, indicating effective knowledge transfer even with a partially trained model.

Limitations and Future Work

  • Performance on Simple Models: The paper notes that SPATL might perform poorly on very simple, less-parameterized models (like a 2-layer CNN) where the "model over-parameterization" assumption doesn't hold, potentially leading to lower accuracy than baselines.
  • Model Transferability: Not all AI models are inherently transferable. Future work aims to improve the universality of the method to handle a wider range of model architectures.
  • Scalability and Universality: While SPATL shows promise, further research is needed to continuously improve its applicability across diverse model types and larger-scale deployments.

Summary updated

BibTeX
@inproceedings{yu2022spatl,
  author = {Sixing Yu and Phuong Nguyen and Waqwoya Abebe and Wei Qian and Ali Anwar and Ali Jannesari},
  title = {{SPATL: Salient Parameter Aggregation and Transfer Learning for Heterogeneous Federated Learning}},
  booktitle = {SC},
  year = {2022},
  doi = {10.1109/sc41404.2022.00041},
}
Figure