Yao's minimax principle for decision trees #
The distributional complexity D^ν_ε(f) of f for a distribution ν on the inputs is the least
depth of a deterministic decision tree that errs with probability at most ε on inputs drawn from
ν (QueryComplexity.distributionalComplexity), specializing
Cslib.RandomizedCost.simplexDistributionalComplexity to DecisionTree.randomizedCost.
Yao's minimax principle [Yao1977, vonNeumann1928] says that the randomized complexity is the
distributional complexity of a hardest distribution: R_ε(f) = max_ν D^ν_ε(f)
(QueryComplexity.randomizedComplexity_eq_iSup_distributionalComplexity,
QueryComplexity.exists_distributionalComplexity_eq_randomizedComplexity). Both the averaging
direction (QueryComplexity.distributionalComplexity_le_randomizedComplexity) and the minimax
direction (QueryComplexity.exists_computes_of_forall_exists_distributionalError_le) instantiate
the StdSimplex layer of Cslib.RandomizedCost.
Main definitions #
Cslib.QueryComplexity.distributionalComplexity: the distributional complexityD^ν_ε(f).
Main results #
Cslib.QueryComplexity.distributionalComplexity_le_randomizedComplexity:D^ν_ε(f) ≤ R_ε(f).Cslib.QueryComplexity.exists_computes_of_forall_exists_distributionalError_le: the converse for a fixed depth.Cslib.QueryComplexity.randomizedComplexity_eq_iSup_distributionalComplexity: Yao's minimax principle,R_ε(f) = ⨆ ν, D^ν_ε(f).Cslib.QueryComplexity.exists_distributionalComplexity_eq_randomizedComplexity: some distribution is hardest.
References #
The distributional complexity D^ν_ε(f): the least depth of a decision tree that errs with
probability at most the nonnegative budget ε on inputs drawn from ν. The finite coordinate
space ensures that the feasible set is nonempty.
For ε ≥ 0 the distributional complexity is attained: some decision tree of depth
D^ν_ε(f) errs with probability at most ε on inputs drawn from ν.
The easy direction of Yao's principle: D^ν_ε(f) ≤ R_ε(f) for every distribution ν on
the inputs. To bound R_ε(f) below, it suffices to find a distribution on which every shallow
decision tree errs often.
The hard direction of Yao's principle, by the minimax theorem: if for every distribution
ν on the inputs some decision tree of depth at most d errs with probability at most ε on
inputs drawn from ν, then some randomized decision tree of depth at most d computes f with
error ε.
R_ε(f) ≤ d exactly when D^ν_ε(f) ≤ d for every distribution ν on the inputs.
Yao's minimax principle: the randomized decision tree complexity is the largest
distributional complexity over the distributions on the inputs, R_ε(f) = ⨆ ν, D^ν_ε(f).
Yao's minimax principle, with a hardest distribution: some distribution ν on the inputs
has D^ν_ε(f) = R_ε(f).