Privately Releasing Conjunctions and the Statistical Query Barrier

Anupam Gupta, Moritz Hardt, Aaron Roth, Jonathan Ullman

Introduction

Consider a data set D⊆{0,1}dD\subseteq\{0,1\}^{d} in which each element corresponds to an individual’s record over dd binary attributes. The goal of privacy-preserving data analysis is to enable rich statistical analyses on the data set while respecting individual privacy. In paritcular, we would like to guarantee differential privacy [DMNS06], a rigorous notion of privacy that guarantees the outcome of a statistical analysis is nearly indistinguishable on any two data sets that differ only in a single individual’s data.

One of the most important classes of statistical queries on the data set are Boolean conjunctions, sometimes called contingency tables or marginal queries. See, for example, [BCD+07, BLR08, KRSU10, UV10]. A boolean conjunction corresponding to a subset S⊆[d]S\subseteq[d] counts what fraction of the individuals have each attribute in SS set to 1.1. A major open problem in privacy-preserving data analysis is to efficiently create a differentially private synopsis of the data set that accurately encodes answers to all Boolean conjunctions. In this work we give an algorithm with runtime polynomial in dd, which outputs a differentially private data structure that represents all boolean conjunctions up to an average error of 1%.

Our result is significantly more general and applies to any collection of queries that can be described by a low sensitivity submodular function. Submodularity is a property that often arises in data analysis and machine learning problems [KG07], including problems for which privacy is a first-order design constraintFor example, Kempe, Kleinberg, and Tardos show that for two common models of influence propagation on social networks, the function capturing the “influence” of a set of users (perhaps the targets of a viral marketing campaign) is a monotone submodular function [KKT03].. Imagine, for example, a social network on dd vertices. A data analyst may wish to analyze the size of the cuts induced by various subsets of the vertices. Here, our result provides a data structure that represents all cuts up to a small average error. Another important example of submodularity is the set-coverage function, which given a set system over elements in some universe UU, represents the number of elements that are covered by the union of any collection of the sets.

The size of our data structure grows exponentially in the inverse error desired, and hence we can represent submodular functions only up to constant error if we want polynomial query complexity. Can any efficient algorithm do even better? We give evidence that in order to do better, fundamentally new techniques are needed. Specifically, we show that no polynomial-time algorithm that guarantees small error for every boolean conjunction can do substantially better if the algorithm permits an implementation that only accesses the database through statistical queries. This statement holds regardless of whether such an implementation is privacy-preserving. (A statistical query is given by a function q ⁣:{0,1}d→{0,1}q\colon\{0,1\}^{d}\to\{0,1\}, to which the answer is \varmathbbE⁡x∈D[q(x)]\operatorname*{\varmathbb{E}}_{x\in D}[q(x)].)

We show this limitation using connection between the data release problem and standard problems in learning theory. Putting aside privacy concerns, we pose the following question: How many statistical queries to a data set are necessary and sufficent in order to approximately answer all queries in a class CC? We show that the number of statistical queries necessary and sufficient for this task is, up to a factor of O(d)O(d), equal to the agnostic learning complexity of CC (over arbitrary distributions) in Kearns’ statistical query (SQ) model [Kea98]. Using an SQ lower bound for agnostically learning monotone conjunctions shown by Feldman [Fel10], this connection implies that no polynomial-time algorithm operating in the SQ-model can release even monotone conjunctions to subconstant error. Since monotone conjunction queries can be described by a submodular function, the lower bound applies to releasing submodular functions as well.

While the characterization above is independent of privacy concerns, it has two immediate implications for private data release:

Firstly, it also characterizes what can be released in the local privacy model of Kasiviswanathan et al. [KLN+08]; this follows from the fact that [KLN+08] showed that SQ algorithms are precisely what can be computed in the local privacy model.

Secondly, and perhaps even more importantly, it gives us the claimed unconditional lower bounds on the running time of any query-release algorithm that permits an implementation using only statistical queries—regardless of whether its privacy analysis can be carried out in the local privacy model. To our knowledge, this class includes almost all privacy preserving algorithms developed to date, including the recently introduced Median Mechanism [RR10] and Multiplicative Weights Mechanism [HR10]A notable exception is the private parity-learning algorithm of [KLN+08], which explicitly escapes the statistical query model.. Note that these mechanisms cannot be implemented in the local privacy model while preserving their privacy guarantees, because they will have to make too many queries. Indeed, they are capable of releasing conjunctions to subconstant error! Yet, they can be implemented using only statistical queries, and so our lower bounds apply to their running time.

To summarize, our results imply that if we want to develop efficient algorithms to solve the query release problem for classes as expressive as monotone conjunctions (itself an extremely simple class!), we need to develop techniques that are able to sidestep this statistical query barrier. On a conceptual level, our results present new reductions from problems in differential privacy to problems in learning theory.

In this section we give an informal statement of our theorems with pointers to the relevant sections. Our theorem on approximating submodular functions is proved in Section 3. The definition of submodularity is found in the Preliminaries (Section 2).

Let α>0,β>0.\alpha>0,\beta>0. Let f ⁣:{0,1}d→f\colon\{0,1\}^{d}\to be a submodular function. Then, there is an algorithm with runtime dO(log⁡(1/β)/α2)d^{O(\log(1/\beta)/\alpha^{2})} which produces an approximation h ⁣:{0,1}d→h\colon\{0,1\}^{d}\to such that \varmathbbPr⁡x∈{0,1}d{∣f(x)−h(x)∣≤α}≥1−β.\operatorname*{\varmathbb{P}r}_{x\in\{0,1\}^{d}}\{|f(x)-h(x)|\leq\alpha\}\geq 1-\beta.

In Section 4 we then show how this algorithm gives the following differentially private release mechanism for Boolean conjunctions. The definition of differential privacy is given in Section 2.

Let α>0,β>0.\alpha>0,\beta>0. There is an ε\varepsilon-differentially private algorithm with runtime dO(log⁡(1/β)/α2)d^{O(\log(1/\beta)/\alpha^{2})} which releases the set of Boolean conjunctions with error at most α\alpha on a 1−β1-\beta fraction of the queries provided that ∣D∣≥dO(log⁡(1/β)/α2)/ε .|D|\geq d^{O(\log(1/\beta)/\alpha^{2})}/\varepsilon\,.

The guarantee in our theorem can be refined to give an α\alpha-approximation to a 1−β1-\beta fraction of the set of ww-way conjunctions (conjunctions of width ww) for all w∈{1,...,d}.w\in\{1,...,d\}. Nevertheless, our algorithm has the property that the error may be larger than α\alpha on a small fraction of the queries. We note, however, that for β≤αp/2\beta\leq\alpha^{p}/2 our guarantee is stronger than error α\alpha in the LpL_{p}-norm which is also a natural objective that has been considered in other works. For example, Hardt and Talwar study error bounds on mechanisms with respect to the Euclidean norm across all answers [HT10]. From a practical point of view, it also turns out that some privacy-preserving algorithms in the literature indeed only require the ability to answer random conjunction queries privately, e.g., [JPW09].

Finally, in Section 5, we study the general query release problem and relate it to the agnostic learning complexity in the Statistical Query model.

Suppose there exists an algorithm that learns a class CC up to error α\alpha under arbitrary distributions using at most qq statistical queries. Then, there is a release mechanism for CC that makes at most O(qd/α2)O(qd/\alpha^{2}) statistical queries.

Moreover, any release mechanism for CC that makes at most qq statistical queries implies an agnostic learner that makes at most 2q2q queries.

While both reductions preserve the query complexity of the problem neither reduction preserves runtime. We also note that our equivalence characterization is more general than what we stated: the same proof shows that agnostic learning of a class CC is (up to small factors) information theoretically equivalent to releasing the answers to all queries in a class CC for any class of algorithms that may access the database only in some restricted manner. The ability to make only SQ queries is one restriction, and the requirement to be differentially private is another. Thus, we also show that on a class by class basis, the privacy cost of releasing the answers to a class of queries using any technique is not much larger than the privacy cost of simply optimizing over the same class to find the query with the highest value, and vice versa.

Our release algorithm is based on a structural theorem about general submodular functions f:2U→f:2^{U}\rightarrow that may be of independent interest. Informally, we show that any submodular function has a “small” “approximate” representation. Specifically, we show that for any α>0\alpha>0, there exist at most ∣U∣2/α|U|^{2/\alpha} submodular functions gig_{i} such that each gig_{i} satisfies a strong Lipschitz condition, and for each S⊂US\subset U, there exists an ii such that f(S)=gi(S)f(S)=g_{i}(S). We then take advantage of Vondrak’s observation in [Von10] that Lipschitz submodular functions are self-bounding, which allows us to apply recent dimension-free concentration bounds for self-bounding functions [BLM00, BLM09]. These concentration results imply that if we associate each function gig_{i} with its expectation, and respond to queries f(S)f(S) with \varmathbbE⁡[gi(S)]\operatorname*{\varmathbb{E}}[g_{i}(S)] for the appropriate gig_{i}, then most queries are answered to within only α\alpha additive error. This yields an algorithm for learning submodular functions over product distributions, which can easily be made privacy preserving when the values f(S)f(S) correspond to queries on a sensitive database.

Our characterization of the query complexity of the release problem in the SQ model uses the multiplicative weights method [LW94, AHK05] similar to how it was used recently in [HR10]. That is we maintain a distribution over the universe on which the queries are defined. What is new is the observation that an agnostic learning algorithm for a class CC can be used to find a query from CC that distinguishes between the true data set and our distribution as much as possible. Such a query can then be used in the multiplicative weights update to reduce the relative entropy between the true data set and our distribution significantly. Since the relative entropy is nonnegative there can only be a few such steps before we find a distribution which provides a good approximation to the true data set on all queries in the class C.C.

2 Related Work

The problem of learning submodular functions was recently introduced by Balcan and Harvey [BH10]; their PAC-style definition was different from previously studied point-wise learning approaches [GHIM09, SF08]. For product distributions, Balcan and Harvey give an algorithm for learning monotone, Lipschitz continuous submodular functions up to constant multiplicative error using only random examples. [BH10] also give strong lower bounds and matching algorithmic results for non-product distributions. Our main algorithmic result is similar in spirit, and is inspired by their concentration-of-measure approach. Our model is different from theirs, which makes our results incomparable. We introduce a decomposition that allows us to learn arbitrary (i.e. potentially non-Lipschitz, non-monotone) submodular functions to constant additive error. Moreover, our decomposition makes value queries to the submodular function, which are prohibited in the model studied by [BH10].

Information Theoretic Characterizations in Privacy.

Kasiviswanathan et al. [KLN+08] introduced the centralized and local models of privacy and gave information theoretic characterizations for which classes of functions could be learned in these models: they showed that information theoretically, the class of functions that can be learned in the centralized model of privacy is equivalent to the class of functions that can be agnostically PAC learned, and the class of functions that can be learned in the local privacy model is equivalent to the class of functions that can be learned in the SQ model of Kearns [Kea98].

Blum, Ligett, and Roth [BLR08] considered the query release problem (the task of releasing the approximate value of all functions in some class) and characterized exactly which classes of functions can be information theoretically released while preserving differential privacy in the centralized model of data privacy. They also posed the question: which classes of functions can be released using mechanisms that have running time only polylogarithmic in the size of the data universe and the class of interest? In particular, they asked if conjunctions were such a class.

In this paper, we give an exact information theoretic characterization of which classes of functions can be released in the SQ model, and hence in the local privacy model: we show that it is exactly the class of functions that can be agnostically learned in the SQ model. We note that the agnostic SQ learnability of a class CC (and hence, by our result, the SQ releasability of CC) can also be characterized by combinatorial properties of CC, as done by Blum et al. [BFJ+94] and recently Feldman [Fel10].

Lower bounds and hardness results.

There are also several conditional lower bounds on the running time of private mechanisms for solving the query release problem. Dwork et al. [DNR+09] showed that under cryptographic assumptions, there exists a class of queries that can be privately released using the inefficient mechanism of [BLR08], but cannot be privately released by any mechanism that runs in time polynomial in the dimension of the data universe (e.g. dd, when the data universe is {0,1}d\{0,1\}^{d}). Ullman and Vadhan [UV10] extended this result to the class of conjunctions: they showed that under cryptographic assumptions, no polynomial time mechanism that outputs a data set can answer even the set of d2d^{2} conjunctions of two-literals!

The latter lower bound applies only to the class of mechanisms that output data sets, rather than some other data structure encoding their answers, and only to mechanisms that answer all conjunctions of two-literals with small error. In fact, because there are only d2d^{2} conjunctions of size 2 in total, the hardness result of [UV10] does not hold if the mechanism is allowed to output some other data structure – such a mechanism can simply privately query each of the d2d^{2} questions.

We circumvent the hardness result of [UV10] by outputting a data structure rather than a synthetic data set, and by releasing all conjunctions with small average error. Although there are no known computational lower bounds for releasing conjunctions with small average error, even for algorithms that output a data set, since our algorithm does not output a data set, our approach may be useful in circumventing the lower bounds of [UV10].

We also prove a new unconditional (information theoretic) lower bound on algorithms for privately releasing monotone conjunctions that applies to the class of algorithms that interact with the data using only SQ queries: no such polynomial time algorithm can release monotone conjunctions with o(1)o(1) average error. We note that our lower bound does not depend on the output representation of the algorithm. Because almost all known private algorithms can indeed be implemented using statistical queries, this provides a new perspective on sources of hardness for private query release. We note that information theoretic lower bounds on the query complexity imply lower bounds on the running time of such differentially private algorithms.

There are also many lower bounds on the error that must be introduced by any private mechanism, independent of its running time. In particular, Kasiviswanathan et. al. [KRSU10] showed that average error of Ω(1/n)\Omega(1/\sqrt{n}) is necessary for private mechanisms that answer all conjunction queries of constant size. Recently, this work was extended by De [De11] to apply to mechanisms that are allowed to have arbitrarily large error on a constant fraction of conjunction queries of constant size. These results extend earlier results by Dinur and Nissim [DN03] showing that average error Ω(1/n)\Omega(1/\sqrt{n}) is necessary for random queries.

Interactive private query release mechanisms.

Recently, Roth and Roughgarden [RR10] and Hardt and Rothblum [HR10] gave interactive private query release mechanisms that allow a data analyst to ask a large number of questions, while only expending their privacy budgets slowly. Their privacy analyses depend on the fact that only a small fraction of the queries asked necessitate updating the internal state of the algorithm. However, to answer large classes of queries, these algorithms need to make a large number of statistical queries to the database, even though only a small number of statistical queries result in update steps! Intuitively, our characterization of the query complexity of the release problem in the SQ model is based on two observations: first, that it would be possible to implement these interactive mechanisms using only a small number of statistical queries if the data analyst was able to ask only those queries that would result in update steps, and second, that finding queries that induce large update steps is exactly the problem of agnostic learning.

Preliminaries

We study the question of answering counting queries over a database while preserving differential privacy. Given an arbitrary domain XX, we consider databases D∈XnD\in X^{n}. We write n=∣D∣n=|D|. Two databases D=(x1,…,xn)D=(x_{1},\dots,x_{n}) and D′=(x1′,…,xn′)D^{\prime}=(x^{\prime}_{1},\dots,x^{\prime}_{n}) are called adjacent if they differ only in one entry. That is, there exists i∈[n]i\in[n] such that for every j≠ij\neq i, xj=xj′x_{j}=x^{\prime}_{j}. We are interested in algorithms (or mechanisms) that map databases to some abstract range R\mathcal{R} while satisfying ε\varepsilon-differential privacy:

A mechanism M:X∗→R\mathcal{M}:X^{*}\rightarrow\mathcal{R} satisfies ε\varepsilon-differential privacy if for all S⊂RS\subset\mathcal{R} and every pair of two adjacent databases D,D′,D,D^{\prime}, we have \varmathbbPr⁡(M(D)∈S)≤eε\varmathbbPr⁡(M(D′)∈S) .\operatorname*{\varmathbb{P}r}(\mathcal{M}(D)\in S)\leq e^{\varepsilon}\operatorname*{\varmathbb{P}r}(\mathcal{M}(D^{\prime})\in S)\,.

A counting query is specified by a predicate q ⁣:X→q\colon X\rightarrow. We will denote the answer to a counting query (with some abuse of notation) by q(D)=1n∑x∈Dq(X) .q(D)=\frac{1}{n}\sum_{x\in D}q(X)\,. Note that a count query can differ by at most 1/n1/n on any two adjacent databases. In particular, adding Laplacian noise of magnitude 1/εn,1/\varepsilon n, denoted Lap(1/εn),\mathit{Lap}(1/\varepsilon n), guarantees ε\varepsilon-differential privacy on a single count query (see [DMNS06] for details).

The statistical query model and its connection to differential privacy.

We will state our algorithms in Kearns’ statistical query (SQ) model. In this model an algorithm AOA^{\cal O} can access a distribution DD over a universe XX only through statistical queries to an oracle O.{\cal O}. That is, the algorithm may ask any query q ⁣:X→q\colon X\to and the oracle may respond with any answer aa satisfying ∣a−\varmathbbE⁡x∼Dq(x)∣≤τ .|a-\operatorname*{\varmathbb{E}}_{x\sim D}q(x)|\leq\tau\,. Here, τ\tau is a parameter called the tolerance of the query.

In the context of differential privacy, the distribution DD will typically be the uniform distribution over a data set of size n.n. A statistical query is then just the same as a counting query as defined earlier. Since SQ algorithms are tolerant to noise it is not difficult to turn them into differentially private algorithms using a suitable oracle. This observation is not new, and has been used previously, for example by Blum et al. [BDMN05] and Kasiviswanathan et al. [KLN+08].

Let AA denote an algorithm that requires kk queries of tolerance τ.\tau. Let O{\cal O} denote the oracle that outputs \varmathbbE⁡x∼Dq(x)+Lap(k/nε).\operatorname*{\varmathbb{E}}_{x\sim D}q(x)+\mathit{Lap}(k/n\varepsilon). Then, the algorithm AOA^{\cal O} satisfies ε\varepsilon-differential privacy and with probability at least 1−β,1-\beta, the oracle answers all qq queries with error at most τ\tau provided that n≥k(log⁡k+log⁡(1/β))ετ .n\geq\frac{k(\log k+\log(1/\beta))}{\varepsilon\tau}\,.

The first claim follows directly from the properties of the Laplacian mechanism and the composition property of ε\varepsilon-differential privacy. To argue the second claim note that \varmathbbPr⁡(∣Lap(σ)∣≥τ)≤exp⁡(−τ/σ) .\operatorname*{\varmathbb{P}r}(|\mathit{Lap}(\sigma)|\geq\tau)\leq\exp(-\tau/\sigma)\,. Using that σ=k/nε\sigma=k/n\varepsilon and the assumption on nn, we get that this probability is less than β/k.\beta/k. The claim now follows by taking a union bound over all kk queries. ∎

Query release.

A concept class (or query class) is a set of predicates from X→X\to.

Let CC be a concept class. We say that an algorithm AA (α,β)(\alpha,\beta)-releases CC over a data set DD if \varmathbbPr⁡q∼C{∣q(D)−A(q)∣≤α}≥1−β .\operatorname*{\varmathbb{P}r}_{q\sim C}\{|q(D)-A(q)|\leq\alpha\}\geq 1-\beta\,.

Specifically, we are interested in algorithms which release CC using few statistical queries to the underlying data set. We will study the query release problem by considering the function f(q)=q(D)f(q)=q(D). In this setting, releasing a concept class CC is equivalent to approximating the function qq is the following sense

We say that an algorithm AA (α,β)(\alpha,\beta)-approximates a function f ⁣:2U→f\colon 2^{U}\to over a distribution D{\cal D} if \varmathbbPr⁡S∼D{∣f(S)−A(S)∣≤α}≥1−β .\operatorname*{\varmathbb{P}r}_{S\sim{\cal D}}\{|f(S)-A(S)|\leq\alpha\}\geq 1-\beta\,.

For many concept classes of interest, the function f(q)=q(D)f(q)=q(D) will be submodular, defined next.

Submodularity.

Given a universe UU, a function f:2U→\varmathbbRf:2^{U}\rightarrow\varmathbb{R} is called submodular if for all S,T⊂US,T\subset U it holds that f(S∪T)+f(S∩T)≤f(S)+f(T) .f(S\cup T)+f(S\cap T)\leq f(S)+f(T)\,. We define the marginal value of xx (or discrete derivative) at SS as ∂xf(S)=f(S∪{x})−f(S).\partial_{x}f(S)=f(S\cup\{x\})-f(S).

A function ff is submodular if and only if ∂xf(S)≥∂xf(T)\partial_{x}f(S)\geq\partial_{x}f(T) for all S⊆T⊆US\subseteq T\subseteq U and all x∈U.x\in U.

A function f:2U→\varmathbbRf:2^{U}\to\varmathbb{R} is γ\gamma-Lipschitz if for every S⊆US\subseteq U and x∈Ux\in U, ∣∂xf(S)∣≤γ|\partial_{x}f(S)|\leq\gamma.

Concentration bounds for submodular functions.

The next lemma was shown by Vondrak [Von10] building on concentration bounds for so-called self-bounding functions due to [BLM00, BLM09].

Let f ⁣:2U→\varmathbbRf\colon 2^{U}\rightarrow\varmathbb{R} be a 11-Lipschitz submodular function. Then for any product distribution D{\cal D} over 2U,2^{U}, we have

where the expectations are taken over S∼DS\sim{\cal D}.

Let f ⁣:2U→f\colon 2^{U}\rightarrow be a γ\gamma-Lipschitz submodular function. Then for any product distribution D{\cal D} over 2U,2^{U}, we have

where the expectations are taken over S∼DS\sim{\cal D}.

Approximating Submodular Functions

Our algorithm for approximating submodular functions is based on a structural theorem, together with some strong concentration inequalities for submodular functions (see Lemma 2.1). The structure theorem essentially says that we can decompose any bounded submodular function into a small collection of Lipschitz submodular functions, one for each region of the domain. In this section, we prove our structure theorem, present our algorithm, and prove its correctness.

We begin with a simpler version of the structure theorem. This version will be sufficient for approximating bounded monotone submodular functions from value queries, and will be the main building block in our stronger results, which will allow us to approximate arbitrary bounded submodular functions, even from “tolerant” value queries.

Our structure theorem follows from an algorithm that decomposes a given submodular function into Lipschitz submodular functions. The algorithm is presented next and analyzed in Lemma 3.1.

Given any submodular function f ⁣:2U→f\colon 2^{U}\to and γ>0,\gamma>0, Algorithm 1 makes the following guarantee. There are maps F,T ⁣:2U→2UF,T\colon 2^{U}\to 2^{U} such that:

(Lipschitz) For every gB∈Gg^{B}\in{\cal G}, gBg^{B} is submodular and satisfies sup⁡x∈V(B),S⊆V(B)∂xgB(S)≤γ\sup_{x\in V(B),S\subseteq V(B)}\partial_{x}g^{B}(S)\leq\gamma.

(Completeness) For every S⊆US\subseteq U, F(S)⊆S⊆V(F(S))F(S)\subseteq S\subseteq V(F(S)) and gF(S)(S)=f(S).g^{F(S)}(S)=f(S).

(Uniqueness) For every S⊆US\subseteq U and every B∈IB\in{\cal I}, we have F(S)=BF(S)=B if and only if B⊆S⊆V(B)B\subseteq S\subseteq V(B) and S∩T(B)=∅S\cap T(B)=\emptyset.

(Size) The size of G{\cal G} is at most ∣G∣=∣U∣O(1/γ)|{\cal G}|=|U|^{O(1/\gamma)}. Moreover, given oracle access to f,f, we compute F,V,TF,V,T in time ∣U∣O(1/γ)|U|^{O(1/\gamma)}.

Note that the lemma applies to non-monotone submodular functions ff as well; however, since our release algorithm will require the stronger condition sup⁡x∈V(B),S⊆V(B)∣∂xg(S)∣≤γ\sup_{x\in V(B),S\subseteq V(B)}|\partial_{x}g(S)|\leq\gamma, the lemma will only be sufficient for releasing monotone submodular functions (where it holds that ∣∂xg(S)∣≤γ  ⟺  ∂xg(S)≤γ|\partial_{x}g(S)|\leq\gamma\iff\partial_{x}g(S)\leq\gamma). We will return to the non-monotone case later.

Algorithm 1 always terminates and we have the following bound on the size of I.\mathcal{I}.

Let B∈IB\in\mathcal{I} be a set, B={x1,…,x∣B∣}B=\{x_{1},\dots,x_{|B|}\}. Let B0=∅B_{0}=\emptyset and Bi={x1,…,xi}B_{i}=\{x_{1},\dots,x_{i}\} for i=1,…,∣B∣−1i=1,\dots,|B|-1. Then

Therefore, it must be that ∣B∣≤1/γ|B|\leq 1/\gamma, and there are at most ∣U∣1/γ|U|^{1/\gamma} such sets over ∣U∣|U| elements. ∎

For every gB∈Gg^{B}\in{\cal G}, gBg^{B} is submodular and sup⁡x∈V(B),S⊆V(B)∂xgB(S)≤γ\sup_{x\in V(B),S\subseteq V(B)}\partial_{x}g^{B}(S)\leq\gamma.

Submodularity follows from the fact that gBg^{B} is a “shifted” version of ff. Specifically, if T⊆ST\subseteq S, then ∂xgB(S)=∂xf(B∪S)≤∂xf(B∪T)=∂xgB(T)\partial_{x}g^{B}(S)=\partial_{x}f(B\cup S)\leq\partial_{x}f(B\cup T)=\partial_{x}g^{B}(T), where the inequality is by submodularity of ff.

To establish the Lipschitz property, we note that by the definition of VV, ∂xf(B)≤γ\partial_{x}f(B)\leq\gamma for every x∈V(B)x\in V(B). Also, by the submodularity of ff, we have ∂xgB(S)=∂xf(B∪S)≤∂xf(B)≤γ\partial_{x}g^{B}(S)=\partial_{x}f(B\cup S)\leq\partial_{x}f(B)\leq\gamma. ∎

Now we turn to constructing the promised mappings FF and TT in order to Properties 2 and 3. Roughly, we want F(S)F(S) to choose a maximal set in I{\cal I} such that F(S)⊆SF(S)\subseteq S, in order to assure that S⊆V(F(S))S\subseteq V(F(S)). This task is complicated by the fact that there could be many such sets. We want to be able to choose a unique such set, and moreover, given any such set BB, determine efficiently if F(S)=BF(S)=B. To achieve the former task, we define a specific, deterministic mapping F(S)F(S) and to achieve the latter we will carefully define the mapping TT.

If F(S)=BF(S)=B, then P(S)=P(B)P(S)=P(B). Moreover, for every S∈US\in U, P(S)⊆IP(S)\subseteq{\cal I}.

We can now establish Property 2 by the following claim.

For every S⊆US\subseteq U, F(S)⊆S⊆V(F(S))F(S)\subseteq S\subseteq V(F(S)), and gF(S)(S)=f(S)g^{F(S)}(S)=f(S).

Let P(S)=B0⊂B1⊂⋯⊂F(S)P(S)=B_{0}\subset B_{1}\subset\dots\subset F(S). F(S)F(S) always checks that x∈Sx\in S before including an element xx, so F(S)⊆SF(S)\subseteq S. To see that S⊆V(F(S))S\subseteq V(F(S)), assume there exists x∈S∖V(F(S))x\in S\setminus V(F(S)). By submodularity we have ∂xf(Bj)≥∂xf(F(S))>γ\partial_{x}f(B_{j})\geq\partial_{x}f(F(S))>\gamma for every set BjB_{j}. But if ∂xf(Bj)>γ\partial_{x}f(B_{j})>\gamma for every BjB_{j} and x∈Sx\in S, it must be that x∈F(S)x\in F(S). But then ∂xf(F(S))=0\partial_{x}f(F(S))=0, contradicting the fact that x∉V(F(S))x\not\in V(F(S)).

Finally, we note that since S⊆V(F(S))S\subseteq V(F(S)), gF(S)(S)g^{F(S)}(S) is defined (SS is in the domain of gF(S)g^{F(S)}) and since F(S)⊆SF(S)\subseteq S, gF(S)(S)=f(F(S)∪S)=f(S)g^{F(S)}(S)=f(F(S)\cup S)=f(S). ∎

Definition of T𝑇T and proof of Item 3.

We will now define the mapping TT. The idea is to consider a set B∈IB\in{\cal I} and P(B)P(B) and consider all the elements we had to “reject” on the way from the root to BB. We say that an element x∈Ux\in U is “rejected” if, when xx is considered by F(S)F(S), it has high influence on the current set, but is not in BB. Since any set SS such that B=F(S)B=F(S) satisfies P(S)=P(B)P(S)=P(B) (Fact 3.1), and any set SS that contains a rejected element would have taken a different path, we will get that the elements x∈T(B)x\in T(B) “witness” the fact that B≠F(S)B\neq F(S). We define the map T(B)T(B) as follows:

If B=F(S)B=F(S), then B⊆S⊆V(B)B\subseteq S\subseteq V(B) and S∩T(B)=∅S\cap T(B)=\emptyset.

We have already demonstrated the first part of the claim in Claim 3.4, so we focus on the claim that S∩T(B)=∅S\cap T(B)=\emptyset. By Fact 3.1, every set SS s.t. B=F(S)B=F(S) satisfies P(S)=P(B)P(S)=P(B). Let (B0⊂B1⊂⋯⊂B)=P(B)(B_{0}\subset B_{1}\subset\dots\subset B)=P(B). Suppose there is an element x∈S∩T(B)x\in S\cap T(B). Then there is a set BjB_{j} such that x∉V(Bj)x\not\in V(B_{j}) and x∉Bx\not\in B. But since x∉V(Bj)x\not\in V(B_{j}) and x∈Sx\in S, it must be that x∈Bj+1x\in B_{j+1}, contradicting the fact that Bj+1⊆BB_{j+1}\subseteq B. ∎

If B⊆S⊆V(B)B\subseteq S\subseteq V(B), S∩T(B)=∅S\cap T(B)=\emptyset, then B=F(S)B=F(S).

Suppose for the sake of contradiction that there a set B′≠BB^{\prime}\neq B such that B′=F(S)B^{\prime}=F(S). There exists an element x∈B△B′x\in B\triangle B^{\prime}, and we consider the minimal such xx under ≺\prec. Let P(B)=(B0⊂B1⊂⋯⊂B)P(B)=(B_{0}\subset B_{1}\subset\dots\subset B) and P(S)=P(B′)=(B0′⊂B1′⊂⋯⊂B′)P(S)=P(B^{\prime})=(B^{\prime}_{0}\subset B^{\prime}_{1}\subset\dots\subset B^{\prime}). Since xx is minimal in B△B′B\triangle B^{\prime}, there must be jj be such that Bi=Bi′B_{i}=B^{\prime}_{i} for all i≤ji\leq j, but x∈Bj+1△Bj+1′x\in B_{j+1}\triangle B^{\prime}_{j+1}. Consider two cases:

B⊃B′B\supset B^{\prime}. Thus x∈B∖B′x\in B\setminus B^{\prime} Moreover, since x∈B⊆Sx\in B\subseteq S, it must be that when xx was considered in the execution of F(S)F(S), and Bj′B^{\prime}_{j} was the current set, it was the case that x∈V(Bj′)x\in V(B^{\prime}_{j}). But Bj=Bj′B_{j}=B^{\prime}_{j}, so x∈V(Bj)x\in V(B_{j}), contradicting the fact that x∈Bj+1x\in B_{j+1}.

B⊅B′B\not\supset B^{\prime}. Thus x∈B′∖Bx\in B^{\prime}\setminus B. Since x∈B′=F(S)⊆Sx\in B^{\prime}=F(S)\subseteq S (Claim 3.4), we have x∈Sx\in S. Moreover, since x∈Bj+1′x\in B^{\prime}_{j+1} we must have x∉V(Bj′)=V(Bj)x\not\in V(B^{\prime}_{j})=V(B_{j}). Thus we have x∉V(Bj)x\not\in V(B_{j}) and x∉Bx\not\in B, which implies x∈T(B)x\in T(B), by construction. Thus S∩T(B)≠∅S\cap T(B)\neq\emptyset, a contradiction.

The previous two claims establish Item 3.

Finally we observe that the enumeration of I{\cal I} requires time at most ∣U∣⋅∣I∣=∣U∣O(1/γ)|U|\cdot|{\cal I}|=|U|^{O(1/\gamma)}, since we iterate over each element of UU and then iterate over each set currently in I{\cal I}. We also note that we can compute the mappings FF and TT in time linear in ∣I∣=∣U∣O(1/γ)|{\cal I}|=|U|^{O(1/\gamma)} and can compute V(B)V(B) in time linear in ∣U∣|U|. These observations establish Property 4 and complete the proof of Lemma 3.1. ∎

Given any submodular function f ⁣:2U→f\colon 2^{U}\to and γ>0,\gamma>0, Algorithm 2 makes the following guarantee. There are maps F,T ⁣:2U→2UF,T\colon 2^{U}\to 2^{U} satisfying properties 1-4 of Lemma 3.1 and moreover, can be computed using tolerant queries to ff with tolerance γ/12\gamma/12.

Observe that Algorithm 2 differs from Algorithm 1 only in the choice of parameters. The analysis required to establish the Lemma is also a natural modification of the analysis of Lemma 3.1, so we will refer the reader to the proof of that Lemma for several details and only call attention to the steps of the proof that require modification.

First, we establish a bound on the size of I{\cal I}

Let B∈IB\in\mathcal{I} be a set, B={x1,…,x∣B∣}B=\{x_{1},\dots,x_{|B|}\}. Let B0=∅B_{0}=\emptyset and Bi={x1,…,xi}B_{i}=\{x_{1},\dots,x_{i}\} for i=1,…,∣B∣−1i=1,\dots,|B|-1. Then

Therefore, it must be that ∣B∣≤6/γ|B|\leq 6/\gamma, and there are at most ∣U∣6/γ|U|^{6/\gamma} such sets over ∣U∣|U| elements. ∎

For every gB∈Gg^{B}\in{\cal G}, gBg^{B} is submodular and sup⁡x∈V(B),S⊆V(B)∂xgB(S)≤γ\sup_{x\in V(B),S\subseteq V(B)}\partial_{x}g^{B}(S)\leq\gamma.

The proof of submodularity is identical to Claim 3.3

Definition of F𝐹F and proof of Item 2.

Now we establish Property 2 via the following claim, analogous to Claim 3.4 in the proof of Lemma 3.1

For every S⊆US\subseteq U, F(S)⊆S⊆V(F(S))F(S)\subseteq S\subseteq V(F(S)). Moreover, gF(S)(S)=f(S)g^{F(S)}(S)=f(S).

Let P(S)=B0⊂B1⊂⋯⊂F(S)P(S)=B_{0}\subset B_{1}\subset\dots\subset F(S). The fact that F(S)⊆SF(S)\subseteq S follows as in Claim 3.4. To see that S⊆V(F(S))S\subseteq V(F(S)), assume there exists x∈S∖V(F(S))x\in S\setminus V(F(S)). By submodularity of ff, and (4), we have

The fact that gF(S)(S)=f(S)g^{F(S)}(S)=f(S) follows as in the proof of Claim 3.4. ∎

Definition of T𝑇T and proof of Item 3.

We also define the promised mapping T(S)T(S) in the same manner as in the proof of Lemma 3.1, but using V′V^{\prime} in place of VV to decide whether or not we select an element xx for inclusion in the set F(S)F(S).

Property 4 also follows as in the proof of Lemma 3.1. This completes the proof of the Lemma. ∎

We now present our algorithm for learning monotone submodular functions over product distributions. For a subset of the universe V⊆UV\subseteq U, let DV{\cal D}_{V} denote the distribution D{\cal D} restricted to the variables in VV. Note that if D{\cal D} is a product distribution, then DV{\cal D}_{V} remains a product distribution and is easy to sample from.

For any α,β∈(0,1]\alpha,\beta\in(0,1], Algorithm 5 (α,β)(\alpha,\beta)-approximates any submodular function f ⁣:2U→f\colon 2^{U}\to under any product distribution D{\cal D} in time ∣U∣O(α−2log⁡(1/β))|U|^{O(\alpha^{-2}\log(1/\beta))} using oracle queries to ff of tolerance α2/72log⁡(2/β)\alpha^{2}/72\log(2/\beta).

For a set S⊆US\subseteq U, we let B=F(S)B=F(S) and gBg^{B} be the corresponding submodular function as in Lemma 3.7. Note that since the queries have tolerance α2/72log⁡(1/β)≤γ/12\alpha^{2}/72\log(1/\beta)\leq\gamma/12, the lemma applies. We will analyze the error probability as if the estimates μgB\mu_{g^{B}} were computed using exact oracle queries to ff, and will note that using tolerant queries to ff can only introduce an additional error of α2/72log⁡(1/β)≤α/6\alpha^{2}/72\log(1/\beta)\leq\alpha/6. We claim that, under this condition

To see this, recall that for every S⊆US\subseteq U, gF(S)(S)=f(S)g^{F(S)}(S)=f(S). By Property 3 of Lemma 3.1, the condition that B=F(S)B=F(S) is equivalent to the conditions that B⊆S⊆V(B)B\subseteq S\subseteq V(B) and S∩T(B)=∅S\cap T(B)=\emptyset. Hence,

Now, applying the concentration inequality for submodular functions stated as Corollary 2.2, we get

Plugging in t=5α/6γ=5log⁡(2/β)αt=5\alpha/6\gamma=\frac{5\log(2/\beta)}{\alpha} and simplifying we get \varmathbbPr⁡S∼DV(B)∖T(B){∣gB(S)−μgB∣>α}≤β .\operatorname*{\varmathbb{P}r}_{S\sim{\cal D}_{V(B)\setminus T(B)}}\left\{\left|g^{B}(S)-\mu_{g^{B}}\right|>\alpha\right\}\leq\beta\,. Combining this with (3.1), the claim follows. ∎

2 Non-monotone Submodular Functions

For non-monotone functions, we need a more refined argument. Our main structure theorem replaces Property 1 in Lemma 3.1 by the stronger guarantee that ∣∂xg(S)∣≤α|\partial_{x}g(S)|\leq\alpha for all g∈Gg\in{\cal G}, even for non-monotone submodular functions. Observe that for a submodular function f:2V→\varmathbbRf:2^{V}\rightarrow\varmathbb{R}, the function f‾ ⁣:2V→\varmathbbR\overline{f}\colon 2^{V}\to\varmathbb{R} defined as f‾(S)=f(V\S)\overline{f}(S)=f(V\backslash S) is also submodular; moreover

Given these two facts, we can now prove our main structure theorem.

Given any submodular function f ⁣:2U→f\colon 2^{U}\to and γ>0,\gamma>0, Algorithm 4 makes the following guarantee. There are maps F ⁣:2U→2U×2UF\colon 2^{U}\to 2^{U}\times 2^{U} and T ⁣:2U×2U→2UT\colon 2^{U}\times 2^{U}\to 2^{U} such that:

(Lipschitz) For every gB,C∈Gg^{B,C}\in{\cal G}, gB,Cg^{B,C} is submodular and satisfies sup⁡x∈V(B,C),S⊆V(B,C)∣∂xgB,C(S)∣≤γ\sup_{x\in V(B,C),S\subseteq V(B,C)}|\partial_{x}g^{B,C}(S)|\leq\gamma.

(Completeness) For every S⊆US\subseteq U, F(S)⊆S⊆V(F(S))F(S)\subseteq S\subseteq V(F(S)) and gF(S)(S)=f(S).g^{F(S)}(S)=f(S).

(Uniqueness) For every gB,C∈Gg^{B,C}\in{\cal G}, F(S)=(B,C)F(S)=(B,C) if and only if B,C⊆S⊆V(B,C)B,C\subseteq S\subseteq V(B,C) and S∩T(B,C)=∅S\cap T(B,C)=\emptyset.

(Size) The size of G{\cal G} is at most ∣G∣=∣U∣O(1/γ)|{\cal G}|=|U|^{O(1/\gamma)}. Moreover, given tolerant oracle access to ff with tolerance γ/12\gamma/12, we compute F,V,TF,V,T in time ∣U∣O(1/γ)|U|^{O(1/\gamma)}.

For every gB,C∈Gg^{B,C}\in{\cal G}, gB,Cg^{B,C} is submodular and sup⁡x∈V(B,C),S⊆V(B,C)∣∂xgB,C(S)∣≤γ\sup_{x\in V(B,C),S\subseteq V(B,C)}|\partial_{x}g^{B,C}(S)|\leq\gamma.

Submodularity follows directly from Property 1 of Lemma 3.7. The same property of the lemma guarantees that for every gB∈G(f)g^{B}\in{\cal G}(f) and gC∈G(B)g^{C}\in{\cal G}(B), sup⁡x∈VB(C),S⊆VB(C)∂xgC(S)≤γ\sup_{x\in V_{B}(C),S\subseteq V_{B}(C)}\partial_{x}g^{C}(S)\leq\gamma. Moreover, by (8), inf⁡x∈Vf(B),S⊆Vf(B)∂xg‾B(S)≥−γ\inf_{x\in V_{f}(B),S\subseteq V_{f}(B)}\partial_{x}\overline{g}^{B}(S)\geq-\gamma. Taken together, we obtain sup⁡x∈V(B,C),S⊆V(B,C)∣∂xgB,C(S)∣≤γ\sup_{x\in V(B,C),S\subseteq V(B,C)}|\partial_{x}g^{B,C}(S)|\leq\gamma. ∎

Item 2 will follow from the analogous property in Lemma 3.7 almost directly. To construct the mapping F(S)F(S), we want to first compute the appropriate function gB∈G(f)g^{B}\in{\cal G}(f), using Ff(S)F_{f}(S) and then find the appropriate function gC∈G(B)g^{C}\in{\cal G}(B) using FB(S)F_{B}(S). Thus we can take F(S)=(Ff(S),FFf(S)(S))F(S)=(F_{f}(S),F_{F_{f}(S)}(S)). By Lemma 3.7, Item 2 we have B⊆S⊆Vf(B)B\subseteq S\subseteq V_{f}(B) and C⊆S⊆VB(C)C\subseteq S\subseteq V_{B}(C), so we conclude B,C⊆S⊆V(B,C)B,C\subseteq S\subseteq V(B,C).

Definition of T𝑇T and proof of Item 3.

Item LABEL:item:unique2 will also follow from the analogous property in Lemma 3.7. By Lemma 3.7, Item 3, we have that Ff(S)=BF_{f}(S)=B if and only if B⊆S⊆Vf(B)B\subseteq S\subseteq V_{f}(B) and S∩Tf(B)=∅S\cap T_{f}(B)=\emptyset. By the same Lemma, we also have that FB(S)=CF_{B}(S)=C if and only if C⊆S⊆VB(C)C\subseteq S\subseteq V_{B}(C) and S∩TB(C)=∅S\cap T_{B}(C)=\emptyset. So if we define T(B,C)=Tf(B)∪TB(C)T(B,C)=T_{f}(B)\cup T_{B}(C), we can conclude that F(S)=(B,C)F(S)=(B,C) if and only if B,C⊆S⊆V(B,C)B,C\subseteq S\subseteq V(B,C) and S∩T(B,C)=∅S\cap T(B,C)=\emptyset.

Now it is clear that F(S)=(B,C)F(S)=(B,C) if Ff(S)=BF_{f}(S)=B and FB(S)=CF_{B}(S)=C, which by Property 3 of Lemma 3.7 necessitates that B⊆S⊆Vf(B)B\subseteq S\subseteq V_{f}(B), S∩Tf(B)=∅S\cap T_{f}(B)=\emptyset, C⊆S⊆VB(S)C\subseteq S\subseteq V_{B}(S), and S∩TB(C)=∅S\cap T_{B}(C)=\emptyset. We have already defined V(B,C)V(B,C) and now we define T(B,C)=Tf(B)∪TB(C)T(B,C)=T_{f}(B)\cup T_{B}(C). It is clear now that F(S)=(B,C)F(S)=(B,C) if and only if B,C⊆S⊆V(B,C)B,C\subseteq S\subseteq V(B,C) and S∩T(B,C)=∅S\cap T(B,C)=\emptyset.

The size of G{\cal G} and running time bounds in Property LABEL:item:efficient2 also follow directly from the analogous property of Lemma 3.1. The fact that we can compute the family G{\cal G} and the associated mappings F,V,TF,V,T using oracle access to ff with tolerance γ/12\gamma/12 follows from the fact that each invocation of Lemma 3.1 can be computed using queries with tolerance γ/12\gamma/12 and from the fact that Algorithm 4 only queries ff in order to invoke Lemma 3.7. This completes the proof of the Theorem. ∎

We now present our algorithm for learning arbitrary submodular functions over product distributions. For a subset of the universe V⊆CV\subseteq C, let DV{\cal D}_{V} denote the distribution D{\cal D} restricted to the variables in VV. Note that if D{\cal D} is a product distribution, then DV{\cal D}_{V} remains a product distribution and is easy to sample from.

To avoid notational clutter, throughout this section we will not consider the details of how we construct our estimate μg\mu_{g}. However, it is an easy observation that this quantity can be estimated to a sufficiently high degree of accuracy using a small number of random samples.

For any α,β∈(0,1]\alpha,\beta\in(0,1], Algorithm 5 (α,β)(\alpha,\beta)-approximates any submodular function f ⁣:2U→f\colon 2^{U}\to under any product distribution in time ∣U∣O(α−2log⁡(1/β))|U|^{O(\alpha^{-2}\log(1/\beta))} using oracle queries to ff of tolerance α2/72log⁡(1/β)\alpha^{2}/72\log(1/\beta)

For a set S⊆US\subseteq U, we let (B,C)=F(S)(B,C)=F(S) and gB,Cg^{B,C} be the corresponding submodular function as in Theorem 3.12. Note that since the queries have tolerance α2/72log⁡(1/β)≤γ/12\alpha^{2}/72\log(1/\beta)\leq\gamma/12, the lemma applies. We will analyze the error probability as if the estimates μgB\mu_{g^{B}} were computed using exact oracle queries to ff, and will note that using tolerant queries to ff can only introduce an additional error of α2/72log⁡(1/β)≤α/6\alpha^{2}/72\log(1/\beta)\leq\alpha/6. We claim that, under this condition We claim that

To see this, recall that for every S⊆US\subseteq U, gF(S)(S)=f(S)g^{F(S)}(S)=f(S). By Property 3 of Lemma 3.1, the condition that B=F(S)B=F(S) is equivalent to the conditions that B,C⊆S⊆V(B,C)B,C\subseteq S\subseteq V(B,C) and S∩T(B,C)=∅S\cap T(B,C)=\emptyset. Hence,

Now, applying the concentration inequality for submodular functions stated as Corollary 2.2, we get

Plugging in t=5α/6γ=5log⁡(2/β)αt=5\alpha/6\gamma=\frac{5\log(2/\beta)}{\alpha} and simplifying we get \varmathbbPr⁡S∼DV(B,C)∖T(B,C){∣gB,C(S)−μgB,C∣>α}≤β .\operatorname*{\varmathbb{P}r}_{S\sim{\cal D}_{V(B,C)\setminus T(B,C)}}\left\{\left|g^{B,C}(S)-\mu_{g^{B,C}}\right|>\alpha\right\}\leq\beta\,. Combining this with Equation (3.2), the claim follows. ∎

