Skip to main content
QUICK REVIEW

[Paper Review] Byzantine-Robust Learning on Heterogeneous Datasets via Bucketing

Sai Praneeth Karimireddy, Lie He|arXiv (Cornell University)|Jun 16, 2020
Privacy-Preserving Technologies in DataComputer Science39 references13 citations
TL;DR

This paper proposes a bucketing mechanism that enables existing Byzantine-robust aggregation algorithms to achieve provable convergence under data heterogeneity (non-iid), a setting where prior methods fail. By reorganizing gradients into randomized buckets before aggregation, the method ensures robustness against both malicious workers and data heterogeneity, achieving optimal convergence rates and enabling convergence to the exact optimum under mild conditions.

ABSTRACT

In Byzantine robust distributed or federated learning, a central server wants to train a machine learning model over data distributed across multiple workers. However, a fraction of these workers may deviate from the prescribed algorithm and send arbitrary messages. While this problem has received significant attention recently, most current defenses assume that the workers have identical data. For realistic cases when the data across workers are heterogeneous (non-iid), we design new attacks which circumvent current defenses, leading to significant loss of performance. We then propose a simple bucketing scheme that adapts existing robust algorithms to heterogeneous datasets at a negligible computational cost. We also theoretically and experimentally validate our approach, showing that combining bucketing with existing robust algorithms is effective against challenging attacks. Our work is the first to establish guaranteed convergence for the non-iid Byzantine robust problem under realistic assumptions.

Motivation & Objective

  • To address the critical gap in Byzantine-robust federated learning where existing methods fail under realistic data heterogeneity (non-i.i.d.) conditions.
  • To demonstrate that current robust aggregation rules catastrophically fail even without attacks when data is non-iid, exposing a fundamental fragility in existing defenses.
  • To design a simple, plug-in bucketing mechanism that, when combined with existing robust aggregators, restores provable convergence under non-iid data.
  • To establish the first theoretical convergence guarantees to the exact optimum for Byzantine-robust optimization under non-iid data, under mild assumptions.
  • To validate the method empirically against both known and novel attacks on realistic, heterogeneous datasets.

Proposed method

  • Introduces a bucketing step that randomly partitions gradients across workers into multiple buckets before aggregation, ensuring that each bucket contains a representative sample of the overall data distribution.
  • Proposes a formal notion of a robust aggregator (ARAgg) that guarantees convergence when combined with bucketing, even under adversarial behavior and data heterogeneity.
  • Augments standard robust aggregation rules—Krum, coordinate-wise median, geometric median (RFA)—with bucketing to achieve provable robustness in non-iid settings.
  • Employs worker momentum in conjunction with bucketing to achieve optimal convergence rates matching known lower bounds for Byzantine-robust optimization.
  • Uses a step-size rule derived from theoretical analysis to balance convergence speed and robustness, minimizing the expected gradient norm over iterations.
  • Theoretical analysis shows that the method converges to a neighborhood of size $ O( ho heta^2) $, where $ ho $ is the fraction of Byzantine workers and $ heta^2 $ captures data heterogeneity, with convergence to the exact optimum when heterogeneity is mild or the model is overparameterized.

Experimental results

Research questions

  • RQ1Why do existing Byzantine-robust aggregation rules fail in non-i.i.d. data settings, even without any malicious attacks?
  • RQ2Can a simple, lightweight preprocessing step—bucketing—restore robustness and convergence in heterogeneous federated learning?
  • RQ3Is it possible to achieve convergence to the exact global optimum in Byzantine-robust non-iid federated learning, and under what conditions?
  • RQ4How does the combination of bucketing and worker momentum improve convergence rates compared to existing methods?
  • RQ5Can the proposed method defend against state-of-the-art data-heterogeneity-aware attacks like the mimic attack?

Key findings

  • The proposed bucketing mechanism enables existing robust aggregation rules like Krum, coordinate-wise median, and geometric median to achieve provable convergence under non-i.i.d. data, which they otherwise fail to do.
  • The method achieves optimal convergence rates matching known lower bounds for Byzantine-robust optimization, with the expected gradient norm decreasing as $ O(1/T) $.
  • Under mild data heterogeneity or model overparameterization, the method converges to the exact global optimum, a result not previously established for non-i.i.d. Byzantine-robust learning.
  • Empirical evaluation shows drastic performance improvements against both known and novel attacks on realistic, heterogeneous datasets, outperforming prior methods significantly.
  • Theoretical analysis reveals that convergence is bounded by $ O( ho heta^2) $, where $ ho $ is the fraction of Byzantine workers and $ heta^2 $ measures data heterogeneity, with the bound shrinking to zero under favorable conditions.
  • The method does not require bounded gradient assumptions or strong convexity, making it applicable to general non-convex objectives in realistic federated learning settings.

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.