Learning from statistical queries #
In Kearns's statistical query model [Kea98] a learner does not see labelled examples of the
unknown target c : X → Bool. Instead it asks an oracle for the expectations
E_{x ∼ D} [φ (x, c x)] of bounded functions φ of a labelled example, and the oracle may answer
any value within a tolerance τ of the truth. Here:
- a statistical query (
StatisticalQuery.Query) is a functionφ : X → Bool → ℝwith|φ x y| ≤ 1, and its expectation under the distributionDlabelled bycisStatisticalQuery.expect D c φ; - a learner (
StatisticalQuery.Algorithm) is a deterministic program whose calls are queries, answered by reals, and which returns a hypothesisX → Bool; its number of queries is bounded byOracleComp.IsQueryBounded; - a learner learns a concept class
CunderDwith toleranceτand errorε(StatisticalQuery.Learns) if for every targetc ∈ Cand every way of answering each call withinτof the expectation, possibly adaptively, the hypothesis disagrees withcon a set ofD-probability at mostε(StatisticalQuery.disagreement).
Kearns's queries are predicates χ : X × {0, 1} → {0, 1} and those of [Reyzin, Definition 2]
[Rey20] take values in {-1, 1}; both are queries here, as are their affine images. Kearns
attaches a tolerance to each query; a learner whose tolerances are all at least τ is in
particular a learner with the single tolerance τ, so lower bounds for the single tolerance apply
to it. As in Kearns's Definition 3 there is no confidence parameter: the oracle is adversarial but
always within tolerance. A learner that is correct against every fixed answer function within
tolerance (StatisticalQuery.LearnsStateless) is all that the lower bounds need, and every learner
satisfying StatisticalQuery.Learns is one (StatisticalQuery.Learns.learnsStateless).
The correlation StatisticalQuery.corr D f g of two concepts is E_D [f · g] for their ±1
values (Cslib.BitString.signVal); it is 1 - 2 · disagreement D f g
(StatisticalQuery.corr_eq_one_sub_two_mul_disagreement).
Main definitions #
Cslib.MachineLearning.StatisticalQuery.Query: a statistical query.Cslib.MachineLearning.StatisticalQuery.Algorithm: a deterministic statistical query learner.Cslib.MachineLearning.StatisticalQuery.expect: the expectation of a query.Cslib.MachineLearning.StatisticalQuery.valid: the answers within tolerance.Cslib.MachineLearning.StatisticalQuery.run: running a learner against an answer function.Cslib.MachineLearning.StatisticalQuery.disagreement,Cslib.MachineLearning.StatisticalQuery.corr: the error of a hypothesis and the correlation of two concepts.Cslib.MachineLearning.StatisticalQuery.Learns,Cslib.MachineLearning.StatisticalQuery.LearnsStateless: learning from statistical queries.
Main results #
Cslib.MachineLearning.StatisticalQuery.corr_eq_one_sub_two_mul_disagreement.Cslib.MachineLearning.StatisticalQuery.Learns.learnsStateless: a learner against adaptive answers is a learner against answer functions.Cslib.MachineLearning.StatisticalQuery.Learns.mono: learning is monotone in the class, the tolerance and the error.
References #
A statistical query about labelled examples of X: a function of a point and its label with
values in [-1, 1].
The value of the query at a point and a label.
The values lie in
[-1, 1].
Instances For
The interface of a statistical query learner: a query is answered by a real number.
A deterministic statistical query learner: a program making queries and returning a hypothesis.
The learner A learns the concept class C under D from statistical queries of tolerance
τ with error ε: for every target c ∈ C, whatever answers within τ of the expectations the
oracle gives, possibly depending on the earlier calls, the hypothesis disagrees with c with
probability at most ε [Kearns1998, Definition 3].
The learner A learns C under D with tolerance τ and error ε against every answer
function within tolerance: an oracle answering each query by a fixed value within τ of its
expectation. This is weaker than Learns (Learns.learnsStateless), so lower bounds stated for
it apply to Learns.
A learner against adaptive answers is a learner against answer functions.
Learning is monotone: a smaller class, a smaller tolerance and a larger error.