Theorem 4: Bayes error rates of self-supervised learned representations
ProvedSSLMultiView.bayes_error_ssl_representationsLet have a joint probability mass function on finite sets with . Let representations take values in a finite set that admits an injective map , and let satisfy Assumption 1, . Let be as in Definition 1 and , as in Definition 2, with Bayes error rates , , for predicting . Then there are , with , , and each satisfies
The Bayes error of the self-supervised representations is controlled by that of the supervised one, and the upper bound improves as the multi-view redundancy decreases.
Formalization Note The hypothesis makes , so the lower bound does not divide by zero. The paper's setting of a categorical downstream task with at least two classes has it implicitly. In Lean , and the statement would remain true for . The injectivity hypothesis is the one used in Theorem 1, whose chain of inequalities the proof invokes. It is part of the paper's implicit setting. Its necessity for Theorem 4 has not been established: no counterexample without it was found.
import Mathlib import Definitions.Def_SSLMultiView_Basic open Real
namespace SSLMultiView
theorem bayes_error_ssl_representations {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)
(hZ : ∃ e : X → Zs, Function.Injective e) (hT : 2 ≤ Fintype.card T)
(ε : ℝ) (hε : MultiViewAssumption P ε)
(Fsup Fssl Fsslmin : X → Zs) (hsup : IsSupRep P Fsup)
(hssl : IsSslRep P Fssl) (hsslmin : IsSslMinRep P Fsslmin) :
(∃ Pbar : ℝ, bayesError P (rep Fssl) taskT = thresh (Fintype.card T) Pbar ∧
-(Real.log (1 - bayesError P (rep Fsup) taskT) + Real.log 2) / Real.log (Fintype.card T : ℝ) ≤
Pbar ∧
Pbar ≤ 1 - Real.exp (-(Real.log 2 +
bayesError P (rep Fsup) taskT * Real.log (Fintype.card T : ℝ) + ε))) ∧
(∃ Pbar : ℝ, bayesError P (rep Fsslmin) taskT = thresh (Fintype.card T) Pbar ∧
-(Real.log (1 - bayesError P (rep Fsup) taskT) + Real.log 2) / Real.log (Fintype.card T : ℝ) ≤
Pbar ∧
Pbar ≤ 1 - Real.exp (-(Real.log 2 +
bayesError P (rep Fsup) taskT * Real.log (Fintype.card T : ℝ) + ε))) := by sorry
end SSLMultiViewRead-back
What the Lean code literally says, in plain math · claude-opus-5-5
Setting. Let be finite sets. Let be a probability mass function on , so and . This forces to be nonempty. Write for the three coordinate projections, viewed as random variables under . Write .
All information quantities use the natural logarithm and are defined from the laws :
- Entropy: , with the convention .
- Conditional entropy: .
- Mutual information: .
- Conditional mutual information: .
For a map , the representation is .
The Bayes error of predicting from is
Here is finite and nonempty, so the maximum is a genuine maximum. The threshold function is
Hypotheses.
- There exists an injective map , i.e. .
- .
- is a real number with and .
- satisfies for every map .
- satisfies for every .
- satisfies two conditions:
- it also maximizes over all maps ;
- for every such maximizer .
There are finitely many maps , so maximizers of each kind exist. No relation between , and is assumed beyond these conditions.
Conclusion. Write . Define
From the definition, , so the logarithm in is of a positive number. Also .
The theorem asserts both of the following:
- there exists a real number with and ;
- there exists a real number (chosen independently of ) with and .
is continuous and nondecreasing, so each part is equivalent to two claims:
- ;
- the corresponding Bayes error lies in the interval .
The statement involves only through the hypothesis and its appearance in . It involves only through .
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.