atlas

Research map / Large language models / AI and society

$\texttt{dattri}$: A Library for Efficient Data Attribution

NeurIPS 2024 · Large language models › AI and society · approach: Benchmarking and reproducibility practice · 0 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Introduces dattri, an open-source PyTorch library offering a unified API, modular low-level utilities, and a benchmark suite with pre-trained checkpoints and ground-truth annotations for efficient data attribution methods.

Problem

Data attribution research lacks a comprehensive library that supports development, benchmarking, and deployment of efficient data attribution methods, with no unified API or standardized benchmarks including generative settings.

Approach

A unified attributor/task API requiring minimal code changes in PyTorch pipelines, modular IHVP/HVP/random projection utilities, and a benchmark suite spanning image classification and generative (music, text) settings with pre-trained LOO/LDS ground-truth checkpoints.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use IF methods rather than other attribution methodsData attribution methods · MNIST-10 with logistic regressionLOO and LDSHelped
Ensemble 10 or 50 models with TRAK rather than use TRAK-1TRAK · MNIST-10 with logistic regressionLOO and LDSHelped
Use TRAK-50Data attribution methods · MNIST-10 with MLPLDSHelped
Use data attribution methods on MLP instead of logistic regressionData attribution methods · MNIST-10LOOHurt
Use ensembling with TRAKTRAK · ResNet-9 on CIFAR-2, Music Transformer on MAESTRO, and NanoGPT on ShakespeareLDSHelped
Use TRAK rather than other attribution methodsData attribution methods · ResNet-9 on CIFAR-10AUCHelped
Normalize gradients in Grad-CosGrad-Dot · Noisy label detectionAUCHurt
Increase the number of TRAK ensemble modelsTRAK · MNIST-10 + MLP and CIFAR-2 + ResNet-9runtime: 1.83s -> 13.71s -> 67.74s; 36.98s -> 316.22s -> 1549.24sHurt

Surprising findings

Limitations

Experimental setup

Datasets: MNIST-10 CIFAR-10 CIFAR-2 MAESTRO Tiny Shakespeare

Benchmarks: MNIST-10 LOO/LDS/AUC CIFAR-2 LDS CIFAR-10 AUC MAESTRO LDS Shakespeare LDS

Metrics: LOO correlation linear datamodeling score AUC for noisy label detection runtime peak memory

Baselines: OpenDataVal pyDVL Influenciae Captum

Builds on: influence functions TracIn TRAK Representer Point Selection torch.func

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy