What Can We Learn Privately? V: Masked Parity Is Learnable by Adaptive but Not by Nonadaptive Statistical Queries Under the Uniform DistributionResearch Paper
Motivation
In the local model of differential privacy, each individual randomizes their own data before handing it to an untrusted learner. Local protocols are the deployed form of private data collection, and in practice every round of interaction with the population is expensive: the learner must broadcast new instructions and wait for new reports. Kasiviswanathan, Lee, Nissim, Raskhodnikova and Smith, What Can We Learn Privately? (arXiv:0803.0924v3, published in SIAM J. Comput. 40(3) (2011) 793–826, DOI 10.1137/090756090; theorem numbers below are those of arXiv v3) show that local learning is equivalent to learning with statistical queries (SQ) in the sense of Kearns (1998), and that the equivalence maps noninteractive local learners to nonadaptive SQ learners. The question whether interaction is ever necessary in the local model therefore becomes the question whether adaptivity is ever necessary for SQ learning.
This mission formalizes the paper's answer (§5.3, Theorem 5.16): a concept class, MASKED-PARITY, that an adaptive SQ learner learns exactly with queries in two rounds, while every nonadaptive SQ learner with fewer than exponentially many queries fails against a specific valid oracle, under the uniform distribution on examples.
Setting
Fix , a power of two. The domain is , with points , and examples are drawn from the uniform distribution on . For and , the concept is
where is the inner product modulo 2. MASKED-PARITY is the class : on the half it is the parity or its negation, according to the mask ; on the half it reveals the bit .
A statistical query is a function of an example and a label together with a tolerance . The SQ oracle for the target answers with any real such that ; the learner must succeed for every such answer. An SQ learner is nonadaptive if it fixes all its queries before receiving any answer, and adaptive otherwise. Write and .
The lower bound uses the decomposition of a query into and , the restrictions , of and to the half (equation (6)), and the oracle
Formalization targets
Goal: Theorem 5.16 (p. 27)
- There is a two-round SQ learner ( queries, then one), with -valued queries of tolerance at least , that outputs for every target and every valid answers.
- is a valid SQ oracle, and every nonadaptive learner making queries with values and tolerance at least , run against on a uniformly random target, satisfies
Milestones
- Proposition 5.18 (p. 28): the learner recovers and from every valid answers.
- Equation (7) (p. 29): .
- The oracle (p. 30): is valid and answers identically on and when .
- Orthogonality (p. 30): is if and otherwise.
- Bessel bound (p. 30): for -valued .
- Counting (p. 30): at most pairs have .
- (p. 30).
Significance
The result. Combined with the paper's equivalence between local and SQ learning (Theorem 5.14), Theorem 5.16 shows that interaction is sometimes necessary in local differential privacy: there is a class learnable by an interactive local protocol with polynomially many examples, but not by any noninteractive one with fewer than exponentially many (Corollary 5.17). The separation concerns strong learning under a fixed distribution; the paper notes that adaptive and nonadaptive SQ learning coincide for weak learning, and that a distribution-free separation was left open.
Formalizing it. The result is proved in the paper and has, to our knowledge, no machine-checked proof. The mission produces a self-contained Lean model of statistical query learning with labelled queries and adversarial oracles, a finite Fourier calculus for parities on (orthogonality and a Bessel inequality for -valued functions), and the counting and union-bound argument of SQ lower bounds. The proof of part (2) contains several printed slips (listed below); a formal proof settles the corrected argument.
Difficulty
The upper bound is a direct computation. The difficulty is in part (2): the learner's hypothesis may be any function, not a concept of the class, and the lower bound must hold for every nonadaptive strategy at once. A naive argument that each query "reveals little about " fails, because the true answer to a query does depend on ; the argument needs an oracle that is valid (within tolerance of the truth) and yet independent of on most targets, and a quantitative bound on how many targets any single -valued query can correlate with on the half . That bound is an statement over all concepts, not a pointwise one.
Formalization scope
- Domain and distribution. The index is encoded as
Fin d, and every theorem assumes (implicit in the paper). Vectors areFin d → ZMod 2, with 0-based bits. Expectations are averages over the finite domain; probabilities over the target are counts of pairs divided by . - Values. Concepts, hypotheses and queries are real-valued; labels are reals. Queries in part (1) take values in , as 's do; queries in part (2) take values on labels , as in the paper's proof. The paper allows non-Boolean queries (p. 19); a version of part (2) for real queries with values in is a true strengthening that the same argument supports, and is not stated.
- Oracles. An SQ oracle is adversarial within the tolerance: the upper bound holds for every valid answer. Part (2) exhibits the paper's oracle and asserts its validity for every . Without that conjunct an "oracle" that ignores the tolerance would make part (2) trivial; the statement rules this out.
- Learners. Learners are deterministic structures (a nonadaptive learner is a list of queries and tolerances plus an output map; a two-round learner's second-round queries are functions of the first-round answers). A randomized learner is a mixture over its coins and the bounds hold coin by coin. "Efficient" is not modelled. The informal "with a polynomial number of queries" is formalized through its quantitative "Specifically" sentence.
- Real powers. , and are real powers; no natural-number division is used.
- Corrections of the proof (not of the theorem). The event on p. 30 is printed with and ; the milestone uses and the strict , which is what the counting display and the oracle's test require. The quotient is printed as and equals ; "" should read . The final display of the proof gives , which is at least the theorem's bound.
Contributions welcome: the Fourier facts for (reusable for any parity-based SQ lower bound), the general decomposition (7), and the probability bound of part (2) from the milestones.
Selected references
- S. P. Kasiviswanathan, H. K. Lee, K. Nissim, S. Raskhodnikova, A. Smith, What Can We Learn Privately?, SIAM J. Comput. 40(3) (2011) 793–826. arXiv:0803.0924v3, DOI 10.1137/090756090.
- M. Kearns, Efficient noise-tolerant learning from statistical queries, J. ACM 45(6) (1998) 983–1006. DOI 10.1145/293347.293351.
- A. Blum, M. Furst, J. Jackson, M. Kearns, Y. Mansour, S. Rudich, Weakly learning DNF and characterizing statistical query learning using Fourier analysis, STOC 1994. DOI 10.1145/195058.195147.
- N. Bshouty, V. Feldman, On using extended statistical queries to avoid membership queries, J. Mach. Learn. Res. 2 (2002) 359–395. JMLR.