RoFL: Robustness of Secure Federated Learning

Hidde Lycklama, Lukas Burkhalter, Alexander Viand, Nicolas Küchler, Anwar Hithnawi
7/7/2021
146 citations
cs.CRcs.LG
federated

Official code: pps-lab/rofl-project-code (37 stars, Rust, Rust, last commit 2025-12-23). 1 more implementation below.

Abstract

Even though recent years have seen many attacks exposing severe vulnerabilities in Federated Learning (FL), a holistic understanding of what enables these attacks and how they can be mitigated effectively is still lacking. In this work, we demystify the inner workings of existing (targeted) attacks.

Show full abstract

We provide new insights into why these attacks are possible and why a definitive solution to FL robustness is challenging. We show that the need for ML algorithms to memorize tail data has significant implications for FL integrity. This phenomenon has largely been studied in the context of privacy; our analysis sheds light on its implications for ML integrity. We show that certain classes of severe attacks can be mitigated effectively by enforcing constraints such as norm bounds on clients' updates. We investigate how to efficiently incorporate these constraints into secure FL protocols in the single-server setting. Based on this, we propose RoFL, a new secure FL system that extends secure aggregation with privacy-preserving input validation. Specifically, RoFL can enforce constraints such as $L_2$ and $L_\infty$ bounds on high-dimensional encrypted model updates.

View on arXivView PDF

Code Implementations(2)

Code implementations of this paper
RepositoryTypeStarsLanguageLicenseLast commit
pps-lab/rofl-project-codeOfficial37Rust–2025-12-23
pps-lab/fl-analysisOfficial28PythonMIT2023-03-24
Rust
373Rust, Jupyter NotebookSep 29, 202011 months ago
backdoor-attackscryptographyfederated-learningrustsecure-aggregation+1 more
MIT
282Python, Jupyter NotebookJun 14, 20213 years agoMIT
analysis-frameworkbackdoor-attacksfederated-learning

Similar Papers

Cite this paper

@article{lycklama2021rofl,
  title  = {RoFL: Robustness of Secure Federated Learning},
  author = {Hidde Lycklama and Lukas Burkhalter and Alexander Viand and Nicolas Küchler and Anwar Hithnawi},
  year   = {2021},
  eprint = {2107.03311},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2107.03311}
}

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/2107.03311.svg)](https://codeofpaper.com/paper/2107.03311)

Discussion