ACORN: Input Validation for Secure Aggregation

James Bell, Adrià Gascón, Tancrède Lepoint, Baiyu Li, Sarah Meiklejohn, Mariana Raykova, Cathie Yun

TL;DR

ACORN introduces a highly efficient protocol for secure aggregation that allows a central server to sum client data while ensuring privacy and—crucially—validating that the data isn't "poisoned." By combining lattice-based cryptography with optimized zero-knowledge proofs, it achieves up to an 8x speedup in computation and a 30x reduction in communication overhead compared to previous state-of-the-art validation methods.

What Problem Does This Paper Address?

In distributed systems like Federated Learning (FL), a central server aggregates model updates from thousands of user devices (clients). Secure Aggregation (SecAgg) protocols ensure the server only learns the sum of these updates, protecting individual user privacy.

However, SecAgg has a major "blind spot": because the server cannot see individual inputs, it cannot verify if they are valid. A malicious client could submit massive values or "garbage" data to bias the final model—a technique known as a poisoning attack. While researchers have proposed adding input validation (like checking if an update's norm is within a certain bound), previous attempts were either too slow for mobile devices or required massive amounts of data transfer, making them impractical for real-world deployment.

Methods

The authors propose ACORN (Input Validation for Secure Aggregation), which consists of three main components:

  1. RLWE-SecAgg: A new base protocol for secure aggregation using Ring Learning-With-Errors (RLWE). Unlike previous protocols that relied on pseudorandom generators (PRGs), this lattice-based approach scales optimally. For large vectors, the computation and communication costs match the "insecure" baseline where data is sent in the clear.
  2. ACORN-detect: An extension that uses Zero-Knowledge Proofs (ZKPs) to allow the server to verify that client inputs satisfy specific constraints (e.g., $L_0, L_2,$ or $L_\infty$ norm bounds). If any client submits an invalid input, the protocol detects it and aborts.
  3. ACORN-robust: A more advanced version that can not only detect cheating but also identify and exclude malicious clients on-the-fly, allowing the aggregation to finish successfully even in the presence of active attackers.

Technically, the paper leverages Bulletproofs for succinct ZKPs and introduces a novel construction for proving $L_\infty$ bounds (ensuring no single value is too large) that is compatible with "ciphertext packing," which allows multiple data points to be squeezed into a single cryptographic element.

Datasets

The authors evaluated ACORN using four standard federated learning benchmarks:

  • Federated-MNIST: Digit recognition (19k parameters).
  • CIFAR-10 (Small and Large): Image classification (62k and 273k parameters).
  • Shakespeare: Text-based language modeling using an LSTM (818k parameters).

They tested two primary scenarios: Analytics (10,000 clients, binary vectors) and Learning (500 clients, 16-bit dense vectors), with vector lengths ranging from $2^{10}$ to $2^{20}$.

Key Insights and Ideas

  • The RLWE Advantage: By switching from PRG-based masking to RLWE-based encoding, the authors achieved "optimal" scaling. Computation becomes a linear function of the input length, which is a massive win for the high-dimensional vectors used in modern machine learning.
  • Breaking the Communication Barrier: Previous validation schemes (like RoFL or EIFFeL) suffered from "double-digit factor" overheads. ACORN reduces this to just ~0.1x (10%) additional communication over standard SecAgg.
  • Packing is Key: Proving bounds on every single entry of a vector is expensive. ACORN uses "ciphertext packing" to prove bounds on groups of values simultaneously, which is much more efficient but required a new mathematical approach to ZKPs to make it work.
  • Distributed Key Correctness: To prevent clients from using "bad" keys to mask their data, ACORN uses a distributed proof where clients collectively prove their keys are valid without needing to talk to each other directly.

Key Results

  • Speed: RLWE-SecAgg provides 2-8x speedups in client computation compared to the previous state-of-the-art (Bell et al. 2020).
  • Efficiency: ACORN-detect can process a binary vector of length 1 million or a 16-bit dense vector of length 250,000 in under 80 seconds on a standard laptop.
  • Communication: Compared to prior work, ACORN improves communication efficiency by more than 30x. In end-to-end FL tasks, the total bandwidth overhead was at most 1.05x (only 5% more data than non-validated aggregation).
  • Scalability: The protocol handles up to 10,000 clients and very large model updates, making it suitable for production-scale systems.

Limitations and Future Work

  • Malicious Server in Robust Mode: While ACORN-detect is secure against a fully malicious server, the "robust" version (ACORN-robust) is currently only proven secure against a semi-honest server (one that follows the protocol but tries to learn extra info). Extending this to a fully malicious server is left for future work.
  • Post-Quantum Security: While the RLWE component is theoretically resistant to quantum computers, the specific ZKPs used (Bulletproofs) rely on the discrete logarithm problem, which is not quantum-secure. The authors suggest that future lattice-based ZKPs could eventually provide a fully post-quantum solution.
  • Client Dropout Complexity: In the robust setting, if many clients drop out or are excluded, the number of communication rounds can increase, though the authors provide a mathematical bound showing this is unlikely to be a major issue in practice.

Summary updated

BibTeX
@inproceedings{bell2023acorn,
  author = {James Bell and Adrià Gascón and Tancrède Lepoint and Baiyu Li and Sarah Meiklejohn and Mariana Raykova and Cathie Yun},
  title = {{ACORN: Input Validation for Secure Aggregation}},
  booktitle = {USENIX Security},
  year = {2023},
}
Figure