Bennett and Bernstein one-step moment-generating function bounds #
Variance-sensitive exponential moment bounds for random variables bounded above, complementing the
variance-oblivious range bound in CslibFrontier.Probability.HoeffdingStep:
- Scalar Bennett–Poisson inequalities:
Real.exp_sub_one_sub_le_mul_sq: for0 < band anyu ≤ b(including arbitrarily negativeu),exp u - 1 - u ≤ (u ^ 2 / b ^ 2) * (exp b - 1 - b).Real.exp_sub_one_sub_le_div: for0 ≤ u < 3,exp u - 1 - u ≤ u ^ 2 / (2 * (1 - u / 3)).InformationTheory.sq_div_two_mul_le_klFun_one_add: Bennett's Poisson exponentklFun (1 + u) = (1 + u) log (1 + u) - usatisfiesu ^ 2 / (2 * (1 + u / 3)) ≤ klFun (1 + u)for allu ≥ 0.
- Measure-theoretic one-step Bennett MGF bound (
ProbabilityTheory.mgf_le_exp_bennett_of_le): ifX : Ω → ℝunder a probability measureμhas∫ X ∂μ ≤ 0,X ≤ ba.e. (b > 0), and∫ X² ∂μ ≤ v, thenmgf X μ t ≤ exp ((v / b ^ 2) * (exp (t * b) - 1 - t * b))for everyt ≥ 0, andProbabilityTheory.measure_ge_le_bennett_of_mgf_leoptimizestvia Chernoff's bound to obtainμ.real {ω | ε ≤ X ω} ≤ exp (-(v / b ^ 2) * klFun (1 + b * ε / v)). - Discrete
PMFone-step Bennett MGF bounds (Cslib.Probability.PMF.tsum_mul_exp_le_bennett,tsum_mul_exp_sub_mean_le_bennett,sum_mul_exp_sub_mean_le_bennett): the corresponding bounds on arbitrary outcome types without[Fintype α]or[MeasurableSpace α].
Main results #
Real.exp_sub_one_sub_le_mul_sq,Real.exp_sub_one_sub_le_div: scalar Bennett and rational Bernstein MGF inequalities.InformationTheory.sq_div_two_mul_le_klFun_one_add: rational Bernstein lower bound onklFun (1 + u).Cslib.Probability.bennett_laplace_exponent_eq,Cslib.Probability.exp_neg_klFun_le_exp_bernstein,Cslib.Probability.exp_bernstein_le_of_sqrt_add: Laplace optimization and Bernstein tail inversion identities.ProbabilityTheory.mgf_le_exp_bennett_of_le,ProbabilityTheory.measure_ge_le_bennett_of_mgf_le: one-sided measure-theoretic Bennett MGF and Chernoff tail bounds.Cslib.Probability.PMF.tsum_mul_exp_le_bennett,Cslib.Probability.PMF.tsum_mul_exp_sub_mean_le_bennett,Cslib.Probability.PMF.sum_mul_exp_sub_mean_le_bennett: discretePMFBennett MGF bounds.
References #
Scalar Bennett and Bernstein inequalities #
Scalar Bennett inequality: since u ↦ (exp u - 1 - u) / u² is nondecreasing on ℝ, for
every b > 0 and every u ≤ b (including u ≤ 0),
exp u - 1 - u ≤ (u² / b²) * (exp b - 1 - b).
Exact Laplace-parameter evaluation at s = (1 / b) log (1 + b ε / v) (b > 0, v > 0, ε ≥ 0),
turning (v / b²) (exp (s b) - 1 - s b) - s ε into -(v / b²) klFun (1 + b ε / v).
Bennett's Poisson tail exp (-(v / b²) klFun (1 + b ε / v)) is bounded above by Bernstein's
rational tail exp (-ε² / (2 (v + b ε / 3))) (b > 0, v > 0, ε ≥ 0).
Quadratic Bernstein tail inversion: for v, b ≥ 0, δ ∈ (0, 1), and 0 < v ∨ 0 < b, setting
ε = √(2 v log (1 / δ)) + 2 b log (1 / δ) / 3 gives exp (-ε² / (2 (v + b ε / 3))) ≤ δ.
Measure-theoretic one-step Bennett MGF bound #
Measure-theoretic one-step Bennett MGF bound: if X is integrable with ∫ X ∂μ ≤ 0,
X ≤ b a.e. (b > 0), and ∫ X² ∂μ ≤ v (X² integrable) under a probability measure μ, then
mgf X μ t ≤ exp ((v / b²) (exp (t b) - 1 - t b)) for every t ≥ 0.
Bennett Chernoff tail bound from a Bennett MGF estimate: if mgf X μ t is bounded by
exp ((v / b²) (exp (t b) - 1 - t b)) for every t ≥ 0 (b > 0, v > 0, ε ≥ 0) and X is a.e.
bounded above so exp (t X) is integrable, then
μ.real {ω | ε ≤ X ω} ≤ exp (-(v / b²) * klFun (1 + b ε / v)).
One-sided discrete Bennett MGF step: on an arbitrary q : PMF α (without [Fintype α] or
[MeasurableSpace α]), if an increment d : α → ℝ has summable first and second moments against
(q ·).toReal, nonpositive mean ∑' x, (q x).toReal * d x ≤ 0, upper bound d x ≤ b (b > 0) on
q.support, and second moment ∑' x, (q x).toReal * d x ^ 2 ≤ v, then for every s ≥ 0,
∑' x, q x * ofReal (exp (s * d x)) ≤ ofReal (exp ((v / b²) (exp (s b) - 1 - s b))).
Centered Bennett MGF step on an arbitrary q : PMF α when g is bounded in absolute value
on q.support (g x - μ_g ≤ b, b > 0) and has variance at most v.
Finite-type centered Bennett MGF bound on q : PMF α.