{
  "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).",
  "body": "",
  "notes": "Discovery: Shixuan Liu (@ShixuanLiu40618, CS PhD @UofIllinois, ex-SonyAI, 'Understanding how data shapes models', 22 followers) X post 2026-10-08 ~3:27 PM ET (~3.3K views, 47 likes, 28 bookmarks), top of a 4-post thread; paper and code links from the thread. Relevance: the user trains his own LLMs, and entry 1627 (Relative Generalization Invariance) established that data curation is the primary lever on the loss structure - data attribution tells you WHICH training examples shape outputs, the natural complement. Also relevant to data-quality thinking (entry 1625 AfterQuery): dattri-LLM is the open-source tooling for actually measuring example-level influence. Catalog relationship: entry 1550 is EleutherAI's Bergson data-attribution library - Bergson is dattri-LLM's closest competitor in this paper's own benchmark (Table 4), so the catalog now holds both libraries head-to-head. Research note: the 3.2x figure is an average over methods/projection regimes vs the fastest competitor per configuration, and the paper's own conclusion flags it as implementation+capability comparison, not pure efficiency.",
  "url": "https://arxiv.org/abs/2609.38767",
  "links": [],
  "authors": [
    "Shixuan Liu",
    "Tongli Zhou",
    "Junwei Deng",
    "Pingbang Hu",
    "Jiaqi W. Ma"
  ],
  "tags": [],
  "topics": "",
  "venue": "arXiv:2609.38767 (cs.LG), submitted 30 Sep 2026 (v2 1 Oct 2026); TRAIS-Lab (UIUC; Tongli Zhou, Google)",
  "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": {
    "channel": "ShixuanLiu40618",
    "legacy_paper_id": "1636"
  },
  "visibility": "public",
  "status": "active",
  "duplicate_of": null,
  "origin": "legacy",
  "created_at": "2026-10-09T16:30:30.569Z",
  "updated_at": "2026-10-09T16:30:30.569Z",
  "page": "https://papers.projxon.ai/entries/1329",
  "markdown": "https://papers.projxon.ai/entries/1329.md",
  "api": "https://papers.projxon.ai/api/entries/1329",
  "relations": [],
  "duplicates": [],
  "similar": [
    {
      "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"
    },
    {
      "id": 1241,
      "kind": "code",
      "title": "Bergson: An Open Source Library for Data Attribution",
      "summary": "Open-source library (EleutherAI) unifying data attribution methods for LLMs across compute budgets. Implements MAGIC, SOURCE, EK-FAC, ASTRA, and TrackStar — the first open-source implementations of MAGIC, SOURCE, and TrackStar. Finetuning leaderboard: MAGIC tops (0.931), EK-FAC and ASTRA are both fast and accurate, SOURCE excels at multi-stage runs; TrackStar's efficient approximate scores enable cheap pretraining attribution via two-stage retrieval (amortize costs with on-disk gradient stores and ANN indices, then refine top scores with a more precise method). Also supports token-level attribution (claimed 10x data-filtering performance gain), GRPO rewards for attributing model behaviors, and optimizations like bucket batching and multi-node support. Answers 'how do LLMs generalize / why do they become misaligned?' by looking at the training data. Relevant to the user's LLM training setups (dataset curation, debugging misalignment) and GRPO work.",
      "url": "https://github.com/EleutherAI/bergson",
      "authors": [
        "Lucia Quirke",
        "Louis Jaburi",
        "David Johnston",
        "William Z. Li",
        "Gonçalo Paulo",
        "Guillaume Martres",
        "Girish Gupta",
        "Nora Belrose",
        "Stella Biderman"
      ],
      "tags": [
        "data-attribution",
        "interpretability",
        "magic",
        "source",
        "trackstar",
        "ek-fac",
        "astra",
        "dataset-curation",
        "grpo"
      ],
      "venue": "arXiv:2606.11660 (cs.LG), submitted 10 Jun 2026, v4 25 Sep 2026; presenting at EMNLP Budapest",
      "source": "github",
      "license": "",
      "published_year": 2026,
      "added_at": "2026-10-04T00: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/1241",
      "markdown": "https://papers.projxon.ai/entries/1241.md",
      "api": "https://papers.projxon.ai/api/entries/1241"
    },
    {
      "id": 588,
      "kind": "paper",
      "title": "The Curse of Recursion: Training on Generated Data Makes Models Forget",
      "summary": "Asks what happens to GPT-n once web-scale training mixes in LLM-generated text. Across Gaussians, GMMs, and language models, recursive training on generated data erases the tails of the original distribution and concentrates on a narrowing mode they call model collapse. Early generations already lose diversity; later ones can forget original-task performance. Mixing some real data delays the effect in their setups but does not remove it. Discord posted the PDF of arXiv 2305.17493.",
      "url": "https://arxiv.org/abs/2305.17493",
      "authors": [
        "Ilia Shumailov",
        "Zakhar Shumaylov",
        "Yiren Zhao",
        "Yarin Gal",
        "Nicolas Papernot",
        "Ross Anderson"
      ],
      "tags": [
        "model-collapse",
        "synthetic-data",
        "recursive-training",
        "generated-data",
        "llms"
      ],
      "venue": "arXiv",
      "source": "arxiv",
      "license": "",
      "published_year": 2023,
      "added_at": "2026-08-14T18:28:00.000Z",
      "has_dataset_profile": false,
      "license_class": "unknown",
      "langs": [
        "en"
      ],
      "modalities": [],
      "size_class": null,
      "citation_count": 546,
      "downloads": null,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/588",
      "markdown": "https://papers.projxon.ai/entries/588.md",
      "api": "https://papers.projxon.ai/api/entries/588"
    },
    {
      "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"
    },
    {
      "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": 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"
    }
  ]
}
