Explore the research collection
14 entries · Follow this search
- Paper
Why Adaptive Optimizers Underestimate Rare Tokens
In the softmax output layer, a rare token gets a small positive logit gradient on most steps and a much larger negative gradient on the few steps when it is the target. SGD simply adds these contributions; coordinate-wise adaptive methods (Adam, RMSProp, sign descent) divide each update by a running magnitude estimate that is largest immediately after the token appears. Two effects: (i) whole output layer — characterizes which optimizers preserve the mean output embedding: every method linear in past gradients does, as do Kronecker-factored/orthogonalized methods (Shampoo, Muon); Adam, Adafactor, Lion, sign descent do not (exact step-by-step expressions given); (ii) individual rare tokens — the normalization shifts the training fixed point below the token's true data frequency. Closed forms: sign descent lowers the logit of every token occurring in fewer than half of minibatches at a constant expected rate; for RMSProp with periodic arrivals, if a token is absent for at least two consecutive minibatches its equilibrium probability is strictly below data frequency for every learning rate, ratio tending to k/(2(e^(k/2)-1)). SGD and AMSGrad retain the unbiased fixed point. Tested in a unigram model and a small LM trained from a known generating distribution: with random arrivals the bias exceeds the periodic formula, and biased-fixed-point optimizers fit the generating distribution worse. Directly relevant to the user's LLM pretraining work — rare-token underestimation from Adam is an optimizer choice, not a data problem.
- Paper
daVinci-LLM: Towards the Science of Pretraining
Argues pretraining sets the capability ceiling and is under-studied due to industry secrecy vs academic compute limits. Releases daVinci-LLM under a fully-open paradigm (pipelines, training process, exploration). Uses Data Darwinism L0–L9 taxonomy for data processing; trains a 3B model from scratch on 8T tokens with a two-stage adaptive curriculum shifting from foundational to reasoning-intensive data. Linked Hub release SII-GAIR-NLP/davinci-llm-data (gated) covers L3–L5 subsets; code at GAIR-NLP/daVinci-LLM.
- 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
ReScraper: Unified Scraping and Cleaning of Web Data for Effective LLM Pretraining
Proposes ReScraper, a unified 0.6B-parameter language model that replaces the entire heuristic pretraining-corpus cleaning stack (HTML scraper + dozens of rule-based filters). ReScraper first extracts the main content from raw pages, then chooses among four operations: keep as extracted, edit out noisy lines/spans, delete entirely, or rewrite when poorly written but informative. Trained on supervised data curated from three teacher models. On the same crawled data pool, pretraining 400M, 1.4B, and 2.8B models on the curated data improves DCLM Core score by a relative 3.8-4.7% over the strongest baseline at each scale, including costly multi-agent curation. Each operation plays a distinct, complementary role; one-model extraction+cleaning beats a cascade of separate models; ReScraper concentrates edits on the pages that need them, raising poor-page quality while keeping corpus diversity.
- Paper
Telescopic Language Models
Trains a nested-capacity Transformer that is usable at many compute budgets: stochastic prefix supervision over layer prefixes plus a full-capacity anchor. A 200M proxy trained on 20B FineWeb-Edu tokens was usable at every one of 20 layer prefixes.
- 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
How Model Growth, Recursion, and Boundary Operators Influence Scaling Exponents
Chen, Vegesna, Dahal & Wilson show that architecture — specifically model growth via looped/recurrent transformers — can modify pretraining scaling exponents, not just shift loss curves. A 7.4B growth architecture matches GPT-3 13B on CORE with roughly 20× less compute, with gains that increase with scale; even a simple boundary operator in a vanilla transformer helps.
- 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.
- Paper
GrowLength: Accelerating LLMs Pretraining by Progressively Growing Training Length
arXiv 2310.00576 (cs.CL/cs.LG; published 2023-10-01) from Texas A&M / Amazon / Rice. GrowLength starts pretraining on short sequences and progressively lengthens them, adapting context-window-extension ideas to the pretraining stage. Claims faster convergence and lower loss than fixed-length baselines at equal time or equal token budgets on Pythia-style models (70M–410M), and is orthogonal to FlashAttention/quantization/pruning.
- Paper
AI can Autonomously Evolve Pretraining Data Curation
GAIR/SII/FDU/SJTU (cite Mi et al.; arXiv 2603.14420; Data Darwinism Part II). DataEvolve: observer identifies issues, designer writes a cleaning prompt, cleaner executes on samples, judge scores 1-10 with diagnostics; experience pool + strategy pool carry knowledge across 30 generations per category. Applied to 8 Nemotron-CC academic STEM categories (672B tokens) to produce Darwin-CC (504B, ~25% token drop from targeted cleaning not rewrite). 3B Qwen2.5 trained 500B tokens: Darwin-CC 44.13 avg on 18 benches vs raw 40.17, DCLM 42.42, FineWeb-Edu 36.52, Ultra-FineWeb 36.29; MMLU +18.64, MedQA +13.48 vs raw. Evolved strategies converge on L4-style cleaning (noise/format + domain preservation) not Wikipedia/QA rewrite. Ablation: best vs suboptimal strategy +2.93 avg. Fitness is sample scoring, not full training; limited to 8 academic categories.
- Paper
HRM-Text: Efficient Pretraining Beyond Scaling
Sapient Intelligence 1B Hierarchical Recurrent Model for language: slow H-module and fast L-module (2 H cycles x 3 L updates = 8 steps / 4 effective recursions), MagicNorm, warmup deep credit assignment (K=2 to K=5), sigmoid-gated attention, RoPE. Trains only on instruction-response pairs with response-only NLL and PrefixLM bidirectional prompt attention. 40B unique / 60B training tokens, ~$1500, 1.9 days on 16 H100s. Reports MMLU 60.7, ARC-C 81.9, DROP 82.2, GSM8K 84.5, MATH 56.2; competitive with several 2-7B open models at 96-432x less estimated compute and 100-900x fewer tokens. Ablations: HRM beats FLOP-matched Transformer/looped/RINS; task-completion + PrefixLM each move the needle. Discord post is a third-party ablation read (huskydogewoof) of Table 3/4, not the authors.
- Paper
Late-to-Early Training: LET LLMs Learn Earlier, So Faster and Better
LET adds a decaying cosine-alignment loss so early layers of a larger target, early in training, match the last-layer hidden states of a small already-trained teacher (late-to-early-layer and late-to-early-step). On 1.4B LLaMA-like models on The Pile (~20B tokens) it reports up to 1.6x faster downstream improvement and ~5% higher average one-shot accuracy vs standard CLM, even with a 10x smaller teacher (SmolLM-135M); 7B also beats baseline, reverse KD, and SALT. Ablations: last-to-early (L2E) alignment is best; lambda=0.1; S_stop=1500. No official code on the abs page.
- Paper
Beyond Random Sampling: Efficient Language Model Pretraining via Curriculum Learning
First systematic curriculum-learning study for LLM pretraining: more than 200 models, up to 100B tokens, three strategies (vanilla sort, pacing, interleaved) times six difficulty metrics (compression ratio, fertility, Flesch, MTLD, n_tokens, perplexity) on CulturaX English. 0.5B LLaMA3.2-like, plus 1B/3B. CL reaches the random baseline 18-45 percent faster in early/mid training. Best warmup (CL then random) gains up to 3.5 percent (0.5B) and about 3.1 percent at 100B tokens. Strongest metrics: compression ratio, MTLD, Flesch; high-perplexity tails are often noisy. Orthogonal to data selection. English decoder-only only; static precomputed scores. No official code on the abs page.