Towards Sparsified Federated Neuroimaging Models via Weight Pruning

Dimitris Stripelis, Umang Gupta, Nikhil J. Dhinagar, Greg Ver Steeg, Paul M. Thompson, José Luis Ambite

Abstract

Federated Learning (FL) is a promising paradigm for collaborative medical research, allowing institutions to train shared models on sensitive data like brain MRIs without centralizing raw information. However, FL is often hindered by massive communication overhead and potential privacy leaks through Membership Inference Attacks (MIA). This paper introduces FedSparsify, a method that incorporates magnitude-based weight pruning into the FL workflow. We demonstrate that models can be pruned by up to 95% with negligible loss in accuracy, while simultaneously reducing communication costs and significantly improving resistance to privacy attacks.

Introduction

The application of deep learning to neuroimaging faces two primary challenges in a federated setting. First, the communication bottleneck: transmitting millions of parameters between local learners and a central server is bandwidth-intensive. Second, privacy leakage: models can inadvertently memorize training samples, making them vulnerable to MIAs that reveal whether a specific patient's data was used during training. FedSparsify addresses these issues by leveraging model sparsity not just for efficiency, but as a privacy-preserving mechanism.

Methodology: FedSparsify

FedSparsify integrates weight pruning directly into the Federated Averaging (FedAvg) process. The approach follows a progressive schedule:

  1. Global Pruning: The central controller aggregates updates and prunes weights with the lowest absolute magnitudes.
  2. Progressive Sparsification: Sparsity is increased exponentially over 40 federation rounds, starting from a dense model.
  3. Binary Masking: Pruned weights are fixed at zero using a binary mask sent to all learners, preventing redundant computation.

The framework was evaluated using a 3D-CNN architecture for BrainAGE prediction, a task involving the estimation of chronological age from structural MRI scans.

Experimental Setup

The study utilized 10,446 healthy subjects from the UK BioBank (UKBB) dataset. To simulate realistic multi-institutional environments, the data was partitioned across eight learners using four distinct scenarios characterized by varying degrees of data volume and label distribution skewness.

Data distribution across eight learners for the four experimental scenarios: (a) Uniform-IID, (b) Uniform-NonIID, (c) Skewed-IID, and (d) Skewed-NonIID.

These scenarios range from the balanced Uniform-IID case to the highly challenging Skewed-NonIID case, where learners have both different sample sizes and restricted age ranges.

Key Results and Insights

Performance and Efficiency

FedSparsify achieved a "triple win" in efficiency and performance:

  • Accuracy Retention: At 95% sparsity, the Mean Absolute Error (MAE) remained stable compared to the dense baseline. Even at 99% sparsity, performance degradation was minimal.
  • Communication Gains: Total parameters exchanged were reduced by nearly 75% (from 1,888 million to 521 million in the Skewed-IID case).
  • Inference Throughput: Model inference speed doubled at 99% sparsity, reaching ~128 items/sec.

A critical finding is that pruning serves as an effective defense against MIAs. By restricting the model's capacity to memorize specific data points, sparsification forces the network to learn more generalizable features of brain aging. In Skewed-IID environments, MIA success rates dropped by 10% to 20% for highly sparsified models.

Conclusion and Future Work

FedSparsify demonstrates that high levels of sparsity are compatible with—and even beneficial for—federated neuroimaging. Future research will focus on developing a formal theoretical framework for the sparsity-privacy relationship and exploring stochastic pruning methods to further enhance privacy guarantees. Additionally, structured pruning techniques could be employed to better utilize hardware acceleration in standard deep learning libraries.

Summary updated

BibTeX
@inproceedings{stripelis2022towards,
  author = {Dimitris Stripelis and Umang Gupta and Nikhil J. Dhinagar and Greg Ver Steeg and Paul M. Thompson and José Luis Ambite},
  title = {{Towards Sparsified Federated Neuroimaging Models via Weight Pruning}},
  booktitle = {DeCaF/FAIR @ MICCAI},
  year = {2022},
  doi = {10.1007/978-3-031-18523-6\_14},
}
Figure