arXiv:2610.38789cs.CROct 2026

Manuscript Offprint

arXiv:2610.38789

Complexity of Differentially Private Selection via Federated APIs

Hilal Asi, Vitaly Feldman, Jelani Nelson, Huy L. Nguyen, Kunal Talwar, Samson Zhou

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Differential privacy (DP) has become the standard for privacy-preserving data analysis, yet its practical implementation in federated or distributed settings often faces a significant utility gap compared to the central model. While existing frameworks, including local, shuffle, and secure aggregation models, offer vetted primitives, they can incur high error for important tasks such as selection. Our first contribution is to show that this is inherent in the aggregation model: any private selection algorithm relying on the standard noisy aggregation primitive requires Ω(d/ε)\Omega(\sqrt{d}/\varepsilon) samples. To address this limitation, we propose adding a new primitive that implements a version of the Sparse Vector Technique (SVT) and argue that it has simple implementations under various trust models. We demonstrate its power by developing an ε\varepsilon-differentially private algorithm for the selection problem. For selection in dimension dd, our algorithm achieves an additive error of O(log⁡(dn)ε)O\left(\frac{\log(dn)}{\varepsilon}\right), matching that of the central model when nn is polynomially bounded in dd. Furthermore, we show that this can be done using a near-optimal expected number O(dlog⁡∗d)O(d\log^* d) of SVT queries. Together with existing lower bounds for the shuffle model, this result establishes an exponential separation between the SVT model and shuffle or aggregation-based models. We demonstrate the model's broad applicability to diverse tasks such as FpF_p loss minimization, heavy-hitter identification, and sparse mean estimation.

1 Introduction

Differential privacy (DP) [DMNS17, DR+14^{+14}] has emerged as the gold standard for privacy-preserving data analysis, offering a mathematically rigorous framework that limits the risk of disclosing the data of any individual entity. Informally, a randomized algorithm is differentially private if its output distribution is nearly unchanged when any individual record is modified or removed. This ensures that adversaries learn little about any one participant, even with auxiliary information.

*Apple Inc. hilal.asi94@gmail.com. †Apple Inc. vitaly.edu@gmail.com. ‡Anthropic. minilek@alum.mit.edu. Author contributed to the project while at UC Berkeley, supported by NSF grant CCF-1951384, ONR grant N00014-18-1-2562, and ONR DORECG award N00014-17-1-2127. §Northeastern. huylenguyen@gmail.com. Supported in part by NSF CCF-2311649. ▽Apple Inc. kunal@kunaltalwar.org. ¶Texas A&M University. samsonzhou@gmail.com. Author is supported in part by NSF CCF-2335411 and gratefully acknowledges funding provided by the Oak Ridge Associated Universities (ORAU) Ralph E. Powe Junior Faculty Enhancement Award.

Despite its mathematical elegance, the practical implementation and verification of differential privacy can be challenging [BO13, BDG+13, GHH+13, BGA+14, BFG+16, BGG+16, ZK17]. Because privacy guarantees are probabilistic and often counterintuitive, even subtle coding errors or floating-point vulnerabilities can lead to privacy leakage [Mir12]. This has led the community toward primitives that avoid floating-point numbers [CKS22, BV19]. More broadly, verifying that an implementation of a differentially private algorithm is correct can be challenging, and even testing or auditing for privacy requires considerable effort [BGD+18, GFHY23].

To mitigate these risks, the field has moved toward a modular “API-centric” approach. Rather than requiring developers to implement complex mechanisms from scratch, privacy frameworks, dating from early systems like PINQ [McS10] and Airavat [RSK+10] to modern efforts like OpenDP and Google’s differential privacy building blocks, rely on a small set of vetted primitives. These primitives are the “building blocks” for private algorithms; by thoroughly auditing a limited number of functions, such as the Laplace mechanism or standard composition theorems, one can build complex pipelines while mathematically tracking the total privacy loss.

In federated or distributed architectures, implementing such primitives is harder, and thus this modularity is even more critical. Specifically, primitives must be implemented under a variety of operational and security constraints. The move toward these standardized, vetted interfaces has led to the adoption of large-scale DP frameworks [Tea20, WZL+20], which provide high-level query languages backed by reliable primitives. However, as the ecosystem of these frameworks expands, it becomes vital to understand the relative power of various primitives.

Previous work has successfully formalized specific trust models, such as the local [War65, EGS03, KLN+11] and shuffle [BEM+17, CSU+19, EFM+19] privacy models. More broadly, a privacy framework can treat simple privacy primitives as interchangeable building blocks and support a set of privacy-accounting methods. A complex algorithm can be built by combining primitives, each run on all or a subset of the data, while privacy accounting upper bounds the algorithm’s privacy cost. As an example, an aggregation system allows for algorithms that apply a function f:X→Rdf: \mathcal{X} \to \mathbb{R}^d to each individual data point and output a noisy aggregate f^(x1,…,xn)=∑iclip1(f(xi))+N(0,σ2Id)\hat{f}(x_1, \ldots, x_n) = \sum_i \text{clip}_1(f(x_i)) + \mathcal{N}(0, \sigma^2 \mathbf{I}_d), for a user-specified noise parameter σ\sigma, where clip1\text{clip}_1 is the standard function that truncates the input to have ℓ2\ell_2 norm at most 1. A Rényi accountant in this setting would accumulate privacy cost in terms of Rényi DP [Mir17]. One can then use such a system to implement differentially private gradient descent to train a machine learning model. Enhancing the primitive and accounting to allow for privacy amplification by sampling further enables DP stochastic gradient descent [BST14, ACG+16]. Aggregation, potentially with sampling, can support a rich class of algorithms, and such systems have been proposed under various assumptions [DKM+06, BIK+17a, RCWH+20, FES+17, RNFH19, RZHP20, TWM+24].

In this work, we study the limits of the Aggregation API, and propose an additional primitive to help circumvent some of these limitations.

References (69)