Applications to privacy-preserving query release

In this section, we show how to apply our algorithm from Section 3 to the problem of releasing monotone conjunctions over a boolean database. In Section 4.1, we also show how our mechanism can be applied to release the cut function of an arbitrary graph.

Let us now begin with the monotone disjunctions. We will then extend the result to monotone conjunctions. Given our previous results, we only need to argue that monotone disjunctions can be described by a submodular function. Indeed, every element S∈{0,1}dS\in\{0,1\}^{d} naturally corresponds to a monotone Boolean disjunction dS ⁣:{0,1}d→{0,1}d_{S}\colon\{0,1\}^{d}\to\{0,1\} by putting

Note that in contrast to Section 3 here we use xx to denote an element of {0,1}d.\{0,1\}^{d}. Let FDisj:{0,1}d→F_{\textrm{Disj}}:\{0,1\}^{d}\rightarrow be the function such that FDisj(S)=dS(D)F_{\textrm{Disj}}(S)=d_{S}(D). It is easy to show that FDisj(S)F_{\textrm{Disj}}(S) is a monotone submodular function.

FDisjF_{\textrm{Disj}} is a monotone submodular function.

Let Xi+X_{i}^{+} denote the set of elements x∈Dx\in D such that xi=1x_{i}=1, and let Xi−X_{i}^{-} denote the set of elements x∈Dx\in D such that xi=0x_{i}=0. Consider the set system U={Xi+,Xi−}i=1dU=\{X_{i}^{+},X_{i}^{-}\}_{i=1}^{d} over the universe of elements x∈Dx\in D. Then there is a natural bijection between FDisj(D)F_{\textrm{Disj}}(D) and the set coverage function Cov:2U→[0,∣D∣]\textrm{Cov}:2^{U}\rightarrow[0,|D|] defined to be Cov(S)=∣⋃X∈UX∣\textrm{Cov}(S)=|\bigcup_{X\in U}X|, which is a monotone submodular function. ∎

We therefore obtain the following corollary directly by combining Theorem 3.11 with Proposition 2.1.

Let α,β,ε>0.\alpha,\beta,\varepsilon>0. There is an ε\varepsilon-differentially private algorithm that (α,β)(\alpha,\beta)-releases the set of monotone Boolean disjunctions over any product distribution in time dt(α,β)d^{t(\alpha,\beta)} for any data set of size ∣D∣≥dt(α,β)/ε|D|\geq d^{t(\alpha,\beta)}/\varepsilon where t(α,β)=O(α−2log⁡(1/β)).t(\alpha,\beta)=O(\alpha^{-2}\log(1/\beta)).

For completeness, we will present the algorithm for privately releasing monotone disjunctions over a product distribution D{\cal D} for a data set DD, though we will rely on Corollary 4.2 for the formal analysis.

We will next see that this corollary directly transfers to monotone conjunctions. A monotone Boolean conjunction cS:{0,1}d→{0,1}c_{S}:\{0,1\}^{d}\rightarrow\{0,1\} is defined as

Given the last equation, it is clear that in order to release conjunctions over some distribution, it is sufficient to release disjunctions over the same distribution after replacing every data item x∈Dx\in D by its negation xˉ,\bar{x}, i.e., xˉi=1−xi.\bar{x}_{i}=1-x_{i}. Hence, Corollary 4.2 extends directly to monotone conjunctions.

Note that the uniform distribution on disjunctions of width ww is not a product distribution, which is what we require to apply Theorem 3.14 directly. However, in Lemma 4.3 we show that for monotone submodular functions (such as FDisjDF_{\textrm{Disj}}^{D}) the concentration of measure property required in the proof Theorem 3.14 is still satisfied. Of course, we can instantiate the theorem for every w∈{1,…,k}w\in\{1,\dots,k\} to obtain a statement for conjunctions of any width.

Indeed, given a monotone submodular function f ⁣:2U→\varmathbbRf\colon 2^{U}\rightarrow\varmathbb{R}, let S∈2US\in 2^{U} be the random variable where for every x∈U,x\in U, independently x∈Sx\in S with probability w/dw/d and x∉Sx\not\in S with probability 1−w/d.1-w/d. On the other hand, let T∈2UT\in 2^{U} denote the uniform distribution over strings in 2U2^{U} of weight w.w. The following lemma is due to Balcan and Harvey [BH10].

Assume f:2U→\varmathbbRf:2^{U}\rightarrow\varmathbb{R} is monotone function, and SS and TT are chosen at random as above. Then,

Throughout this section we focus on the case of monotone disjunctions and conjunctions. Our algorithm can be extended to non-monotone conjunctions/disjunctions as well. However, this turns out to be less interesting than the monotone case. Indeed, a random non-monotone conjunction of width ww is false on any fixed data item with probability 2−w2^{-w}, thus when w≥log⁡(1/α)w\geq\log(1/\alpha), the constant function is a good approximation to FDisjF_{Disj} on a random non-monotone conjunction of width ww. We therefore omit the non-monotone case from our presentation.

1 Releasing the cut function of a graph

Consider a graph G=(V,E)G=(V,E) in which the edge-set represents the private database (We assume here that each individual is associated with a single edge in GG. The following discussion generalizes to the case in which individuals may be associated with multiple edges, with a corresponding increase in sensitivity). The cut function associated with GG is fG:2V→f_{G}:2^{V}\rightarrow, defined as:

We observe that the graph cut function encodes a collection of counting queries over the database EE and so has sensitivity 1/∣V∣21/|V|^{2}.

For any graph GG, fGf_{G} is submodular.

The decomposition from Theorem 3.12 constructs a collection of functions G{\cal G} of size ∣G∣≤22/α|{\cal G}|\leq 2^{2/\alpha}.

Let u∈Vu\in V, and S⊂VS\subset V such that ∣∂ufG(S)∣≥α|\partial_{u}f_{G}(S)|\geq\alpha. It must be that the degree of uu in GG is at least α⋅∣E∣\alpha\cdot|E|. But there can be at most 2/α2/\alpha such high-influence vertices, and therefore at most 22/α2^{2/\alpha} subsets of high influence vertices. ∎

Algorithm 5 can be used to privately (α,β)(\alpha,\beta)-release the cut function on any graph over any product distribution in time t(α,β,ε)t(\alpha,\beta,\varepsilon) for any database of size ∣D∣≥t(α,β,ε)|D|\geq t(\alpha,\beta,\varepsilon), while preserving ε\varepsilon-differential privacy, where:

This follows directly from a simple modification of Theorem 3.14, by applying Lemma 4.4 and plugging in the size of the decomposition G{\cal G}. The algorithm can then be made privacy preserving by applying proposition 2.1. ∎

Equivalence between agnostic learning and query release

In this section we show an information-theoretic equivalence between agnostic learning and query release in the statistical queries model. In particular, given an agnostic learning algorithm for a specific concept class we construct a query release algorithm for the same concept class.

Consider a distribution AA over X×{0,1}X\times\{0,1\} and a concept class CC. An agnostic learning algorithm (in the strong sense) finds the concept q∈Cq\in C that approximately maximizes \varmathbbPr⁡(x,b)∼A{q(x)=b}\operatorname*{\varmathbb{P}r}_{(x,b)\sim A}\left\{q(x)=b\right\} to within an additive error of α\alpha. Our reduction from query release to agnostic learning actually holds even for weak agnostic learning. A weak agnostic learner is not required to maximize \varmathbbPr⁡(x,b)∼A{q(x)=b}\operatorname*{\varmathbb{P}r}_{(x,b)\sim A}\left\{q(x)=b\right\}, but only to find a sufficiently good predicate qq provided that one exists.

Note that if we can agnostically learn CC in the strong sense from queries of tolerance τ\tau to within additive error α−β\alpha-\beta with probability 1−γ,1-\gamma, then there is also an (α,β,γ,τ)(\alpha,\beta,\gamma,\tau)-weak agnostic learner.

We are now ready to state the main result of this section, which shows that a weak agnostic SQ-learner for any concept class is sufficient to release the same concept class in the SQ model.

