Learn from your own latents and not from tokens: A sample-complexity theory
Daniel Korchinski, Alessandro Favero, Matthieu Wyart
NeurIPS page · OpenReview · Open on the map
Category: Interpretability & Model Adaptation › Compositional Generalization in Transformers · Type: theory · Keywords: latent prediction, sample complexity, theoretical analysis, self-supervised learning, data efficiency
Areas: Model Architectures & Sequence Modeling › Language Model Architectures › Latent Reasoning
Summary
The paper provides a sample-complexity theory showing that predicting one’s own latent representations recovers compositional structure far more efficiently than supervised or token-level self-supervised learning.
Explained to a 5-year-old
Computers learn by looking at lots of pictures and words, but they need huge piles of data. Some new ideas let computers learn by guessing their own hidden thoughts about what they see. This paper figures out how few examples they actually need to learn the hidden structure. It shows that guessing hidden thoughts works much better than just copying the examples. This could help computers learn faster, like how kids learn from just a few experiences.
Explained to a 5-year-old, longer
Computers can learn to draw or talk by looking at many examples. Usually they need thousands of pictures or words to get good at it. Some researchers think computers should learn by predicting what they themselves think about the data. This paper studies that idea and finds out how well it works. It uses a simple rule system that can make pictures and sentences. The rule system has a tree shape that shows how parts connect. By guessing the hidden tree, the computer needs far fewer examples. The paper proves that the number of needed examples grows slowly with the size of the rule system. It also tests the idea with a computer program that learns by itself. The program shows the theory matches what actually happens. The results suggest that guessing hidden thoughts is better than just copying the examples. This could make future computers learn as efficiently as children do.
For a technical reader
The paper investigates why modern AI models need massive datasets to learn. It shows that training models to predict their own internal representations can dramatically reduce the amount of data required. Using a simple grammar model, the authors prove that this latent prediction approach needs only O(m³) examples to recover complex structures, compared to O(mᴸ) for traditional supervised learning. They back the theory with experiments on a hierarchical clustering algorithm and a neural network that predicts its own latents, confirming the predicted sample-complexity gains. The findings suggest that many existing self-supervised methods already exploit this principle, and adding extra hierarchical stacking provides little benefit.
Problem
How much does latent prediction improve data efficiency compared to supervised learning and token-level self-supervised learning, and does stacking such methods into hierarchies provide additional benefits?
Method
The authors analyze latent prediction using a probabilistic context-free grammar, prove that predicting own latents recovers the full latent tree with sample complexity O(m³), and corroborate the bound with a hierarchical clustering algorithm, an end-to-end neural network that predicts its own latents via gradient descent, and a sample-complexity analysis of data2vec.
Results
Latent prediction achieves a sample complexity of O(m³) to recover depth-L trees, far lower than the O(mᴸ) needed by supervised learning and O(mL+1) by token-level SSL, and this bound is validated on hierarchical clustering, a neural network, and data2vec.
Contributions
Provides a theoretical bound on sample complexity for latent prediction, demonstrates its superiority over supervised and token-level SSL, and shows that explicit hierarchical stacking is largely redundant.
Limitations and assumptions
The theoretical results rely on a simplified probabilistic context-free grammar and the empirical validation uses synthetic data, limiting direct extrapolation to all real-world scenarios.
Practical relevance
By showing that latent prediction can achieve far greater data efficiency, the work paves the way for training generative models with orders-of-magnitude less data, aligning better with biological learning.
This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. Suggest a correction