<?xml-model href='http://www.tei-c.org/release/xml/tei/custom/schema/relaxng/tei_all.rng' schematypens='http://relaxng.org/ns/structure/1.0'?><TEI xmlns="http://www.tei-c.org/ns/1.0">
	<teiHeader>
		<fileDesc>
			<titleStmt><title level='a'>Privately Evaluating Untrusted Black-Box Functions</title></titleStmt>
			<publicationStmt>
				<publisher>ACM</publisher>
				<date>06/15/2025</date>
			</publicationStmt>
			<sourceDesc>
				<bibl> 
					<idno type="par_id">10636649</idno>
					<idno type="doi">10.1145/3717823.3718247</idno>
					
					<author>Ephraim Linder</author><author>Sofya Raskhodnikova</author><author>Adam Smith</author><author>Thomas Steinke</author>
				</bibl>
			</sourceDesc>
		</fileDesc>
		<profileDesc>
			<abstract><ab><![CDATA[We provide tools for sharing sensitive data in situations when the data curator does not know in advance what questions an (untrusted) analyst might want to ask about the data. The analyst can specify a program that they want the curator to run on the dataset. We model the program as a black-box function . We study differentially private algorithms, called privacy wrappers, that, given black-box access to a real-valued function and a sensitive dataset , output an accurate approximation to ( ). The dataset is modeled as a finite subset of a possibly infinite set U, in which each entry represents data of one individual. A privacy wrapper calls on the dataset and on some subsets of and returns either an approximation to ( ) or a nonresponse symbol §. The wrapper may also use additional information (that is, parameters) provided by the analyst, but differential privacy is required for all values of these parameters. Correct setting of these parameters will ensure better accuracy of the privacy wrapper. The bottleneck in the running time of our privacy wrappers is the number of calls to , which we refer to as queries. Our goal is to design privacy wrappers with high accuracy and small query complexity.We introduce a novel setting, called the automated sensitivity detection setting, where the analyst supplies only the black-box function and the intended (finite) range of . In contrast, in the previously considered setting, which we refer to as the claimed sensitivity bound setting, the analyst also supplies additional parameters that describe the sensitivity of . We design privacy wrappers for both settings and show that our wrappers are nearly optimal in terms of accuracy, locality (i.e., the depth of the local neighborhood of the dataset they explore), and query complexity. In the claimed sensitivity bound setting, we provide the first accuracy guarantees that have no dependence on the size of the universe U. We also re-interpret and analyze previous constructions in our framework, and use them as comparison points. In addition to addressing the * A full version of this article is available on arXiv [33].]]></ab></abstract>
		</profileDesc>
	</teiHeader>
	<text><body xmlns="http://www.tei-c.org/ns/1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xlink="http://www.w3.org/1999/xlink">
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="1">Introduction</head><p>The goal of this work is to provide tools for sharing sensitive data in situations when the data curator does not know in advance what questions the (untrusted) analyst might want to ask about the data. Instead of putting the analyst through background checks and monitoring their access to data, we would like to provide an automated way for the analyst to interact with the data. We allow the analyst to specify a program, modeled as a black-box function , that they want the curator to run on the dataset. Black-box specification allows analysts to construct arbitrarily complicated programs; it also enables them to obfuscate their programs and thus hide the analysis they intend to perform from their competitors.</p><p>We study differentially private algorithms that, given a sensitive dataset and black-box access to a real-valued function , output an accurate approximation to ( ). Each entry in the dataset comes from some large (finite or countably infinite) universe U and represents data of one individual. Let U * denote the set of finite subsets of U. The dataset is modeled as a member of U * . Two datasets in U * are neighbors if they differ by the insertion or removal of one element. (Our constructions also apply to a more general setting that covers multisets and node-level privacy in graphs; we expand on this in the full version <ref type="bibr">[33]</ref> .) The algorithm run by the data curator calls on the dataset and on some subsets of and returns either an approximation to ( ) or a nonresponse symbol &#167;. Following Kohli and Laskowski <ref type="bibr">[31]</ref>, we call such an algorithm a privacy wrapper if it is differentially private for all functions . A privacy wrapper may also use additional information (that is, parameters) provided by the analyst, but differential privacy is required for all values of these parameters. Correct setting of these parameters will ensure better accuracy of the privacy wrapper. The bottleneck in the running time of our privacy wrappers is the number of calls to , which we refer to as queries. Our goal is to design privacy wrappers with high accuracy and small query complexity.</p><p>We introduce a novel setting, called the automated sensitivity detection setting, where the analyst supplies only the black-box function and the intended (finite) range of . In contrast, in the previously considered setting <ref type="bibr">[27,</ref><ref type="bibr">31,</ref><ref type="bibr">32]</ref>, which we refer to as the claimed sensitivity bound setting, the analyst also supplies additional parameters that describe the sensitivity of . We design the first privacy wrappers in the automated sensitivity detection setting and new privacy wrappers in the claimed sensitivity bound setting. We show that our wrappers are nearly optimal in terms of accuracy and locality (i.e., the depth of the local neighborhood of the dataset they explore, which is a proxy for query complexity). In the claimed sensitivity bound setting, we provide the first accuracy guarantees that have no dependence on the size of the universe U. We also re-interpret and analyze previous constructions in our framework, tailoring the analysis to our setting, and show that our wrappers improve on all previous constructions. Finally, we prove tight lower bounds for both settings.</p><p>In addition to addressing the black-box privacy problem, our private mechanisms provide feasibility results for differentially private release of general classes of functions. Most work on differential privacy considers the easier "white box" setting, when a complete description of the input function is available. Our results have applications in this setting. We discuss this perspective on our results in Section 1.1.4.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="1.1">Our Contributions</head><p>Releasing ( ) privately in the black-box setting is especially challenging when the universe of potential data records is large, since it is not even feasible to query on all the datasets that differ from by the addition of one data record. Instead, we consider privacy wrappers that query the function only on large subsets of , and whose accuracy guarantees depend only on the behavior of the function on such sets. Specifically, let &#8712; N be the locality parameter. Our algorithms query only on subsets of the input dataset , obtained from by removing data of at most individuals. Let N &#179; ( ), called the -down neighborhood of , denote the collection of all subsets of of size at least | | -:</p><p>Algorithms that query only on N &#179; ( ) are called -down local.</p><p>One of our goals in designing wrappers is to provide small locality . Observe that the query complexity of a -down local algorithm is (| | ). We focus on down-local algorithms for two reasons: first, such algorithms handle large or even infinite universe of potential data records. Second, it allows us to design privacy wrappers that are accurate for functions that are "well behaved" on the input dataset and its subsets, but potentially sensitive to the insertion of new data points (such as outliers).</p><p>Our accuracy guarantees (for both settings) are formulated in terms of the behavior of in the region N &#179; ( ). Given an accuracy parameter &gt; 0 and failure probability &#8712; (0, 1), an algorithm A is ( , )-accurate for function on input if |A ( ) -( )| f with probability at least 1-. Let ( ) denote the set { ( ) : &#8712; }. The diameter of a set is the difference between its maximum and minimum. We achieve small when the diameter of (N &#179; ( )) is small and when function is "smooth" (i.e., has a small Lipschtiz constant) on the domain N &#179; ( ).</p><p>Unlike our accuracy guarantees, the privacy guarantees of privacy wrappers are unconditional. As formalized in Definition 2.5, an ( , )-privacy wrapper is ( , )-DP for all black-box functions and for all settings of parameters. See Definition 2.1 for the definition of ( , )-differential privacy (DP). We use both pure DP (when = 0) and approximate DP (when &gt; 0).</p><p>1.1.1 Automated Sensitivity Detection. We consider a novel setting when a bound on sensitivity has to be automatically inferred instead of being provided by the analyst. In contrast, previous work on the black-box privacy problem (discussed in Section 1.3) required the analyst to provide a parameter that bounds the sensitivity of the black-box function. We circumvent the need for information about the sensitivity from the analyst by phrasing the accuracy guarantee of the privacy wrapper in terms of the down sensitivity (called deletion sensitivity in some works) of the function at , defined next. Definition 1.1 (Down sensitivity at specified depth). Let &#8712; N. The down sensitivity at depth of a function :</p><p>The down sensitivity differs by at most a factor of 2 from the diameter of the set (N &#179; ( )).</p><p>As a simple example, consider the average function avg( )</p><p>, where &#8712; R. The value of avg( ) can change arbitrarily with the insertion of a single additional value to . However, the down sensitivity at depth of avg at is finite: for every , it is at most ( ) &#8226; | | -. We discuss more sophisticated examples in Section 1.1.4.</p><p>We provide the first privacy wrapper in the automated sensitivity detection setting. The guarantees of the wrapper, which we dub Sens-o-Matic, are stated in Theorem 3.1. Sens-o-Matic works for all functions : U * &#8594; Y, where the range Y &#166; R is finite. <ref type="foot">1</ref> For privacy parameters , and failure probability , the accuracy of our wrapper is = ( ), where locality is</p><p>pure DP and 1 log 1 log * |Y| for approximate DP. In fact, Senso-Matic returns a value between the minimum and the maximum of ( ) for in the -down neighborhood of dataset . The locality of our privacy wrapper does not depend on the size of the universe U. The starting point for the design of Sens-o-Matic is the Shifted Inverse Sensitivity Mechanism (ShI) of Fang, Dong, and Yi <ref type="bibr">[20]</ref>. This is a privacy mechanism for releasing a value of a monotone function evaluated on dataset . A function : U * &#8594; R is monotone if ( ) f ( ) for all , &#8712; U * such that &#162; . The ShI mechanism is ( , 0)-DP for all monotone functions and has locality that depends logarithmically on the size of the range. We generalize their construction and present an approximate-DP variant<ref type="foot">foot_1</ref> of the ShI mechanism that has only 2 log * dependence on the size of the range (Lemma 3.2). Both versions of ShI release the value of a monotone function at the data set privately, with error bounded by ( ). However, they are not privacy wrappers, because they can violate differential privacy for general, black-box functions-the privacy proof relies crucially on the promise that is monotone.</p><p>The wrapper we design, Sens-o-Matic, is private for all functions : U * &#8594; Y with finite range Y and extends the accuracy guarantees of (both versions of) ShI from monotone functions to all functions. It works by running ShI (or our modification thereof) on a carefully selected "monotonization" of function -see Section 1.2 for more detail.</p><p>To complete the picture for automated sensitivity detection setting, we provide a lower bound on the locality of any privacy wrapper that achieves accuracy equal to down sensitivity at depth . Our lower bound matches the first term (corresponding to the pure DP) in the guarantee for Sens-o-Matic and nearly matches the second term (corresponding to approximate DP). We also provide a query complexity lower bound, Theorem 6.1 (and Remark 6.2), showing that the query complexity we achieve cannot be significantly improved, even if the locality requirement is relaxed. Proofs of our lower bounds appear in the full version <ref type="bibr">[33]</ref>. Our guarantees for Sens-o-Matic are compared to guarantees for both variants of ShI and the locality lower bound in Table <ref type="table">1</ref>.</p><p>1.1.2 Privacy Wrappers with Claimed Sensitivity Bound. We also investigate the claimed sensitivity bound setting, which has been addressed in previous work, where the analyst provides a sensitivity bound along with a black-box function .</p><p>Sensitivity and the related notion of Lipschitz functions play a fundamental role in private data analysis. Intuitively, sensitivity measures how small modifications of the dataset affect the value of the function. Given a constant &gt; 0 and a domain &#166; U * , a function :</p><p>for all neighbors , &#8712; . The smallest constant for which function is -Lipschitz on U * is called the Lipschitz constant or the (global) sensitivity of . A basic result is that the Laplace mechanism, which releases ( ) with Laplace noise scaled to , is ( , 0)-differentially private <ref type="bibr">[17]</ref>. Most work on differential privacy considers the "white box" case, where a complete description of is available, and one analyzes sensitivity analytically.</p><p>The problem of privately evaluating black-box functions was first considered by Jha and Raskhodnikova <ref type="bibr">[27]</ref>. In their setting, in addition to the black-box function , the analyst provides<ref type="foot">foot_2</ref> a sensitivity parameter . The data curator must guarantee differential privacy whether or not the provided bound is correct, but the mechanism's accuracy depends on the bound being correct and as tight as possible. Jha and Raskhodnikova <ref type="bibr">[27]</ref> and follow-up work <ref type="bibr">[3,</ref><ref type="bibr">32]</ref> handle the case where the data universe U is finite, and they investigate the function's behavior in a ball around the input that includes both insertions and deletions. This means the data universe has to be small to achieve reasonable query complexity, and also that the function must be robust to both insertions and deletions of data points.</p><p>We consider instead the setting introduced by Kohli and Laskowski <ref type="bibr">[31]</ref>, where the curator is limited to evaluating the black-box at subsets of the actual input . The privacy wrapper for this setting in <ref type="bibr">[31]</ref>, called TAHOE, has locality independent of the data set size | |. In <ref type="bibr">[31]</ref>, the accuracy of TAHOE is analyzed for some special cases, under distributional assumptions, and empirically. We aim to get a privacy wrapper in this setting that is private for all and , and satisfies the following type of accuracy: For every and such that is -Lipschitz on N &#179; ( ) (where varies by mechanism), the wrapper outputs ( ) + where is drawn from a Laplace distribution. Our goal is to simultaneously minimize and the scale of . We provide a novel privacy wrapper, Subset-Extension, for this setting with accuracy and locality guarantees that are each optimal up to constant factors. Table <ref type="table">2</ref> summarizes our results and compares them to the guarantees of existing privacy mechanisms that query only on the subsets of dataset , which we summarize briefly here. In particular, we provide a self-contained accuracy analysis of TAHOE in the full version <ref type="bibr">[33]</ref>. It adds Laplace noise that is larger by a factor of log(1/ )/ than the scale / that can be used in the white-box setting when the function is promised to be -Lipschitz on its entire domain. (This latter scale is known to be optimal, even for the special case where is a simple counting query <ref type="bibr">[23]</ref>.)</p><p>We observe that the literature on Lipschitz extensions-generally thought of as "white box" objects-also provides a different, incomparable privacy wrapper for this black-box setting. Specifically, given and , Cummings and Durfee <ref type="bibr">[13]</ref> construct a function that is -Lipschitz (everywhere), and for which ( ) is computable based only on the values of on the subsets of . Furthermore, ( ) equals ( ) whenever is -Lipschitz on the entire power set P ( ) of , that is, on the neighborhood N &#179; | | ( ). This construction implies a privacy wrapper: given , and , compute ( ) and release it with noise scale / . The resulting wrapper has optimal error but very high locality | | and query complexity 2 | | .</p><p>Our Subset-Extension privacy wrapper, achieves the best of both worlds: the accuracy of Cummings-Durfee and the locality of TAHOE. We describe its construction, which departs significantly from the existing approaches, in Section 1.2.</p><p>Both the error scale and locality of our privacy wrappers are essentially optimal. The optimality of error follows the work of Ghosh et al. <ref type="bibr">[23]</ref>, mentioned above. To prove optimality of locality, we give two lower bounds: one which bounds locality directly , and the other which bounds query complexity , and thus locality by implication. The proofs of our lower bounds appear in the full version <ref type="bibr">[33]</ref>.</p><p>1.1.3 Privacy Wrappers with Claimed Sensitivity Bound for Bounded-Range Functions. In the full version, we show that one can achieve improved guarantees in the claimed sensitivity bound setting for functions with small intended range. We present our results for this setting in Table <ref type="table">3</ref>.</p><p>The Double Monotonization mechanism extends the guarantees of Subset-Extension to the setting of bounded range, replacing the log(1/ ) factor in the locality with log . At a technical level, it builds on Sens-o-Matic, modifying it to take advantage of the (claimed) Lipschitz constant provided by the analyst.</p><p>In contrast, the Small Diameter Subset Extension mechanism is based on a novel approach to local Lipschitz filters. This approach follows the spirit of <ref type="bibr">[27]</ref>, who initiated an approach based on sublineartime algorithms that was later studied in <ref type="bibr">[3,</ref><ref type="bibr">32]</ref>. As a corollary of our techniques, we construct a local Lipschitz filter that improves on <ref type="bibr">[32]</ref>. The resulting privacy wrapper achieves the best of both the algorithms of <ref type="bibr">[32]</ref>, and <ref type="bibr">[13]</ref>.</p><p>1.1.4 Applications of Privacy Wrappers to White-Box Se ing. Formal statements and proofs from this section appear in the full version <ref type="bibr">[33]</ref>. We, give several applications of our privacy wrappers in the white-box privacy setting, both recovering known results, and obtaining immediate improvements to existing results. Our privacy wrappers offer a unified derivation of a range of results that, a priori, seem to require different techniques.</p><p>Private mean estimation: As a simple illustration of our results, we show how they recover known bounds <ref type="bibr">[16,</ref><ref type="bibr">36]</ref> on private mean estimation in one dimension. If the dataset &#8712; R is contained in an unknown interval of radius , then applying each of our wrappers to the average function leads to privately releasing with error roughly .</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Empirical risk minimization:</head><p>We improve upon the user-level (also known as person-level) private empirical risk minimization algorithm of <ref type="bibr">[21]</ref> for the setting of one dimensional parameter spaces. Full version of our work <ref type="bibr">[33]</ref> In particular, we show that in empirical risk minimization for a one-dimensional parameter space Y, the dependence on privacy parameters and can be reduced from 1 5/2 log 2 1 to the minimum of the terms 1 3/2 log 1 and 1 log 1 exp( log * |Y|). The first term in the minimum follows immediately by substituting the Subset-Extension mechanism for the relevant subroutine in the private empirical risk minimization algorithm of <ref type="bibr">[21]</ref>. The second term leverages the Sens-o-Matic mechanism, as well as a straightforward extension of one of the key tools used in <ref type="bibr">[21]</ref> to bound the Lipschitz constant on N &#179; ( ) for g | |/2.</p><p>Estimating graph parameters: Our results give simpler derivations of the rate at which one can estimate the parameter of an Erd&#337;s-R&#233;nyi graph model ( , ) subject to node privacy guarantees. There is a node-private algorithm <ref type="bibr">[6]</ref> that, for all , given a graph drawn from ( , ), generates an estimate &#710; with additive error 1 + &#8730;</p><p>for bounded away from 0 and 1 (efficient algorithms achieving a similar bound were later given by <ref type="bibr">[10,</ref><ref type="bibr">39]</ref>). This bound was surprising since the non-private estimator is a simple sum whose local sensitivity, which is &#920;( 1 ) on typical graphs from ( , ), is too large to obtain the optimal rate by simply applying the Laplace mechanism. Such a strategy would lead to error 1 , instead of</p><p>We can rederive this bound using the observation that, for graphs generated from ( , ), the non-private estimator-which reports the density of edges in the input -has down sensitivity &#8776; &#8730;</p><p>at depth , with high probability. Applying our results for automated sensitivity detection directly implies a similar feasibility result to that of <ref type="bibr">[6]</ref>. See the full version <ref type="bibr">[33]</ref> for details.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="1.2">Techniques</head><p>Monotonization and the Shifted Inverse Mechanism. Our wrappers with automatic sensitivity detection use the Shifted Inverse mechanism of <ref type="bibr">[20]</ref> as a starting point. That mechanism relies on the promise, for both privacy and accuracy, that its input function is monotone. We show how to transform an arbitrary function into a monotone function with two additional locality properties: </p><p>where "-&#8734;" is a lower bound on the analyst-specified range of .</p><p>We combine this both with the original shifted inverse mechanism of <ref type="bibr">[20]</ref> as well as a new, ( , )-private variant, described in Section 3.1, that achieves better dependency on the range size. This latter improvement comes from abstracting the original version as a reduction to the generalized interior point problem <ref type="bibr">[7,</ref><ref type="bibr">12]</ref>. Monotonization and the resulting wrapper are described in Section 3.2. Subset Extension. Our starting point for the claimed sensitivity bound setting is the TAHOE algorithm of <ref type="bibr">[31]</ref>. We first briefly describe (in a way that fits well with our adaptation). As with monotonization, we first (privately) compute and release a lower bound &#8467; on the size of , which lies in the range</p><p>(with high probability). This gives a "floor" below which we do not need to read and bounds the locality by 3 . The next step is to attempt to find a subset of N &#179; 2 ( ) on which is Lipschitz. Specifically, we say a subset of is &#8467;-stable if is Lipschitz when restricted to the subsets of of size at least &#8467;. Kohli and Laskowksi show several structural properties of these sets. Let &#931; &#8467;,&#8462; 0 ( ) denote the collection of &#8467;-stable subsets of of size at least &#8462;</p><p>Then is Lipschitz on the domain &#931; &#8467;,&#8462; 0 ( ). Furthermore, for every &#8462; g &#8462; 0 , if &#8242; is a neighboring dataset of that is larger (by one insertion), then</p><p>TAHOE can then be described as follows: first, select a publiclyreleased &#8467; and unreleased &#8462;, both noisy (according to Laplace like distributions) and likely to satisfy</p><p>) is empty, and release this bit. Finally, if &#931; &#8467;,&#8462; ( ) is not empty, then pick an arbitrary largest set in &#931; &#8467;,&#8462; ( ) and release ( ) + ( / ). We can think of ( ) as an approximation to ( ) which is exact when is Lipschitz on all of N &#179; 3 ( ) (since then = ). Privacy goes through because the bit indicating the emptiness of &#931; &#8467;,&#8462; ( ) is randomized (by the randomness of &#8462;) and differentially private; and the diameter of &#931; &#8467;,&#8462; 0 ( &#8242; ) is ( ), so the sensitivity of ( ) is ( ) no matter how is chosen.</p><p>We develop two different improvements over TAHOE, each of which modifies the structure above so that, roughly, the approximation to ( ) has sensitivity ( ) even when is not Lipschitz.</p><p>Our first major departure from the TAHOE approach is to transform to get a new function &#710; :</p><p>that is monotone and Lipschitz whenever is Lipschitz. Unlike the monotonization described in the previous section, this transformation comes with no guarantees for arbitrary . However, it allows us to choose a nearly-canonical representative in the set &#931; &#8467;,&#8462; ( ), which is a point that maximizes &#710; ( ) over &#931; &#8467;,&#8462; ( ). When &#710; is monotone, maximizing the function value and maximizing the size of coincide.</p><p>Our second major departure is to average over the choices of &#8462; rather than choosing &#8462; randomly. In Subset-Extension, we set &#8467; using the truncated Laplace mechanism and average over the choice of &#8462; in a range determined by &#8467;. For neighboring datasets and &#8242; , we show a coupling between the function estimates computed using different (&#8467;, &#8462;) pairs such that coupled (&#8467;, &#8462;) values lead to similar estimates of ( ) and ( &#8242; ) with high probability. Averaging over &#8462; turns this high-probability Wasserstein distance bound into an</p><p>(1) upper bound on the difference between estimates (when all checks for existence of stable sets pass), allowing us to release the estimate with little noise.</p><p>This description hides a number of challenges that arise in the analysis. See the full version <ref type="bibr">[33]</ref> for details.</p><p>Lower Bound Techniques. Proofs of our lower bounds appear in the full version. We provide two lower bounds: one on the locality of accurate privacy wrappers-via reduction from well-studied problem in the privacy literature-and another on the actual query complexity, via a new argument closer to the techniques in the property testing literature.</p><p>In order to prove the lower bound on locality, we reduce from the "point distribution problem" . In the point distribution problem, an algorithm is given a multiset of elements from some universe Y as input. For all &#8712; Y, the algorithm must output whenever consists only of identical copies of . Standard packing arguments suffice to show a lower bound on the size of the multiset for any differentially private algorithm that solves the point distribution problem. Our reduction then proceeds by arguing that a privacy wrapper that is -down local can be used to solve the point distribution problem with mutlisets of size + 1.</p><p>Our second lower bound, states that every ( , )-privacy wrapper that is ( , )-accurate on Lipschitz functions with range size must have query complexity | |</p><p>. Thus, the query complexity of our privacy wrappers is optimal. Additionally, while all of our privacy wrappers are down-local, the query complexity lower bound applies even to privacy wrappers that do no satisfy this guarantee (i.e., privacy wrappers that query on arbitrary datasets ). To prove our query complexity lower bound, we take advantage of the fact that if two points , &#8712; U * are "close", but ( ) and ( ) are "far", then every privacy wrapper must be inaccurate on or . Leveraging this property, we construct distributions N and P over pairs ( , ) where is a dataset and is a function from [ ] * to R with the following properties: First, every algorithm that gets query access to and input must make many queries to to distinguish whether ( , ) &#8712; supp(N ) or ( , ) &#8712; supp(P). And second, every privacy wrapper that is accurate for Lipschitz functions is inaccurate when ( , ) &#8712; supp(N ) and accurate when ( , ) &#8712; supp(P). Combining these two observation, we show that a query-efficient privacy wrapper that is accurate for all Lipschitz functions can be used as a subroutine to construct a low query algorithm for distinguishing N and P. It follows that privacy wrapper that is accurate for all Lipschitz functions must make many queries to .</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="1.3">Related Work</head><p>Private Evaluation of Black-box Functions. Privacy in the context of black-box functions was first explicitly considered by <ref type="bibr">[27]</ref>. They connect the claimed sensitivity setting with the concept of local filter from the sublinear algorithms literature. This line of work <ref type="bibr">[3,</ref><ref type="bibr">27,</ref><ref type="bibr">32]</ref> constructs privacy wrappers from local filters for Lipschitz functions. Their constructions query the function on inputs obtained by both insertions and deletions. Their query complexity depends on the universe size, and the analyst's sensitivity bound must allow for the insertion of arbitrary outliers in the dataset.</p><p>Local Sensitivity and Robustness. Soon after the introduction of differential privacy, the research community aimed to identify properties of a function that allow for accurate differentially private approximation. A key concept was the local sensitivity <ref type="bibr">[36]</ref> of at , the maximum change in that can be incurred by inserting or removing one element (or a small number of elements) in .</p><p>Starting with <ref type="bibr">[36]</ref> and <ref type="bibr">[16]</ref>, a rich line of work found different ways to enforce and take advantage of (variants of) low local sensitivity (e.g., <ref type="bibr">[1,</ref><ref type="bibr">2,</ref><ref type="bibr">24]</ref>, to mention only a few). Low local sensitivity within a neighborhood of insertions and deletions is equivalent to the notion of adversarial robustness from the robust statistics literature. Many natural estimators do not have that type of robustness: for example, sample means and ordinary least-squares regression estimates can be moved arbitrarily far by the insertion of a single outlier. They often require function-specific modifications (such as trimming, huerization, and so forth) to make them robust. Indeed, there is a large literature in the design of robust versions of popular estimators <ref type="bibr">[25,</ref><ref type="bibr">35]</ref>.</p><p>Look Down: Lipschitz Extensions and Down Sensitivity. Another rich line of work in the privacy literature develops techniques for settings where we expect a computation of interest to be much more sensitive to insertions than removals of entries from the input dataset. One branch, initially motivated by node-private algorithms for graphs <ref type="bibr">[4-6, 11, 14, 26, 28, 30, 37-39]</ref>, developed Lipschitz extensions, which extend a function from a subdomain of input datasets that has low sensitivity to the entire domain. The subdomains of interest were generally closed under removals but not insertions. The concept of down sensitivity (at depth 1) was introduced by Chen and Zhou <ref type="bibr">[11]</ref> to help describe these subdomains; they also studied the Lipschitz constant of on the power set of . (For the supermodular functions studied in <ref type="bibr">[11,</ref><ref type="bibr">30]</ref>, these coincide.) These works generally focused on efficient constructions in the white-box setting, mostly for monotone functions. However, some extensions, such as that of <ref type="bibr">[13]</ref>, can be interpreted as a black-box construction (as in Table <ref type="table">2</ref>). Down Sensitivity at Bounded Depth. Two recent works on privacy study mechanisms that look only at the behavior of the function on large subsets of the input. Fang, Dong, and Yi <ref type="bibr">[20]</ref> focus on white-box approaches to releasing monotone functions without an a-priori sensitivity bound, while Kohli and Laskowski <ref type="bibr">[31]</ref> consider the black-box, claimed sensitivity setting. The KL mechanism was recently extended to general outputs in <ref type="bibr">[21,</ref><ref type="bibr">22]</ref>, though their improvements do not affect our setting.</p><p>Resiliency in Robust Statistics. The two notions of accuracy that we consider-expressed in terms of the diameter of (N &#179; ( )) and the Lipschitz constant on N &#179; ( )-correspond to two different notions of resiliency. The diameter-based notion corresponds (up to reparameterization) to the definition of resiliency <ref type="bibr">[41]</ref>, whereas the Lipschitz notion has not been considered explicitly before in the statistics and learning literature, to our knowledge. One can interpret the information-theoretic results of <ref type="bibr">[41]</ref> as a generic transformation that takes a function and produces a version that is robust in the neighborhood of an input whenever is resilient with respect to the original function . However, we are not aware of a generic way to transform that into a differentially private mechanism using previous work, without still needing to explore the values of ( ) for all sets that differ from in insertions and deletions. We make the <ref type="bibr">[41]</ref> transformation explicit and discuss its consequences in the full version <ref type="bibr">[33]</ref>.</p><p>Generic Statistical Results. Dwork and Lei <ref type="bibr">[16]</ref> and Smith <ref type="bibr">[40]</ref> give generic transformations that create differentially private versions of statistical estimators. These results are incomparable to ours, since they rely on specific properties of the estimators, such as asymptotic normality and low bias.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="2">Preliminaries</head><p>In this section, we formally define privacy wrappers, our main object of study. Let U be an arbitrary countable universe of elements and U * be the set of finite subsets of U. First, we recall the definition of differential privacy. Definition 2.1 (Neighboring sets, differential privacy <ref type="bibr">[17]</ref>). Two sets , &#8712; U * are neighbors if either = &#8746; { } or = &#8746; { } for some &#8712; U. A randomized algorithm M is ( , )-differentially private (DP) if for all neighboring , &#8712; U * and all measurable subsets of the set of outputs of M,</p><p>When = 0, this guarantee is referred to as pure differential privacy; the guarantee with &gt; 0 is called approximate differential privacy. Definition 2.2 (Diameter). The diameter of a bounded set &#162; R is sup ( )inf ( ). Moreover for all : U * &#8594; R and &#166; U * , we define ( ) as the set { ( ) : &#8712; }.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Definition 2.3 (Lipschitz functions and global sensitivity).</head><p>Fix g 0. Given a domain &#166; U * , a function : U * &#8594; R is -Lipschitz over if | ( ) -( )| f for all neighbors , &#8712; . For brevity, we use "Lipschitz" instead of "1-Lipschitz". When = U * , we just say " -Lipschitz", without specifying the domain. The smallest constant for which function is -Lipschitz is called the Lipschitz constant or the (global) sensitivity of . Definition 2.4 (Monotone functions). Given a domain &#166; U * , a function : U * &#8594; R is monotone on if ( ) f ( ) for all , &#8712; such that &#162; .</p><p>Next, we define privacy wrappers. Informally, a privacy wrapper is a differentially private algorithm W that gets two types of inputs: public and sensitive. The public inputs consist of a function , to which the wrapper has query access, and a possibly empty list of parameters. The sensitive input is a data set &#8712; U * . The algorithm run with query access to is denoted W , and its output on dataset is denoted W ( ). (We treat W ( ) as a random variable.) We omit explicit notation for the parameters. Definition 2.5 (Privacy wrapper <ref type="bibr">[31]</ref>). Fix a universe U and privacy parameters &gt; 0 and &#8712; [0, 1). Consider a randomized algorithm W that gets as input a dataset &#8712; U * , additional parameters, and query access to a function : U * &#8594; R. It then produces output in R &#8746; { &#167;}. Algorithm W is an ( , )-privacy wrapper if, for every function and every choice of the additional parameters, the algorithm W is ( , )-differentially private. Fact 2.1 (Laplace mechanism <ref type="bibr">[17]</ref>). Fix &gt; 0 and let : U * &#8594; R be a -Lipschitz function. Then, the algorithm that gets a query &#8712; U * as input, samples &#8764; Lap( ), and outputs ( ) = ( ) + , is ( , 0)-DP. Additionally, for all &gt; 0, we have | ( ) -( )| f ln 1 with probability at least 1 -. Moreover, the same mechanism implemented with noise &#8764; TruncLap( , ln 1 ) is ( , )-DP.</p><p>We repeatedly use the following tail bound for Laplace random variables.</p><p>Fact 2.2 (Laplace tails). For all &gt; 0 and &#8712; (0, 1), if &#8764; Lap( ) then Pr | | g ln 1  = .</p><p>We use the following well known facts regarding the composition of differentially private mechanisms and postprocessing. (See <ref type="bibr">[18]</ref>). following expression:</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="3.2">Sens-o-Matic: A Wrapper for General Functions</head><p>The two variants of the Shifted Inverse mechanism discussed in the previous section are not privacy wrappers because they are only private under the promise that the function is monotone. In this section, we generalize ShI to work for all functions.</p><p>Proof of Theorem 3.1. The main idea in the generalization of the ShI mechanism is to construct a monotone function from the original function and use in the ShI mechanism. The value of at point will be computed from the down neighborhood of . We parameterize by the lowest level (i.e., the set size) we include in the down neighborhood. </p><p>The following properties of monotonization follow directly from its definition. &#178; is set so that ShI run with the parameter 2:</p><p>&#178; settings below uses depth parameter /2. The two failure events we consider are (1) the noise variable in Line 3 has large absolute value, | | &gt; 2 ln 2 , and (2) ShI fails. Each of these events happens with probability at most /2, by Fact 2.2 and the setting of parameters given to ShI. By the union bound over these two events, the overall failure probability is at most . Now, we analyze accuracy of Sens-o-Matic. Suppose that neither failure event occurred. Then | | f 2 ln 2 f 4 . (We assume w.l.o.g. that is sufficiently large for this inequality to hold.) Consequently,</p><p>Let W denote Algorithm 1 and M denote the ShI mechanism. Recall that is set so that ShI in Line 4 is run with the depth parameter /2. By the accuracy guarantee of ShI, we get Thus, with probability at least 1 -, we get |W ( ) -( )| f ( ), as claimed. Finally, to evaluate M &#8467; [ ], the wrapper only needs to query the subsets of the dataset of size at least &#8467;. Recall that &#8467; satisfies (8) with probability at least 1 -. When it does, all queries of W are within N &#179; ( ), completing the proof of Theorem 3.1. &#9633;</p></div><note xmlns="http://www.tei-c.org/ns/1.0" place="foot" n="1" xml:id="foot_0"><p>The analyst does need to provide a description of the range Y, but that description need not be trusted-it can be enforced for each query by replacing outputs outside the range. Similarly, the analyst needs to provide an upper bound on the running time of , which can be enforced by terminating the program after the given time.</p></note>
			<note xmlns="http://www.tei-c.org/ns/1.0" place="foot" n="2" xml:id="foot_1"><p>This variant appeared in a blog post by one of the authors<ref type="bibr">[42]</ref>.</p></note>
			<note xmlns="http://www.tei-c.org/ns/1.0" place="foot" n="3" xml:id="foot_2"><p>Equivalently, the analyst provides a rescaled function / instead of , and the curator presumes a sensitivity bound of 1.</p></note>
			<note xmlns="http://www.tei-c.org/ns/1.0" place="foot" n="5" xml:id="foot_3"><p>We use the convention that if Y is unbounded below, then inf ( Y ) = -&#8734;.</p></note>
			<note xmlns="http://www.tei-c.org/ns/1.0" place="foot" xml:id="foot_4"><p>Privately Evaluating Untrusted Black-Box Functions STOC'25, June 23-27, 2025, Prague, Czechia   </p></note>
		</body>
		</text>
</TEI>
