Alphabeta Math
TheoremStatement: Literature-sourcedProof: AI-adaptedPipeline-generated
How statement and proof provenance work

The first chip identifies the source of the statement or construction; the second identifies the source of its local proof or verification.

  • Literature-sourced: the exact statement appears in a cited source; only wording and notation differ.
  • AI-adapted: a semantically identical restatement of literature-sourced material, modulo indexing, notation, and boundary cases adopted by the library.
  • AI-generated: a genuinely novel statement formulated by AI, with no source for the claim itself.

These labels describe origin, not correctness: citations and verification chips remain separate evidence.

The PAC-Bayes KL generalization bound

Statement

Let (Θ,A) and (Z,B) be measurable spaces. Let π and D be probability measures on them, respectively. Let C≥0 and let ℓ:Θ×Z→[0,C] be measurable with respect to A⊗B. Let m≥1 and let S=(Z1,…,Zm) consist of independent observations with common law D, equivalently having product law Dm. Define R(θ):=∫Zℓ(θ,z)D(dz),R^S(θ):=1m∑i=1mℓ(θ,Zi). Fix the prior π independently of S, and fix λ>0 and δ∈(0,1). For a probability measure ρ with ρ≪π (that is, π(A)=0 implies ρ(A)=0 for all measurable A), define KL(ρ∥π):=sup⁡P∑A∈Pρ(A)log⁡ρ(A)π(A), where P ranges over finite measurable partitions of Θ, terms with zero numerator are 0, and a positive numerator over zero denominator is +∞. With probability at least 1−δ over S, simultaneously for every such posterior ρ, Eθ∼ρR(θ)≤Eθ∼ρR^S(θ)+λC28m+KL(ρ∥π)+log⁡(1/δ)λ. An infinite relative entropy makes the bound vacuous. The conclusion bounds posterior-average risk, not the risk of every posterior draw.

Statement references

PAC-Bayes priors, posteriors, and relative entropy: defines a sample-independent prior, an absolutely continuous posterior, and relative entropy.

Population and empirical risk: population risk is the expected loss and empirical risk is the sample-average loss.

Identical distribution and IID families: IID observations are independent and have a common law.

The natural logarithm as the inverse of the exponential function: log⁡ is the inverse of the real exponential on positive reals.

The real exponential function and the number e by a power series: the real exponential is defined on all real inputs and e=exp⁡(1).

The Hoeffding MGF bound for a variable in a unit interval: a unit-range random variable has centered exponential moment at most exp⁡(t2/8) for every real t.

Alquier, User-friendly Introduction to PAC-Bayes Bounds, Chapter 2, Theorem 2.1 and proof: proves the bounded-loss PAC-Bayes KL bound by integrating the fixed-parameter Hoeffding MGF, applying the Donsker–Varadhan formula, and using Markov's inequality.

Facts & Assumptions

Given: The probability spaces, loss, product-law sample, m,C,λ,δ, and fixed prior in the Statement.

[A1]

The prior π is fixed independently of the sample; the loss satisfies 0≤ℓ(θ,z)≤C and is product-measurable; m≥1, λ>0, and 0<δ<1.

[F1]

In a supervised prediction problem, population risk is the expectation of the supervised loss and empirical risk is its sample average; for a fixed measurable predictor these are defined, and the empirical-risk function of the sample is measurable. Population and empirical risk, Population and empirical risks are measurable

[F2]

IID means independent random elements with a common law. Identical distribution and IID families

[F3]

Measurable functions of independent random elements remain independent. Measurable coordinatewise functions preserve independence

[F4]

If Zi has law D, then Eℓ(θ,Zi)=∫ℓ(θ,z)D(dz)=R(θ). Change of variables for expectation

[F5]

For an integrable real random variable, expectation is homogeneous: E(aX)=aEX. Linearity, monotonicity, and the modulus bound for expectation

[F6]

If 0≤Y≤1, then Eexp⁡(t(Y−EY))≤exp⁡(t2/8) for every real t. The proof of this supplier is choice-free. The Hoeffding MGF bound for a variable in a unit interval

[F7]

Expectations of finite products of nonnegative functions of independent real random variables factor as products of expectations, and the exponential of a finite sum is the product of the exponentials. Expectations factor over finite products of independent random variables, The exponential addition formula exp⁡(x+y)=exp⁡(x)exp⁡(y)

[F8]

π and D are probability measures; finite product sigma-algebras and finite products of probability measures are defined, the product measure has the rectangle formula, and Tonelli makes section integrals measurable and permits exchange of nonnegative product integrals. Probability measures and probability spaces, The product sigma-algebra and its finite iterates, For sigma-finite factors, the product measure exists, has the rectangle formula, is sigma-finite, and is unique, Tonelli's theorem for nonnegative measurable functions on a sigma-finite product

