Theorem 4.3 (as proved): approximation error for spectral JEPA risk
ProvedJEPAGeneralization.approximation_error_spectral_jepaLet be an action-conditioned co-occurrence model on a finite observation space with positive marginals, fix an action , and let be the singular values of . Then the optimal spectral JEPA risk over all encoders and predictors is
The approximation error is therefore the tail of the squared singular values of , and it decreases as the latent dimension grows.
Formalization Note The paper writes for a minimizer . This is stated as an infimum over unconstrained and , which is what the proof's Eckart–Young argument establishes. A minimizer need not exist: the predictor sees only through , so the best rank- factor pair can be unrealizable. Under the normalization of Theorem 3.1 the value is in general strictly larger than the tail sum. The sum is empty when .
import Mathlib import Definitions.Def_JEPAGeneralization_Basic open Finset
namespace JEPAGeneralization
theorem approximation_error_spectral_jepa {X A : Type*} [Fintype X] [DecidableEq X] {k : ℕ}
(pX : X → ℝ) (w : X → X → A → ℝ) (hw : IsCoOccurrence pX w) (a : A) :
(⨅ (f : X → Fin k → ℝ) (g : (Fin k → ℝ) → A → Fin k → ℝ), sJepaRisk pX w f g a) =
∑ i ∈ Finset.Ico k (Fintype.card X), singVal pX w a i ^ 2 := by sorry
end JEPAGeneralizationRead-back
What the Lean code literally says, in plain math · claude-opus-5-5
Fix a finite, nonempty set of observations (with decidable equality), an arbitrary type of actions, a latent dimension (possibly ), and a particular action . Let and be functions satisfying the co-occurrence hypothesis:
- for all and ;
- and for every ;
- for every and ;
- the second marginal is strictly positive for every and .
The second condition forces to be nonempty. The third makes each a probability distribution on .
The normalized co-occurrence matrix is the real matrix with entries
For an encoder and a predictor , the spectral JEPA risk is the squared Frobenius norm
Here is the Euclidean dot product on . Equivalently, the risk is , where:
- is the matrix whose column is ;
- is the matrix whose column is .
The squared singular values are defined as follows. Let be the roots of the characteristic polynomial of , counted with multiplicity and sorted in decreasing order. Define , using zero-based indexing. Because the real square root sends negatives to , . Since is symmetric positive semidefinite, all are in fact real and nonnegative, so .
The theorem asserts that the infimum of the spectral JEPA risk equals the tail sum of squared singular values:
In the usual one-based indexing, the right-hand side is .
Some features of the statement to note:
- The infimum ranges over all functions. Both and are completely arbitrary. There is no normalization of or and no restriction to a model class.
- How enters. The predictor enters only through the values . Whenever , the predictions at and coincide.
- Infimum, not minimum. The statement concerns only the infimum; it does not assert that the infimum is attained. The risk is a sum of squares, so the infimum is over a set of nonnegative reals.
- Large . If , the index range is empty, so the claim is that the infimum equals .
- The case . The right-hand side is then the sum of all squared singular values, i.e. .
- Scope of the hypotheses. The hypotheses on and are imposed for every action, but the conclusion concerns only the single fixed action .
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.