Explore the research collection
15 entries · Compare the first 3 datasets · Follow this search
- 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
ELECTRA: Pre-training Text Encoders as Discriminators Rather Than Generators
Replaced token detection: a small MLM generator fills 15% masks; the discriminator classifies every token as original vs replaced (MLE generator, not adversarial). Learns from all positions. ELECTRA-Small (14M, 4 days on 1 V100) GLUE 79.9 vs BERT-Small 75.1 and GPT 78.8. ELECTRA-Base 85.1 vs BERT-Base 82.2. ELECTRA-400K Large (335M, ~1/4 RoBERTa compute) GLUE 89.0 vs RoBERTa-500K 88.9; ELECTRA-1.75M 89.5 and SQuAD 2.0 test 88.7/91.4. ICLR 2020. Code https://github.com/google-research/electra.
- 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
Generalization Dynamics of LM Pre-training ("Discovering Mode-Hopping")
The usual mental model -- that LMs stably mature from pattern-matching parrots to generalizable intelligence during pre-training -- is wrong: throughout pre-training, LMs frequently and suddenly hop between parrot-like and intelligence-like computations ("mode-hopping"). Across a toy eval suite, LMs suddenly latch onto memorized or in-context patterns instead of in-context learning, use System 1 instead of System 2 thinking, pick up what sounds true instead of what is true, fail at multi-hop persona QA, out-of-context reasoning, and emergent misalignment -- then just as suddenly revert and generalize. Mode-hopping is not explained by standard optimization dynamics: it is locally stable and cannot be fixed by checkpoint averaging; the authors frame it as a capacity-allocation problem in which generalizable circuits compete with early-learned shallow circuits, with each pre-training window's data deciding which wins. Two applications: (1) selecting intermediate pre-training checkpoints that strongly generalize reasoning and alignment, better than final or mid-training checkpoints; (2) selecting pre-training data that controls and stabilizes generalization dynamics. Concrete numbers from the announcement: OLMo3-32B went from 81% accuracy to 0%, then back to 81.7% within 40B training tokens; an earlier 4.5T-token checkpoint beat a 4.9T one on GPQA transfer after math fine-tuning (36.3% vs 29.8%) and robustness to alignment attacks (53% vs 21%). Code/eval suite: GDsuite (GitHub).
- 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
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
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
Self-Play Pretraining with Zero Data
arXiv:2609.30063 (2026-09-24; X announce @michaelyli_ 2026-09-25). Proof-of-concept: from random init, a generator RL-proposes programs for a Brainfuck-like universal TM; a learner does next-byte prediction on the emitted bytes only—no natural data in training. Generator reward is AdamW-preconditioned gradient alignment with the learner’s recent parameter trajectory (frontier curriculum); ablations beat difficulty-only and fixed universal-prior sampling. Compute-optimal frontiers show power-law zero-shot BPB gains on text, images, audio, melody, DNA, math, code; self-play also induces ICL (reverse/stack/assoc/sum/max/min) where fixed priors fail; generator discovers Fibonacci/geometric/etc. much earlier than a Solomonoff-style prior. Authors frame results via contingent vs universal predictive structure. Code: github.com/acowsik/self_play_pretraining. Small-scale PoC (models <~25M in discussion).
- Dataset
Common Pile v0.1
Common Pile v0.1 aggregates ~30 openly licensed sources (research papers, code, books, encyclopedias, educational materials, audio transcripts, etc.) into raw + filtered Hub collections. Paper trains Comma v0.1-1T and Comma v0.1-2T (7B) on 1T/2T tokens from the pile and reports competitiveness vs Llama 1/2 7B-class compute. Filtered aggregate also mirrored at nkandpa2/common-pile-filtered (~3.61 TB usedStorage; per-source configs). Code: github.com/r-three/common-pile.
- Dataset
FineWeb-Edu
Ungated Hugging Face FineWeb-Edu educational subset of FineWeb (same paper arXiv 2406.17557). Hub/datasets-server ~3.497B rows across default+per-dump configs / parquet ~10.36 TB / usedStorage ~6.19 TB. Card ~1.3T gpt2 tokens at educational threshold >=3 (FineWeb-Edu-score-2 is the separate 5.4T threshold-2 sibling). ODC-By 1.0 + Common Crawl ToU. Already deep-eval'd in datasets_local.
- 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.
- Code
NITP
Landing page for Next Implicit Token Prediction (NITP, ICML 2026): keep NTP and add a cosine-alignment loss so the projected final hidden state at t predicts a stop-gradient shallow-layer representation of token t+1 (the implicit token), with the projection head discarded at inference. README: denser latent supervision without extra data, encoders, or backbone passes; higher effective rank and less last-state cosine collapse vs NTP. MoE 1.9B-A0.3B to 9B-A1B (9B-A1B average 40.27 to 42.94; MMLU-Pro / C3 / CommonsenseQA / ARC-Challenge / GSM8k gains) and dense 0.5B-3B; frozen 3B MoE mean-pooled last-layer reps improve 23/25 English MTEB tasks (overall 39.24 to 41.56). About 2.3% training FLOPs / 1.8% wall-clock in a 5k-step 9B MoE run; zero inference overhead. Implementation code still marked coming soon.