Live intelligence

Latest AI updates

3 updates
Research

Statistical Mechanics Theory Explains Transformer Next-Token Prediction

A new arXiv paper applies statistical mechanics and random matrix theory to derive an exact theory of next-token prediction in self-attention transformers. It characterizes free energy, the state equation, and test-error scaling for both finite and infinite context lengths. The analysis reveals a double descent phenomenon in zero-temperature learning, indicating that data load and context length are coupled, and shows that infinite-context errors match deterministic ridge shrinkage. The theory is claimed to predict all single-instance learning for finite but large token dimensions.

transformerslearning theoryscaling laws
Research

Quantum Duality Framework Analyzes Grokking in Transformers

Researchers present a quantum duality linking Transformer kernel formulations to coherent-state representations of bosonic quantum systems. They apply this framework to study grokking and introduce an Equal-Time-Ordered Correlator to characterize memorization-to-generalization transitions. The paper reports that ETOC signals can locate grokking during training, with numerical support from modular addition and multiplication tasks.

TransformersGrokkingTraining dynamics
Research

Functional Depth Is Learned: Isolating the Computation That Layers Produce Only Together

This arXiv paper introduces an exact inclusion-exclusion decomposition that isolates connected cross-layer computation under identity ablation, measuring how transformers develop functional depth during pretraining. Across public checkpoints of Pythia, OLMo, and Amber, write-relative connected coordination strengthens from initialization or earliest baselines as pretraining proceeds. Deleting these connected components damages perplexity more than deleting a norm-matched random direction at the same site in all 35 measured model-order cells. Pairwise representation similarity is negatively correlated with pairwise connected coordination across seven models, though the signals diverge on Amber.

TransformersMechanistic InterpretabilityPretraining Dynamics