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

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

Abstract

Federated Learning (FL) is a promising paradigm for privacy-preserving collaborative machine learning. However, its practical deployment is hindered by high communication overhead, limited computational resources on edge devices, and significant data heterogeneity (non-IID data) across clients. This paper introduces SPATL, a novel FL framework designed to mitigate these challenges simultaneously. SPATL employs a split-model architecture where only a shared encoder is aggregated, utilizes a reinforcement learning (RL) agent to select and communicate only "salient" parameters, and maintains local prediction heads to handle data skew. Experimental results demonstrate that SPATL achieves up to a 7.6x reduction in communication costs and significantly higher accuracy compared to state-of-the-art baselines in heterogeneous environments.

Introduction

Federated Learning enables edge devices, such as smartphones and IoT sensors, to train models collaboratively without centralizing raw data. Despite its potential, three primary obstacles remain:

  1. Communication Overhead: Synchronizing large Deep Neural Network (DNN) parameters across limited bandwidth networks is inefficient and clogs network resources.
  2. Resource Constraints: Edge devices often lack the memory, compute power, and battery life required for full-scale DNN training and inference.
  3. Data Heterogeneity: Non-IID data distributions across clients can lead to model divergence, where a single global model fails to generalize well for all local users due to conflicting update directions.

While existing methods like FedProx and SCAFFOLD address heterogeneity through regularization or gradient correction, they often exacerbate communication costs. SPATL seeks a unified approach to optimize communication, resource usage, and accuracy simultaneously.

Methodology

The SPATL framework integrates three core mechanisms to redefine the federated training process:

1. Heterogeneous Knowledge Transfer

SPATL adopts a split-model architecture. Instead of a monolithic global model, the network is divided into a shared encoder and a local predictor. The encoder focuses on learning general feature representations from the collective data, while the predictor is kept locally on each device to specialize in the user's specific data distribution. Only the encoder parameters are subject to global aggregation, allowing for personalized classification heads.

2. RL-based Salient Parameter Selection

Recognizing that modern DNNs are often over-parameterized, SPATL employs a lightweight Reinforcement Learning (RL) agent on the client side. This agent identifies "salient" parameters within the encoder that are most critical for the current task. By uploading only these salient parameters to the server, SPATL drastically reduces communication volume. To ensure feasibility on edge devices, the RL agent (a Graph Neural Network) is pre-trained on the server; the client only performs lightweight fine-tuning, requiring as little as 26 KB of memory and 0.36 ms of compute time.

Overview of the SPATL framework architecture.

3. Generic Parameter Gradient Control

To manage the drift caused by non-IID data, SPATL implements a gradient control mechanism. It tracks the discrepancy between global and local update directions for the encoder. This ensures the shared feature extractor remains robust across the entire client population without compromising the flexibility of the local predictors.

Experimental Setup

The performance of SPATL was evaluated on standard FL benchmarks designed to test data heterogeneity:

  • CIFAR-10: Distributed using a Dirichlet distribution to simulate highly skewed data distributions.
  • FEMNIST: A naturally federated dataset of handwritten characters grouped by individual users, reflecting real-world heterogeneity.

Key Results

SPATL demonstrates significant improvements over baselines including FedAvg, FedNova, FedProx, and SCAFFOLD.

Communication and Inference Efficiency

SPATL achieved communication savings of up to 86.45%. For a ResNet-20 model reaching 80% accuracy, SPATL required only 1.1 GB of data transfer, compared to 8.12 GB for FedNova—a ~7.6x improvement. Furthermore, the RL-driven parameter selection effectively prunes the model, reducing inference computational load (FLOPs) by up to 39.7% on VGG-11 and 38.4% on ResNet-32.

Accuracy and Convergence

As client counts and data heterogeneity increased, SPATL consistently outperformed other methods. In a 50-client scenario with VGG-11, SPATL's final accuracy was 17% to 19% higher than competing state-of-the-art methods, demonstrating superior robustness to non-IID data.

Comparison of accuracy over training rounds across various models and client configurations.

Discussion and Limitations

While SPATL excels with large, over-parameterized models, its benefits diminish for simpler architectures. In tests with a 2-layer CNN, SPATL performed slightly worse than baselines due to the lack of redundant parameters available for pruning. Additionally, the framework assumes a clear functional split between feature extraction (encoder) and classification (predictor), which may not apply to all neural architectures. Future research will focus on extending SPATL's applicability to a broader range of model types and further optimizing the RL-based selection process for diverse edge environments.

Summary updated

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