Complexity of Differentially Private Selection via Federated APIs

Hilal Asi, Vitaly Feldman, Jelani Nelson, Huy Nguyen, Kunal Talwar, Samson ZhouNeurIPS 2026

TL;DR

In federated systems, finding the most popular item out of $d$ choices while preserving differential privacy (DP) usually requires way more data than doing it on a central server. The authors prove that this harsh penalty is mathematically unavoidable if your system relies solely on standard "noisy sum" APIs—even if you query them adaptively. By introducing one lightweight, easy-to-audit API primitive based on the Sparse Vector Technique (SVT), they close this utility gap exponentially, matching central-server accuracy with near-linear query efficiency.

What Problem Does This Paper Address?

Writing custom differentially private code from scratch is notoriously treacherous—even subtle floating-point quirks can leak private data. To prevent bugs, modern federated learning frameworks take a modular, "API-centric" approach: engineers build complex pipelines out of a small set of thoroughly audited building blocks.

Today, the workhorse building block in federated systems is Noisy Aggregation: each user holds data, clips its size, and the system sums it up while injecting calibrated noise (like Gaussian noise) to mask individual contributions. This works beautifully for tasks like averaging gradients in deep learning.

However, it struggles mightily with private selection—the fundamental task of picking the highest-scoring candidate out of $d$ options (think: finding the top trending topic or the model coordinate with the highest loss). With a trusted central server, private selection only incurs an error proportional to $\frac{\log d}{\varepsilon}$ (where $\varepsilon$ is the privacy budget). Using federated aggregation APIs, the best-known methods suffer an error around $\frac{\sqrt{d}}{\varepsilon}$. When $d$ is in the millions, $\sqrt{d}$ vs. $\log d$ is the difference between a useless noisy guess and a crisp signal. Until now, nobody knew if a clever, adaptive querying trick could bypass this $\sqrt{d}$ barrier using existing aggregation APIs, or if we needed a new building block entirely.

Methods

The authors tackle both sides of the coin: proving the limits of standard aggregation, and designing a new primitive and algorithm to surpass them.

  • Proving the Aggregation Bottleneck (New Lower Bound): The authors model standard systems via a Gaussian Aggregation oracle whose privacy is tracked via standard composition rules. By showing any such system can be simulated by a local DP protocol where users add distributed noise, they use information-theoretic techniques to prove that even unlimited, adaptively chosen aggregation queries cannot beat the $\Omega(\sqrt{d}/\varepsilon)$ barrier.
  • The Federated SVT Primitive (New API Design): Rather than building a complex, hard-to-verify "find the max" circuit inside secure hardware or cryptography, they adapt the classic Sparse Vector Technique (AboveThreshold). Their stateful SVT API takes an additive query (a sum of bounded user scores in $[0,1]$) and a threshold $\tau$, returning a noisy YES or NO on whether the sum exceeds $\tau$. Crucially, NO answers cost zero extra privacy budget, and the first YES closes the stream. Because its internal state is a single scalar and its logic is tiny, it is trivial to audit inside Trusted Execution Environments (TEEs) or two-server cryptographic setups.
  • Phased Filtering & Binary Search (New Selection Algorithm): How do you find the maximum score using only YES/NO threshold checks? A naive downward scan takes $O(dn)$ queries (for $n$ users), while basic binary search splits the privacy budget across rounds, inflating the error. The authors invent a multi-phase algorithm. In each phase, it randomly samples a small fraction of candidates, estimates the sample's maximum via binary search, and uses that as a high threshold to filter out the vast majority of candidates in a single pass. By geometrically allocating privacy budgets across roughly $O(\log^* n)$ phases (where $\log^*$ is the extraordinarily slow-growing iterated logarithm), it zeroes in on the winner with minimal queries and no extra error penalty.

Datasets

Not discussed in the paper. (This is a theoretical computer science paper; all results are mathematical proofs rather than empirical benchmarks.)

