Explore the research collection
6 entries · Follow this search
- Paper
The Surprising Effectiveness of Shared Memory in Looped Transformers
Looped Transformers add compute without parameters by re-applying the same layers, but each recursion writes its own KV cache, so memory grows with compute. This paper pretrains looped models to share memory instead: only the first recursion writes a cache; later recursions read it while keeping a short window of their own. Sharing memory does not cost quality — it improves it. At 150M-1B parameters, the Looped Prediction Transformer (LPT) and its hybrid variant set a new quality-memory frontier for looped models: with five recursions, the hybrid lowers FineWeb-Edu validation perplexity by 1.12-1.82 vs a same-size standard Transformer while using 76-79% less context memory. Analysis: shared and local memory develop different representations, later recursions attend mostly to the shared memory, which also acts as a gradient highway to the first recursion.
- Paper
Sharpness-Aware Pretraining Mitigates Catastrophic Forgetting
Treats forgetting as local Hessian curvature along the fine-tuning direction. SAM, larger peak LR, and shorter WSD annealing each improve the learning–forgetting Pareto frontier even when they do not lower base pretraining loss. OLMo-60M / 192B tokens: SAM cuts StarCoder forgetting ~80% at matched FT loss; gap widens with token budget. Late-only SAM during WSD decay (~10% of steps) recovers much of full-SAM robustness. OLMo-2-1B mid-train 50B tokens: SAM vs OLMo recipe reduces forgetting 31% after MetaMath SFT and 40% after 4-bit NF4 quantization despite a slightly weaker base (42.9 vs 43.2 avg). Hessian analysis: SAM and large peak LR lower fine-tuning-directional sharpness. No official code on abs.
- Paper
How Much Is an AI Token Worth? Scaling Laws for Wild AI-Generated Web Text
Measures how 'wild' AI-generated web text affects LM pretraining: after FineWeb quality filtering, 27.5% of June 2026 web tokens are labeled AI-generated by Pangram, rising to 31.1% by August. Pretrains 800 language models varying the ratio of added AI tokens to human tokens and fits scaling laws to held-out losses on both human and AI-generated text. For data-starved models, adding AI tokens initially lowers loss on human text, but the benefit saturates and quickly reverses into harm; for models trained on high budgets of human text, AI tokens raise loss almost immediately while the same number of fresh human tokens keeps lowering it. Standard scaling laws (e.g. Hoffman/Chinchilla 2022) fail to predict this behavior, so the authors propose a new scaling law with separate benefit and harm terms that lets the value of an AI token change sign and reduces to Chinchilla in the absence of AI text; fit on smaller models it predicts the effect on models up to 3.6x larger with 41% lower error than the best existing law over all AI ratios. Recommendations: filter AI text when the target is human text, repeat human text before expanding the training dataset with AI-generated web text, and report validation loss on human and AI text separately; AI text remains valuable when the target is AI text. Releases WildAI, an 83B-token corpus with AI, topic, and format labels, plus all 800 models and code.
- Paper
How Far Are We from Removing the Visual Encoder? Scaling Laws for Encoder-Free Multimodal Pretraining
Studies scaling laws for encoder-free multimodal pretraining (raw visual input into the language model, no separate vision encoder) and asks at what compute budget it catches up with encoder-based models.
- Paper
Mixture-of-Recursions: Learning Dynamic Recursive Depths for Adaptive Token-Level Computation
Shares layers across recursion steps and routes individual tokens to different recursion depths, giving adaptive per-token compute: easy tokens get shallow passes, hard tokens recurse deeper. Experiments span 135M-1.7B parameter models.
- Paper
Understanding Reasoning from Pretraining to Post-Training
Studies how pretraining choices shape the returns to RL post-training and what RL actually does to the model, using chess as a controlled testbed. Language models from 5M to 1B parameters are pretrained on human chess games, supervised fine-tuned on synthetic reasoning traces, then RL-trained on chess puzzles with verifiable rewards. Post-RL performance at a given RL compute level is well-predicted from pretraining loss, and RL reward-curve slopes improve approximately linearly with pretraining tokens.