Manuscript Offprint
arXiv:2610.38789Complexity of Differentially Private Selection via Federated APIs
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 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 -differentially private algorithm for the selection problem. For selection in dimension , our algorithm achieves an additive error of , matching that of the central model when is polynomially bounded in . Furthermore, we show that this can be done using a near-optimal expected number 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 loss minimization, heavy-hitter identification, and sparse mean estimation.
1 Introduction
Differential privacy (DP) [DMNS17, DR] 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 to each individual data point and output a noisy aggregate , for a user-specified noise parameter , where is the standard function that truncates the input to have 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.
Our first result is a strong lower bound ruling out this possibility. We show that any selection algorithm using an aggregation API requires sample complexity if it guarantees -DP for any implementation of the aggregation API and can identify a dimension whose average score is more than all the others.
Theorem 2.1. [Informal] Any -DP algorithm for selection from candidates using aggregation queries alone requires samples.
The main advantage of this lower bound over most existing lower bounds for selection in restricted models is that we allow algorithms that use queries adaptively. Adaptivity is crucial for implementing most standard ML algorithms and is known to be necessary for some learning problems [DF20]. We prove this result specifically for aggregation with Gaussian noise addition, with the privacy guarantee derived by composition of the guarantees for individual queries (Theorem 4.4). This implies that our lower bound applies to any API with a comparable privacy-utility trade-off, which is known to be asymptotically optimal for error. We observe that such an aggregation oracle can be implemented via distributed noise addition [DKM+06] while satisfying weaker privacy guarantees. We then prove a lower bound for such protocols using the information-theoretic techniques from [BGM+16, DR19].
To address these limitations, we propose adding a new Sparse Vector Technique (SVT) primitive. This primitive implements a special case of the sparse vector technique of [DNR+09], and suffices to implement a large class of private algorithms. By integrating SVT as a fundamental primitive, our approach expands the expressive power of DP APIs, improves accuracy guarantees, and supports a wider range of applications.
Informally, the SVT primitive implements the ABOVETHRESHOLD subroutine for additive queries. We first formally define the SVT primitive. This technique is designed to privately process a potentially long sequence of queries by revealing information only about those whose true values exceed a specified threshold. A key innovation of SVT is that by careful correlation of the noise, the incurred privacy cost grows with the number of initialized SVT streams, and is independent of the number of queries issued. In our proposed primitive, each query is restricted to be a sum of bounded contributions from individual users. These are often referred to as additive or counting queries in the context of SVT, and decomposable score functions in the context of selection. Given users with data points , a query is specified by a function and a threshold . Up to noise, the query asks if , and a YES answer closes the current stream. Because SVT needs to be stateful, we wrap this functionality in an object that can be created once and queried multiple times with different values chosen potentially in an online fashion. As in SVT, the API ensures that No answers do not incur an additional per-query cost, and each query is correctly answered up to a small additive error.
This primitive has the advantage of simplicity: each query is similar to an aggregation query with one additional threshold parameter. This simplicity allows for efficient and modular implementations of this primitive. While the precise implementation will vary with the trust model, we discuss several options in Section 5.
Symmetrically, one may consider a below-threshold version of such a query. More generally, one can consider a BETWEENTHRESHOLDS query [BSU17] with two thresholds, where the stream closes when the query answer is between the two thresholds.
At the same time, we show that this primitive is quite powerful. SVT by itself has several applications and one can naturally implement any algorithm that builds on SVT for additive queries in this model (e.g., Private Multiplicative Weights [HR10]). We next argue that selection (the task solved by the exponential mechanism [MT07]) can be implemented using the SVT API for any decomposable score function. Recall that given a dataset , and score functions , the goal is to select the candidate that (approximately) maximizes the score. We restrict ourselves to additive score functions of the form for some . We say an output candidate achieves additive error if
The reader may immediately notice that if one knew the target value , then a sequential pass over the score functions with that target value minus the SVT accuracy margin as a threshold yields a candidate with additive error at most twice that margin. This gives a mechanism with error that matches that of the exponential mechanism, and is known to be optimal. Without knowing the target value, the natural approach is to start with a large guess for this threshold, and gradually reduce it. This algorithm (Algorithm 7) yields the optimal error with SVT queries.
It is easy to see that any algorithm must make queries. When is large, the algorithm above incurs significant overhead in the number of queries. This leads to the natural question of whether one can reduce the number of queries to be closer to linear in . We show that this is indeed possible: we give a new algorithm that achieves the optimal additive error (when is polynomial in ) and makes only queries to the SVT API in expectation.
Theorem 2.2. Let . There exists an -pure DP protocol that solves the selection problem for additive scores up to expected additive error , using oracle queries to the SVT API in expectation.
When the number of users is upper bounded by a polynomial in , the error of our protocol matches the optimal additive error of achievable in the central model of privacy, and the query complexity matches the lower bound up to an factor. We then show a number of applications of Theorem 2.2, specifically, to losses, heavy hitters with categories, multiplicative weights with the exponential mechanism, and sparse mean estimation.
Our lower and upper bounds for selection extend to other natural tasks. Combined with known results for the shuffle model, our new upper bounds in the SVT model, and our lower bounds in the aggregation model emphasize the value of the SVT primitive. As we show in Figure 1, our new API allows for accurate selection, where aggregation and shuffle models must incur large errors.
Other related work. Our lower bounds for aggregation APIs are most closely related to statistical query (SQ) lower bounds in learning theory [BFJ+94, FGR+17]. An SQ oracle is an oracle that for a query and data distribution is guaranteed to return a value within some prescribed tolerance of the expectation (the returned value may be chosen arbitrarily by the oracle). It is known that learning a parity function over coordinates requires statistical queries of tolerance (e.g. [Fel14]). Learning a parity function reduces to selection in dimension and thus this also gives a lower bound for selection. These lower bounds do not apply to our setting as we answer queries relative to a given dataset (and not the distribution).
SQ lower bounds are known to imply lower bounds for the local model of privacy with a pure-DP randomizer [KLN+11]. This reduction is also based on a simulation of a randomizer using an SQ
| SecAgg | Shuffle DP | SVT | Central DP | |
|---|---|---|---|---|
| Aggregation | ||||
| Selection |
Fig. 1: Comparison of the additive error achievable for the different APIs in the federated setting, up to constant factors, for users. In the aggregation row each user holds a vector of norm at most 1 and the error is the error of the sum. In the selection row each user holds scores in and the error is the additive error in the sum score; the entry indicates that error is not achievable unless . The entries for SVT and central DP are upper bounds (-DP, Theorem 2.2 for SVT with polynomial in ). The entries for SecAgg and shuffle DP are lower bounds: for algorithms that access the data through an aggregation API (Theorem 4.4), and for robust or single-round shuffle protocols (Theorem 3.3 and Theorem 3.4).
oracle and, as a result, does not imply any lower bounds for the setting where the number of queries is comparable to . A direct lower bound of samples for -DP local non-interactive protocols was given by [DJW18]. A similar lower bound on non-interactive local-DP protocols was given by [Ull18] for sparse Boolean mean estimation. More recently, a lower bound of for sparse Gaussian mean estimation in the local DP model that allows interactivity and and 1-Renyi-DP (or KL-private) randomizers was given by [DR19].
Several recent works [CU21, CGKM21, BHNS20] provide lower bounds for private selection in variants of the multi-message shuffle model. All of these apply only to non-interactive (or one-round shuffling) settings. In fact, [BHNS20] show that a two-round multi-message protocol can simulate arbitrary secure multi-party protocols. The lower bound of [CU21] is the same as ours, , and is based on somewhat related ideas. The lower bounds in [CGKM21, BHNS20] are of the form , where is the number of messages sent by each user, and thus are not directly comparable to ours.
The question of implementing selection using simpler APIs has also been raised as an open question for low-sensitivity queries in [Ste25], and recent work [LM25] has shown nearly-optimal algorithms for that model. Arbitrary low-sensitivity queries can, however, be challenging to implement, and hence we focus on additive queries in this work.
3 Preliminaries
We use the notation for a positive integer to denote the set . For functions , we sometimes use the notation in conjunction with , i.e., that there exists a constant such that for all for a sufficiently large .
Definition 3.1 (Differential privacy [DMNS17]). Let be a randomized algorithm mapping a dataset to a range . We say two datasets are neighboring if for all but one of the coordinates. The mechanism is -differentially private if for any pair of neighboring datasets , and for any event ,
When an algorithm is -differentially private, we often call it -differentially private.
Shuffle model. In the shuffle model, each individual user first randomizes their own data into one or more messages. These messages are then sent to a secure shuffler, which aggregates and randomly permutes all user messages. The shuffle model considers an attacker who only sees the collection of messages after the permutation and thus, the set of shuffled messages must satisfy differential privacy. Equivalently, an attacker can only observe the histogram of the messages. Formally, we have the following definition:
Definition 3.2 (Shuffle model of differential privacy). In the shuffle model of privacy, a protocol consists of three randomized algorithms:
-
A randomizer that maps data to vectors, possibly of variable length, which denotes the number of messages sent. The protocol is said to be single-message if the probability of sending a single message is 1 on all inputs; otherwise it is said to be multi-message.
-
A shuffler that applies a uniformly random permutation to all messages.
-
An analyzer that performs computation on a set of messages (after permutation).
Since the shuffler is the same across all protocols, we use to denote each shuffle protocol , so that on an input , the output is . Hence, we denote the output of the shuffler by .
We remark on two existing lower bounds for selection in the shuffle model of privacy. We first recall the following lower bound by [CGKM21]:
Theorem 3.3 (Theorem 1.9 in [CGKM21]). Any -shuffle DP protocol that allows each user to send up to messages and solves the selection problem on -dimensional inputs with additive error in the average scores, with constant success probability, must use samples, for any and .
Theorem 3.4 (Theorem 7.3 in [CU21]). Any -shuffle DP protocol that remains private when at least a -fraction of users follow the protocol and solves the selection problem on -dimensional inputs with additive error in the population means and success probability at least 99/100 must use samples for .
4 Lower Bounds for Private Selection via Noisy Aggregates
The problem of private selection and its specific instantiations have been studied in a number of distributed models of computation. In this section, we review the known lower bounds that are most relevant to our setting. We then give a new lower bound for algorithms that rely on noisy aggregation. Specifically, we study algorithms whose only access to the dataset is through the noisy aggregation oracle defined in Definition 4.1, i.e., through noisy values of . Within that constraint, the algorithm is entirely unrestricted: it may issue unboundedly many adaptively chosen queries with an arbitrary output dimension . Such queries are referred to as high-dimensional linear or statistical queries.
Our lower bounds apply to algorithms that receive answers perturbed by standard Gaussian noise. This is both the most commonly used method in practice and the method that achieves an asymptotically tight privacy-utility trade-off (for expected squared error). Consequently, our lower bounds apply to any algorithm whose privacy guarantee is derived from black-box aggregation guarantees (which encompasses essentially all deployed aggregation APIs), since beating it would require beating the optimal trade-off for aggregation itself. We further remark that aggregation is often combined with subsampling (using privacy amplification results for subsampling). While such results improve the communication and computation efficiency of the implementation, they do not improve the privacy-utility trade-off.
We start by formally defining the Gaussian Aggregation oracle. For simplicity of presentation, we assume that each query given to the oracle has sensitivity at most 2 under replacement adjacency, since its per-record output is in . Queries with other bounds on sensitivity can be implemented by scaling the noise parameter of the oracle and then scaling the result back.
Definition 4.1. For the input dataset , let be the oracle parameterized by that, given a query and parameter , returns a fresh sample from , where .
The privacy properties of a single answer to such a query are well-known. Most conveniently for applications involving composition, a single answer satisfies -zCDP [BS16]. We assume that privacy bounds for an algorithm with access to the Gaussian Aggregation oracle are derived directly from (advanced) composition of individual privacy guarantees. Following an analogous notion in [JMNR19], we refer to such privacy guarantees as compositional.
Definition 4.2. Let be an algorithm that is given access to and asks (adaptively chosen) queries with noise scales . We say that satisfies compositional -zCDP if the sequence of CDP parameters of individual queries satisfies .
We remark that, for simplicity, in this definition the noise scales are chosen non-adaptively, since that is required by the standard composition results for Renyi DP [Mir17, BS16], and standard applications such as DP-SGD do not need adaptive choice of noise scales. However, using fully adaptive composition results for RDP with a Renyi filter [FZ21], we can also allow the noise scales to be chosen adaptively (with the filter ensuring the condition ).
Our lower bound for selection for score functions will apply to an easier problem of distinguishing the case where all score functions have mean from the case in which one of the functions has mean 1. Indeed, the index returned by a selection algorithm can be verified using a single aggregation query. Formally, we assume that each user is given a -dimensional Boolean vector and the -th score function is simply the coordinate of that vector (denoted by ).
Problem 4.3 (Sparse Boolean distinguishing). For and we define a distribution over . When , is uniform on . When , is uniform on . Each user is given an independent sample from . The goal is to estimate for chosen uniformly in and chosen uniformly in . An algorithm (or protocol) is 2/3-accurate if it produces an estimate such that , where the probability is under all the random choices of the problem and the algorithm.
We now state our main lower bound for this problem.
Theorem 4.4. Every 2/3-accurate algorithm for Sparse Boolean distinguishing (Problem 4.3) that is given access to and satisfies compositional -zCDP must have samples.
The key idea of our proof is to use the fact that the Gaussian Aggregation oracle can be implemented via distributed noise addition [DKM+06]. The transcript of this implementation satisfies privacy guarantees that are exactly times worse (in terms of zCDP parameters) than the guarantees satisfied by the aggregates since each user adds Gaussian noise at scale . Equivalently, Gaussian aggregation with zCDP parameter can be implemented using a local -zCDP protocol. By applying zCDP composition to the local zCDP parameters of each query implementation, we get a direct simulation of any algorithm that has access to and satisfies compositional zCDP.
Lemma 4.5 ([DKM+06]). Let be an algorithm that is given access to and satisfies compositional -zCDP. Then there exists a local -zCDP protocol Dist- that simulates .
Proof. We provide a short, self-contained proof. In the distributed noise addition protocol of [DKM+06], to simulate the Gaussian aggregation oracle, which adds noise , each of the users independently adds noise to their contribution. Because the sum of independent random variables is distributed exactly as , the aggregate of the users' messages exactly simulates drawing Gaussian noise . Thus for a query with sensitivity 2, a single user's message with noise variance achieves the desired overall noise distribution, and by composition, the protocol is locally -zCDP.
Therefore it suffices to prove lower bounds for local zCDP protocols. Lower bounds for such protocols that allow adaptive queries were first established by Duchi and Rogers [DR19], building on the framework of Braverman et al. [BGM+16]. In particular, they show that constant-error 1-sparse Gaussian mean estimation requires samples, where is the RDP parameter of order 1 (or KL) of the protocol. This result can be used to derive lower bounds for selection by reducing the 1-sparse Gaussian mean estimation to selection. Such a reduction will, however, incur an additional logarithmic dependence on due to the need to bound the range of score functions. Our lower bound for Sparse Boolean distinguishing avoids this logarithmic factor, is simpler, and is essentially self-contained. We defer the proof, which may be of independent interest, to Appendix A.
We also note that -zCDP implies -DP for every [BS16]. Thus, if an algorithm derives an -DP guarantee with from its compositional zCDP bound (as is done by the Rényi accountants used in practice), then and Theorem 4.4 gives .
5 The SVT Primitive
We start by defining the expected behavior of our proposed SVT primitive. Informally, it takes as input a sequence of linear queries and thresholds, and up to a small additive error, the oracle outputs YES if , and outputs NO otherwise. Crucially, one initialized stream has a fixed privacy cost, independently of the number of NO answers. To support online and adaptive queries, we allow the queries to be asked one at a time after initializing an SVT stream. We discuss both a batch version, which may be simpler to implement (Section 5.1), and a more general version that implements the BETWEENTHRESHOLD algorithm of [BSU17] (Section 5.2).
Initialize: Takes as input a privacy parameter , and creates the required internal state.
Query: Takes as input a function and a threshold , informally asking whether . Outputs YES or NO. If it outputs YES, the stream is closed and does not accept any more queries.
-Accuracy Property: We say a response is -accurate if the following hold: (a) If for a query , the output is YES. (b) If for a query , the output is NO. We say an SVT API is -accurate for a specific query limit if all its responses are -accurate except with probability .
Using such a primitive, one can design compositionally differentially private algorithms in a natural way, where the incurred privacy cost is computed by applying a composition theorem to the privacy cost of individual API calls. In the upper bounds presented in this work, we use basic composition for pure-DP selection and advanced composition for approximate-DP applications [DR].
One way to implement this primitive is to use the ABOVETHRESHOLD algorithm, which satisfies -DP, and gives us -accuracy for any sequence of queries, with . This algorithm is originally due to [DNR], and the formal description below is equivalent to the version in [DR].
Algorithm 1 SVTInit
Input: Privacy parameter . Output: Create an SVT object S
1: 2: 3: . 4: Incur privacy cost , and return handle to S.
▷This internal variable is private to the object.
Algorithm 2 SVTQuery
Input: Handle S, Function , Threshold . Private input x Output: Output YES or NO.
1: if not then 2: Compute . 3: Sample from . 4: if then 5: 6: Return YES 7: else 8: Return NO 9: else 10: Return ERROR.
The following proofs can be found in [DR].
Theorem 5.1. SVT satisfies -differential privacy.
Theorem 5.2. For any sequence of functions , and thresholds , the output of SVT is -accurate for any and , with .
The clipping step in Algorithm 2 ensures that every contribution lies in [0,1] and hence that the privacy guarantee holds for arbitrary functions . We state the accuracy guarantee only for functions with range [0,1], for which clipping has no effect.
We describe various design choices for our formalization of the SVT primitive. First, our choice of an SVT-based API over a dedicated selection primitive merits justification. Our goal is to propose a primitive that is relatively simple to implement while still capturing the power used in most commonly used DP techniques. While selection is a more common task, it is not clear that it allows for the implementation of SVT, so SVT is arguably a more general primitive. Regardless, abstracting and understanding the relative power of different natural primitives is an important goal in itself.
Second, as defined, the ABOVETHRESHOLD algorithm is well-defined for arbitrary sensitivity-1 queries, and indeed the privacy and utility guarantees in Theorem 5.1 and Theorem 5.2 hold in that generality. Our choice of restricting the functions to be sums presents a tradeoff. On the one hand, we believe that implementation of the primitive in a federated setting would be significantly easier under this additivity restriction. On the other hand, we will argue that a large class of differentially private algorithms of interest can be implemented even with this restriction. We detail these two arguments in Section 5 and Section 6.
We can also define a “batch” version of the SVT primitive, where a sequence of queries is given in advance and the index of the first YES, if any, is returned. This may be simpler to implement, as it does not need to retain internal state between API calls. In most settings, the batch and online versions are equivalent, except that the online version may be more communication efficient. One could also imagine algorithms that run multiple such SVT primitives in parallel, potentially with different parameters, and where composition could be analyzed using the concurrent composition theorems of [VW21, Lyu22, VZ23].
Implementation. The implementation of an SVT primitive will be a function of the specific trust model. A few different approaches have been studied for aggregation in the federated setting and we argue that these can accommodate the SVT primitive with relative ease.
The easiest approach is perhaps to use Trusted Execution Environments (TEEs), which have been proposed as an approach to implementing private federated algorithms in [JCM+24, ERB+24]. The simplicity of the SVT primitive makes it fairly well-suited for a TEE implementation, as it may be easy to verify the correctness of an implementation. While TEEs can in principle be used to implement general selection or even run an arbitrary central DP algorithm, the value of a minimal primitive like SVT is that it only needs to be audited and analyzed once. Running arbitrary analyst code inside the enclave makes the privacy guarantees depend on unaudited code, and both side-channel vulnerabilities and privacy budget state-continuity attacks [JCM+24] worsen as the trusted code base grows. In contrast, SVT’s trusted state is a single scalar and its logic spans just a few lines of code, which is why we consider it a realistic and highly secure basis for solving more general problems.
A different approach to federated aggregation is to use the two-server or Prio model [CB17]. There is a large body of work on this model, and differentially private aggregation in this setup has been studied by [TWM+24]. In the two-party settings, noise addition requires some care: there are multiple algorithms for collaborative noise addition, e.g., Franzese et al. [FFG+25], though a simple approach is for both servers to independently add scaled noise. Existing aggregation approaches already allow the two servers to very efficiently construct secret shares of the values, as well as validate that each contributed is in a bounded range. Distributed noise generation for and and the comparison can easily be implemented using garbled circuits and other standard techniques; indeed [BBCC+25] implement these ingredients in the same model.
An alternative approach, potentially combining trust models, is to use a TEE for the comparison part. This has the advantage that the input to the TEE, namely the secret shares of 's, does not scale with the population size . Finally, one may consider an MPC approach to securely computing (shares of) the values (e.g. [BIK+17b]). There are many approaches to secure noise generation in the MPC model, and the comparison operation can be implemented using general MPC. In all of these approaches, we exploit the fact that the computation of 's can be efficiently implemented using existing aggregation protocols, leaving a constant-size input to the comparison operator rather than one that grows with . The noising and comparison operations are now a relatively simple circuit, which can be implemented using standard MPC tools.
Finally, we remark that SVT is significantly easier to implement securely than a general selection API. General selection requires arbitrary score functions as input, whereas each SVT query deals with a single score function at a time. This allows for much simpler cryptographic implementations; for example, if garbled circuits were used to implement selection, then Argmax would need to be securely solved over an arbitrary number of candidates. Indeed, [DKN+24] noted that “the bottleneck in the secure computation protocol is the comparisons required to compute argmax.” Each candidate set size would require a different circuit, further making verification and auditing harder. Moreover, the secure part of the computation invariably adds non-trivial “constant” overheads. Because SVT processes a single score function at a time and returns a boolean threshold comparison, it allows the analyst to perform the Argmax outside of the cryptographic boundary, resulting in significant computational savings.
5.1 A Batch Version
Here, we define a batch version of the SVT primitive, where one inputs a sequence of queries with the expectation that the SVT outputs the index of the first query where the answer is above the threshold.
Input: A sequence of functions ; a sequence of thresholds ; a privacy parameter .
Output: An output .
-Accuracy Property: For , and the dataset , let . We say an output is -accurate on if the following hold. If , then for all . If , then for all , and . We say an oracle is -accurate if its output is -accurate except with probability .
As in the online case, this batch version can be implemented using ABOVETHRESHOLD. This batch version has the advantage of not needing to retain internal state between API calls.
5.2 A More Powerful Variant
Next we present a more general primitive that may be amenable to similar implementation techniques as our simple SVT primitive.
Our more general primitive will allow the query to specify two thresholds in addition to , and get back information on whether the function is well below (Low), well above
Algorithm 3 ABOVETHRESHOLD
Input: Dataset . Functions ; thresholds ; privacy parameter .
Output: Output .
1: .
2: for do
3: .
4: .
5: if then
6: Return
7: Return
(High), or in between (Close). The primitive can keep answering queries as long as the query answer is not Close. We show an implementation of this primitive below.
Algorithm 4 CompareToThresholdsInit
Input: Privacy parameters .
Output: Create a CompareToThresholds Object CTT
1: CTT. ▷ This internal variable is private to the object.
2: CTT.
3: CTT..
4: CTT..
5: Incur privacy cost , and return handle to CTT.
Algorithm 5 CompareToThresholdsQuery
Input: Handle CTT, Function , Thresholds , private dataset
Output: Output Low, High, or Close.
1: if not CTT. and then
2: Compute .
3: Sample from Lap .
4: if then
5: Return High
6: if then
7: Return Low
8: CTT.
9: Return Close
10: else
11: Return ERROR.
This variant satisfies -DP and the privacy bound is proved in [BSU17].
6 Selection in the SVT Model
In this section we give differentially private algorithms for the selection problem in the SVT model. We first describe a simple binary search over the range of the scores (Algorithm 6), which uses SVT queries but loses a factor of in the error. We then show that a descending linear scan achieves the optimal error using a single SVT stream but queries (Algorithm 7), and that allocating the privacy budget geometrically across the rounds of the binary search removes the factor from the error while keeping queries (Algorithm 8). Finally, in Section 6.3 we combine sampling with a filtering pass to obtain the same error using queries in expectation (Algorithm 9). All algorithms access the data only through SVT streams. Thus their privacy follows from Theorem 5.1 and basic composition. We analyze their accuracy on the event that all SVT answers are accurate. Throughout this section every score is a sum of per-user values in , as required by the SVT primitive. Scores with per-user values in can be divided by , which multiplies the error bounds by .
Algorithm 6 Private binary search
Input: Oracle , initial bounds for non-negative scores, accuracy ; preserve the last positive index across recursive calls.
Output: Index corresponding to approximately highest noisy score
1:
2: Query oracle for index from with threshold .
3: If returned index , query oracle for index from with threshold .
4: if exactly one index in returned then
5: Return that index Only one positive answer; its score is within of the maximum.
6: else if two indices returned then
7: Multiple scores
8: else
9: All noisy scores
10: if then
11: Recurse to find index for upper and lower limits
12: else
13: Return the last returned index, or arbitrary index if no indices returned.
The algorithm appears in full in Algorithm 6 and can be informally interpreted as a binary search over the set of possible scores for the index with the maximum score. At a high level, we design a private selection procedure that repeatedly performs noisy threshold comparisons to narrow down the range of possible values for the maximum score, and isolate a high-scoring coordinate. Rather than explicitly evaluating all scores with independent noise, as in the naïve Laplace mechanism, the algorithm adaptively compares against a threshold using the SVT primitive. This approach allows us to limit privacy loss to the relatively small number of times the algorithm observes that a score exceeds a threshold, while ignoring the vast majority of coordinates whose scores are clearly suboptimal.
Concretely, the algorithm maintains a candidate interval for the maximum score and performs a logarithmic number of rounds. In each round, it picks the mid point of the current interval where the maximum lies and scans the coordinates in their given order using the SVT primitive. Based on whether zero, one, or multiple coordinates cross the threshold, the algorithm refines its estimate of the maximum and continues.
If the current width is , the next width is at most . For and , at most rounds suffice, each using at most two fresh SVT streams and at most queries. Allocating to each stream makes the algorithm compositionally -DP.
Assuming that the SVT oracle is -accurate, all answers in the at most streams are correct up to an additive except with probability . There are three cases. When all queries are below the current guess , it follows that the true maximum is below , so our recursive step is correct. When at least two queries are above the current guess , it follows that the maximum is above , so once again the maximum score is in . Finally, if there is exactly one score above , the returned score is within of the maximum, so we can stop. The recursion stops when is smaller than , and outputs the last positive index. Since the maximum score was guaranteed to be in and the last positive score was at least , it follows that the returned index has score within of the maximum. Since our SVT primitive gives -accurate answers when called with privacy parameter , we get the following bound.
Theorem 6.1. For , , , and , Algorithm 6, with privacy budget for each SVT stream, is -DP and has additive error with probability at least , using queries.
Corollary 6.2. Given an oracle that is -accurate for and , there exists an -DP algorithm that performs approximate maximization for decomposable score functions.
Unfortunately, the additive error of this binary search approach is rather than the optimal error of achievable in the central setting. This is because the binary search procedure may need to split the privacy budget small enough to invoke the SVT mechanism times. Thus one may ask whether it is possible to achieve the optimal additive error of .
6.1 Linear Scan
We first observe that a simple linear scan can achieve an optimal additive error. Namely, the protocol simply starts from the maximum possible score of an index and repeatedly calls the SVT API. For each query where the SVT API does not return a coordinate, the protocol decreases the guess for the maximum possible score of an index, repeating until the guess is within the typical bounds for Laplacian noise added to the score of the maximum coordinate. Since this approach will report only a single coordinate from the SVT API, it spends less privacy budget than the binary search approach. Assuming the score for each user is normalized to [0,1], we have the following guarantees:
Theorem 6.3. For , , and , Algorithm 7 with and a single -DP SVT stream is an -DP selection algorithm with additive error with probability at least , using queries.
Proof. Privacy follows from the fact that we run exactly one SVT oracle, and stop once we get one score above the threshold. The accuracy bound follows from the fact that we use decreasing thresholds and the SVT oracle is -accurate. Finally, note that since the score for each user is in , then the score for each index is contained within the interval . Hence, there are threshold levels when scanning the integer bounds from through 0, each across coordinates, for a total of queries.
Algorithm 7 Private linear scan
Input: Oracle , upper limit , lower limit on score
Output: Index with approximately maximum true score
1: for do
2: Query the same initialized SVT stream at threshold for all indices
3: if an index is returned then
4: Return
5: Return an arbitrary index in
6.2 Improved Binary Search
The downside is that to achieve the additive error , the linear scan requires using queries. By comparison, binary search requires queries but has additive error . We now show that allocating the privacy budget geometrically across the rounds of the binary search removes the factor from the error while keeping queries. Indeed, the error introduced in a round of the binary search is halved in each of the subsequent rounds. Therefore the early rounds can use a much smaller privacy budget than the last ones. Specifically, in Algorithm 8 round uses budget proportional to for . Thus its contribution to the final error is proportional to and the total error is dominated by the last round. We state the algorithm for an arbitrary set of candidates , an upper bound on the maximum score in and a witness index whose score is at least a given lower bound , since we use it as a subroutine in Section 6.3 and in Section 7.
We next analyze Algorithm 8. Let denote the event that every oracle call satisfies its accuracy guarantee. Each of the calls fails with probability at most , and thus by a union bound. We thus condition on the event for the remainder of the utility analysis.
Lemma 6.4. For all , we have and , where .
Proof. We prove the claim by induction on . For , we have and by the assumptions on the input. Suppose the inductive hypothesis holds at step and let . If no index is returned, then the oracle accuracy gives and thus
We also have .
On the other hand, if index is returned, then . If , the algorithm sets and , so . Otherwise, we again have . Moreover, in both cases, we have . Therefore, the inductive step is complete.
We next bound the size of the search space, showing that it geometrically decreases at each step .
Lemma 6.5. Let . Then for all , we have .
Algorithm 8 Private geometric binary search (GEOMETRICBINARYSEARCH)
Input: Oracle , candidate set , interval with , witness with , number of rounds , privacy budget , failure probability
Output: Index and an interval such that and
1: , ,
2: for do
3:
4:
5:
6: Query oracle on all candidates in with threshold , budget , and failure probability
7: if no index returned then
8: All noisy scores
9: else (oracle returns index )
10: if then
11:
12:
13: Return
Proof. Since , then we have
Now, if no index is returned, then we have
Otherwise, if an index is returned, we have
The following theorem summarizes the guarantees of Algorithm 8.
Theorem 6.6. Algorithm 8 is -differentially private and makes at most SVT queries. Let . With probability at least , it returns such that , and
In particular, for , , and , with probability at least the returned index satisfies
Proof. Algorithm 8 accesses the data only through oracle calls, and the call in round has privacy budget and answers at most queries. By the choice of , , and therefore privacy follows from basic composition. Conditioned on the event , we have
By Lemma 6.5, we have
Since , we have
where we used that and . This gives the first claim. For the second claim we note that and .
Corollary 6.7. If , , for a fixed , and , then Algorithm 8 with , , and makes SVT queries and, with probability at least , returns such that
Running Algorithm 8 on a single candidate gives a simple way to privately estimate a sum using the SVT API, which we use in Section 7.
Corollary 6.8. Let and , and let . There is an -differentially private algorithm that makes SVT queries and, with probability at least , outputs an interval of length at most that contains .
Proof. We run Algorithm 8 with the single candidate , the interval , the witness (whose score is nonnegative) and rounds. By Theorem 6.6, the returned interval contains and has length at most .
6.3 Near-Linear Algorithm
We now describe an algorithm that achieves the error of Algorithm 8 using only SVT queries in expectation. For simplicity of notation we write for and .
Like Algorithm 8, our algorithm maintains an interval that contains together with a witness index whose score is at least . Algorithm 8 halves the length of this interval in each round and queries all candidates in every round. Our algorithm instead proceeds in phases, each of which reduces the length of the interval from to using queries in expectation, where is (up to a constant factor) the target error. Since the length decreases so rapidly, phases suffice to reduce it to , and a final run of Algorithm 8 with a constant number of rounds completes the selection.
The main step of a phase is a filtering pass in which we query every candidate once against a fixed threshold . Every candidate that answers No has score at most (up to the accuracy of the SVT). Thus it remains to search the set of candidates that answer YES, which is cheap when is small. At the same time, each YES answer closes the SVT stream and therefore the privacy cost of a filtering pass grows linearly with . Thus we need a threshold that only few candidates exceed. To construct this threshold, we first form a random sample by including each candidate independently with probability , where . We estimate the maximum score in by running Algorithm 8 on with rounds, which makes at most queries, or about queries in expectation. We then set slightly above this estimate, with enough slack to account for both the estimation error and the SVT error, and run the filtering pass. When all SVT answers are accurate, only candidates whose scores exceed the maximum score in can answer YES. The number of such candidates is dominated by a geometric random variable with mean and thus it is less than except with probability . When , we search using Algorithm 8 with rounds, which makes at most queries.
We use privacy budget for every stream of the filtering pass and for each of the two runs of Algorithm 8 in a phase. Therefore the accuracy of the SVT answers, and also the length of the new interval, is . The filtering pass initializes at most streams and thus a phase uses budget in total. This budget at least doubles from one phase to the next and thus the total budget of all phases is dominated by the last one. Two additional details ensure that the privacy guarantee holds on every execution, and not only when all SVT answers are accurate. First, the parameters of every phase are fixed in advance and do not depend on the data. Second, the filtering pass stops after YES answers and we then search all candidates instead of . This makes queries but happens with probability at most when all SVT answers are accurate. We present the full details in Algorithm 9. There, GEOMETRICBINARYSEARCH denotes a run of Algorithm 8 on the candidate set with the interval , the witness , rounds, privacy budget and failure probability .
We now analyze Algorithm 9. Let denote the number of phases and, for , let and denote the values of and in phase (starting with ). We also denote by the value of after the last phase. Note that these values depend only on , , and . By definition, and for every . This implies that . Therefore
Further, it is easy to see that two consecutive phases reduce any sufficiently large value of to at most and thus .
We first show that the algorithm is private, which follows from basic composition since the budgets of all phases are fixed in advance.
Lemma 6.9. Algorithm 9 is -differentially private.
Proof. The algorithm accesses the data only through SVT streams, either in a filtering pass or in a run of Algorithm 8. In phase each of the two runs of Algorithm 8 uses budget , and the filtering pass initializes at most streams with budget each. Thus phase uses budget at most . By Equation (1), all phases together use budget at most . The final run of Algorithm 8 uses budget and therefore the claim follows from basic composition.
Algorithm 9 Private selection by sampling and filtering
Input: Oracle , candidates with scores in , privacy budget , failure probability
Output: Index with approximately maximum score
1: , ,
2: , , ,
3:
4: , ,
5: Sample by including each candidate independently with probability , and let
6:
7: , , and initialize an SVT stream with budget
8:
9: if the query to the current stream returns YES then
10:
11: if then break, else initialize a new SVT stream with budget
12: if , and otherwise
13:
14: ,
15:
16:
Next we analyze the accuracy of the algorithm. Every run of Algorithm 8 is made with failure probability . Every stream of a filtering pass answers at most queries and thus, by Theorem 5.2, it is -accurate except with probability . The total number of runs of Algorithm 8 and streams of filtering passes is at most , since and (as ). Let denote the event that every run of Algorithm 8 satisfies the guarantee of Theorem 6.6 and every stream of a filtering pass is accurate as above. By a union bound, . By our choice of , on the event every stream of the filtering pass in phase is -accurate, and every run of Algorithm 8 in phase with input interval returns an interval of length at most . Similarly, the final run returns an interval of length at most .
We now show that on the event every phase maintains the interval and the witness, and reduces the length of the interval as intended. The proof formalizes the description above. The threshold of the filtering pass exceeds the maximum score in by more than the accuracy of the stream. Thus only candidates whose scores exceed this maximum can answer YES. Every candidate that answers NO is certified to have score at most , and the run of Algorithm 8 on certifies the scores of the remaining candidates.
Lemma 6.10. On the event , for every , at the beginning of phase (or of the final run of Algorithm 8 if ) we have , and . Moreover, the filtering pass of phase stops after YES answers only if at least candidates have score larger than .
Proof. We prove the claim by induction on . For it holds since all scores lie in and . Now consider phase and let and . By the inductive hypothesis, the run of Algorithm 8 on returns (the lower end of the interval never decreases in Algorithm 8) such that and . Therefore every candidate with satisfies and answers NO in the filtering pass. This proves the second claim since every candidate is queried at most once. Further, every candidate that is queried in the filtering pass answers NO and thus satisfies .
Let denote the output of the run of Algorithm 8 on , so that the new values are and . This run starts from the interval with the witness and thus and . If the filtering pass does not stop early then every candidate outside of answered NO and thus . Otherwise and . In both cases the new value of is at least . The length of the new interval is at most . If then some candidate in answered YES. Thus and . If then . In both cases the new interval has length at most .
Finally, we bound the expected number of queries. The run of Algorithm 8 on makes about queries in expectation and the filtering pass makes at most queries. The run on makes at most queries, unless the filtering pass stops early. By Lemma 6.10, on the event this happens only if none of the candidates with the largest scores is in the sample, which has probability at most .
Lemma 6.11. If then the expected number of SVT queries made by Algorithm 9 is at most .
Proof. Consider phase and let . The run of Algorithm 8 on makes queries and . The filtering pass makes at most queries. The run on makes at most queries if the filtering pass does not stop early, and queries otherwise. Let denote the candidates sorted by their scores in decreasing order (with ties broken arbitrarily). If includes one of then fewer than candidates have score larger than . By Lemma 6.10, this implies that the filtering pass stops early only if does not hold or includes none of , which happens with probability at most . Therefore the expected number of queries in phase is at most
where we used that and . Summing over the phases and using that and , we get that all phases together make at most queries in expectation. The final run of Algorithm 8 makes 64d queries.
By Lemma 6.10, on the event the final run of Algorithm 8 starts from an interval of length that contains , with a witness whose score is at least . Therefore it returns such that . Together with Lemmas 6.9 and 6.11, this gives the following more general version of Theorem 2.2.
Theorem 6.12. Let , , and . Algorithm 9 is -differentially private and, with probability at least , it outputs an index such that
The expected number of SVT queries made by the algorithm is . In particular, for the expected additive error is , and if then the expected number of queries is .
7 Applications in the SVT Model
Because private selection appears in many settings, Theorem 2.2 has a wide range of applications. In this section, we present several examples demonstrating how the SVT primitive substantially improves upon existing models.
losses. We first note that our framework extends naturally to the setting where the score function of a coordinate is either the moment or the norm of the individual components. For , in the first case we have , and in the second case we have . Observe that each user can compute the vector , defined so that for all . Then the score is . If all the residuals satisfy , then every lies in and the users can run our selection algorithm on the vectors , thereby achieving additive error for the score (when is polynomial in ). Since for all , an additive error for the score implies additive error at most for the score. This formulation captures a number of standard loss measures, including:
-
Squared Euclidean loss, i.e., loss: If represents a residual or prediction error, then measures the total squared error at coordinate . As the score function is the squared norm of the vector , it penalizes large deviations more heavily than small ones and thus selection based on identifies coordinates where the error vector has large length. This loss is widely used in regression, least-squares estimation, and many machine learning tasks.
-
Absolute deviation, i.e., or loss: Taking results in the score function , a standard robust alternative to squared loss. The loss is less sensitive to outliers and is commonly used in robust estimation and sparse recovery when occasional large deviations are expected.
-
Higher-order moments, i.e., loss for : For larger , the score emphasizes rare but large deviations. The corresponding score serves as a smooth proxy for the loss , which captures worst-case error. This is useful in applications requiring uniform accuracy or robustness guarantees, while using finite retains computational feasibility in many applications. For instance, in distributed or federated learning, one might want to identify coordinates where the largest per-user errors occur, ensuring that no single coordinate becomes a bottleneck or source of extreme error. Similarly, in sensor networks or traffic monitoring, large or scores correspond to coordinates with unusually high variability or spikes, enabling anomaly detection and more robust decision-making.
Heavy-hitters with categories. In many real-world datasets, items are associated with multiple categories, forming sparse binary vectors where each item is represented by a vector indicating its presence across various categories. The goal is to identify the top categories that contain the most items. This problem arises in a wide range of applications. For instance, in e-commerce, determining the most popular product categories can inform inventory management and marketing strategies. In social media, identifying trending topics or hashtags helps improve content curation and user engagement. Similarly, in healthcare, analyzing patient data to find prevalent disease categories can aid in resource allocation and treatment planning. Efficiently solving this problem is particularly relevant in these applications where both accuracy and privacy are important.
Formally, suppose there are items, which can each be mapped to up to categories in a universe of categories. In other words, there are vectors that are each -sparse binary vectors such that for all . The goal is to find the top categories with the largest number of items. Specifically, the goal is to find the largest coordinates of the vector .
We first observe that because each item can be in up to categories, the sensitivity of the count vector is (when one item is replaced). Thus the standard approach of releasing all counts with Laplace noise calibrated to this sensitivity adds noise of scale to every count, and the resulting error in the largest counts is with constant probability. On the other hand, each individual count changes by at most 1 when an item is replaced. Therefore we can apply our selection algorithm directly to the score functions and avoid the dependence on . Applying Theorem 6.12 times, each time with privacy budget , failure probability and with the previously selected categories removed from the candidate set, we obtain the following guarantee.
Theorem 7.1. Let , and . There is an -DP algorithm in the SVT model that outputs distinct categories such that, with probability at least , for every the count is at least the -th largest count minus . The algorithm makes SVT queries in expectation.
Proof. In round the candidate set excludes only the previously selected categories and thus its maximum count is at least the -th largest count overall. By Theorem 6.12 with budget and failure probability , with probability at least the selected category has count within of this maximum. The claim follows by a union bound over the rounds and basic composition.
Sparse mean estimation. Let be independent samples from , where the mean is -sparse (that is, for some ) and satisfies . The goal is to estimate . Without privacy, the standard estimator computes the empirical mean and zeroes out all but its entries of largest magnitude, which gives error with high probability. We assume Gaussian data and a known bound on the entries of for simplicity of presentation. They allow us to clip the entries of the samples to a bounded range that, with high probability, does not change the samples. Some bound on the range of is necessary for this since the SVT API only accepts bounded contributions. Both assumptions can be relaxed using standard techniques (for example, by first computing a coarse private estimate of the range of every coordinate).
Our estimator follows the non-private one. We first privately select coordinates whose empirical sums have the largest magnitude, and then privately estimate the sums of the selected coordinates.
Both steps use only sums of bounded functions of the samples, which we obtain by clipping every entry to the interval for , where is the failure probability. We denote the clipped samples by .
To select coordinates we use the 2d score functions for and , so that . We select coordinates in rounds. In every round we run Algorithm 9 with privacy budget and failure probability , and then remove both score functions of the selected coordinate from the candidate set. We denote the set of selected coordinates by . For every , we then estimate by applying Corollary 6.8 to the function with privacy budget and failure probability . If is the midpoint of the returned interval, we output . For we output . By basic composition, this algorithm is -differentially private.
Theorem 7.2. Let , and . The algorithm above is -DP in the SVT model, makes SVT queries in expectation and, with probability at least , its output satisfies
For , using advanced composition instead of basic composition, the factor in the second term can be replaced by at the cost of -DP.
The analysis follows the non-private one. With high probability no entry is clipped and all the empirical sums are within of their expectations. Therefore every selected coordinate is estimated with error plus the error of the private estimation. A coordinate in the support of that is not selected must have a small mean, since a coordinate outside of the support, whose empirical sum has magnitude at most A, was selected instead.
Proof. Let . Since and , standard Gaussian tail bounds and a union bound imply that, with probability at least , for all and for all . By Theorem 6.12 and a union bound over the rounds, with probability at least , the coordinate selected in round satisfies for every coordinate that was not selected before round , where is times the error bound of Theorem 6.12. By Corollary 6.8, with probability at least we have for all , where . We assume that all these events hold, which happens with probability at least .
For we have . Now let be a coordinate in the support of that is not in . Since , some selected coordinate is outside of the support of , and was a candidate in the round in which was selected. Therefore
that is, . All other coordinates satisfy . This gives the bound on since . The bound on follows since is supported on at most 2k coordinates. Finally, the bound on the number of queries follows from Theorem 6.12 and Corollary 6.8.
Multiplicative weights and exponential mechanism (MWEM). We next consider MWEM, a framework introduced by [HLM12] based on multiplicative weights and the exponential mechanism, for privately producing synthetic datasets that accurately answer any set of queries on a protected dataset. In particular, we assume there exists a set of queries , where each query is a function from the record domain to the interval , and extended to datasets by
The goal is to produce a synthetic dataset such that for all .
We first recall a standard approach toward achieving this goal in the central model of differential privacy, as depicted in Algorithm 10. The algorithm, known as MWEM, maintains a synthetic dataset that is initialized uniformly over the domain and is iteratively refined. At each iteration, it privately selects a query whose current synthetic answer has the largest deviation from the true dataset, measures the true answer with added Laplace noise for privacy, and updates the synthetic dataset multiplicatively to better match this noisy measurement. After iterations, the resulting averaged synthetic dataset approximates the answers to all queries in while preserving differential privacy.
Algorithm 10 MWEM Algorithm [HLM12]
Input: Private dataset with records and features, query set , number of iterations, privacy budget
Output: Synthetic histogram of total mass over
1: Initialize as a uniform distribution over the domain , scaled by
2: for to do
3: Use exponential mechanism to privately select the query that maximizes the score function , with privacy budget
4:
5: Let be times the distribution whose entries satisfy
6: Return
▷The average of the updated synthetic histograms
Observe that the key challenge to implementing Algorithm 10 in distributed models is implementing the exponential mechanism to privately select the query that maximizes the score function . Suppose there exists a mapping so that there exists a bijection between queries and coordinates so that the query can be decomposed as the sum . However, this does not quite allow us to sample using score function due to the term . Thus, for the embedded dimension , we use the public offset vector so that for each query , there exists such that
For example, consider the class of two-way marginal queries, defined as follows. A two-way marginal query is specified by a pair of attributes , and returns the number of records in the dataset whose attribute and attribute are both equal to 1, i.e., . We define the embedding as follows. Let each user record encode its attribute values, and let the embedded dimension index all pairs , so that . Define by
Then for any two-way marginal query ,
Moreover, since is fixed at round , we can introduce a public offset vector defined by , so that
Thus, for two-way marginal queries, the signed MWEM discrepancy can be realized as a coordinate of an aggregated embedded vector plus a public offset. After analyzing Algorithm 10, we show how this representation allows us to implement the selection step in the SVT model, using approximate selection in place of the exponential mechanism.
We define and, for a confidence parameter , .
Lemma 7.3. With probability at least , we have for all ,
Proof. Since , replacing one record changes , and hence the score , by at most 2 (conditioned on the preceding transcript, is fixed). By the standard utility guarantee of the exponential mechanism [MT07, DR], with privacy parameter and score sensitivity 2, the selected query satisfies with probability at least . Further, and therefore with probability at least . The claim follows by a union bound over the events.
Following the standard analysis of MWEM [HLM12], we show in Section B that on the accuracy event of Lemma 7.3 the averaged synthetic dataset is accurate.
Lemma 7.4. For an integer and , on the simultaneous accuracy event of Lemma 7.3,
For , let and . If then the bound below is larger than and holds trivially. Otherwise is the balancing value of the two terms in Lemma 7.4 rounded up to an integer, and hence , and we obtain:
Corollary 7.5. For , with probability at least ,
Finally, we show that Algorithm 10 is differentially private.
Lemma 7.6. Algorithm 10 is -differentially private.
Proof. The algorithm makes invocations of the Exponential Mechanism with privacy parameter , and invocations of the Laplace Mechanism with privacy parameter . By the basic composition of differential privacy, the overall algorithm is -differentially private.
We now describe how to implement Algorithm 10 in the SVT model. The algorithm accesses the private dataset only to select the query and to measure . We implement the selection step using our selection algorithms and the measurement step using the estimation of a single sum (Corollary 6.8). As in the example of two-way marginals above, the only complication is that the score of a query depends on the synthetic answer . This answer is determined by the outputs of the previous rounds and is therefore public in round . Thus it only shifts the thresholds of the SVT queries.
Specifically, for the selection step we use candidates, one for every query and sign , with the functions and the public offsets . The shifted score of candidate is then
and the maximum of the shifted scores over all candidates is . Our selection algorithms access the scores only by comparing them with thresholds, and comparing the shifted score of candidate with a threshold is the SVT query . Therefore they apply to shifted scores, with the range of the scores replaced by . We run Algorithm 8 on all candidates with privacy budget , failure probability and rounds. By Theorem 6.6, with probability at least the selected query satisfies , where .
For the measurement step we apply Corollary 6.8 to the function with privacy budget and failure probability , and set , where is the midpoint of the returned interval. Then with probability at least (for a suitable constant in the definition of ). Therefore Lemma 7.3 holds with in place of . The rest of the analysis uses only the two inequalities of Lemma 7.3 and thus Lemma 7.4 and the corollary above also hold with in place of (for , ). The resulting algorithm is -DP by basic composition of its 2T private steps. We remark that when , the selection step can also be implemented using Algorithm 9 (with 2n in place of n), which gives the same bound on up to a constant factor using SVT queries per round in expectation.
Putting these statements together, we have the following:
Theorem 7.7. For any private dataset with records, finite query set , privacy parameter and , there exists an -differentially private algorithm in the SVT model that releases a synthetic dataset such that with probability at least , we have
In fact, we can achieve better utility bounds if we permit -differential privacy for and , by a similar argument, allowing additional privacy loss per time step and instead using advanced composition: each of the private steps can use privacy parameter , which replaces the factor in by , and balancing the two terms of Lemma 7.4 then gives :
Theorem 7.8. For any private dataset with records, query set , privacy parameters and , and , there exists an -differentially private algorithm in the SVT model that releases a synthetic dataset such that with probability at least , we have
Acknowledgments
AI tools were used to assist in improving the clarity and presentation of some proofs. All mathematical arguments were reviewed and verified by the authors.
References
[ACG+16] Martin Abadi, Andy Chu, Ian Goodfellow, H. Brendan McMahan, Ilya Mironov, Kunal Talwar, and Li Zhang. Deep learning with differential privacy. In Proceedings of the 2016 ACM SIGSAC Conference on Computer and Communications Security, CCS '16, page 308–318, New York, NY, USA, 2016. Association for Computing Machinery. 2
[BBCC+25] Borja Balle, James Bell-Clark, Albert Cheu, Adria Gascon, Jonathan Katz, Mariana Raykova, Phillipp Schoppmann, and Thomas Steinke. Hash-prune-invert: Improved differentially private heavy-hitter detection in the two-server model. In 2025 IEEE Symposium on Security and Privacy (SP), pages 2903–2918, 2025. 11
[BDG+13] Gilles Barthe, George Danezis, Benjamin Grégoire, César Kunz, and Santiago Zanella-Béguelin. Verified computational differential privacy with applications to smart metering. In 2013 IEEE 26th Computer Security Foundations Symposium, pages 287–301, 2013. 2
[BEM+17] Andrea Bittau, Úlfar Erlingsson, Petros Maniatis, Ilya Mironov, Ananth Raghunathan, David Lie, Mitch Rudominer, Ushasree Kode, Julien Tinnés, and Bernhard Seefeld. Prochlo: Strong privacy for analytics in the crowd. In Proceedings of the 26th Symposium on Operating Systems Principles, pages 441–459, 2017. 2
[BFG 16] Gilles Barthe, Noémie Fong, Marco Gaboardi, Benjamin Grégoire, Justin Hsu, and Pierre-Yves Strub. Advanced probabilistic couplings for differential privacy. In Proceedings of the ACM SIGSAC Conference on Computer and Communications Security, pages 55–67, 2016. 2
[BFJ 94] Avrim Blum, Merrick L. Furst, Jeffrey C. Jackson, Michael J. Kearns, Yishay Mansour, and Steven Rudich. Weakly learning DNF and characterizing statistical query learning using fourier analysis. In Proceedings of the Twenty-Sixth Annual ACM Symposium on Theory of Computing, pages 253–262, 1994. 4
[BGA 14] Gilles Barthe, Marco Gaboardi, Emilio Jesús Gallego Arias, Justin Hsu, César Kunz, and Pierre-Yves Strub. Proving differential privacy in hoare logic. In IEEE 27th Computer Security Foundations Symposium, CSF, pages 411–424, 2014. 2
[BGD 18] Benjamin Bichsel, Timon Gehr, Dana Drachsler-Cohen, Petar Tsankov, and Martin T. Vechev. Dp-finder: Finding differential privacy violations by sampling and optimization. In Proceedings of the 2018 ACM SIGSAC Conference on Computer and Communications Security, CCS, pages 508–524, 2018. 2
[BGG 16] Gilles Barthe, Marco Gaboardi, Benjamin Grégoire, Justin Hsu, and Pierre-Yves Strub. Proving differential privacy via probabilistic couplings. In Proceedings of the 31st Annual ACM/IEEE Symposium on Logic in Computer Science, LICS, pages 749–758, 2016. 2
[BGM 16] Mark Braverman, Ankit Garg, Tengyu Ma, Huy L Nguyen, and David P Woodruff. Communication lower bounds for statistical estimation problems via a distributed data processing inequality. In Proceedings of the forty-eighth annual ACM symposium on Theory of Computing, pages 1011–1020, 2016. 3, 8, 34, 35
[BHNS20] Amos Beimel, Iftach Haitner, Kobbi Nissim, and Uri Stemmer. On the round complexity of the shuffle model. In Theory of Cryptography Conference, pages 683–712. Springer, 2020. 5
[BIK 17a] Keith Bonawitz, Vladimir Ivanov, Ben Kreuter, Antonio Marcedone, H. Brendan McMahan, Sarvar Patel, Daniel Ramage, Aaron Segal, and Karn Seth. Practical secure aggregation for privacy-preserving machine learning. In Proceedings of the 2017 ACM SIGSAC Conference on Computer and Communications Security, CCS '17, page 1175–1191, New York, NY, USA, 2017. Association for Computing Machinery. 2
[BIK 17b] Keith Bonawitz, Vladimir Ivanov, Ben Kreuter, Antonio Marcedone, H Brendan McMahan, Sarvar Patel, Daniel Ramage, Aaron Segal, and Karn Seth. Practical secure aggregation for privacy-preserving machine learning. In proceedings of the 2017 ACM SIGSAC Conference on Computer and Communications Security, pages 1175–1191, 2017. 11
[BO13] Gilles Barthe and Federico Olmedo. Beyond differential privacy: Composition theorems and relational logic for f-divergences between probabilistic programs. In Automata, Languages, and Programming - 40th International Colloquium, ICALP, Proceedings, Part II, pages 49–60, 2013. 2
[BS16] Mark Bun and Thomas Steinke. Concentrated differential privacy: Simplifications, extensions, and lower bounds. In Theory of cryptography conference, pages 635–658. Springer, 2016. 7, 8
[BST14] Raef Bassily, Adam Smith, and Abhradeep Thakurta. Private empirical risk minimization: Efficient algorithms and tight error bounds. In Proceedings of the 2014 IEEE 55th Annual Symposium on Foundations of Computer Science, FOCS '14, page 464–473, USA, 2014. IEEE Computer Society. 2
[BSU17] Mark Bun, Thomas Steinke, and Jonathan Ullman. Make up your mind: the price of online queries in differential privacy. In Proceedings of the Twenty-Eighth Annual ACM-SIAM Symposium on Discrete Algorithms, SODA '17, page 1306–1325, USA, 2017. Society for Industrial and Applied Mathematics. 3, 8, 12
[BV19] Victor Balcer and Salil Vadhan. Differential privacy on finite computers. Journal of Privacy and Confidentiality, 9(2), Sep. 2019. 2
[CB17] Henry Corrigan-Gibbs and Dan Boneh. Prio: Private, robust, and scalable computation of aggregate statistics. In 14th USENIX Symposium on Networked Systems Design and Implementation, NSDI, pages 259–282, 2017. 10
[CGKM21] Lijie Chen, Badih Ghazi, Ravi Kumar, and Pasin Manurangsi. On distributed differential privacy and counting distinct elements. In 12th Innovations in Theoretical Computer Science Conference, ITCS, pages 56:1–56:18, 2021. 3, 5, 6
[CKS22] Clement Canonne, Gautam Kamath, and Thomas Steinke. The discrete gaussian for differential privacy. Journal of Privacy and Confidentiality, 12(1), Jul. 2022. 2
[CSU+19] Albert Cheu, Adam D. Smith, Jonathan R. Ullman, David Zeber, and Maxim Zhilyaev. Distributed differential privacy via shuffling. In Advances in Cryptology - EUROCRYPT 2019 - 38th Annual International Conference on the Theory and Applications of Cryptographic Techniques, Proceedings, Part I, pages 375–403, 2019. 2, 3
[CT06] Thomas M. Cover and Joy A. Thomas. Elements of Information Theory. Wiley, 2 edition, 2006. 34
[CU21] Albert Cheu and Jonathan R. Ullman. The limits of pan privacy and shuffle privacy for learning and estimation. In STOC '21: 53rd Annual ACM SIGACT Symposium on Theory of Computing, pages 1081–1094, 2021. 3, 5, 6
[DF20] Yuval Dagan and Vitaly Feldman. Interaction is necessary for distributed learning with privacy or communication constraints. In Proceedings of the 52nd Annual ACM SIGACT Symposium on Theory of Computing, pages 450–462, 2020. 3
[DJW13] John C. Duchi, Michael I. Jordan, and Martin J. Wainwright. Local privacy and statistical minimax rates. In 2013 IEEE 54th Annual Symposium on Foundations of Computer Science, pages 429–438, 2013. 3
[DJW18] John C Duchi, Michael I Jordan, and Martin J Wainwright. Minimax optimal procedures for locally private estimation. Journal of the American Statistical Association, 113(521):182–201, 2018. 5
[DKM 06] Cynthia Dwork, Krishnaram Kenthapadi, Frank McSherry, Ilya Mironov, and Moni Naor. Our data, ourselves: Privacy via distributed noise generation. In Advances in Cryptology - EUROCRYPT 2006, 25th Annual International Conference on the Theory and Applications of Cryptographic Techniques, Proceedings, pages 486–503, 2006. 2, 3, 8
[DKN 24] Ivan Damgård, Hannah Keller, Boel Nelson, Claudio Orlandi, and Rasmus Pagh. Differentially private selection from secure distributed computing. In Tat-Seng Chua, Chong-Wah Ngo, Ravi Kumar, {Hady W.} Lauw, and {Roy Ka-Wei} Lee, editors, WWW 2024 - Proceedings of the ACM Web Conference, pages 1103–1114, United States, May 2024. Association for Computing Machinery. 33rd ACM Web Conference, WWW 2024 ; Conference date: 13-05-2024 Through 17-05-2024. 11
[DMNS17] Cynthia Dwork, Frank McSherry, Kobbi Nissim, and Adam Smith. Calibrating noise to sensitivity in private data analysis. Journal of Privacy and Confidentiality, 7(3):17–51, 2017. 1, 5
[DNR 09] Cynthia Dwork, Moni Naor, Omer Reingold, Guy N. Rothblum, and Salil P. Vadhan. On the complexity of differentially private data release: efficient algorithms and hardness results. In Proceedings of the 41st Annual ACM Symposium on Theory of Computing, STOC, pages 381–390, 2009. 3, 9
[DR 14] Cynthia Dwork, Aaron Roth, et al. The algorithmic foundations of differential privacy. Foundations and trends in theoretical computer science, 9(3-4):211–407, 2014. 1, 9, 25
[DR19] John Duchi and Ryan Rogers. Lower bounds for locally private estimation via communication complexity. In Conference on Learning Theory, pages 1161–1191. PMLR, 2019. 3, 5, 8, 34
[EFM 19] Úlfar Erlingsson, Vitaly Feldman, Ilya Mironov, Ananth Raghunathan, Kunal Talwar, and Abhradeep Thakurta. Amplification by shuffling: From local to central differential privacy via anonymity. In Proceedings of the Thirtieth Annual ACM-SIAM Symposium on Discrete Algorithms, SODA, pages 2468–2479, 2019. 2
[EGS03] Alexandre V. Evfimievski, Johannes Gehrke, and Ramakrishnan Srikant. Limiting privacy breaches in privacy preserving data mining. In Proceedings of the Twenty-Second ACM SIGACT-SIGMOD-SIGART Symposium on Principles of Database Systems, pages 211–222, 2003. 2
[ERB 24] Hubert Eichner, Daniel Ramage, Kallista Bonawitz, Dzmitry Huba, Tiziano Santoro, Brett McLarnon, Timon Van Overveldt, Nova Fallen, Peter Kairouz, Albert Cheu, Katharine , Daly, Adria Gascon, Marco Gruteser, and Brendan McMahan. Confidential federated computations. arXiv preprint arXiv:2404.10764, 2024. 10
[Fel14] Vitaly Feldman. Open problem: The statistical query complexity of learning sparse halfspaces. In Proceedings of The 27th Conference on Learning Theory, COLT, pages 1283–1289, 2014. 4
[FES 17] David Froelicher, Patricia Egger, João Sá Sousa, Jean Louis Raisaro, Zhicong Huang, Christian Mouchet, Bryan Ford, and Jean-Pierre Hubaux. UnLynx: A decentralized system for privacy-conscious data sharing. In Proceedings on Privacy Enhancing Technologies, pages 232—250, 2017. 2
[FFG 25] Olive Franzese, Congyu Fang, Radhika Garg, Xiao Wang, Somesh Jha, Nicolas Papernot, and Adam Dziedzic. Secure noise sampling for differentially private collaborative learning. In Proceedings of the 2025 ACM SIGSAC Conference on Computer and Communications Security, CCS, pages 4649–4663, 2025. 10
[FGR 17] Vitaly Feldman, Elena Grigorescu, Lev Reyzin, Santosh S Vempala, and Ying Xiao. Statistical algorithms and a lower bound for detecting planted cliques. Journal of the ACM (JACM), 64(2):1–37, 2017. 4
[FS17] Vitaly Feldman and Thomas Steinke. Generalization for adaptively-chosen estimators via stable median. In Conference on learning theory, pages 728–757. PMLR, 2017. 37
[FZ21] Vitaly Feldman and Tijana Zrnic. Individual privacy accounting via a renyi filter. Advances in Neural Information Processing Systems, 34:28080–28091, 2021. 7
[GFHY23] Ji Guan, Wang Fang, Mingyu Huang, and Mingsheng Ying. Detecting violations of differential privacy for quantum algorithms. In Proceedings of the 2023 ACM SIGSAC Conference on Computer and Communications Security, CCS, pages 2277–2291, 2023. 2
[GHH 13] Marco Gaboardi, Andreas Haeberlen, Justin Hsu, Arjun Narayan, and Benjamin C. Pierce. Linear dependent types for differential privacy. In The 40th Annual ACM SIGPLAN-SIGACT Symposium on Principles of Programming Languages, POPL, pages 357–370, 2013. 2
[HLM12] Moritz Hardt, Katrina Ligett, and Frank McSherry. A simple and practical algorithm for differentially private data release. In Advances in Neural Information Processing Systems 25: 26th Annual Conference on Neural Information Processing Systems 2012. Proceedings, pages 2348–2356, 2012. 24, 25, 37, 38
[HR10] Moritz Hardt and Guy N. Rothblum. A multiplicative weights mechanism for privacy-preserving data analysis. In 2010 IEEE 51st Annual Symposium on Foundations of Computer Science, pages 61–70, 2010. 4
[Jay09] T. S. Jayram. Hellinger strikes back: A note on the multi-party information complexity of and. In Proceedings of the 12th International Workshop and 13th International Workshop on Approximation, Randomization, and Combinatorial Optimization. Algorithms and Techniques, APPROX '09 / RANDOM '09, page 562–573. Springer-Verlag, 2009. 34
[JCM 24] Jiankai Jin, Chitchanok Chuengsatiansup, Toby Murray, Benjamin I. P. Rubinstein, Yuval Yarom, and Olga Ohrimenko. Elephants do not forget: Differential privacy with state continuity for privacy budget. In Proceedings of the 2024 on ACM SIGSAC Conference on Computer and Communications Security, CCS '24, page 1909–1923, New York, NY, USA, 2024. Association for Computing Machinery. 10
[JMNR19] Matthew Joseph, Jieming Mao, Seth Neel, and Aaron Roth. The role of interactivity in local differential privacy. In 2019 IEEE 60th Annual Symposium on Foundations of Computer Science (FOCS), pages 94–105. IEEE, 2019. 7
[KLN 11] Shiva Prasad Kasiviswanathan, Homin K. Lee, Kobbi Nissim, Sofya Raskhodnikova, and Adam D. Smith. What can we learn privately? SIAM J. Comput., 40(3):793–826, 2011. 2, 4
[LM25] Ethan Leeman and Pasin Manurangsi. Nearly-optimal private selection via gaussian mechanism, 2025. 5
[Lyu22] Xin Lyu. Composition theorems for interactive differential privacy. Advances in Neural Information Processing Systems, 35:9700–9712, 2022. 10
[McS10] Frank McSherry. Privacy integrated queries: an extensible platform for privacy-preserving data analysis. Commun. ACM, 53(9):89–97, 2010. 2
[Mir12] Ilya Mironov. On significance of the least significant bits for differential privacy. In the ACM Conference on Computer and Communications Security, CCS'12, pages 650–661, 2012. 2
[Mir17] Ilya Mironov. Rényi differential privacy. In 30th IEEE Computer Security Foundations Symposium, CSF, pages 263–275, 2017. 2, 7
[MT07] Frank McSherry and Kunal Talwar. Mechanism design via differential privacy. In 48th Annual IEEE Symposium on Foundations of Computer Science, FOCS, Proceedings, pages 94–103, 2007. 4, 25
[RCWH 20] Amrita Roy Chowdhury, Chenghong Wang, Xi He, Ashwin Machanavajjhala, and Somesh Jha. Cryptε: Crypto-assisted differential privacy on untrusted servers. In Proceedings of the 2020 ACM SIGMOD International Conference on Management of Data, SIGMOD '20, page 603–619, New York, NY, USA, 2020. Association for Computing Machinery. 2
[RNFH19] Edo Roth, Daniel Noble, Brett Hemenway Falk, and Andreas Haeberlen. Honeycrisp: Large-scale differentially private aggregation without a trusted core. In Proceedings of the 27th ACM Symposium on Operating Systems Principles, SOSP '19, page 196–210, New York, NY, USA, 2019. Association for Computing Machinery. 2
[RSK 10] Indrajit Roy, Srinath T. V. Setty, Ann Kilzer, Vitaly Shmatikov, and Emmett Witchel. Airavat: Security and privacy for mapreduce. In Proceedings of the 7th USENIX Symposium on Networked Systems Design and Implementation, NSDI, pages 297–312, 2010. 2
[RZHP20] Edo Roth, Hengchu Zhang, Andreas Haeberlen, and Benjamin C. Pierce. Orchard: Differentially private analytics at scale. In 14th USENIX Symposium on Operating Systems Design and Implementation (OSDI 20), pages 1065–1081. USENIX Association, November 2020. 2
[Ste25] Thomas Steinke. Open problem: Selection via low-sensitivity queries. DifferentialPrivacy.org, 05 2025. https://differentialprivacy.org/open-problem-selection/. 5
[Tea20] The OpenDP Team. The opendp white paper, 2020. 2
[TWM 24] Kunal Talwar, Shan Wang, Audra McMillan, Vitaly Feldman, Pansy Bansal, Bailey Basile, Aine Cahill, Yi Sheng Chan, Mike Chatzidakis, Junye Chen, Oliver R. A. Chick, Mona Chitnis, Suman Ganta, Yusuf Goren, Filip Granqvist, Kristine Guo, Frederic Jacobs, Omid Javidbakht, Albert Liu, Richard Low, Dan Mascenik, Steve Myers, David Park, Wonhee Park, Gianni Parsa, Tommy Pauly, Christian Priebe, Rehan Rishi, Guy N. Rothblum, Congzheng Song, Linmao Song, Karl Tarbe, Sebastian Vogt, Shundong Zhou, Vojta Jina, Michael Scaria, and Luke Winstrom. Samplable anonymous aggregation for private federated data analysis. In Proceedings of the 2024 on ACM SIGSAC Conference on Computer and Communications Security, CCS '24, page 2859–2873, New York, NY, USA, 2024. Association for Computing Machinery. 2, 10
[Ull18] Jonathan Ullman. Tight lower bounds for locally differentially private selection. arXiv preprint arXiv:1802.02638, 2018. 5
[VW21] Salil Vadhan and Tianhao Wang. Concurrent composition of differential privacy. In Theory of Cryptography Conference, pages 582–604. Springer, 2021. 10
[VZ23] Salil P. Vadhan and Wanrong Zhang. Concurrent composition theorems for differential privacy. In Proceedings of the 55th Annual ACM Symposium on Theory of Computing, STOC, pages 507–519, 2023. 10
[War65] Stanley L Warner. Randomized response: A survey technique for eliminating evasive answer bias. Journal of the American statistical association, 60(309):63–69, 1965. 2
[WZL 20] Royce J. Wilson, Celia Yuxin Zhang, William Lam, Damien Desfontaines, Daniel Simmons-Marengo, and Bryant Gipson. Differentially private SQL with bounded user contribution. Proc. Priv. Enhancing Technol., 2020(2):230–250, 2020. 2
[ZK17] Danfeng Zhang and Daniel Kifer. Lightdp: towards automating differential privacy proofs. In Proceedings of the 44th ACM SIGPLAN Symposium on Principles of Programming Languages, POPL, pages 888–901, 2017. 2
A Proof of the Lower Bound for Selection with Gaussian Aggregation
Our lower bound relies on a lower bound for solving the problem in the standard setting of distributed multi-party protocols. Specifically, we use the standard number-in-hand blackboard communication model. Each user initially knows only its own input and its private randomness. The users communicate by writing messages to a common transcript, where each message may depend on the sender's input, the sender's private randomness, public randomness, and the previous transcript. The full transcript is denoted by ; we include public randomness and any randomness used for the final decision in , so the output is a function of . Throughout this appendix, denotes the uniform distribution on .
Theorem A.1. For every 2/3-accurate protocol for Problem 4.3, its transcript satisfies
Our proof follows the approach in [BGM+16], which established a lower bound for the sparse Gaussian mean estimation problem (see also [DR19]). The key lemma in their result is Jayram's Hellinger cut-and-paste inequality that we state below, where denotes Hellinger distance. We use the normalization and natural logarithms in the KL divergence. With this normalization, for we have and therefore , where the last step is the triangle inequality for .
Lemma A.2 (Jayram's cut-and-paste inequality [Jay09, Theorem 7]; see also [BGM+16, Theorem A.1]). There is an absolute constant such that the following holds. Consider any -user blackboard protocol. For each user , let be two distributions over that user's input space. For , let be the transcript distribution when the users' inputs are sampled independently as . Then, for any ,
Proof of Theorem A.1. Let . We first relate the information in the randomly chosen coordinate to the information in the full input under .
(2)
The second equality follows from the fact that when , the transcript and inputs are independent of . The inequality follows from the standard chain rule for mutual information [CT06, Section 2.5]: if are mutually independent conditioned on , then
. We apply this with the independent coordinates conditioned on Z = 2.
Applying the same property to the independent user coordinates conditioned on ,
Next fix a user and a coordinate , and analyze . Let be a vector in . Let denote the distribution of the transcript when, for every user , the input coordinate is sampled according to state ; that is, if then , while if then is sampled uniformly from . All other coordinates are sampled independently and uniformly from . Let denote the corresponding distribution of the full inputs .
First consider the setting where , user receives the input sampled according to , and the remaining users still receive inputs sampled using . Since all other coordinates are uniform independently of , we have the Markov chain in this experiment. By data processing and the comparison between the Jensen-Shannon divergence and the Hellinger distance,
\begin{align*}I_{Z_{i}\sim B(2),X^{\leq n}\sim D_{\bar{2}^{i\leftarrow}Z_{i}}}\left(M;X_{j}^{i}\Bigm|V=j\right)&\geq I_{Z_{i}\sim B(2),X^{\leq n}\sim D_{\bar{2}^{i\leftarrow}Z_{i}}}\left(M;Z_{i}\mid V=j\right)\\&=\underset{z\sim B(2)}{\mathbf{E}}\left[\mathrm{KL}\left(M_{\bar{2}^{i\leftarrow z}}\Bigm|\underset{Z_{i}}{\mathbf{E}}M_{\bar{2}^{i\leftarrow}Z_{i}}\right)\right)\right]\\&=\frac{1}{2}\mathrm{KL}\left(M_{\bar{2}^{i\leftarrow 1}}\Bigm|\frac{1}{2}M_{\bar{2}^{i\leftarrow 1}}+\frac{1}{2}M_{\bar{2}}\right)+\frac{1}{2}\mathrm{KL}\left(M_{\bar{2}}\Bigm|\frac{1}{2}M_{\bar{2}^{i\leftarrow 1}}+\frac{1}{2}M_{\bar{2}}\right)\\&\geq\frac{1}{2}h^{2}(M_{\bar{2}^{i\leftarrow 1}},M_{\bar{2}}).\end{align*}(4)
Observe that, in the experiment with , for all , so we can apply the following lemma.
Lemma A.3 ([BGM 16, Lemma 5]). Suppose two distributions satisfy . Let be a random function that only depends on X. If and , then
Applying this lemma gives
We next use Lemma A.2 to pass from changing one user to changing all users. For the fixed coordinate , apply Lemma A.2 with and to the product input distributions defining . This gives
Taking expectation over random and combining the above inequalities, we get
(7)
The first inequality in Equation 7 is Equation 6, averaged over the random coordinate . The second inequality applies the one-coordinate Jensen-Shannon/Hellinger bound Equation 4 to each user and coordinate . The third inequality applies Lemma A.3 as in Equation 5: since under dominates its distribution in the mixed experiment with by a factor 2/3, the mixed mutual information is at most times the mutual information under . The last inequality uses Equation 3 and Equation 2.
It remains to use the 2/3-accuracy assumption. For a fixed coordinate , let be the distribution of conditioned on and , and let be the distribution of conditioned on . Under , the transcript distribution is independent of , so is also the distribution denoted by for every , while is the distribution denoted by for that . Let be the transcript distribution conditioned on . If , then 2/3-accuracy gives
and hence . Therefore
By Jensen's inequality this implies that
Combining Equation 7 and Equation 8 gives
Finally, conditioned on , the transcript and input are independent of , so
Since ,
as claimed.
To relate the lower bound in Theorem A.1 to private aggregation we recall that differential privacy limits mutual information.
For this purpose we will need only privacy with respect to KL divergence (or Renyi DP of order 1). We say that an algorithm is -KL stable if for any pair of neighboring datasets , we have .
Lemma A.4 ([FS17]). Assume that the transcript of a communication protocol viewed as the output of an algorithm acting on the users' inputs is -KL stable. Then for any distribution over , if the users' inputs are sampled i.i.d. from then we have
We can now complete the proof of Theorem 4.4 using Lemma 4.5.
Proof of Theorem 4.4. Let be a 2/3-accurate algorithm for Problem 4.3 that has access to and satisfies compositional -zCDP. By Lemma 4.5, there is a local -zCDP blackboard protocol Dist- whose output has the same distribution as the output of on every input dataset. In particular, when run on the random input from Problem 4.3, Dist- is also 2/3-accurate. Let denote its full transcript, including public randomness and the final decision randomness as above.
By Theorem A.1,
On the other hand, the local -zCDP guarantee implies that the transcript is -KL stable with respect to changing one user's input. Fix any and . Conditioned on , the users' inputs are i.i.d. samples from . Hence Lemma A.4 gives
Averaging over and yields
Combining the two inequalities gives , and therefore
as claimed.
B Analysis of MWEM in the Central Model
We prove Lemma 7.4 using the standard potential argument for MWEM [HLM12], with and as defined before Lemma 7.3. We define the relative entropy by
We utilize the following two standard properties of relative entropy:
Fact B.1 (Non-negativity of relative entropy). for all
Fact B.2 (Jensen's inequality for relative entropy).
We also have the following well-known fact for the exponential function:
Fact B.3. [HLM12] For all , we have .
To bound the error in each round, we show that the relative entropy decreases by some amount in each round.
Lemma B.4. For each , we have
Proof. By definition, we have
Let and be the normalization factor at step . Then we have so that
Since we have the normalization factor
Note that is a probability distribution over since . Hoeffding's lemma, applied to for , gives, for every real ,
Therefore,
The desired claim then holds from the definition of .
Lemma 7.4. For an integer and , on the simultaneous accuracy event of Lemma 7.3,
Proof. Firstly, observe that since , then
On the accuracy event of Lemma 7.3 we have that and for all . By Lemma B.4, we have
By a telescoping argument, observe that . Then by Fact B.1 and Fact B.2, we have
Since and for and , putting things together gives