{
  "id": 1368,
  "kind": "paper",
  "title": "Scaling Repeated-Data Pretraining: Batch Size, Regularization, and GPU-Time Tradeoffs",
  "summary": "Studies pretraining when compute is abundant but unique data are finite, requiring repeated passes over the same data. Revisits the infinite-compute, finite-data frontier (Kim et al. 2026) and shows it depends critically on choices previously fixed or studied in isolation. Jointly optimizing batch size, learning rate, weight decay, and epoch count reveals a U-shaped relationship between validation loss and batch size: the optimum (B=64 sequences / 0.262M tokens for the 1.5B on a 1B-token DCLM-Baseline pool) is 2.9–4.7× smaller than what single-pass batch laws predict, and substantially smaller than the 512–2,048-sequence batches in public recipes — small-batch gradient noise acts as implicit regularization against repeated-data overfitting (CE 3.124→2.977 for the 1.5B; 3.136→3.093 for 474M; 3.416→3.332 for 153M). Batch tuning extends beneficial repetition from 8→20 epochs (1.5B) and 40→112 (153M). A repetition-aware recipe — repacking documents into fresh sequences every epoch, tying input/output embeddings, and applying positive weight decay to the shared embeddings — further improves the frontier (B=64: 2.971→2.946) and delays the best checkpoint (1.5B 20→32 epochs; 474M 32→80; 153M 112→240); batch warmdown, structured gradient noise, and LocalSGD/DiLoCo were tried and showed no clear consistent gains. Because the infinite-compute optimum can demand prohibitive sequential time (an illustrative 70B-on-10T extrapolation gives 22.6 years), the paper splits compute into GPUs and time: under short deadlines larger batches win, but even under a fixed deadline a smaller batch on 16 GPUs can beat a larger batch on 64 GPUs, and latency-oriented parallelism (microbatch 8→1) trades 8× GPUs for 2.7× shorter training at unchanged loss. The repetition-aware recipe uniformly improves the joint GPU-time frontier. Limitations: 153M–1.5B models, 0.333B–3B-token pools; dense models only; target-scale numbers are illustrative extrapolations.",
  "body": "",
  "notes": "Discovery: Hudson shared the bare arXiv link directly, 2026-10-14. License CC BY 4.0 confirmed on the arXiv page; code promised upon acceptance, not yet released. Relevance: (1) His LLM pretraining stack — multi-epoch pretraining on finite unique data is his daily reality; the smaller-batch prescription, repack-every-epoch, and tied-embeddings-with-embedding-decay recipe are directly testable on his 3:1 SWA hybrid (though his stacks are dense, the paper is dense-only, so transfer is same-class); (2) PriorBPB (queued #21) is the eval-side counterpart — length-confound in eval meets repetition-overfitting in training; (3) data-quality thread — more repetitions on a filtered pool beat larger unfiltered pools (Fang et al. 2025 cited), relevant to his pretraining data decisions; (4) GPU-time split — his own runs are both GPU- and time-bound, so the \"16 GPUs beat 64 GPUs under a deadline\" result challenges his data-parallelism defaults. Caveats: all author's own experiments on ≤1.5B models; no independent reproduction; illustrative extrapolations only at 70B. Cluster: data scaling / repeated-data pretraining (Kim et al. 2026, Xu et al. 2026), batch-size optimization, pretraining recipes. | License: CC BY 4.0 (arXiv). Code promised \"upon acceptance\" — unreleased at catalog time.",
  "url": "https://arxiv.org/abs/2610.15965",
  "links": [],
  "authors": [
    "Sewon Min (UC Berkeley",
    "Allen Institute for AI)"
  ],
  "tags": [],
  "topics": "",
  "venue": "arXiv:2610.15965 (cs.LG)",
  "publisher": "",
  "source": "arxiv",
  "language": "en",
  "access": "free",
  "license": "",
  "published_year": 2026,
  "added_at": "2026-10-14T00:00:00.000Z",
  "verified_at": "2026-10-14T00:00:00.000Z",
  "attrs": {},
  "enrichment": {},
  "enriched_at": null,
  "license_class": "unknown",
  "langs": [
    "en"
  ],
  "modalities": [],
  "size_class": null,
  "provenance": {
    "channel": "direct",
    "legacy_paper_id": "1675"
  },
  "visibility": "public",
  "status": "active",
  "duplicate_of": null,
  "origin": "legacy",
  "created_at": "2026-11-01T12:53:04.466Z",
  "updated_at": "2026-11-01T12:53:04.466Z",
  "page": "https://papers.projxon.ai/entries/1368",
  "markdown": "https://papers.projxon.ai/entries/1368.md",
  "api": "https://papers.projxon.ai/api/entries/1368",
  "relations": [],
  "duplicates": [],
  "similar": [
    {
      "id": 1337,
      "kind": "paper",
      "title": "The Best Optimizer Depends on Batch Size",
      "summary": "Adaptive optimizers are benchmarked at one batch size, while hyperparameter scaling rules promise that the best optimizer at one batch size stays the best at another. This paper challenges both practices. (1) No principled scaling rule for Muon works consistently across settings: the authors derive and test three competing rules against Muon - linear LR from SDE-matching, square-root LR from minimizing a convergence bound, and fixed LR with scaled weight decay from Power Lines - tuning at a reference batch size for LM and image classification, then growing batch size at fixed token budget across hundreds of rule variants; the best rule depends on task and target batch size. (2) The best optimizer for LM pretraining changes with batch size even after extensive retuning: Adam, Lion, Muon, SOAP, and Shampoo were each retuned at every batch size from 128K to 2M tokens at fixed total budget under both weight decay and HyperBall (fixed hidden-matrix norms). Under HyperBall, Muon beats Shampoo at 128K tokens/update while Shampoo beats Muon at 2M. Theory on a noisy quadratic explains why: Newton's method divides gradients by curvature, cutting bias (remaining initialization error) at the cost of higher variance from noisy gradients; larger batches shrink variance, so rankings can reverse even with optimally tuned learning rates. A SignSGD toy model shows LR scaling shifts from square-root toward linear as the curvature-to-noise ratio (CNR = h^2/c) increases - the right rule depends on landscape and noise, not just the optimizer. A sharp-subspace intervention pins down where the batch-size penalty lives: checkpoint-branching from 128K to 2M with small-batch updates kept only in the sharpest 768 directions (~0.001% of matrix-parameter space) removes up to 59.5% of the local batch-size penalty (a random same-size subspace removes at most 3%); the benefit largely fades late in training.",
      "url": "https://arxiv.org/abs/2610.08975",
      "authors": [
        "Xingyu Dang",
        "Kaiyue Wen",
        "Sadhika Malladi"
      ],
      "tags": [
        "optimizer",
        "batch-size",
        "scaling-rules",
        "muon",
        "shampoo",
        "lm-pretraining",
        "curvature",
        "gradient-noise",
        "sharp-subspace"
      ],
      "venue": "arXiv 2610.08975 (cs.LG/stat.ML), submitted 6 Oct 2026, CC BY 4.0; interactive explainer at batch-size-scaling.com",
      "source": "web",
      "license": "",
      "published_year": 2026,
      "added_at": "2026-10-09T00:00:00.000Z",
      "has_dataset_profile": false,
      "license_class": "unknown",
      "langs": [
        "en"
      ],
      "modalities": [],
      "size_class": null,
      "citation_count": null,
      "downloads": null,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/1337",
      "markdown": "https://papers.projxon.ai/entries/1337.md",
      "api": "https://papers.projxon.ai/api/entries/1337"
    },
    {
      "id": 1041,
      "kind": "paper",
      "title": "When Do Larger Batches Help Scale LLM Reinforcement Learning?",
      "summary": "Tencent Hunyuan RL Team paper (arXiv 2608.29296v1, cs.LG; companion research post hy.tencent.com/research/100116, EN/ZH, page date 2026-09-21) on when larger batches cut wall-clock time-to-target for online LLM RL. Decomposes T=N*/q: larger batch helps only when throughput gain exceeds samples-to-target penalty (r_q>r_N). Two-stage recipe: (1) establish approximate sample-indexed batch-size invariance via Adam √LR retuning η(B)=η0√(B/B0); (2) optimize generation/train throughput within that regime (generation–training asymmetry: decode often bandwidth-bound, sublinear collection time vs ~linear train). GRPO on Qwen3-30B-A3B-Instruct-2507, filtered DAPO-MATH-17K (4,853 rows), G=8, mean@32 AIME 2024/2025: invariance ~P=64–1024; degrade at 2048/4096. Best tuned P=1024: time-to-target 11.90→8.42 h (−29%, 0.71×) with +41% throughput and r_N=1, no extra GPUs; at P=2048/4096 a +60% sample cost outweighs +30%/+36% throughput (T 1.23×/1.18×). PPO on Hunyuan MoE policy+value (3B active each), G=1: aligns ~256–2048, degrades at 4096; gen throughput up to 2.29× (B 256→1024). Fixed-LR control slower despite higher throughput. No public code/HF/dataset links.",
      "url": "https://arxiv.org/abs/2608.29296",
      "authors": [
        "Ziniu Li",
        "Jinbo Wang",
        "Guanhua Huang",
        "Feiyuan Zhang",
        "Pengbo Li",
        "Alex Chen (Tencent Hunyuan Team / RL Team)"
      ],
      "tags": [
        "batch-size",
        "llm-rl",
        "grpo",
        "ppo",
        "hunyuan",
        "tencent",
        "throughput",
        "time-to-target",
        "learning-rate-scaling",
        "critical-batch",
        "qwen3",
        "dapo-math",
        "aime"
      ],
      "venue": "arXiv / Tencent Hunyuan Research",
      "source": "arxiv",
      "license": "CC BY 4.0 (arXiv)",
      "published_year": 2026,
      "added_at": "2026-09-25T01:37:18.000Z",
      "has_dataset_profile": false,
      "license_class": "permissive",
      "langs": [
        "en"
      ],
      "modalities": [],
      "size_class": null,
      "citation_count": 1,
      "downloads": null,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/1041",
      "markdown": "https://papers.projxon.ai/entries/1041.md",
      "api": "https://papers.projxon.ai/api/entries/1041"
    },
    {
      "id": 848,
      "kind": "paper",
      "title": "Synthetic Pre-pretraining Survives Scale, but Not as a Grammatical Prior",
      "summary": "Tests whether pre-pretraining (PPT) on synthetic non-natural language data — previously shown to improve token efficiency in pretraining (PT), and attributed to a learned grammatical prior — survives at realistic scale. Across five PPT tasks, four PT data mixtures, four parameter scales (500M to 7B), and PT budgets up to 100B tokens, the downstream performance and token-efficiency gains persist at scale, saving at least 21B PT tokens at the 3B scale. But there is no consistent evidence the gains come from a grammatical prior: downstream performance does not consistently align with grammatical acceptability across model sizes, and instead the gains arise from PPT tasks that improve long-range retrieval. Gains are robust to PT mixture composition and diminish only when web text is absent, making PPT a low-cost addition to PT — with future task design aimed at long-range retrieval rather than grammar.",
      "url": "https://arxiv.org/abs/2609.39827",
      "authors": [
        "Atsuki Yamaguchi",
        "Tatsuro Inaba",
        "Joel Niklaus",
        "Michal Štefánik",
        "Aline Villavicencio",
        "Nikolaos Aletras"
      ],
      "tags": [
        "pre-pretraining",
        "ppt",
        "synthetic-data",
        "token-efficiency",
        "grammatical-prior",
        "inductive-bias",
        "long-range-retrieval",
        "pretraining-data-mixtures"
      ],
      "venue": "arXiv:2609.39827 (cs.CL), submitted 30 Sep 2026",
      "source": "arxiv",
      "license": "",
      "published_year": 2026,
      "added_at": "2026-10-01T00:00:00.000Z",
      "has_dataset_profile": false,
      "license_class": "unknown",
      "langs": [
        "en"
      ],
      "modalities": [],
      "size_class": null,
      "citation_count": 0,
      "downloads": null,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/848",
      "markdown": "https://papers.projxon.ai/entries/848.md",
      "api": "https://papers.projxon.ai/api/entries/848"
    },
    {
      "id": 835,
      "kind": "paper",
      "title": "How Much Is an AI Token Worth? Scaling Laws for Wild AI-Generated Web Text",
      "summary": "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.",
      "url": "https://arxiv.org/abs/2609.40295",
      "authors": [
        "Jenna Russell",
        "Ben Glickenhaus",
        "Katherine Thai",
        "John Wieting",
        "Mohit Iyyer",
        "Max Spero",
        "Bradley Emi"
      ],
      "tags": [
        "ai-generated-text",
        "wild-ai-text",
        "pretraining",
        "scaling-laws",
        "chinchilla",
        "synthetic-data",
        "data-filtering",
        "wildai"
      ],
      "venue": "arXiv 2026-09-30 (cs.CL, cs.LG)",
      "source": "arxiv",
      "license": "",
      "published_year": 2026,
      "added_at": "2026-10-01T00:00:00.000Z",
      "has_dataset_profile": true,
      "license_class": "unknown",
      "langs": [
        "en"
      ],
      "modalities": [],
      "size_class": null,
      "citation_count": 0,
      "downloads": null,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/835",
      "markdown": "https://papers.projxon.ai/entries/835.md",
      "api": "https://papers.projxon.ai/api/entries/835"
    },
    {
      "id": 1043,
      "kind": "paper",
      "title": "Planned Test-Time Scaling with Coordinated Reasoning Paths",
      "summary": "UCLA+Amazon preprint (arXiv 2609.27374v1, cs.CL/cs.AI; 2026-09-23) introducing Planned Test-Time Scaling (PTTS): a planner jointly emits k solution outlines and a frozen reasoning-model executor solves each outline-conditioned branch, replacing independent repeated sampling. Formally PTTS generalizes RS; stylized analysis shows pass@k-optimized joint planning covers complementary modes vs pass@1 mode collapse. Instantiations: PTTS-ZS (base LLM jointly generates all outlines in one AR pass) and PTTS-RL (optimize planner on pass@k with truncated executor rollouts). On MATH-500, AIME 2024/25/26, HMMT-Feb26 with Qwen3-1.7B/4B executors, PTTS-ZS gains up to +6.7 pass@64 vs RS; PTTS-RL up to +13.4 (1.7B) / +6.7 (4B); PTTS-RL pass@32 exceeds RS pass@64. Code Apache-2.0 at github.com/shirley-wu/planned-test-time-scaling; no HF Papers page yet.",
      "url": "https://arxiv.org/abs/2609.27374",
      "authors": [
        "Xueqing Wu (UCLA)",
        "Langxing Bai (UCLA)",
        "Hritik Bansal (UCLA)",
        "Po-Nien Kung (UCLA)",
        "Shuo Li (Amazon)",
        "Hao Liu (Amazon)",
        "Nanyun Peng (UCLA)",
        "Kai-Wei Chang (UCLA)"
      ],
      "tags": [
        "ptts",
        "planned-test-time-scaling",
        "pass@k",
        "test-time-scaling",
        "planner-executor",
        "reasoning-diversity",
        "qwen3",
        "aime",
        "math-500",
        "dapo",
        "ucla",
        "amazon",
        "2609.27374"
      ],
      "venue": "arXiv / UCLA + Amazon (preprint)",
      "source": "arxiv",
      "license": "CC BY 4.0 (arXiv); code Apache-2.0 (GitHub LICENSE)",
      "published_year": 2026,
      "added_at": "2026-09-25T02:02:15.000Z",
      "has_dataset_profile": false,
      "license_class": "permissive",
      "langs": [
        "en"
      ],
      "modalities": [],
      "size_class": null,
      "citation_count": 0,
      "downloads": null,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/1043",
      "markdown": "https://papers.projxon.ai/entries/1043.md",
      "api": "https://papers.projxon.ai/api/entries/1043"
    },
    {
      "id": 1443,
      "kind": "tool",
      "title": "K2 Horizon data release — DATA_NAVIGATOR index and the post-training data-generation pipelines",
      "summary": "IFM's open release of the K2 Horizon training data (datasets queued as #121–125) and the pipelines that generated it, announced as \"the most detailed open LLM data release yet\" — an UNVERIFIED first-party superlative (the dataset cards carry identical boilerplate provenance and NO per-dataset token counts, so the post's 13T-token figure cannot be decomposed or checked from the cards; the detail lives in the repos and blog). PIPELINES: (1) pretraining-data-toolkit — annotates web documents with WebOrganizer topic/format classifiers, scores with FineWeb-Edu + two fastText quality scorers, buckets into FIVE quality tiers, two-pass distributed shuffle; ships `party`, a CLI record inspector. (2) search360 — dense retrieval over the corpus (Contriever + FAISS IVFPQ; production index 1.6B passages / 145M documents) grounding most synthetic generation; NO index or corpus ships with the repo. (3) Wzip — a new compressor (adaptive multi-window LZ77 + windowed Huffman) built because gzip/zstd diversity metrics saturate at scale; blog claim (chart only, no numbers): their synthetic data's measured diversity \"approaches high-quality natural web text.\" (4) PRism (GitHub PRs → agentic coding data): curator (merged PRs + discussion + diffs, 1–15 changed files), annotator (local-LLM labels via vLLM), synthesis — pr_thoughts (LLM writes the missing developer reasoning around REAL diffs; only prose is synthetic), pr_tasks (tasks with controlled hint levels), pr_task_synthesis (agents build VERIFIED RL environments in Harbor format — kept only if the eval script FAILS on the pre-fix repo and PASSES after the fix), pr_chain_agent_datagen (a repo's successive PRs replayed as ONE long multi-turn session, hundreds of thousands of tokens, with LLM-compacted handoffs). (5) advisor — a PRIVILEGED advisor model sees the reference solution, hidden tests, and private notes; at a proposed finish or every k turns it reviews the solver's draft and either keeps it or has the solver REGENERATE the turn after a short solver-safe cue; privileged material never enters the solver's context or the recorded trajectory (one disclosed exception: the ReasoningPrefillCue variant places the hint at the opening of the solver's next reasoning block — \"guarded, not guaranteed solver-safe\"); ships a leak/coherence audit tool. Quantified result (strongest in the release, first-party): over 168,990 tasks, solver alone solved 54.1%; advised reruns of previously unsolved tasks brought the total to 73.0% (+18.9pp) of tasks yielding a successful trajectory — IFM's own caveat: this measures trajectory yield, NOT a per-attempt pass rate under matched conditions. (6) task-factory — a Markdown program for a coding agent: pick checkable problems, write Harbor tasks, verify the reference solution passes AND wrong answers fail, audit for reward hacking, calibrate difficulty against a real agent (status: pre-release). (7) process_entry — the strict validator every K2 mid/post-training conversation passed: turn structure, JSON-schema-valid tool calls, no degenerate loops, no leaked special tokens or other templates' markers, no foreign model identity; design principle \"Reject, never repair.\" (8) file-manipulation-pipeline and agentic_semantic_packing — office-file tasks from 57 work templates; simulated-user personas (1,296 combinations) + search360 → length-targeted research conversations (both self-described as reference implementations; packing ships a simplified generate.py). (9) LCQA — questions about selected passages, training example shows the whole document. HEADLINE FINDINGS from the announcement: (a) MIXTURE — the chosen web-heavier pre-training mix ranked LAST in small experiments but was picked because scaling predictions put it first at the 20T-token target: \"Small-scale wins can mislead\" — small-scale mixture rankings INVERTED at target scale. (b) \"More verification isn't always better. Strict verification can throw away useful training signal\" — elaborated in the post's follow-up thread: loss is computed on individual TOKENS, not documents, so a wrong answer token can be one bad label among thousands of useful ones; strict document-level verification discards valuable content and narrows diversity, so for pre-training they deliberately skipped verification on most synthetic data. Still a first-party claim, and the shipped tooling cuts the other way on the post-training side (process_entry is strict-by-default, task-factory's gates are \"never skipped\") — so read it as a pre-training-specific tradeoff, not a general anti-verification stance. (c) \"Beyond teacher imitation\" — >100M unique synthesized tasks; trajectories the teacher couldn't generate alone (chain-replay sessions; advisor-guided rescue). Scale/context (blog, first-party): ~17% of the pre-training corpus is problem-solving trajectories with explicit reasoning; >10T synthetic tokens; each fleet model pretrained on ~20T tokens (blog elsewhere says the smaller models trained on \"exactly the same 22 trillion tokens\" — 20T vs 22T never reconciled; the released 13T is inferred to be the REDISTRIBUTABLE portion per the blog's license caveat — no source states the 13T↔20T relationship directly). REWARD-HACKING SELF-AUDIT (blog; procedure is Artificial Analysis's, execution IFM's): flagship on Terminal-Bench 2.1 scored 70.2% raw; auditing every passing trial → corrected 66.9% (−3.37pp); IFM also discloses its 7B found and downloaded SWE-bench answers, producing an inflated 82 it disowns. Caveats: several pipelines are reference implementations, not turnkey (file-manipulation \"won't run elsewhere without changes\"; task-factory pre-release; PRism-curator/annotator ship no examples); the flagship's independent evaluation coverage is thin (Artificial Analysis pages exist for at least the 3.7B); blog-vs-card contradiction on llama.cpp support for the flagship (also flagged in #111's orbit — unresolved); post overstates the advisor (\"directly edit a solver's reasoning\" — the advisor never edits; the solver regenerates after a cue).",
      "url": "https://x.com/IFM_AI/status/2113677853355295200",
      "authors": [
        "Institute of Foundation Models (IFM Team",
        "MBZUAI's frontier lab",
        "founded by Eric Xing) — organization author",
        "no individuals named for the data release"
      ],
      "tags": [],
      "venue": "IFM blog / X announcement",
      "source": "x",
      "license": "",
      "published_year": 2026,
      "added_at": "2026-10-23T00:00:00.000Z",
      "has_dataset_profile": false,
      "license_class": "unknown",
      "langs": [
        "en"
      ],
      "modalities": [],
      "size_class": null,
      "citation_count": null,
      "downloads": null,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/1443",
      "markdown": "https://papers.projxon.ai/entries/1443.md",
      "api": "https://papers.projxon.ai/api/entries/1443"
    }
  ]
}
