Theorem 3 (as proved): Bayes error rate of an arbitrary learned representation
ProvedSSLMultiView.bayes_error_arbitrary_representationLet have a joint probability mass function on finite sets, let for a deterministic map , and let be the Bayes error rate of predicting from . With , there is with and
A representation with high information about the self-supervised signal and little task-irrelevant information therefore has a small Bayes error.
Formalization Note The printed Theorem 3 has the neural estimate of Proposition 1 plus an unspecified term in place of , and holds with probability at least . Proposition 1 gives neither the network family nor the constant in , so that version cannot be stated precisely. The statement here is the deterministic bound that the proof establishes before Proposition 1 is applied. The paper writes for .
import Mathlib import Definitions.Def_SSLMultiView_Basic open Real
namespace SSLMultiView
theorem bayes_error_arbitrary_representation {X S T Zs : Type*} [Fintype X] [DecidableEq X] [Fintype S] [DecidableEq S]
[Fintype T] [DecidableEq T] [Fintype Zs] [DecidableEq Zs]
(P : X × S × T → ℝ) (hP : IsPMF P) (F : X → Zs) :
∃ Pbar : ℝ, bayesError P (rep F) taskT = thresh (Fintype.card T) Pbar ∧
Pbar ≤ 1 - Real.exp (-(entropy P taskT + condMutualInfo P inputX signalS taskT +
condMutualInfo P (rep F) inputX signalTask - mutualInfo P (rep F) signalS)) := by sorry
end SSLMultiViewRead-back
What the Lean code literally says, in plain math · claude-opus-5-5
Let , , and be arbitrary finite sets with decidable equality. Let be a probability mass function, meaning for every triple and . Let be an arbitrary function. No optimality, multi-view assumption, or other condition is placed on or on .
Random variables. On the sample space with weights , define:
- , , ;
- the pair ;
- the representation .
For a random variable on , its law is .
Information quantities. All are defined purely from Shannon entropies in nats, using the convention :
The mutual information is
The conditional mutual information is
Bayes error. The Bayes error of predicting from is defined as
Thresholding. With , the thresholding function is
Conclusion. The theorem asserts that there exists a real number such that
Edge cases and remarks.
- Because sums to 1, is nonempty. So , and are all nonempty and .
- If , then and , so the statement holds trivially.
- is only required to exist. It is not tied to except through .
- maps every to . So whenever , the conclusion is satisfied by any sufficiently negative , whatever the bound is.
- Whenever , the equation forces , so the claim amounts to being at most the displayed bound.
- Whenever , the claim requires the bound to be at least .
- Overall, given that always lies in for a probability mass function, the conclusion amounts to: either , or is at most the displayed bound.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.