Bergson: An Open Source Library for Data Attribution

Lucia Quirke, Louis Jaburi, David Johnston, William Z. Li, Gonçalo Paulo +4 more
6/10/2026
2 citations
cs.LG

Official code: EleutherAI/bergson (107 stars, Python, MIT, last commit 2026-10-29).

Abstract

Data attribution is a promising field in interpretability that aims to explain model behavior through the influence of its training data, with applications including debugging undesirable model behavior and training dataset curation. However, significant engineering effort is required to perform it at scale, and many cutting edge techniques lack open-source tooling and support.

Show full abstract

Bergson is an open source library that aims to enable faster progress in the field by providing a host of techniques that scale to very large language models and pre-training datasets. The library natively supports on-disk gradient stores and multi-node distributed training, and provides quality of life tools for researchers. Finally, we introduce the first open-source implementations of three leading data attribution methods: MAGIC, SOURCE, and TrackStar. The library is available at https://github.com/EleutherAI/bergson .

View on arXivView PDF

Code Implementations(1)

EleutherAI/bergsonOfficial100%
MIT

Mapping out the "memory" of neural nets with data attribution

10734Python, Jupyter NotebookMay 14, 20251 months agoMIT
data-attributioninfluence-functionsinterpretabilitymagicmechanistic-interpretability+1 more

Similar Papers

Cite this paper

@article{quirke2026bergson,
  title  = {Bergson: An Open Source Library for Data Attribution},
  author = {Lucia Quirke and Louis Jaburi and David Johnston and William Z. Li and Gonçalo Paulo and Guillaume Martres and Girish Gupta and Nora Belrose and Stella Biderman},
  year   = {2026},
  eprint = {2606.11660},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2606.11660v4}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2606.11660.svg)](https://codeofpaper.com/paper/2606.11660)

Discussion