Query-count reconstruction step for the amplification (f^k)^GL #
This module formalizes a query-count black-box reconstruction step toward
[Carmosino, Impagliazzo, Kabanets and Kolokolova, Theorem 4.3 and its proof, pp. 10:15–10:16]
[CIKK16] for p = 2, not Theorem 4.3 itself: running time,
hypothesis circuit size (see CslibFrontier.MachineLearning.UniformLearning.CIKK.Complexity), and
AC⁰[2] computability of glAmp (via Definition 3.4) are not certified here. Machine-level
runtime certification (IsOraclePPTOn) and odd p remain open on
#798.
The amplification of Carmosino, Impagliazzo, Kabanets and Kolokolova for p = 2 is
Amp(f) = (f^k)^GL = glAmp f k. Here the black-box reduction
Cslib.MachineLearning.UniformLearning.QueryLearner.reduce turns a membership-query learner A
for Amp(f) into one for f with these parts:
- each query of
AtoAmp(f)is answered withkqueries tof(Cslib.MachineLearning.UniformLearning.glAmpQuery); - the hypothesis
hofAgoes through Goldreich–Levin decoding (Cslib.Circuits.Boolean.glAmpCandidate, after Claim 4.4); - the result goes through the direct-product decoder
(
Cslib.Circuits.Boolean.DirectProduct.dpDecode, after CIKK's Theorem 4.1).
The extra seed (Cslib.MachineLearning.UniformLearning.AmpSeed) holds the masks and parity guess
of the first decoder and the seed (P, b₀, v) of the second. ampLearner A s m K is the
reduction, and ampSeed μ k s m K is its seed distribution.
Reconstruction step (Cslib.MachineLearning.UniformLearning.learns_ampLearner).
Suppose A learns {glAmp f k | f ∈ C} with error 1/2 - γ and success probability p. Put
δ₀ = γ / 2^(K+3), and assume:
k ≤ 2 (γ/2)² (2^K - 1);2 s ≤ k;s ≥ (64/ε) log (512 / (ε δ₀²));m ≥ (16/δ₀) log (8/ε).
Then ampLearner A s m K learns C with error ε and success probability p δ₀² / 8. It makes
k queries for each query of A
(Cslib.MachineLearning.UniformLearning.queriesAtMost_ampLearner).
Gaps relative to [CarmosinoImpagliazzoKabanetsKolokolova2016, Theorem 4.3] (tracked on #798):
- Queries only, not time. The learning guarantee and query count are certified, and hypothesis
De Morgan circuit size is bounded separately in
CslibFrontier.MachineLearning.UniformLearning.CIKK.Complexity; running time andAC⁰[2]computability ofglAmpare not certified here. - (a) List loss. The Goldreich–Levin decoder is the corrected-majority decoder of
[GL89], which decodes the
kcoordinates separately. Its list has2^K = O(k / γ²)entries, where the source's Goldreich–Rubinfeld–Sudan decoder hasO(1 / γ²). - (b) A deterministic decoder per seed. The source outputs a random element of the list, with
expected agreement
Ω(γ³). Here each choice of masks and guess is a fixed function, and aδ₀fraction of the choices has agreement at leastδ₀(by reverse Markov). That is at leastγ³ / (36 k)for the least admissibleKwhenγ ≤ 1 / 2. - (c) Success probability. The success probability
p δ₀² / 8and the constants of the direct-product step are ours, from the tuple formulation of the decoder; they are not IJKW's. With the least admissibleK,δ₀² / 8 ≥ γ⁶ / (10368 k²), which is polynomial. - (d) Choice of
k. Sinceδ₀depends onk, the condition2 s ≤ kis a fixed point ink. Here the four conditions are hypotheses. The source fixesk = ⌈3c (1/ε) ln (1/γ)⌉ + 1.
Two interface choices are not in the source. ampLearner A s m K takes the size s of P
explicitly, since the seed type contains P. ampSeed needs [NeZero k], since a trial picks a
position in Fin k and the extra seed is empty when k = 0.
Main definitions #
Cslib.MachineLearning.UniformLearning.glAmpQuery: thekqueries tofthat computeglAmp f kat a point.Cslib.MachineLearning.UniformLearning.AmpSeed: the extra seed of the reconstruction.Cslib.MachineLearning.UniformLearning.ampLearner: the reconstruction.Cslib.MachineLearning.UniformLearning.ampSeed: its seed distribution.
Main results #
Cslib.MachineLearning.UniformLearning.eval_ampLearner: the output of the reconstruction.Cslib.MachineLearning.UniformLearning.queriesAtMost_ampLearner:kqueries per query ofA.Cslib.MachineLearning.UniformLearning.learns_ampLearner: query-model reconstruction step toward Theorem 4.3 forp = 2.
References #
The extra seed of the reconstruction: Goldreich–Levin masks and a guess of their parities,
then a direct-product seed, with a set P of s positions, a tuple b₀ of k blocks and m
trials.
The reconstruction of Amp(f) = glAmp f k. Run A, answering its queries with
glAmpQuery. Decode its hypothesis h with the Goldreich–Levin candidate for the masks and guess
of the seed, then with the direct-product decoder for the rest of the seed. The size s of the set
P is explicit because the seed type contains P; the source leaves it implicit.
The seed distribution of ampLearner: a seed of A drawn from μ, and an independent uniform
extra seed. It needs [NeZero k] and [Fact (s ≤ k)] because the extra seed is empty otherwise:
a trial picks a position in Fin k, and P is an s-subset of Fin k.
Run on f, the reconstruction decodes the hypothesis of A run on glAmp f k.
The reconstruction makes k queries to f for each query of A.
A query-model reconstruction step toward
[Carmosino, Impagliazzo, Kabanets and Kolokolova, Theorem 4.3 and Claim 4.4, pp. 10:15–10:16]
[CIKK16] for p = 2, not Theorem 4.3 itself. Suppose A
learns {glAmp f k | f ∈ C} with error 1/2 - γ and success probability p. Put
δ₀ = γ / 2^(K+3), and assume k ≤ 2 (γ/2)² (2^K - 1), 2 s ≤ k,
s ≥ (64/ε) log (512 / (ε δ₀²)) and m ≥ (16/δ₀) log (8/ε). Then ampLearner A s m K learns
C with error ε and success probability p δ₀² / 8. Running time, hypothesis size and AC⁰[2]
computability of glAmp are not certified here (the list loss, per-seed decoder, constants and
choice of k are described in the module docstring); runtime certification and odd p stay open
on #798.