Averaging and the minimax principle for finite distributions #
Think of a two-player game in which one player picks a strategy a and the other an input b,
with loss loss a b; for an algorithm, loss a b may be whether a errs on b. Drawing the
strategy from a distribution μ and the input from a distribution ν relates the two classical
guarantees of randomized algorithms [Yao77]. Distributions appear in two forms: finitely
supported ones as points of the standard simplex (Convexity.StdSimplex), and probability mass
functions (PMF), whose supports may be infinite. On a finite type the two correspond
(Probability.PMF.ofStdSimplex, Probability.PMF.toStdSimplex).
- The averaging argument: some outcome of a distribution is at most the mean
(
Convexity.StdSimplex.exists_mem_support_le_sum_mul,Probability.PMF.exists_mem_support_le_tsum_mul). So if a strategy drawn fromμhas expected loss at mostεon every input, then for everyνsome single strategy has expected loss at mostεon inputs drawn fromν(Probability.PMF.exists_mem_support_tsum_mul_le; for the probability of failing,Probability.PMF.exists_mem_support_toOuterMeasure_le). This is the easy direction of Yao's principle. - The minimax theorem [vN28]: for finitely many strategies and inputs, the converse
holds. If against every distribution
νon the inputs some strategy has expected loss at mostε, then some distributionμon the strategies has expected loss at mostεon every input (Convexity.StdSimplex.exists_forall_sum_le_of_forall_exists_sum_le, from Sion's minimax theoremSion.exists_isSaddlePointOn[Sio58];Probability.PMF.exists_forall_sum_mul_lefor distributions as probability mass functions). For the probability of failing, only the inputs need to be finite: strategies failing on the same inputs are interchangeable, soμcan be taken with finite support (Probability.PMF.exists_forall_toOuterMeasure_le). This is the hard direction of Yao's principle.
Main definitions #
Cslib.Probability.PMF.ofStdSimplex,Cslib.Probability.PMF.toStdSimplex: distributions on a finite type as points of the standard simplex.
Main results #
Convexity.StdSimplex.exists_mem_support_le_sum_mul,Cslib.Probability.PMF.exists_mem_support_le_tsum_mul: some outcome is at most the mean.Cslib.Probability.PMF.exists_mem_support_tsum_mul_le,Cslib.Probability.PMF.exists_mem_support_toOuterMeasure_le: the averaging argument.Convexity.StdSimplex.exists_forall_sum_le_of_forall_exists_sum_le,Cslib.Probability.PMF.exists_forall_sum_mul_le: the minimax theorem for finite games.Cslib.Probability.PMF.exists_forall_toOuterMeasure_le: the minimax theorem for failure probabilities on finitely many inputs.
References #
Finitely supported distributions #
The minimax theorem for finite games #
The minimax theorem for finite two-player zero-sum games [Sio58], in the form used by
Yao's principle. A row player picks i : I, a column player picks j : J, and the row player pays
M i j. If against every mixed strategy q of the column player some row i has expected payment
at most c, then some mixed strategy p of the row player has expected payment at most c against
every column j.
Probability mass functions #
Some possible outcome is at most the mean: for every distribution μ and every function
g with values in [0, ∞], some outcome a that μ can produce has g a at most the mean of g
under μ. The sample space may be infinite.
The averaging argument, the easy direction of Yao's principle. Let loss a b be the loss
of a strategy a on an input b. If drawing the strategy from μ has expected loss at most ε on
every input that ν can produce, then some strategy that μ can produce has expected loss at most
ε on inputs drawn from ν. The sample spaces may be infinite.
The averaging argument for events, the easy direction of Yao's principle: if a strategy
drawn from μ fails on every input that ν can produce with probability at most ε, then some
strategy that μ can produce fails on an input drawn from ν with probability at most ε. The
sample spaces may be infinite.
The minimax theorem for probability mass functions #
The distribution on a finite type whose probabilities are the weights of a point of the standard simplex.
Instances For
The probability of i under ofStdSimplex p is the weight of i in p.
The point of the standard simplex whose weights are the probabilities of a distribution on a finite type.
Instances For
The weight of i in toStdSimplex μ is the probability of i, as a real number.
Passing from a distribution to the simplex and back returns the distribution.
The minimax theorem for finite games [vN28], for distributions. Let M i j be
the loss of a strategy i on an input j. If against every distribution ν on the inputs some
strategy has expected loss at most ε, then some distribution μ on the strategies has expected
loss at most ε on every input. This is the hard direction of Yao's principle; it is
Convexity.StdSimplex.exists_forall_sum_le_of_forall_exists_sum_le, from Sion's theorem, read
through ofStdSimplex.
Yao's minimax principle for finite sets of inputs. Let E i j say that a strategy i
fails on an input j, where there may be infinitely many strategies but only finitely many inputs.
If against every distribution ν on the inputs some strategy fails with probability at most ε,
then some distribution μ on finitely many strategies fails with probability at most ε on every
input.