Key Insights and Ideas

  • Adaptivity won't save noisy sums: You might assume that asking clever follow-up aggregation queries based on previous noisy answers could narrow down the top candidate faster. The authors prove this intuition wrong: for selection, adaptive high-dimensional linear queries hit the exact same $\sqrt{d}$ wall as non-interactive ones.
  • Push Argmax outside the security boundary: Implementing full selection directly inside MPC or garbled circuits is a bottleneck because comparing $d$ items securely requires heavy, dimension-dependent circuits. The SVT primitive only checks one sum against one threshold at a time, letting the analyst run the Argmax logic in plain code outside the cryptographic boundary.
  • An exponential separation in federated APIs: Adding a simple threshold-check to federated aggregation fundamentally changes the complexity class of the system, creating an exponential gap ($\log d$ vs. $\sqrt{d}$) in accuracy for selection and downstream tasks like heavy-hitter detection and sparse mean estimation.
Comparison of additive error across federated APIs

Key Results

  • Lower Bound for Aggregation: Any algorithm solving selection (even the easier task of distinguishing one coordinate with mean $1$ from $d-1$ coordinates with mean $1/2$) using compositional $\rho$-zCDP Gaussian aggregation requires $n = \Omega(\sqrt{d/\rho})$ samples—translating to $\Omega(\sqrt{d \log(1/\delta)}/\varepsilon)$ under $(\varepsilon, \delta)$-DP.
  • Optimal Federated Selection Error: Using the SVT API, their $\varepsilon$-pure DP protocol achieves expected additive error of $O\left(\frac{\log(dn)}{\varepsilon}\right)$. Whenever the number of users $n$ is polynomial in $d$, this simplifies to $O\left(\frac{\log d}{\varepsilon}\right)$, matching the optimal central-DP bound.
  • Near-Linear Query Complexity: The algorithm uses $O(d \log^* n + \log^3 n)$ SVT queries in expectation. When $d \ge \log^3 n$ and $n = \text{poly}(d)$, this is $O(d \log^* d)$, virtually matching the trivial $\Omega(d)$ lower bound required just to look at every candidate.
  • Downstream Wins: Applied to $k$-sparse mean estimation in $d$ dimensions, their SVT approach reduces per-coordinate error from standard aggregation's $O(\sqrt{d}/\varepsilon)$ down to $O(\sqrt{k} \cdot \text{polylog}(nd))$. For top-$k$ heavy hitters where users hold $r$-sparse vectors, error drops from $\Omega(r)$ to $O(k \log d)$, completely removing the dependence on user sparsity $r$.

Limitations and Future Work

  • Restriction to Additive Queries: While classic SVT works on any low-sensitivity function, this federated API restricts queries to additive (decomposable) sums over individual user data. General low-sensitivity queries remain difficult to implement securely in federated settings.
  • Compositional Accounting Assumption: The aggregation lower bound applies specifically to algorithms whose privacy is tracked via black-box composition of individual queries (which covers virtually all deployed Rényi/zCDP accountants, though not hypothetical non-compositional analyses).
  • Parallel / Concurrent Extensions: While the paper analyzes sequential and batch SVT streams, the authors note that running multiple SVT primitives in parallel with different parameters—analyzed via modern concurrent composition theorems—is a natural avenue for future system designs.

Summary updated

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 frequently suffer from high error rates for some important functionalities 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 $\Omega(\sqrt{d}/\varepsilon)$ samples. To address this limitation, we propose adding a new primitive that implements a version of the \textit{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 $d$, our algorithm achieves an additive error of $O\left(\frac{\log d}{\varepsilon}\right)$ matching that of the central model. Further, we show this can be done using a near-optimal number of SVT queries. Together with existing lower bounds for the shuffle model, this result establishes an exponential separation between the SVT model and shuffling or aggregation-based models. We demonstrate the model's broad applicability to diverse tasks such as $F_p$ loss minimization, heavy-hitter identification, and sparse mean estimation.
BibTeX
@inproceedings{asi2026complexity,
  author = {Hilal Asi and Vitaly Feldman and Jelani Nelson and Huy Nguyen and Kunal Talwar and Samson Zhou},
  title = {{Complexity of Differentially Private Selection via Federated APIs}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=NjjTjmwMry},
}
Figure