← All entries
Paper2026#502

Learn from your own latents and not from tokens: A sample-complexity theory

Summary

On the Random Hierarchy Model (PCFG, depth L, m rules/symbol), supervised learning needs ~m^L samples and token-level SSL (MLM/diffusion) ~m^{L+1}. Latent prediction (cluster cousin context vectors level-by-level) recovers the non-root tree from ~v m^3 samples, independent of L up to logs. Confirmed with (i) iterative latent clustering, (ii) a stacked predictor-clusterer net trained by GD (also with local stop-grad rules), and (iii) the first sample-complexity analysis of data2vec, which implicitly does hierarchical latent prediction — so explicit H-JEPA stacking is largely redundant. Suggests own-latent SSL as a route to beat token-correlation scaling laws.

Venue
arXiv / EPFL / University of Cambridge / Johns Hopkins University
Purpose
Prove that predicting one's own latents recovers hierarchical PCFG structure with exponentially fewer samples than token-level SSL
Scale
RHM synthetic: ILC k-means L=5 s=3 v=8; SLC L=4 s=3 v=10 and L=3–7; data2vec L=4 s=2 v=16, 8-layer transformer d=2048, ~1000 H100 hours
Time period
2026-05-26 (arXiv 2605.27734 v1); 10 pages main / 28 pages all. HF paper publishedAt 2026-05-26.
Added
Oct 1, 2026
Research status
done

From the source

Published
May 26, 2026
arXiv categories
cs.LG
Author comment
10 pages, 5 figures in main. 28 pages, 14 figures, 1 table in all
Citations
1
References
65

Fetched Oct 3, 2026 from arXiv, Semantic Scholar. These numbers change; the curated fields above do not come from here.

Abstract (from arXiv)

Generative models, from diffusion models to large language models, achieve remarkable performance but at a cost in training data orders of magnitude larger than what biological learners require. An alternative paradigm has emerged in which networks are trained to predict their \emph{own} latent representations of related views or masked regions, as in data2vec and JEPA -- an idea related to predictive-coding accounts of the cortex. Despite strong empirical results, the theoretical understanding of these methods remains limited. Central questions include: by how much does latent prediction actually improve data efficiency? Is there a benefit to stacking such methods into multi-scale hierarchies? We answer both using as data a tractable probabilistic context-free grammar that captures the compositional structure of natural language and images. Such a grammar generates strings of visible tokens by recursively applying production rules along a tree of hidden symbols of depth $L$. For such data, supervised or token-level SSL require a number of samples \emph{exponential} in $L$ to recover the latent tree; we prove that latent prediction achieves this with a number of samples \emph{constant} in $L$, up to logarithmic factors. We confirm this bound with (i) a hierarchical clustering algorithm, (ii) an end-to-end neural network whose predictor-clusterer modules predict their own latents at each level via gradient descent, and (iii) the first sample-complexity analysis of data2vec, which we show implicitly performs hierarchical latent prediction. This suggests that explicit stacking such as H-JEPA is largely redundant.

Tags

jepadata2vecrhmsample-complexitylatent-predictionepflhierarchical-sslpredictive-coding

Topics

self-supervised learning, JEPA, sample complexity, hierarchical data

Research notes

  • Primary: arxiv abs (cs.LG). CC BY 4.0 on abs HTML. EPFL / Cambridge DAMTP / JHU; equal contrib Korchinski/Favero. Correspondence daniel.korchinski@epfl.ch, af940@cam.ac.uk, matthieu.wyart@epfl.ch. No official code on abs. HF paper page 3 upvotes. Discord posted abs. Synthetic RHM only; no datasets_local row.

Similar entries