Theorem 3.1: equivalence between JEPA and matrix factorization
ProvedJEPAGeneralization.jepa_risk_eq_matrix_factorizationLet be an action-conditioned co-occurrence model on a finite observation space with positive marginals and , and fix an action . There is a constant , depending only on and , such that for every encoder and predictor that are normalized at , i.e. for all ,
where and .
So, for normalized embeddings, minimizing the JEPA risk with the uniformity term is the same as a low-rank factorization of the normalized co-occurrence matrix.
Formalization Note The paper's "" is stated as the existence of one constant valid for all normalized . The proof gives .
import Mathlib import Definitions.Def_JEPAGeneralization_Basic open Finset
namespace JEPAGeneralization
theorem jepa_risk_eq_matrix_factorization {X A : Type*} [Fintype X] {k : ℕ}
(pX : X → ℝ) (w : X → X → A → ℝ) (hw : IsCoOccurrence pX w) (a : A) :
∃ C : ℝ, ∀ (f : X → Fin k → ℝ) (g : (Fin k → ℝ) → A → Fin k → ℝ), IsNormalized f g a →
jepaRisk pX w f g a = sJepaRisk pX w f g a + C := by sorry
end JEPAGeneralizationRead-back
What the Lean code literally says, in plain math · claude-opus-5-5
Fix a finite set of observations, an arbitrary set of actions, and a natural number (the latent dimension, possibly ). Latent vectors are elements of with the usual inner product and squared norm .
Let and , written , satisfy the following co-occurrence hypotheses:
- for all and ;
- , and for every (so is nonempty);
- for every and every action , the row sum equals ;
- for every and every , the next-observation marginal
is strictly positive.
Fix one action .
The theorem asserts that there exists a real constant , chosen after , , (and ) but before any encoder or predictor, with the following property. For every encoder and every predictor satisfying the normalization condition
(imposed only at the fixed action and only at the points ), the following identity holds:
The JEPA risk on the left is the finite sum
The spectral risk on the right is a squared Frobenius norm,
Its ingredients are:
- the normalized co-occurrence matrix, indexed by ,
- the matrix with column equal to ;
- the matrix with column equal to .
Equivalently, the second term inside the norm is
The theorem does not specify the value of ; it only asserts that one exists.
Edge case: when , every vector in has squared norm . Since is nonempty, the normalization hypothesis then cannot be satisfied, and the statement holds vacuously for any .
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.