Analytical inversions of the PAC-Bayes-kl bound (Pinsker and fast-rate forms) #
Derives explicit risk bounds from the implicit binary-relative-entropy inequality
binaryKL q p ≤ c of CslibFrontier.MachineLearning.PACBayes.KL
[See02] [Mau04] [TS13], building on the pure binaryKL lower bounds
and analytical inversions in CslibFrontier.Probability.BinaryKL:
- Pinsker-inverted McAllester form (
measure_pi_exists_pinsker_risk_gt_of_binaryKL) with denominator2 * m(log ((m + 1) / δ) / (2 * m)). - Sharp quadratic fast-rate bound (
measure_pi_exists_fastRate_risk_gt_of_binaryKL):𝔼_Q L_D ≤ q + c + √(c² + 2 q c). - Relaxed square-root fast-rate bound (
measure_pi_exists_tolstikhin_risk_gt_of_binaryKL):𝔼_Q L_D ≤ q + √(2 q c) + 2 c[TS13]. - Realizable zero-empirical-risk corollary (
measure_pi_exists_zero_risk_gt_of_binaryKL):𝔼_Q L_D ≤ 1 - exp (-c) ≤ c.
All four handle the boundary p = 1 (where binaryKL takes a finite junk value) via the shared
almost-everywhere boundary lemma Cslib.MachineLearning.PACBayes.ae_forall_empiricalRisk_eq from
CslibFrontier.MachineLearning.PACBayes.KL.
Main results #
Cslib.MachineLearning.PACBayes.measure_pi_exists_pinsker_risk_gt_of_binaryKL: explicit Pinsker inversion of the PAC-Bayes-kl bound (denominator2 * m).Cslib.MachineLearning.PACBayes.measure_pi_exists_fastRate_risk_gt_of_binaryKL: sharp quadratic fast-rate inversion of the PAC-Bayes-kl bound (q + c + √(c² + 2 q c)).Cslib.MachineLearning.PACBayes.measure_pi_exists_tolstikhin_risk_gt_of_binaryKL: relaxed Tolstikhin–Seldin inversion (q + √(2 q c) + 2 c).Cslib.MachineLearning.PACBayes.measure_pi_exists_zero_risk_gt_of_binaryKL: explicit realizable1 - exp (-c)bound from PAC-Bayes-kl.
References #
Exact section and page locators below are unverified against primary PDFs (pending an outside-fleet source check).
- M. Seeger, PAC-Bayesian generalisation error bounds for Gaussian process classification (locator unverified)
- A. Maurer, A note on the PAC Bayesian theorem (locator unverified)
- I. O. Tolstikhin, Y. Seldin, PAC-Bayes-Empirical-Bernstein Inequality (locator unverified)
Boundary-qualified Pinsker conversion of the PAC-Bayes-kl bound [See02] [Mau04]
(locators unverified): for m ≥ 1 and 0 < δ, with probability at least 1 - δ, every posterior
Q with KL(Q ‖ P) < ∞ satisfies
𝔼_Q L_D ≤ 𝔼_Q L_S + √((KL(Q ‖ P) + log ((m + 1) / δ)) / (2 * m)).
(Denominator 2 * m, replacing 2 * (m - 1) from McAllester's form in
CslibFrontier.MachineLearning.PACBayes.Basic.)
Sharp quadratic fast-rate inversion of PAC-Bayes-kl [TS13] (locator
unverified): setting c = (KL(Q ‖ P) + log ((m + 1) / δ)) / m, with probability at least 1 - δ,
every posterior Q with KL(Q ‖ P) < ∞ satisfies
𝔼_Q L_D ≤ 𝔼_Q L_S + c + √(c ^ 2 + 2 * (𝔼_Q L_S) * c).
Relaxed square-root fast-rate PAC-Bayes bound [TS13] (locator unverified):
𝔼_Q L_D ≤ 𝔼_Q L_S + √(2 * 𝔼_Q L_S * c) + 2 * c where
c = (KL(Q ‖ P) + log ((m + 1) / δ)) / m.
Realizable 1 - exp (-c) corollary of the PAC-Bayes-kl bound: when 𝔼_Q L_S = 0,
𝔼_Q L_D ≤ 1 - exp (-((KL(Q ‖ P) + log ((m + 1) / δ)) / m)) (strictly tighter than c).