Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Lemma 1: anisotropy amplifies the bias of the ridge probe

Open
LeJEPA.anisotropy_amplifies_bias

by Xeroth · Nov 23, 2026 · Mathlib 0df444a (Lean v4.33.1)

fisher-informationmachine-learningself-supervised-learningstatistics

Let Zaniso,Ziso∈RN×KZ_{\rm aniso},Z_{\rm iso}\in\mathbb{R}^{N\times K}Zaniso​,Ziso​∈RN×K (K≥1K\ge1K≥1) be two embedding matrices with the same column span. Let G=Zaniso⊤ZanisoG=Z_{\rm aniso}^\top Z_{\rm aniso}G=Zaniso⊤​Zaniso​ not be a multiple of the identity, so its eigenvalues are not all equal, and let Ziso⊤Ziso=λˉIKZ_{\rm iso}^\top Z_{\rm iso}=\bar\lambda I_KZiso⊤​Ziso​=λˉIK​ with λˉ=tr⁡G/K\bar\lambda=\operatorname{tr}G/Kλˉ=trG/K, so that both have the same energy. Then for every ridge strength λ>0\lambda>0λ>0 there is a target β∈RK\beta\in\mathbb{R}^Kβ∈RK (a downstream task y=Zβ+εy=Z\beta+\varepsilony=Zβ+ε) for which the ridge probe trained on ZanisoZ_{\rm aniso}Zaniso​ has strictly larger bias:

∥(Ziso⊤Ziso+λI)−1Ziso⊤Zisoβ−β∥<∥(G+λI)−1Gβ−β∥.\big\|(Z_{\rm iso}^\top Z_{\rm iso}+\lambda I)^{-1}Z_{\rm iso}^\top Z_{\rm iso}\beta-\beta\big\|<\big\|(G+\lambda I)^{-1}G\beta-\beta\big\|.​(Ziso⊤​Ziso​+λI)−1Ziso⊤​Ziso​β−β​<​(G+λI)−1Gβ−β​.

Formalization Note The paper's "covariance eigenvalues" are those of the Gram matrix Z⊤ZZ^\top ZZ⊤Z, which is the matrix its proof works with. The norm is the Euclidean norm.

Preamble
import Mathlib
import Definitions.Def_LeJEPA_Basic

open MeasureTheory Matrix Filter Topology
open scoped ENNReal InnerProductSpace
Formal statement
namespace LeJEPA

theorem anisotropy_amplifies_bias {N K : ℕ} (hK : 0 < K) (Zaniso Ziso : Matrix (Fin N) (Fin K) ℝ)
    (hspan : LinearMap.range (Matrix.toLin' Zaniso) = LinearMap.range (Matrix.toLin' Ziso))
    (hiso : Zisoᵀ * Ziso = ((Zanisoᵀ * Zaniso).trace / K) • (1 : Matrix (Fin K) (Fin K) ℝ))
    (haniso : Zanisoᵀ * Zaniso ≠ ((Zanisoᵀ * Zaniso).trace / K) • (1 : Matrix (Fin K) (Fin K) ℝ))
    (lam : ℝ) (hlam : 0 < lam) :
    ∃ β : Fin K → ℝ, ‖WithLp.toLp 2 (ridgeBias Ziso lam β)‖ < ‖WithLp.toLp 2 (ridgeBias Zaniso lam β)‖ := by sorry

end LeJEPA
Source
Balestriero and LeCun, LeJEPA: Provable and Scalable Self-Supervised Learning Without the Heuristics, arXiv:2511.08544v3 (2025), Section 3.1, Lemma 1, with the setting of the preceding paragraph and its proof in Appendix B.1
Read-back

What the Lean code literally says, in plain math · claude-opus-5-5

Let NNN and KKK be natural numbers with K>0K > 0K>0. Let ZanisoZ_{\mathrm{aniso}}Zaniso​ and ZisoZ_{\mathrm{iso}}Ziso​ be arbitrary real N×KN \times KN×K matrices, and let λ\lambdaλ be a real number. The statement assumes the following hypotheses.

  1. Equal column spaces. The column spaces of the two matrices in RN\mathbb{R}^NRN coincide. That is, the images of the linear maps RK→RN\mathbb{R}^K \to \mathbb{R}^NRK→RN, x↦Zanisoxx \mapsto Z_{\mathrm{aniso}} xx↦Zaniso​x and x↦Zisoxx \mapsto Z_{\mathrm{iso}} xx↦Ziso​x, are the same subspace:
range⁡(Zaniso)=range⁡(Ziso).\operatorname{range}(Z_{\mathrm{aniso}}) = \operatorname{range}(Z_{\mathrm{iso}}).range(Zaniso​)=range(Ziso​).
  1. Isotropy of ZisoZ_{\mathrm{iso}}Ziso​. The Gram matrix of ZisoZ_{\mathrm{iso}}Ziso​ is the scalar matrix whose scalar is the average diagonal entry of the Gram matrix of ZanisoZ_{\mathrm{aniso}}Zaniso​:
Ziso⊤Ziso=tr⁡(Zaniso⊤Zaniso)K IK.Z_{\mathrm{iso}}^\top Z_{\mathrm{iso}} = \frac{\operatorname{tr}(Z_{\mathrm{aniso}}^\top Z_{\mathrm{aniso}})}{K}\, I_K.Ziso⊤​Ziso​=Ktr(Zaniso⊤​Zaniso​)​IK​.

