Single-point distinguishing step from membership-query learners #
This module formalizes an information-theoretic single-point distinguishing step after
[Val84] and [GGM86] (locators unverified), not the cited computational unlearnability
theorem. A membership-query learner for a class that contains every member of a keyed family F of
Boolean functions is compared with the oracle at a single fresh point: on a member of the family,
the learner is accurate with error ε except with probability δ, so the comparison succeeds with
probability at least (1 - δ) (1 - ε). On a uniformly random function, the value at a point the
learner did not query is a fair coin independent of everything the learner saw, so the comparison
succeeds with probability at most 1 / 2 + q / 2 ^ (N + 1) for a learner making at most q
queries on a cube of N coordinates.
The statements fix the learner's seed ω and the comparison point z, which turns the test into a
deterministic function of the oracle (UniformLearning.QueryLearner.agrees A ω z). The theorem
UniformLearning.QueryLearner.exists_dens_agrees_sub_dens_agrees finds ω and z for which the
fraction of keys on which the test accepts exceeds the fraction of all functions on which it accepts
by at least (1 - δ) (1 - ε) - 1 / 2 - q / 2 ^ (N + 1). Fixing them is the averaging step that
makes the test a small circuit when the learner is one
(CslibFrontier.MachineLearning.UniformLearning.CryptoHardness.Circuit); the nonuniform GGM step
is CslibFrontier.MachineLearning.UniformLearning.CryptoHardness.GGM. The statements apply to
adaptive learners. Because only one point z is tested, the advantage lower bound is positive only
when (1 - δ) (1 - ε) > 1 / 2 + q / 2 ^ (N + 1) (vacuous for weak learners); a uniform randomized
multi-point distinguisher and the polynomial-time Valiant/GGM theorem remain open on
#4927.
Main definitions #
Cslib.MachineLearning.UniformLearning.QueryLearner.agrees: the test that runs the learner with a fixed seed and compares its hypothesis with the oracle at a fixed point.
Main results #
Cslib.MachineLearning.UniformLearning.QueryLearner.expect_dens_agrees_le: against a uniformly random function and a uniform point, the learner with any seed agrees with the function with probability at most1 / 2 + q / 2 ^ (N + 1).Cslib.MachineLearning.UniformLearning.le_expect_dens_eq: hypotheses with error at mostεexcept on aδfraction of the indices agree with their targets with probability at least(1 - δ) (1 - ε).Cslib.MachineLearning.UniformLearning.QueryLearner.exists_le_expect_dens_agrees: some seed makes the test accept the members of the family with probability at least(1 - δ) (1 - ε).Cslib.MachineLearning.UniformLearning.QueryLearner.exists_dens_agrees_sub_dens_agrees: single-point averaging step giving a fixed-seed, fixed-point distinguisher with advantage at least(1 - δ) (1 - ε) - 1 / 2 - q / 2 ^ (N + 1).
References #
The test built from the learner A with the seed ω and the point z: run A on the oracle
g, and accept when its hypothesis agrees with g at z.
An unqueried point is a fair coin. Let A make at most q queries. For every seed, the
hypothesis of A on a uniformly random function agrees with the function at a uniform point with
probability at most 1 / 2 + q / 2 ^ (N + 1), where N is the number of coordinates. Flipping the
value of the function at a point z that A did not query leaves the hypothesis unchanged and
negates the value at z, so exactly one of the two functions is accepted.
Accurate hypotheses agree on average. Let K be a finite index set, and for each k let
h k be a hypothesis for the target F k. If at most a δ fraction of the indices have error
above ε ≤ 1, then h k and F k agree at a uniform point with probability at least
(1 - δ) (1 - ε), over a uniform index and point: an accurate hypothesis agrees on at least a
1 - ε fraction of the points.
The learner is accurate on the family. Let A learn, with error ε and confidence
1 - δ, a class containing every member of the keyed family F. Then some seed makes A agree
with a member of the family at a uniform point with probability at least (1 - δ) (1 - ε), over a
uniform key and point.
A single-point averaging step after [Val84] (locator unverified), not the cited
computational unlearnability theorem. Let A make at most q queries and learn, with error
ε ≤ 1 and confidence 1 - δ, a class containing every member of the keyed family F of Boolean
functions on N coordinates. Then for some seed ω and point z, the single-point test
A.agrees ω z accepts the member of a uniformly random key more often than a uniformly random
function by at least (1 - δ) (1 - ε) - 1 / 2 - q / 2 ^ (N + 1). The bound is positive only when
(1 - δ) (1 - ε) > 1 / 2 + q / 2 ^ (N + 1); a uniform multi-point distinguisher stays open on
#4927.