Skip to main content
QUICK REVIEW

[Paper Review] BARFED: Byzantine Attack-Resistant Federated Averaging Based on Outlier Elimination

Ece Isik-Polat, Görkem Polat|arXiv (Cornell University)|Nov 8, 2021
Privacy-Preserving Technologies in DataComputer Science24 references4 citations
TL;DR

BARFED is a Byzantine-robust federated learning defense that identifies and excludes malicious model updates by detecting outlier layers based on distance to the global model. It achieves strong robustness against data and model poisoning attacks without assumptions about data distribution, update similarity, or malicious participant ratios, outperforming prior methods in comprehensive experiments.

ABSTRACT

In federated learning, each participant trains its local model with its own data and a global model is formed at a trusted server by aggregating model updates coming from these participants. Since the server has no effect and visibility on the training procedure of the participants to ensure privacy, the global model becomes vulnerable to attacks such as data poisoning and model poisoning. Although many defense algorithms have recently been proposed to address these attacks, they often make strong assumptions that do not agree with the nature of federated learning, such as Non-IID datasets. Moreover, they mostly lack comprehensive experimental analyses. In this work, we propose a defense algorithm called BARFED that does not make any assumptions about data distribution, update similarity of participants, or the ratio of the malicious participants. BARFED mainly considers the outlier status of participant updates for each layer of the model architecture based on the distance to the global model. Hence, the participants that do not have any outlier layer are involved in model aggregation. We perform extensive experiments on many grounds and show that the proposed approach provides a robust defense against different attacks.

Motivation & Objective

  • Address the vulnerability of federated learning to data and model poisoning attacks due to lack of visibility into client training processes.
  • Overcome limitations of existing defenses that rely on strong assumptions about data distribution, update similarity, or malicious participant ratios.
  • Develop a defense mechanism that is robust across diverse federated learning settings, including Non-IID data and varying attack ratios.
  • Ensure privacy-preserving aggregation by avoiding reliance on client-side data or training details.

Proposed method

  • For each model layer, BARFED computes the distance between each client’s model update and the current global model to detect outliers.
  • A client is flagged as potentially malicious if any of its layers exhibit outlier behavior based on a predefined distance threshold.
  • Only clients whose updates are non-outlier in all layers are included in the global model aggregation.
  • The method operates independently per layer, enabling fine-grained detection of malicious updates without requiring assumptions about data or update similarity.
  • The defense is applied iteratively during federated training, adapting to changes in the global model over time.
  • Outlier detection is based solely on model weight differences, preserving client privacy and requiring no access to raw data or gradients.

Experimental results

Research questions

  • RQ1Can a defense mechanism effectively detect and exclude malicious model updates in federated learning without relying on assumptions about data distribution or client update similarity?
  • RQ2How does BARFED perform under varying ratios of malicious participants across different Non-IID data settings?
  • RQ3Does layer-wise outlier detection improve robustness compared to global or client-level aggregation strategies?
  • RQ4Can BARFED maintain high model accuracy under diverse poisoning attacks while preserving privacy and scalability?

Key findings

  • BARFED achieves robust performance across multiple datasets and attack types, including data and model poisoning, without requiring assumptions about data distribution or client behavior.
  • The method effectively excludes malicious updates by identifying outlier layers, even when only a small fraction of clients are compromised.
  • Experiments show BARFED maintains high test accuracy under various attack ratios and Non-IID data splits, outperforming existing defenses in several benchmarks.
  • The defense is resilient to both label-flipping and backdoor attacks, demonstrating strong generalization across attack vectors.
  • By focusing on layer-wise outlier detection, BARFED avoids false positives from benign clients with dissimilar updates, improving aggregation reliability.
  • The approach is computationally efficient and compatible with standard federated averaging, enabling seamless integration into existing FL pipelines.

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.