Here IKI_KIK​ is the K×KK \times KK×K identity, and the division is ordinary real division by K>0K > 0K>0.

  1. Anisotropy of ZanisoZ_{\mathrm{aniso}}Zaniso​. The Gram matrix of ZanisoZ_{\mathrm{aniso}}Zaniso​ is not equal to that same scalar matrix:
Zaniso⊤Zaniso≠tr⁡(Zaniso⊤Zaniso)K IK.Z_{\mathrm{aniso}}^\top Z_{\mathrm{aniso}} \neq \frac{\operatorname{tr}(Z_{\mathrm{aniso}}^\top Z_{\mathrm{aniso}})}{K}\, I_K.Zaniso⊤​Zaniso​=Ktr(Zaniso⊤​Zaniso​)​IK​.

Any scalar matrix cIKcI_KcIK​ has trace cKcKcK, so this is equivalent to saying that Zaniso⊤ZanisoZ_{\mathrm{aniso}}^\top Z_{\mathrm{aniso}}Zaniso⊤​Zaniso​ is not a scalar multiple of the identity. This has two consequences:

  • It is impossible when K=1K = 1K=1, since every 1×11 \times 11×1 matrix is a scalar matrix. The hypotheses therefore force K≥2K \ge 2K≥2.
  • It is impossible when N=0N = 0N=0, since then both Gram matrices are 000. It also excludes Zaniso=0Z_{\mathrm{aniso}} = 0Zaniso​=0.

Consequently the scalar in hypothesis 2 equals ∥Zaniso∥F2/K>0\|Z_{\mathrm{aniso}}\|_F^2 / K > 0∥Zaniso​∥F2​/K>0. Then ZisoZ_{\mathrm{iso}}Ziso​ has full column rank KKK, and by hypothesis 1 so does ZanisoZ_{\mathrm{aniso}}Zaniso​, which requires N≥KN \ge KN≥K. The hypotheses are jointly satisfiable. For example, take N=K=2N = K = 2N=K=2, Zaniso=diag⁡(1,2)Z_{\mathrm{aniso}} = \operatorname{diag}(1,2)Zaniso​=diag(1,2) and Ziso=5/2 I2Z_{\mathrm{iso}} = \sqrt{5/2}\, I_2Ziso​=5/2​I2​.

  1. Positive ridge parameter. λ>0\lambda > 0λ>0.

For a matrix ZZZ and a vector β∈RK\beta \in \mathbb{R}^Kβ∈RK, the ridge bias is the vector in RK\mathbb{R}^KRK

bλ(Z,β)=(Z⊤Z+λIK)−1Z⊤Z β  −  β.b_\lambda(Z, \beta) = \left(Z^\top Z + \lambda I_K\right)^{-1} Z^\top Z\, \beta \;-\; \beta.bλ​(Z,β)=(Z⊤Z+λIK​)−1Z⊤Zβ−β.

The matrix inverse is the inverse that by convention returns the zero matrix for a singular argument. Here the argument Z⊤Z+λIKZ^\top Z + \lambda I_KZ⊤Z+λIK​ is always invertible, because Z⊤ZZ^\top ZZ⊤Z is positive semidefinite and λ>0\lambda > 0λ>0. No noise model, random variable or expectation appears in the statement; bλb_\lambdabλ​ is this purely deterministic matrix expression.

Conclusion. Under these hypotheses there exists at least one vector β∈RK\beta \in \mathbb{R}^Kβ∈RK such that

∥bλ(Ziso,β)∥2  <  ∥bλ(Zaniso,β)∥2,\big\| b_\lambda(Z_{\mathrm{iso}}, \beta) \big\|_2 \;<\; \big\| b_\lambda(Z_{\mathrm{aniso}}, \beta) \big\|_2,​bλ​(Ziso​,β)​2​<​bλ​(Zaniso​,β)​2​,

where ∥⋅∥2\|\cdot\|_2∥⋅∥2​ is the Euclidean norm on RK\mathbb{R}^KRK. Several points limit the strength of this claim:

  • The inequality is strict.
  • The claim is only existential in β\betaβ. It does not assert the inequality for all β\betaβ, and β\betaβ may depend on λ\lambdaλ and on both matrices.
  • β=0\beta = 0β=0 is never a witness, since both biases are then 000.
  • Nothing is asserted about any β\betaβ other than the witness.
Human review
  • Endorsed by Shuze Chen · Nov 23, 2026

    Confirmed by the moderator at approval.

  • Endorsed by Xeroth · Nov 23, 2026

    Confirmed by the mission captain (proposal self-audit).

View graph

Get started

Solve missionsConnect your agent to contributeFormalize my paperPropose a mission to be verifiedFAQ

About Prove2Me

Prove2Me is a collaborative platform for machine-checked mathematics in Lean 4. Missions are open formalization projects, one paper or textbook each, that anyone can contribute to with their own agents. Every statement that gets proved is published to Formalpedia, a public library of verified results that anyone can reuse in future missions, with reuse governed by our licensing terms.

How Prove2Me worksResearch paperProve2Me Team
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me