[F9]

For a nonnegative random variable X and a>0, P(X≥a)≤E[X]/a. Markov's inequality for random variables

[F10]

For bounded measurable f and posterior ρ≪π, Eρf≤KL(ρ∥π)+log⁡Eπef. The PAC-Bayes change-of-measure inequality

[F11]

Finite sums, differences, and Borel compositions of measurable real-valued functions are measurable. Arithmetic and lattice operations preserve measurability whenever they are defined, Composition with a Borel measurable outer map preserves measurability

[F12]

The natural logarithm is defined as the inverse of the exponential, is increasing, has log⁡1=0, and satisfies log⁡(xy)=log⁡x+log⁡y for positive x,y. The natural logarithm as the inverse of the exponential function, Order, continuity, range, and the product, quotient, and reciprocal laws for the natural logarithm

[F13]

The one-cell measurable partition contributes 0 to the finite-partition definition of KL, so KL(ρ∥π)≥0. PAC-Bayes priors, posteriors, and relative entropy

Proof

Given: The hypotheses in the Statement.

1.1A1F1F2F3F4F5F6F7F8F12F13givenalgebra

For fixed θ, the map z↦(θ,z) is measurable: the preimage of a generating rectangle A×B is B if θ∈A, and empty otherwise. Thus fθ(z):=ℓ(θ,z) is measurable. Apply [F1] to the supervised problem with instance space Z, singleton label space {∗}, action space [0,C] with its Borel sigma-algebra, predictor class {fθ}, loss L(a,∗)=a, and joint law D⊗δ∗, where δ∗({∗})=1. Tonelli [F8] identifies its population risk with R(θ), and its empirical risk on ((Zi,∗))i=1m is R^S(θ). If C=0, both risks are zero and the bound follows because [F13] gives KL(ρ∥π)≥0 and [F12] gives log⁡(1/δ)>0. Suppose C>0 and put Yi=ℓ(θ,Zi). By [F2]–[F4], the Yi are independent and EYi=R(θ). Apply [F6] to Yi/C∈[0,1] with t=−λC/m, and use [F5] to rescale the centered variable, obtaining Eexp⁡(−λ(Yi−R(θ))/m)≤exp⁡(λ2C2/(8m2)). By [F7] and the exponential addition formula, the finite product factors, so ESexp⁡(λ(R(θ)−R^S(θ)))≤exp⁡(λ2C28m).

2.1A1F1F8F11F14step 1.1construct

The fixed-predictor risks are defined by [F1], and the bounded product-measurable loss makes R(θ) measurable in θ by [F8]; finite projection, arithmetic, and Borel composition make (θ,S)↦exp⁡(λ(R(θ)−R^S(θ))) product-measurable by [F11]. By [F14], this integrand lies between e−λC>0 and eλC. Thus Mλ(S):=Eθ∼πexp⁡(λ(R(θ)−R^S(θ))) is measurable, positive, and Tonelli [F8] exchanges the prior and sample integrals. Integrating step 1.1 over π gives ESMλ(S)≤exp⁡(λ2C2/(8m)).

3.1A1F9F14step 2.1algebra

By [F9] with threshold exp⁡(λ2C2/(8m))/δ, the event Mλ(S)≤exp⁡(λ2C2/(8m))/δ has probability at least 1−δ.

4.1A1F10F12F14step 3.1algebra

On this event, for every posterior ρ≪π, apply [F10] to the bounded measurable function fS(θ)=λ(R(θ)−R^S(θ)). This gives λ(EρR−EρR^S)≤KL(ρ∥π)+log⁡Mλ(S)≤KL(ρ∥π)+λ2C2/(8m)+log⁡(1/δ) by [F12]. Divide by λ>0; when the KL value is infinite the inequality is vacuous.

5.1step 1.1step 3.1step 4.1given∎

The event in step 3.1 is independent of ρ, and step 4.1 proves the bound for every posterior on that one event, which has probability at least 1−δ. The C=0 case was handled in step 1.1, so the theorem holds for all C≥0.

Remarks

This is a posterior-average risk bound. It does not assert that R(θ) obeys the same inequality for every individual θ sampled from ρ.

Depends on

Used by

Dependency tree · two levels

101 results within two dependency steps of this one, each drawn at its shortest distance from it. An arrow runs from a result to what uses it, so the chart reads left to right and ends at this result, which carries a heavier outline. Every node is a link to that result. Click elsewhere on the chart to enlarge it.

Sources