English

Privately Evaluating Untrusted Black-Box Functions

Data Structures and Algorithms 2025-04-25 v2

Abstract

We provide tools for sharing sensitive data when the data curator does not know in advance what questions an (untrusted) analyst might 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 ff. We study differentially private algorithms, called privacy wrappers, that, given black-box access to a real-valued function ff and a sensitive dataset xx, output an accurate approximation to f(x)f(x). The dataset xx is modeled as a finite subset of a possibly infinite set UU, in which each entry represents data of one individual. A privacy wrapper calls ff on the dataset xx and on some subsets of xx and returns either an approximation to f(x)f(x) or a nonresponse symbol \perp. 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 wrapper. The bottleneck in the running time of our wrappers is the number of calls to ff, which we refer to as queries. Our goal is to design wrappers with high accuracy and low query complexity. We introduce a novel setting, the automated sensitivity detection setting, where the analyst supplies the black-box function ff and the intended (finite) range of ff. In the previously considered setting, the claimed sensitivity bound setting, the analyst supplies additional parameters that describe the sensitivity of ff. 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 xx 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 UU.

Keywords

Cite

@article{arxiv.2503.19268,
  title  = {Privately Evaluating Untrusted Black-Box Functions},
  author = {Ephraim Linder and Sofya Raskhodnikova and Adam Smith and Thomas Steinke},
  journal= {arXiv preprint arXiv:2503.19268},
  year   = {2025}
}
R2 v1 2026-06-28T22:33:14.615Z