Skip to main content
QUICK REVIEW

[Paper Review] SparseFed: Mitigating Model Poisoning Attacks in Federated Learning with Sparsification

Ashwinee Panda, Saeed Mahloujifar|arXiv (Cornell University)|Dec 12, 2021
Privacy-Preserving Technologies in DataComputer Science13 citations
TL;DR

SparseFed is a novel federated learning defense that uses global top-k gradient sparsification and device-level gradient clipping to mitigate targeted model poisoning attacks. It achieves over 97% mitigation of attack success on FEMNIST while maintaining test accuracy within 1% of undefended models, outperforming prior defenses in robustness and scalability across diverse datasets and attack types.

ABSTRACT

Federated learning is inherently vulnerable to model poisoning attacks because its decentralized nature allows attackers to participate with compromised devices. In model poisoning attacks, the attacker reduces the model's performance on targeted sub-tasks (e.g. classifying planes as birds) by uploading "poisoned" updates. In this report we introduce \algoname{}, a novel defense that uses global top-k update sparsification and device-level gradient clipping to mitigate model poisoning attacks. We propose a theoretical framework for analyzing the robustness of defenses against poisoning attacks, and provide robustness and convergence analysis of our algorithm. To validate its empirical efficacy we conduct an open-source evaluation at scale across multiple benchmark datasets for computer vision and federated learning.

Motivation & Objective

  • To address the critical vulnerability of federated learning to targeted model poisoning attacks in cross-device and cross-silo settings.
  • To develop a training-time defense that is effective under realistic constraints such as non-i.i.d. data, single participation per device, and lack of reputation mechanisms.
  • To provide provable robustness guarantees using a certified radius framework that bounds model drift due to poisoning.
  • To empirically validate the defense across multiple benchmark datasets in both computer vision and NLP, under diverse attack scenarios.
  • To demonstrate that sparsification-based defenses can outperform existing Byzantine-robust methods, especially under colluding attacker settings.

Proposed method

  • The method employs device-level gradient clipping to limit the magnitude of individual updates before transmission.
  • At the server, the global gradient is computed and only the top-k elements by magnitude are retained, forming a sparse update vector.
  • This sparsification process inherently filters out low-magnitude, potentially malicious updates that are unlikely to align with the majority direction.
  • The defense is integrated into the federated optimization pipeline, operating at training time without requiring test-time modifications.
  • The framework uses the certified radius metric to formally bound the maximum drift a poisoned model can have from a benign one.
  • Two implementations are evaluated: standard top-k sparsification and FetchSGD-based sparsification, both showing improved robustness and communication efficiency.

Experimental results

Research questions

  • RQ1Can gradient sparsification and clipping jointly provide provable robustness against targeted model poisoning attacks in federated learning?
  • RQ2How does SparseFed perform against both existing and newly introduced colluding attacker strategies in cross-device and cross-silo settings?
  • RQ3To what extent does sparsification reduce the certified radius of model drift compared to baseline defenses like $β$-clipping or $β$-clipping with momentum?
  • RQ4Does SparseFed maintain high test accuracy while significantly mitigating attack success rates across diverse, non-i.i.d. datasets?
  • RQ5Can sparsification-based defenses achieve better robustness than existing Byzantine-robust methods, especially when attackers coordinate their updates?

Key findings

  • SparseFed reduced attack accuracy to 1.95% on FEMNIST when targeting digits 1 and 7, and to 6.72% when targeting 4 and 9, demonstrating consistent robustness across semantic backdoor variants.
  • On the FEMNIST dataset, SparseFed mitigated attack success by over 97% compared to the undefended baseline, significantly outperforming prior defenses.
  • In the CIFAR100 setting, SparseFed achieved a 5–10× improvement in robustness over the $β$-clipping defense under equivalent stealth thresholds, with an OIF of 0.05 compared to 0.5.
  • The defense maintained test accuracy within 1% of the undefended model across all evaluated datasets, including those with 50,000 to 800,000 examples and models with 6–40 million parameters.
  • SparseFed with FetchSGD sparsification achieved a Pareto frontier that outperformed $β$-clipping by a factor of 5–10× in robustness under comparable communication and stealth constraints.
  • The defense remained effective even when attackers used colluding PGD-based attacks with auxiliary datasets of size 500, demonstrating resilience to coordinated, high-fidelity poisoning.

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.