{
  "id": 1320,
  "kind": "paper",
  "title": "Relative Generalization Invariance of LLM Pretraining",
  "summary": "Introduces Relative Generalization Invariance (RGI): the validation-loss difference between any two tokens is preserved across models, i.e. L_A(d) = L_B(d) + C_AB — different training choices produce a token-independent constant shift rather than selective per-token improvement. GPT-style models (124M, 0.7B) trained on FineWeb with six optimizers (Adam, Adam-mini, Lion, Muon, Soap, Scion) from shared initialization and data streams show concordance correlation r_CCC > 0.95 and relative discrepancy r_diff < 0.05 after ~2,000 steps; at 10K steps the validation-loss relationship between optimizers is near-perfectly linear (R^2 >= 0.99). RGI persists approximately across architectural changes: RoPE/NoPE/ALiBi positional encodings, full vs sliding-window attention, GELU/SiLU/Squared-ReLU FFN activations, different initializations, and moderate width changes. Changing the training data breaks it: FineWeb-trained vs ArXiv- or CodeParrot-trained models (same Adam optimizer) fail to exhibit RGI; C4 shows partial, unstable alignment. Not explained by NTK/lazy training — parameters and hidden states move substantially from initialization and cross-optimizer similarity decreases while RGI persists — nor by mean-field regimes (RGI appears in narrower models); the authors prove RGI can emerge in an overparameterized quadratic model. License: CC BY 4.0.",
  "body": "",
  "notes": "Discovery: Mingyu Jin (@fnruji316625, ML/NLP/Optimization, interns @ NEC/Adobe, ~977 followers, verified), 12-post X thread 2026-10-08 ~9:22 PM ET (~3.7K views, 62 likes, 59 bookmarks) summarizing the paper. Thread numbers verified against the paper's ar5iv text: r_CCC > 0.95 and r_diff < 0.05 after 2,000 steps across all five non-Adam optimizers; R^2 >= 0.99 validation-loss linearity at 10K steps; ArXiv/CodeParrot-trained models (same Adam) fail RGI with r_CCC below 0.95; C4 intermediate. Relevance: directly relevant to the user's LLM pretraining work — the implication for a fixed dataset is that optimizer/architecture choices shift the overall loss level, not which tokens are hard; the relative difficulty structure comes from data curation, making data the primary lever. His 3:1 SWA:full-attention hybrid and optimizer choices (per his stack) should be read through this lens: expect level shifts, not re-ranked token difficulty.",
  "url": "https://arxiv.org/abs/2609.33016",
  "links": [],
  "authors": [
    "Fengzhuo Zhang",
    "Shuche Wang",
    "Shenggui Li",
    "Tianyu Ruan",
    "Jianliang He",
    "Ivor Tsang",
    "Tianyu Pang",
    "Chao Du",
    "Tianwei Zhang",
    "Zhuoran Yang (Yale University",
    "National University of Singapore",
    "Nanyang Technological University",
    "A*STAR",
    "Sea AI Lab)"
  ],
  "tags": [],
  "topics": "",
  "venue": "arXiv:2609.33016 (cs.LG), submitted 26 Sep 2026",
  "publisher": "",
  "source": "x",
  "language": "en",
  "access": "free",
  "license": "",
  "published_year": 2026,
  "added_at": "2026-10-09T00:00:00.000Z",
  "verified_at": "2026-10-09T00:00:00.000Z",
  "attrs": {},
  "enrichment": {},
  "enriched_at": null,
  "license_class": "unknown",
  "langs": [
    "en"
  ],
  "modalities": [],
  "size_class": null,
  "provenance": {
    "legacy_paper_id": "1627"
  },
  "visibility": "public",
  "status": "active",
  "duplicate_of": null,
  "origin": "legacy",
  "created_at": "2026-10-09T11:54:03.491Z",
  "updated_at": "2026-10-09T11:54:03.491Z",
  "page": "https://papers.projxon.ai/entries/1320",
  "markdown": "https://papers.projxon.ai/entries/1320.md",
  "api": "https://papers.projxon.ai/api/entries/1320",
  "relations": [],
  "duplicates": [],
  "similar": [
    {
      "id": 1127,
      "kind": "paper",
      "title": "daVinci-LLM: Towards the Science of Pretraining",
      "summary": "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.",
      "url": "https://arxiv.org/abs/2603.27164",
      "authors": [
        "Yiwei Qin",
        "Yixiu Liu",
        "Tiantian Mi",
        "Muhang Xie",
        "Zhen Huang",
        "Weiye Si",
        "Pengrui Lu",
        "Siyuan Feng",
        "Xia Wu",
        "Liming Liu",
        "Ye Luo",
        "Jinlong Hou",
        "Qipeng Guo",
        "Yu Qiao",
        "Pengfei Liu"
      ],
      "tags": [
        "pretraining",
        "data-darwinism",
        "open-llm",
        "curriculum",
        "gair",
        "davinci-llm",
        "8t-tokens"
      ],
      "venue": "arXiv / Shanghai AI Lab / GAIR-NLP / SII",
      "source": "arxiv",
      "license": "paper arXiv; dataset CC-BY-4.0 (Hub)",
      "published_year": 2026,
      "added_at": "2026-10-02T23:40:42.683Z",
      "has_dataset_profile": false,
      "license_class": "other",
      "langs": [
        "en"
      ],
      "modalities": [],
      "size_class": null,
      "citation_count": 0,
      "downloads": null,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/1127",
      "markdown": "https://papers.projxon.ai/entries/1127.md",
      "api": "https://papers.projxon.ai/api/entries/1127"
    },
    {
      "id": 785,
      "kind": "paper",
      "title": "ReScraper: Unified Scraping and Cleaning of Web Data for Effective LLM Pretraining",
      "summary": "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.",
      "url": "https://arxiv.org/abs/2609.34287",
      "authors": [
        "Zichun Yu",
        "Jiarui Yan",
        "Shlok Sanghvi",
        "Nihar Atri",
        "Chenyan Xiong"
      ],
      "tags": [
        "data-curation",
        "pretraining",
        "web-scraping",
        "html-extraction",
        "ai4ai",
        "dclm"
      ],
      "venue": "arXiv",
      "source": "arxiv",
      "license": "",
      "published_year": 2026,
      "added_at": "2026-09-29T00: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/785",
      "markdown": "https://papers.projxon.ai/entries/785.md",
      "api": "https://papers.projxon.ai/api/entries/785"
    },
    {
      "id": 820,
      "kind": "paper",
      "title": "Generalization Dynamics of LM Pre-training (\"Discovering Mode-Hopping\")",
      "summary": "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).",
      "url": "https://arxiv.org/abs/2609.33150",
      "authors": [
        "Jiaxin Wen",
        "Zhengxuan Wu",
        "Dawn Song",
        "Lijie Chen"
      ],
      "tags": [
        "pretraining",
        "generalization",
        "mode-hopping",
        "evaluation",
        "checkpoints"
      ],
      "venue": "arXiv (2026-09-27; alphaXiv #10 trending)",
      "source": "paper",
      "license": "",
      "published_year": 2026,
      "added_at": "2026-09-30T00: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/820",
      "markdown": "https://papers.projxon.ai/entries/820.md",
      "api": "https://papers.projxon.ai/api/entries/820"
    },
    {
      "id": 1209,
      "kind": "paper",
      "title": "Generalization Is Stability, Not Accuracy: Multi-Axis Evaluation of LLMs",
      "summary": "Argues generalization in LLMs should be defined as producing consistent, semantically stable outputs when the same input is expressed in different ways — not aggregate accuracy on a single prompt format, which conflates robustness with benchmark performance that can be gamed via narrow training. Introduces the Stability-Aware Generalization Objective (SAGO), a framework measuring how much model behavior changes for the same input under different variations, evaluated per-example across multiple input variants and several behavioral axes: generation consistency, internal activations, confidence, and response mirroring. Finds statistically significant, consistent generalization instability across many commonly used models: no model generalizes uniformly, behavioral axes capture independent failure modes (axes are not redundant), and cross-dataset variation can reverse model rankings — leaderboards flip when prompts are rephrased. Scaling up did not fix it: 7-8B-class models (L-8B, G-7B, Q-7B) were equally or more unstable than their smaller counterparts on most axes. Direct input for eval-axis design (Model Axes).",
      "url": "https://arxiv.org/abs/2610.01428",
      "authors": [
        "Nagham Omar",
        "Mahmoud Jabarin",
        "Maya Rozenshtein",
        "Rom Himelstein",
        "Avi Mendelson",
        "Amit LeVi"
      ],
      "tags": [
        "sago",
        "llm-evaluation",
        "generalization",
        "behavioral-stability",
        "prompt-robustness",
        "eval-axes",
        "model-ranking"
      ],
      "venue": "arXiv:2610.01428 (cs.CL), submitted 1 Oct 2026",
      "source": "arxiv",
      "license": "",
      "published_year": 2026,
      "added_at": "2026-10-03T00: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/1209",
      "markdown": "https://papers.projxon.ai/entries/1209.md",
      "api": "https://papers.projxon.ai/api/entries/1209"
    },
    {
      "id": 1329,
      "kind": "paper",
      "title": "dattri-LLM: A Unified and Efficient Library for Training Data Attribution at LLM Scale",
      "summary": "dattri-LLM is an open-source PyTorch library for gradient-based training data attribution (TDA) at LLM scale, from TRAIS-Lab (Shixuan Liu et al.). Efficiency comes from two exact per-example gradient representations - factorized (input-activation/output-gradient pairs) and materialized (dense per-sample weight gradients) - with a FLOP-aware cost model routing each layer and operation to the cheaper one, so 'ghost' inner products score samples without ever forming weight gradients when that is cheaper. Compatibility comes from non-invasive capture: autograd hooks assemble per-sample gradients from any training loop that calls backward(), with no changes to the loop, optimizer, or trainer - demonstrated on HuggingFace Trainer, TRL (SFT/GRPO trainers), and OLMo, under DDP and FSDP, with per-rank sharded gradient stores merged afterwards; gradients can be offloaded to disk during training and re-attributed by any method without the model. Extensibility comes from two interfaces: Attributor (plug-in attribution methods over one shared gradient stream) and HookManagerCallback (training-time applications acting on captured gradients, e.g. online data selection). Built-in attributors: TracIn, Grad-Dot/Grad-Cos, K-FAC and EK-FAC influence, DVEmb, LESS, AdamW-influence, plus a DataSelectionCallback for online data selection. Benchmarks on four H200s (512 training sequences, Qwen2.5 0.5B-72B plus Qwen1.5-110B; 1 query through 32B, 4 queries at 72B/110B) against Bergson, Kronfluence, and LogIX: dattri-LLM averages 3.2x the throughput of the fastest competing library per configuration across GradDot/K-FAC/EK-FAC, and is the only library besides Bergson to complete 72B/110B runs (Kronfluence OOMs beyond 7B on K-FAC; LogIX beyond 32B). Fidelity-cost trade-offs (LDS/LOO-style TSLOO on GPT-2, Qwen2.5-1.5B, OLMo-3-7B) favor dattri-LLM's EK-FAC and AdamW-influence. Code: MIT-licensed at github.com/TRAIS-Lab/dattri-llm (9 stars at catalog time; the library is the LLM-scale companion of the earlier dattri package). Paper license: arXiv non-exclusive distribution 1.0 (not CC).",
      "url": "https://arxiv.org/abs/2609.38767",
      "authors": [
        "Shixuan Liu",
        "Tongli Zhou",
        "Junwei Deng",
        "Pingbang Hu",
        "Jiaqi W. Ma"
      ],
      "tags": [],
      "venue": "arXiv:2609.38767 (cs.LG), submitted 30 Sep 2026 (v2 1 Oct 2026); TRAIS-Lab (UIUC; Tongli Zhou, Google)",
      "source": "x",
      "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/1329",
      "markdown": "https://papers.projxon.ai/entries/1329.md",
      "api": "https://papers.projxon.ai/api/entries/1329"
    },
    {
      "id": 869,
      "kind": "paper",
      "title": "PhantomEnvironments: Training LLM Agents in Fictional Worlds",
      "summary": "Training LLM agents with RL is bottlenecked by environments, which must provide verifiable rewards, support long-horizon interaction, and scale cheaply. Existing approaches use costly human-curated data or LLM-generated environments that risk hallucinations and benchmark contamination. PhantomEnvironments builds multi-turn RL environments from fictional worlds generated entirely by rules — templated articles and multi-hop questions (e.g., 'Who is the mother of Alice's father?') with no LLM in generation, so zero marginal cost, fully verifiable, free of distillation, and immune to contamination. Despite sharing no facts with the real world, these strikingly simple environments teach the generalizable skill of agentic search (decompose a question, retrieve documents, compose knowledge) that transfers to real-world multi-hop search benchmarks, often outperforming real-world training data on newer benchmarks. Trained agents generalize to unseen fictional universes, and Qwen models learn to scale their search budget roughly linearly with question difficulty, suggesting emergent search scaling from environment interaction alone. Ablating environment complexity shows hop count drives transfer more than constraints or comparisons. The announcement headline: a 7B LLM trained with RL in PhantomEnvs performs like an agent 10x its size.",
      "url": "https://arxiv.org/abs/2609.40221",
      "authors": [
        "Anmol Kabra",
        "Swathi Saravana Selvam",
        "Albert Gong",
        "Chao Wan",
        "Christian Belardi",
        "Dongyoung Go",
        "Katie Z. Luo",
        "Kilian Q. Weinberger"
      ],
      "tags": [
        "phantomenvironments",
        "synthetic-rl-environments",
        "llm-agents",
        "search-agents",
        "fictional-worlds",
        "phantomwiki",
        "emergent-search-scaling"
      ],
      "venue": "arXiv:2609.40221 (cs.LG), submitted 30 Sep 2026",
      "source": "arxiv",
      "license": "",
      "published_year": 2026,
      "added_at": "2026-10-02T00: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/869",
      "markdown": "https://papers.projxon.ai/entries/869.md",
      "api": "https://papers.projxon.ai/api/entries/869"
    }
  ]
}
