Documentation

CslibFrontier.MachineLearning.UniformLearning.CIKK.Complexity

Nonuniform hypothesis-size step for the CIKK learner #

This module formalizes nonuniform De Morgan circuit-size bounds for the leaf functions of cikkLearner (Cslib.MachineLearning.UniformLearning.cikkLearner), as a step toward [Carmosino, Impagliazzo, Kabanets and Kolokolova, Theorem 5.1, p. 10:19] [CIKK16] for p = 2, not Theorem 5.1 itself: no oracle circuit is constructed, depth is not certified, and the learner's running time is not certified. Those gaps remain open on #798 and #4635.

Every output of the learner is the output of one of its runs. That run's hypothesis is the direct-product decoder over the Goldreich–Levin candidate over the Nisan–Wigderson hypothesis, so its size bound composes three bounds:

  1. the Nisan–Wigderson hypothesis (Cslib.MachineLearning.UniformLearning.complexity_eval_nwLearner_le) of the negated test, which costs one gate more than the test (Cslib.Circuits.Boolean.complexity_not_le);
  2. each output bit of the Goldreich–Levin candidate (Cslib.Circuits.Boolean.complexity_glAmpCandidate_apply_le);
  3. the direct-product decoder (Cslib.Circuits.Boolean.DirectProduct.complexity_dpDecode_le).

The bound Cslib.MachineLearning.UniformLearning.complexity_eval_cikkLearner_le is affine in the circuit complexity of the test, with T (F + 1) (2 ^ K - 1) copies of it for T = cikkTrials e g trials, F = cikkFixed e g fixed positions and K = cikkMasks e g masks. If the gates of the test cost one each, it matches the size of the corresponding oracle circuit after [Carmosino, Impagliazzo, Kabanets and Kolokolova, Theorem 5.1, p. 10:19] [CIKK16], though that oracle circuit is not built. The closed form Cslib.MachineLearning.UniformLearning.complexity_eval_cikkLearner_le_two_pow uses this library's constants and is not tight.

Main results #

References #

theorem Cslib.MachineLearning.UniformLearning.complexity_eval_ampLearner_le {k n : ℕ} {Ω : Type u_1} (A : QueryLearner (Fin (k * n + k)) Ω) (s m K : ℕ) (f : BooleanFunction n) (ω : Ω) (a : AmpSeed n k s m K) {c : ℕ} (hA : Circuits.complexity Circuits.Boolean.interpretation (Circuits.single ((A ω).eval (Circuits.Boolean.glAmp f k))) ≤ c) :
Circuits.complexity Circuits.Boolean.interpretation (Circuits.single ((ampLearner A s m K (ω, a)).eval f)) ≤ m * (s + 1) * ((2 ^ K - 1) * (c + 1) + (8 + 2 * (2 ^ K - 1) * (2 ^ K + 1))) + 3 * m + 1

Size of the reconstructed hypothesis. If the hypothesis of A on glAmp f k has circuit complexity at most c, the hypothesis of ampLearner A s m K on f has circuit complexity at most m (s + 1) ((2 ^ K - 1) (c + 1) + 8 + 2 (2 ^ K - 1) (2 ^ K + 1)) + 3 m + 1: the direct-product decoder over m trials and s fixed positions, over the output bits of the Goldreich–Levin candidate.

theorem Cslib.MachineLearning.UniformLearning.complexity_eval_cikkLearner_le (n ℓ e g h : ℕ) (test : BitString (2 ^ ℓ) → Bool) (f : BooleanFunction n) (ω : CikkSeedType n ℓ e g h) :
Circuits.complexity Circuits.Boolean.interpretation (Circuits.single ((cikkLearner n ℓ e g h test ω).eval f)) ≤ cikkTrials e g * (cikkFixed e g + 1) * ((2 ^ cikkMasks e g - 1) * (Circuits.complexity Circuits.Boolean.interpretation (Circuits.single test) + 2 ^ ℓ * (2 ^ (ℓ - 1) * (2 * (ℓ - 1) + 3) + 1) + 3) + (8 + 2 * (2 ^ cikkMasks e g - 1) * (2 ^ cikkMasks e g + 1))) + 3 * cikkTrials e g + 1

A nonuniform De Morgan circuit-size step toward the hypothesis bound of [Carmosino, Impagliazzo, Kabanets and Kolokolova, Theorem 5.1, p. 10:19] [CIKK16] for p = 2, not Theorem 5.1 itself. On any target and seed, the hypothesis of cikkLearner n ℓ e g h test has circuit complexity at most T (F + 1) ((2 ^ K - 1) (c + N + 3) + 8 + 2 (2 ^ K - 1) (2 ^ K + 1)) + 3 T + 1, where c is the circuit complexity of the test, N = 2 ^ ℓ (2 ^ (ℓ - 1) (2 (ℓ - 1) + 3) + 1) is the cost of the Nisan–Wigderson reconstruction around it, T = cikkTrials e g, F = cikkFixed e g and K = cikkMasks e g.

The bound is affine in c, with T (F + 1) (2 ^ K - 1) copies of the test. No oracle circuit is constructed, and depth and running time are not certified; those stay open on #798 and #4635.

theorem Cslib.MachineLearning.UniformLearning.nwTerm_le (ℓ : ℕ) :
2 ^ ℓ * (2 ^ (ℓ - 1) * (2 * (ℓ - 1) + 3) + 1) ≤ 2 ^ (3 * ℓ + 3)

The Nisan–Wigderson overhead term 2 ^ ℓ * (2 ^ (ℓ - 1) * (2 * (ℓ - 1) + 3) + 1) is at most 2 ^ (3 ℓ + 3).

Closed form of the hypothesis size: at most 2 ^ (11 g + 9 e + 3 ℓ + 80) (c + 1), where c is the circuit complexity of the test. The constant is this library's and is not tight.