Let CC be a concept class. Let A{\cal A} be an algorithm that (α/2,β,γ,τ)(\alpha/2,\beta,\gamma,\tau) weak agnostic-SQ learns CC with τ≤β/8\tau\leq\beta/8. Then there exists an algorithm B{\cal B} that invokes A{\cal A} at most T=8log⁡∣X∣/β2T=8\log|X|/\beta^{2} times and (α,0)(\alpha,0)-releases CC with probability at least 1−Tγ1-T\gamma.

The proof strategy is as follows. We will start from D0D_{0} being the uniform distribution over X.X. We will then construct a short sequence of distributions D1,D2,…,DTD_{1},D_{2},\dots,D_{T} such that no concept in CC can distinguish between DD and DTD_{T} up to bias α.\alpha. Each distribution DtD_{t} is obtained from the previous one using a multiplicative weights approach as in [HR10] and with the help of the learning algorithm that’s given in the assumption of the theorem. Intuitively, at every step we use the agnostic learner to give us the predicate qt∈Cq_{t}\in C which distinguishes between DtD_{t} and D.D. In order to accomplish this we feed the agnostic learner with the distribution AtA_{t} that labels elements sampled from DD by 11 and elements sampled from DtD_{t} by 0.0. For a technical reason we also need to consider the distribution with and 11 flipped. Once we obtained qtq_{t} we can use it as a penalty function in the update rule of the multiplicative weights method. This has the effect of bringing DD and DtD_{t} closer in relative entropy. A typical potential argument then bounds the number of update steps that can occur before we reach a distribution DtD_{t} for which no good distinguisher in CC exists.

We start by relating the probability that qtq_{t} predicts bb from xx on the distribution At+A^{+}_{t} to the difference in expectation of qtq_{t} on DD and Dt−1D_{t-1}.

Note that \varmathbbPr⁡(x,b)∼At−{q(x)=b}=1−\varmathbbPr⁡(x,b)∼At−{q(x)=(1−b)}=1−\varmathbbPr⁡(x,b)∼At+{q(x)=b}\operatorname*{\varmathbb{P}r}_{(x,b)\sim A^{-}_{t}}\{q(x)=b\}=1-\operatorname*{\varmathbb{P}r}_{(x,b)\sim A^{-}_{t}}\{q(x)=(1-b)\}=1-\operatorname*{\varmathbb{P}r}_{(x,b)\sim A^{+}_{t}}\{q(x)=b\}, so if qt=qt−q_{t}=q^{-}_{t} then

We will argue that in every step the potential drops by at least β2/4\beta^{2}/4 Hence, we know that there can be at most 4log⁡∣X∣/α24\log|X|/\alpha^{2} steps before we reach a distribution that satisfies (13).

The next lemma gives a lower bound on the potential drop in terms of the concept, qtq_{t}, returned by the learning algorithm at time tt. Recall, that η\eta (used below) is the penalty parameter used in the multiplicative weights update rule.

From Lemma 5.2 we have that for every q∈Cq\in C

Thus α≥(\varmathbbE⁡x∼Dq(x)−\varmathbbE⁡x∼Dtqt(x))\alpha\geq\left(\operatorname*{\varmathbb{E}}_{x\sim D}q(x)-\operatorname*{\varmathbb{E}}_{x\sim D_{t}}q_{t}(x)\right). Similarly,

Thus −α≤(\varmathbbE⁡x∼Dq(x)−\varmathbbE⁡x∼Dtqt(x))-\alpha\leq\left(\operatorname*{\varmathbb{E}}_{x\sim D}q(x)-\operatorname*{\varmathbb{E}}_{x\sim D_{t}}q_{t}(x)\right). So we conclude α≥∣\varmathbbE⁡x∼Dq(x)−\varmathbbE⁡x∼Dtqt(x)∣.\alpha\geq\left|\operatorname*{\varmathbb{E}}_{x\sim D}q(x)-\operatorname*{\varmathbb{E}}_{x\sim D_{t}}q_{t}(x)\right|. ∎

Assuming Equation (13) is not satisfied we have that

The leftmost inequality follows because τ≤β/8\tau\leq\beta/8. We then get

Hence, if we put T≥4log⁡∣X∣/β2,T\geq 4\log|X|/\beta^{2}, we must reach a distribution that satisfies (13). But at that point, call it tt, the subroutine A{\cal A} outputs a concept qtq_{t} such that

But this is what we wanted to show, since it means that our output on all concepts in CC will be accurate up to error α.\alpha. ∎

We remark that for clarity, we let the failure probability of the release algorithm grow linearly in the number of calls we made to the learning algorithm (by the union bound). However, this is not necessary: we could have driven down the probability of error in each stage by independent repetition of the agnostic learner.

This equivalence between release and agnostic learning also can easily be seen to hold in the reverse direction as well.

Run B(Y){\cal B}(Y) to obtain answers a1Y,…,a∣C∣Ya^{Y}_{1},\ldots,a^{Y}_{|C|}, and run B(N){\cal B}(N) to obtain answers a1N,…,a∣C∣Na^{N}_{1},\ldots,a^{N}_{|C|}. Note that this takes at most 2k2k oracle queries, using the simulation described above, by our assumption on B{\cal B}. By the union bound, except with probability 2γ2\gamma, we have for all qi∈Cq_{i}\in C: ∣qi(Y)−aiY∣≤α|q_{i}(Y)-a^{Y}_{i}|\leq\alpha and ∣qi(B)−aiN∣≤α|q_{i}(B)-a^{N}_{i}|\leq\alpha. Let q∗=arg⁡max⁡qi∈C(aiY−aiN)q^{*}=\arg\max_{q_{i}\in C}(a^{Y}_{i}-a^{N}_{i}). Observe that q∗(D)≥max⁡q∈Cq(D)−2αq^{*}(D)\geq\max_{q\in C}q(D)-2\alpha, and so we have agnostically learned CC up to error 2α2\alpha. ∎

Feldman proves that even monotone conjunctions cannot be agnostically learned to subconstant error with polynomially many SQ queries:

Let CC be the class of monotone conjunctions. Let k(d)k(d) be any polynomial in dd, the dimension of the data space. There is no algorithm A{\cal A} which agnostically learns CC to error o(1)o(1) using k(D)k(D) queries to STAT1/k(d)\textrm{STAT}_{1/k(d)}.

For any polynomial in dd, k(d)k(d), no algorithm that makes k(d)k(d) statistical queries to a database of size k(d)k(d) can release the class of monotone conjunctions to error o(1)o(1).

Note that formally, Corollary 5.7 only precludes algorithms which release the approximately correct answers to every monotone conjunction, whereas our algorithm is allowed to make arbitrary errors on a small fraction of conjunctions.

It can be shown that the lower bound from Corollary 5.7 in fact does not hold when the accuracy requirement is relaxed so that the algorithm may err arbitrarily on 11% of all the conjunctions. Indeed, there is an inefficient algorithm (runtime poly(2d){\rm poly}(2^{d})) that makes poly(d){\rm poly}(d) statistical queries and releases random conjunctions up to a small additive error. The algorithm roughly proceeds by running multiplicative weights privately (as in [HR10] or above) while sampling, say, 10001000 random conjunctions at every step and checking if any of them have large error. If so, an update occurs. We omit the formal description and analysis of the algorithm.

We also remark that the proofs of Theorems 5.1 and 5.5 are not particular to the statistical queries model: we showed generically that it is possible to solve the query release problem using a small number of black-box calls to a learning algorithm, without accessing the database except through the learning algorithm. This has interesting implications for any class of algorithms that may make only restricted access to the database. For example, this also proves that if it is possible to agnostically learn some concept class CC while preserving ε\varepsilon-differential privacy (even using algorithms that do not fit into the SQ model), then it is possible to release the same class while preserving Tε≈log⁡∣X∣εT\varepsilon\approx\log|X|\varepsilon-differential privacy.

Acknowledgments

We would like to thank Guy Rothblum and Salil Vadhan for many insightful discussions, and Nina Balcan and Nick Harvey for pointing out key distinctions between our algorithmic model and that of [BH10].

References