OPA: One-shot Private Aggregation with Single Client Interaction and its Applications to Federated Learning

Harish Karthikeyan, Antigoni Polychroniadou

Introduction

Federated Learning (FL) has emerged as a vital paradigm for training machine learning models on decentralized data while maintaining user privacy. However, the "Secure Aggregation" protocols used to protect individual updates often face a significant bottleneck: high communication latency. Standard protocols typically require multiple rounds of interaction—up to eight in some industry-standard implementations—making them fragile in real-world mobile environments where clients frequently drop out or lose connectivity.

OPA (One-shot Private Aggregation) introduces a breakthrough protocol that allows clients to contribute their private data updates in a single communication round. By leveraging novel cryptographic primitives and ephemeral helper committees, OPA achieves massive performance gains—reducing server computation time from minutes to fractions of a second—while remaining resilient to client dropouts.

The Problem: The Interaction Bottleneck

In a typical FL setup, a central server aggregates updates (such as gradients) from thousands of distributed clients. To ensure privacy, the server should only see the sum of these updates, never the individual contributions.

Existing solutions generally fall into two categories, both with significant drawbacks:

  1. Multi-round Protocols: These require extensive back-and-forth communication. If a client drops out mid-protocol, the remaining participants must perform expensive "mask reconstruction" steps to recover the aggregate, leading to significant delays.
  2. Non-interactive Protocols: While they reduce communication rounds, these are often computationally prohibitive or vulnerable to "residual attacks," where a malicious server colludes with a subset of clients to isolate and reveal the inputs of honest users.

Methodology

OPA proposes a "hybrid" model that achieves the efficiency of non-interactive protocols with the security and dropout resilience of multi-round systems. The protocol is built on several key innovations:

Seed-Homomorphic PRGs (SHPRG)

The "secret sauce" of OPA is the use of Seed-Homomorphic Pseudorandom Generators. In traditional secure aggregation, masks are random values that must sum to zero. OPA moves away from this zero-sum paradigm. Instead, it uses masks generated from seeds such that the sum of the masks is approximately equal to the mask of the sum of the seeds ($PRG(s_1) + PRG(s_2) \approx PRG(s_1 + s_2)$). This allows the server to reconstruct the aggregate mask simply by knowing the sum of the seeds.

Stateless Ephemeral Committees

To handle dropouts without requiring clients to stay online for multiple rounds, OPA utilizes a small, random subset of clients as an ephemeral committee. Clients send their masked data to the server and a small piece of auxiliary information (encrypted secret shares of their seeds) to this committee. Because these committees are stateless and change every round, the system remains highly flexible and scalable.

Malicious Security

To defend against "poisoning attacks"—where malicious clients submit fake data to corrupt the global model—OPA incorporates lattice-based zero-knowledge proofs (ZKP). It also utilizes a modified "SCRAPE" test to ensure that the secret shares provided to the committee are consistent. The authors provide constructions based on several cryptographic assumptions, including Learning With Rounding (LWR), Learning With Errors (LWE), and Hidden Subgroup Membership (HSM).

Performance and Evaluation

The authors evaluated OPA across various benchmarks, including MNIST, CIFAR-10, CIFAR-100, the Adult Census dataset, and the Kaggle Credit Card Fraud dataset.

Key Results

  • Computational Efficiency: In simulations with 1,000 clients, OPA’s server computation took just 0.31 seconds. In contrast, the industry-standard Bonawitz et al. protocol required 71.3 seconds, and other modern competitors like Flamingo took between 16 and 19 seconds.
  • Minimal Client Burden: Client-side computation for 1,000 users was measured at only 38.8 milliseconds, significantly outperforming existing multi-round alternatives.
  • Model Accuracy: Training results for Multi-Layer Perceptrons (MLPs) using OPA were statistically indistinguishable from training on raw data in the clear, proving that privacy does not come at the cost of model utility.
  • Scalability: Thanks to a sub-linear communication overhead, the protocol's complexity only grows logarithmically with the total number of participants, making it suitable for massive-scale deployments.

Conclusion and Future Work

OPA represents a significant step forward for private Federated Learning by breaking the trade-off between interaction and efficiency. By shifting the workload to ephemeral committees and utilizing seed-homomorphic primitives, it enables a "one-shot" interaction model that is both fast and robust.

While OPA provides malicious security with abort, future work may focus on achieving "Guaranteed Output Delivery," ensuring the sum is computed even if adversaries attempt to disrupt the process. Additionally, further optimization of the lattice-based zero-knowledge proofs and the practical engineering of committee orchestration in live mobile networks remain areas for continued development.

Summary updated

Abstract

This paper introduces $\mathsf{OPA}$ - abbreviated from One-shot Private Aggregation - a system for secure aggregation of data, across a large number of clients, where the clients speak \emph{once}, per iteration. Crucially, clients do not need to rely on any setup phase or to receive inputs from any other parties for their participation in the protocol. $\mathsf{OPA}$ is designed to bridge the gap between traditional federated learning where model updates are sent in the clear, without any additional client participation; and prior works on secure aggregation protocols that have focused on multi-round rituals, initiated by Bonawitz et al. (CCS'17), for a successful completion of the iteration. Our key cryptographic component is Distributed Key-Homomorphic Pseudorandom Functions, which we instantiate from both Learning with Rounding Assumption and Hidden Subgroup Membership Assumption in class groups of unknown order. We microbenchmark $\mathsf{OPA}$ with the state-of-the-art secure aggregation protocols. Our experiments show that the server-side computation is the fastest, at $<1 s$, even as the number of clients increases. Meanwhile, client performance is competitive with MicroSecAgg (PETS'24) while beating Flamingo(S$\&$P '23), SecAgg (CCS'17), and SecAgg+ (CCS'20). We also evaluate the performance of $\mathsf{OPA}$ for its intended purpose of federated learning by showing no loss in accuracy, across several datasets.
BibTeX
@inproceedings{karthikeyan2024opa,
  author = {Harish Karthikeyan and Antigoni Polychroniadou},
  title = {{OPA: One-shot Private Aggregation with Single Client Interaction and its Applications to Federated Learning}},
  booktitle = {Federated Learning @ NeurIPS},
  year = {2024},
  url = {https://openreview.net/forum?id=qQdPSuW7qx},
}
Figure