Query-count and hypothesis-size step toward learning AC⁰[2] with the rank property #
This module formalizes the query-count and nonuniform De Morgan hypothesis-size step toward
[Carmosino et al., Theorem 5.1 (p. 10:19) and Corollary 5.4 (p. 10:20)]
[CIKK16] for p = 2 and a fixed depth d and size s, using
the GF(2) rank property as the test. It is not CIKK Theorem 5.1 or Corollary 5.4: cikkLearner
is noncomputable with no machine-level running-time certificate, learns_cikkLearner_rankTest does
not use constructivity of rankProperty at all, and without a running-time certificate query count
and nonuniform hypothesis size alone do not separate CIKK from noncomputable empirical risk
minimization. The machine-level running-time certificate (IsOraclePPTOn) and odd primes p
remain open on #798, and the
abstract property-to-learner form of Theorem 5.1 remains open on
#4635.
The CIKK learner (Cslib.MachineLearning.UniformLearning.learns_cikkLearner) needs a test that is
dense and rejects every output g_z of the black-box generator on the amplified target. Take the
test that accepts the truth tables of the rank property at the input length
ℓ = cikkAC0Len d e n s g and the advantage exponent g = cikkAC0Gap d e n s
(CslibFrontier.Computability.Circuit.Boolean.Razborov.LearningParams). It accepts at least half of
the truth tables, which covers the density hypothesis by the fixed point ℓ + 2 ≤ g. Each g_z
is computed by a circuit with MOD_2 gates of depth at most d + 7 and size at most
S(g) = k s + 6 (k n + k)² + 3 (Cslib.Crypto.PRG.NisanWigderson.exists_circuit_generator_glAmp),
so the rank test rejects it. The proof instantiates the per-length step for constant-depth bases,
Cslib.MachineLearning.UniformLearning.learns_cikkLearner_of_hom, at σ = Unbounded.extSignature
and φ = Signature.Hom.id _.
The learner then makes at most (h + 1) 2 ^ (12 g + 6 e + 59) queries, and
g ≤ 2^{2D(5D+25)} B^{2D} with D = d + 7 and B the bit length of
M² (s + 6 (n + 1)² + 3), M = 2^{e+10} (3e + 42). For fixed d, B = O(e + log (n s)), so the
number of queries is 2 ^ O((e + log (n s)) ^ (2 d + 14)) times h + 1: quasi-polynomial in n,
s and the inverse error 2 ^ e.
The rank test is decided from the truth table by a De Morgan circuit with at most 173 · 8 ^ ℓ
gates (Cslib.Circuits.Boolean.Razborov.complexity_truthTableTest_rankTest_le). Composed with the
bound of the learner's hypotheses, affine in the test's circuit size
(Cslib.MachineLearning.UniformLearning.complexity_eval_cikkLearner_le_two_pow), and with
ℓ + 2 ≤ g, every hypothesis has a De Morgan circuit with at most 2 ^ (17 g + 9 e + 76) gates,
again quasi-polynomial for fixed d. Since the test is itself a small circuit, this bounds the
nonuniform circuit complexity of the mathematical leaf functions, not the size of a constructed
oracle circuit or a running time.
Gaps relative to [CIKK16] (tracked on #798 and #4635):
- Queries and nonuniform leaf size, not running time. Corollary 5.4 bounds the running time of
a randomized oracle algorithm outputting a circuit;
cikkLearneris noncomputable and no machine running time is certified. - Rank property. The test is this library's variant of the rank property (one square matrix,
threshold
C(n, a) / 2, levelsliceLevel; seeCslib.Circuits.Boolean.Razborov.RankProperty), with density1 / 2where Theorem 5.1 assumes largeness1 / 5. Its constructivity is unused inlearns_cikkLearner_rankTestand enters only through the De Morgan circuit-size bound on hypotheses, not NC² constructivity. p = 2only. Corollary 5.4 states every prime.- Hypothesis size. The hypotheses' bound is De Morgan circuit size with this library's constants; their depth is not certified, so they are not shown to lie in AC⁰[2] (Corollary 5.4's hypotheses are general circuits as well).
- Nonuniform target class. The class is fixed by
dands, with the input lengthn. The parametersgandℓare explicit closed forms rather than the source's choice ofLwithlog L > u⁻¹(poly)[Carmosino et al., proof of Theorem 5.1, p. 10:19] [CIKK16]; the depth overhead7is that of the library's generator circuits, and all constants are this library's.
The deviations of learns_cikkLearner (a single outer best-of selection, powers of two) carry
over.
Main results #
Cslib.MachineLearning.UniformLearning.learns_cikkLearner_rankTest: learning step for depth-d, size-scircuits withMOD_2gates using the rank test, with error2^{-e}and confidence1 - 2^{-h}(no running-time certificate).Cslib.MachineLearning.UniformLearning.queriesAtMost_cikkLearner_rankTest: query bound(h + 1) 2 ^ (12 g + 6 e + 59).Cslib.MachineLearning.UniformLearning.queriesAtMost_cikkLearner_rankTest_le: the same query bound in closed form ind,e,h,nands.Cslib.MachineLearning.UniformLearning.complexity_eval_cikkLearner_rankTest_le_two_pow: nonuniform De Morgan circuit-size bound2 ^ (17 g + 9 e + 76)for each hypothesis.Cslib.MachineLearning.UniformLearning.complexity_eval_cikkLearner_rankTest_le: the same hypothesis-size bound in closed form ind,e,nands.
References #
- [M. L. Carmosino, R. Impagliazzo, V. Kabanets, A. Kolokolova, Learning algorithms from natural proofs, Theorem 5.1 (p. 10:19) and Corollary 5.4 (p. 10:20)] [CIKK16]
A query-model learning step toward Carmosino et al., Theorem 5.1 (p. 10:19) and Corollary 5.4
(p. 10:20) for p = 2, not the cited running-time
theorem or corollary. With g = cikkAC0Gap d e n s and ℓ = cikkAC0Len d e n s g, the
noncomputable cikkLearner whose test accepts the truth tables of the rank property at ℓ learns
every function on n bits computed by a circuit with MOD_2 gates of depth at most d and size
at most s, with error 2^{-e} and confidence 1 - 2^{-h}. Constructivity of rankProperty is
not used in this proof and running time is not certified; machine-level runtime certification,
odd p, and abstract Theorem 5.1 stay open on
#798 and
#4635.
Query bound for the AC⁰[2] learning step: with g = cikkAC0Gap d e n s, the learner of
learns_cikkLearner_rankTest makes at most (h + 1) 2 ^ (12 g + 6 e + 59) queries (queries only,
not running time).
A closed-form query-count step toward [Carmosino et al., Corollary 5.4, p. 10:20]
[CIKK16] for p = 2, not the cited running-time bound. With
D = d + 7, M = 2^{e+10} (3e + 42) and B = ⌊log₂ (M² (s + 6 (n + 1)² + 3))⌋ + 1, the learner
of learns_cikkLearner_rankTest makes at most (h + 1) 2 ^ (12 · 2^{2D(5D+25)} B^{2D} + 6 e + 59)
queries, which is quasi-polynomial in n, s and 2 ^ e for fixed d. Running time and odd p
stay open on #798.
A nonuniform De Morgan hypothesis-size step toward Carmosino et al., Theorem 5.1 (p. 10:19)
and Corollary 5.4 (p. 10:20) for p = 2, not the
cited running-time result. With g = cikkAC0Gap d e n s, on every target f and seed, the
hypothesis of the learner of learns_cikkLearner_rankTest has a De Morgan circuit with at most
2 ^ (17 g + 9 e + 76) gates. This bounds nonuniform leaf size only (depth and running time are
not certified, and no circuit-outputting algorithm is built); those stay open on
#798.
A closed-form nonuniform hypothesis-size step toward [Carmosino et al., Corollary 5.4, p. 10:20]
[CIKK16] for p = 2, not the cited running-time result. With
D = d + 7, M = 2^{e+10} (3e + 42) and B = ⌊log₂ (M² (s + 6 (n + 1)² + 3))⌋ + 1, the
hypothesis of the learner of learns_cikkLearner_rankTest has a De Morgan circuit with at most
2 ^ (17 · 2^{2D(5D+25)} B^{2D} + 9 e + 76) gates, which is quasi-polynomial in n, s and
2 ^ e for fixed d. Depth and running time are not certified and stay open on
#798.