Lemma 1: anisotropy amplifies the bias of the ridge probe
OpenLeJEPA.anisotropy_amplifies_biasLet () be two embedding matrices with the same column span. Let not be a multiple of the identity, so its eigenvalues are not all equal, and let with , so that both have the same energy. Then for every ridge strength there is a target (a downstream task ) for which the ridge probe trained on has strictly larger bias:
Formalization Note The paper's "covariance eigenvalues" are those of the Gram matrix , which is the matrix its proof works with. The norm is the Euclidean norm.
import Mathlib import Definitions.Def_LeJEPA_Basic open MeasureTheory Matrix Filter Topology open scoped ENNReal InnerProductSpace
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 LeJEPARead-back
What the Lean code literally says, in plain math · claude-opus-5-5
Let and be natural numbers with . Let and be arbitrary real matrices, and let be a real number. The statement assumes the following hypotheses.
- Equal column spaces. The column spaces of the two matrices in coincide. That is, the images of the linear maps , and , are the same subspace:
- Isotropy of . The Gram matrix of is the scalar matrix whose scalar is the average diagonal entry of the Gram matrix of :
Here is the identity, and the division is ordinary real division by .
- Anisotropy of . The Gram matrix of is not equal to that same scalar matrix:
Any scalar matrix has trace , so this is equivalent to saying that is not a scalar multiple of the identity. This has two consequences:
- It is impossible when , since every matrix is a scalar matrix. The hypotheses therefore force .
- It is impossible when , since then both Gram matrices are . It also excludes .
Consequently the scalar in hypothesis 2 equals . Then has full column rank , and by hypothesis 1 so does , which requires . The hypotheses are jointly satisfiable. For example, take , and .
- Positive ridge parameter. .
For a matrix and a vector , the ridge bias is the vector in
The matrix inverse is the inverse that by convention returns the zero matrix for a singular argument. Here the argument is always invertible, because is positive semidefinite and . No noise model, random variable or expectation appears in the statement; is this purely deterministic matrix expression.
Conclusion. Under these hypotheses there exists at least one vector such that
where is the Euclidean norm on . Several points limit the strength of this claim:
- The inequality is strict.
- The claim is only existential in . It does not assert the inequality for all , and may depend on and on both matrices.
- is never a witness, since both biases are then .
- Nothing is asserted about any other than the witness.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.