ScionFL: Efficient and Robust Secure Quantized Aggregation

Yaniv Ben-Itzhak, Helen Möllering, Benny Pinkas, Thomas Schneider, Ajith Suresh, Oleksandr Tkachenko, Shay Vargaftik, Christian Weinert, Hossein Yalame, Avishay Yanai

TL;DR

ScionFL bridges the gap between privacy-preserving secure aggregation and communication-efficient federated learning (FL). By combining multi-party computation (MPC), 1-bit linear quantization schemes, and an MPC-friendly untargeted poisoning defense (ScionFL-Aura), it enables secure, bandwidth-efficient cross-device model training with virtually no extra communication overhead for mobile clients while actively mitigating malicious updates.

What Problem Does This Paper Address?

Federated learning allows edge devices (e.g., mobile phones) to train machine learning models collaboratively. However, practical deployment faces two major friction points:

  1. Communication and Privacy Trade-offs: Sending raw model updates (gradients) in plaintext leaks private data. While cryptographic Secure Aggregation (SecAgg) hides individual updates, existing implementations typically rely on full 32-bit floating-point numbers and costly interactive protocols, making them impractical for bandwidth-constrained mobile devices.
  2. Untargeted Poisoning Attacks: Malicious clients can submit crafted updates (such as state-of-the-art Min-Max attacks) that degrade global model accuracy. Most Byzantine-robust defenses require computing pairwise distances or clustering full precision gradients—operations that are prohibitively expensive inside secure MPC protocols and incompatible with compressed gradients.

Methods

ScionFL utilizes an outsourced MPC architecture (evaluating FedAvg across non-colluding semi-honest servers under a dishonest majority) and introduces three key innovations:

  • MPC-Optimized Linear Quantization: Supports 1-bit stochastic quantization (SQ), including variants with randomized Hadamard transforms (HSQ) and Kashin’s representation (KSQ). Clients share single bits via Boolean secret sharing and scalar ranges via arithmetic shares.
  • Approximate MPC Bit Conversion & SepAgg:
  • Rather than executing exact Boolean-to-arithmetic share conversions via heavy Oblivious Transfer (OT) machinery, the authors introduce an approximate bit conversion. By substituting high-degree intermediate cross-terms with their analytical expectation, they preserve unbiasedness ($\mathbb{E}[\hat{b}] = b$) while drastically slashing cross-terms and OT instances.
  • Adopts and tailors SepAgg, aggregating bits and scaling factors separately before doing a single coordinate-wise secure multiplication, eliminating dependence on client counts for online server-to-server communication.
  • ScionFL-Aura Defense: The first Byzantine defense operating directly on quantized inputs inside MPC. It uses a bipartite approach:
  • Magnitude scaling: Computes $L_2$-norms directly on quantized vectors (by simply counting zeros and ones) and scales updates exceeding a threshold.
  • Directional filtering: Calculates cosine distances relative to the aggregate vector and discards the top-$\psi$ outliers via a secure Top-$K$ selection.

Datasets

The authors evaluated their framework on standard image classification benchmarks:

  • MNIST (trained on LeNet)
  • CIFAR-10 (trained on ResNet-9 and VGG-11)
  • Note: No new datasets were introduced. (FashionMNIST was evaluated against ELSA in related work discussion).

Key Insights and Ideas

  • Noise Tolerance Enables MPC Approximations: Optimization algorithms in FL are naturally robust to small gradient variances. ScionFL exploits this by replacing expensive non-linear MPC operations with unbiased probabilistic approximations, drastically reducing server communication without hurting final model convergence.
  • Quantization Inherently Benefits Byzantine Defense: In untargeted poisoning attacks like Min-Max, attackers attempt to stay just below detection thresholds. The stochastic noise introduced by 1-bit quantization perturbs these synchronized malicious gradients, knocking them over the threshold and making them significantly easier for ScionFL-Aura to filter out.
  • Efficient Bit-Level Norm Computations: Because a quantized vector consists solely of binary choices between a minimum and maximum value ($s_{\min}$ and $s_{\max}$), its squared $L_2$-norm can be computed strictly by counting the number of 1s and 0s—converting an expensive vector computation into a simple sum of bits.

Key Results

  • Client Overhead: Zero additional communication overhead for clients compared to standard insecure 1-bit quantized transmission (achieving a $32\times$ compression ratio over standard 32-bit floats).
  • Inter-Server Communication Reduction:
  • On MNIST/LeNet with 500 clients per round, inter-server communication plummeted from 16.14 GB (naive exact MPC) to 0.94 GB using ScionFL's approximations—a $17.2\times$ reduction.
  • Compared to Prio+ for pure bit aggregation with $10^5$ clients, ScionFL's exact bit conversion is $2.4\times$ faster, rising to $4\times$ faster with approximate conversion.
  • Accuracy: On MNIST/LeNet ($N = 5000$), accuracy was barely affected, reaching 98.71% for approximate KSQ versus 99.04% for the exact baseline (a 0.33% difference).
  • Poisoning Resilience: Under a 20% malicious client Min-Max attack on CIFAR-10/ResNet-9, an undefended network suffers a ~20% accuracy drop. ScionFL-Aura cuts the average number of accepted poisoned updates by more than half, limiting accuracy drops to 7.7% for HSQ and 10.7% for KSQ.

Limitations and Future Work

  • Theoretical Gap: While empirical evaluations demonstrate that applying SepAgg alongside Hadamard or Kashin transforms retains an unbiased estimator, a formal mathematical proof remains an open challenge.
  • Scale in Simulation: Due to hardware memory limits when simulating thousands of clients locally, deeper architectures (ResNet-9/VGG-11) were only evaluated with smaller client pools ($n = 40$), leaving real-world large-scale evaluations for future systems deployments.
  • Attack Scope: ScionFL-Aura specifically targets untargeted model poisoning; targeted/backdoor attacks were not evaluated and may require complementary defense mechanics.

Summary updated

BibTeX
@inproceedings{benitzhak2024scionfl,
  author = {Yaniv Ben-Itzhak and Helen Möllering and Benny Pinkas and Thomas Schneider and Ajith Suresh and Oleksandr Tkachenko and Shay Vargaftik and Christian Weinert and Hossein Yalame and Avishay Yanai},
  title = {{ScionFL: Efficient and Robust Secure Quantized Aggregation}},
  booktitle = {SaTML},
  year = {2024},
  url = {https://openreview.net/forum?id=0ypqmVIjD2},
}
Figure