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.
- Venue
- arXiv:2606.11660 (cs.LG), submitted 10 Jun 2026, v4 25 Sep 2026; presenting at EMNLP Budapest
- Source
- github
- Access
- free
- Language
- en
- Added
- Oct 4, 2026
- Verified
- Oct 4, 2026
- Found via
- #random-papers
Tags
Topics
data attribution, interpretability, MAGIC, SOURCE, TrackStar, EK-FAC, ASTRA, dataset curation
Research notes
- Discovery: @lucia_quirke (Lucia Quirke, first author) 6-post X thread 2026-10-04 1:17 PM ET (https://x.com/lucia_quirke/status/2106795734716788750), 676 views
- Paper: https://arxiv.org/abs/2606.11660
- Docs: https://bergson.readthedocs.io
- License: CC BY 4.0
Similar entries
- Paper Matryoshka attribution: Learning to attribute language model outputs to representations and weights
- Post Predictive Data Debugging: Reveal and Shape What Your Model Learns, Before You Train
- Paper Capability Provenance in Language Models: A Case Study in Social Reasoning
- Post Improving Qwen3.8-27B-Medium on DeepSWE with GRPO: 500-task SWE agent dataset experiment (AfterQuery)
- Dataset SmolDataEnvs (FineEnvs): 5K+ verifiable data-science RL tasks
- Post How Goodfire used Ai2's open post-training stack to trace unwanted behavior