Improving $(α, f)$-Byzantine Resilience in Federated Learning via layerwise aggregation and cosine distance

Mario García-Márquez, Nuria Rodríguez-Barroso, M. Victoria Luzón, Francisco Herrera
3/27/2025
cs.LGcs.AI

No official code found. Best implementation: ari-dasci/S-layerwise_cosine_aggregation (1 star, last commit 2025-05-22).

Abstract

The rapid development of artificial intelligence systems has amplified societal concerns regarding their usage, necessitating regulatory frameworks that encompass data privacy. Federated Learning (FL) is posed as potential solution to data privacy challenges in distributed machine learning by enabling collaborative model training {without data sharing}. However, FL systems remain vulnerable to Byzantine attacks, where malicious nodes contribute corrupted model updates. While Byzantine Resilient operators have emerged as a widely adopted robust aggregation algorithm to mitigate these attacks, its efficacy diminishes significantly in high-dimensional parameter spaces, sometimes leading to poor performing models. This paper introduces Layerwise Cosine Aggregation, a novel aggregation scheme designed to enhance robustness of these rules in such high-dimensional settings while preserving computational efficiency. A theoretical analysis is presented, demonstrating the superior robustness of the proposed Layerwise Cosine Aggregation compared to original robust aggregation operators. Empirical evaluation across diverse image classification datasets, under varying data distributions and Byzantine attack scenarios, consistently demonstrates the improved performance of Layerwise Cosine Aggregation, achieving up to a 16% increase in model accuracy.

View on arXivView PDF

Code Implementations(1)

Experimental code for the paper "Improving Byzantine Resilience via layerwise aggregation and cosine distance"

10PythonMar 17, 20251 years ago

Similar Papers

Cite this paper

@article{garcamrquez2025improving,
  title  = {Improving $(α, f)$-Byzantine Resilience in Federated Learning via layerwise aggregation and cosine distance},
  author = {Mario García-Márquez and Nuria Rodríguez-Barroso and M. Victoria Luzón and Francisco Herrera},
  year   = {2025},
  eprint = {2503.21244},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2503.21244v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2503.21244.svg)](https://codeofpaper.com/paper/2503.21244)

Discussion