SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2505.18513 · NeurIPS · 2025

Enhancing Training Data Attribution with Representational Optimization

Colin Raffel, Yiming Yang, Weiwei Sun, Nikhil Kandpal, Haokun Liu

arXiv · PDF · Open in the Atlas

Code that ran

7 of 13 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (0 of them constructed an object rather than computing a result; 3 honoured the contract we drafted, 0 violated it and 0 have no contract verdict; 4 failures of our instrument; 6 no recorded run), measured 2026-11-23; repository links from the Papers with Code archive attributed under CC BY-SA, no affiliation; bodies inline only under a permissive licence as GitHub detects it. Not a reproduction of the paper's results.

"Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results. This record, dated, as JSON: /api/ran/2505.18513.json · badge: /api/ran/2505.18513.svg

Each repository's role is a label: a classifier's output recorded on the link, or, where no role is recorded, what the Papers with Code archive marked. The line under it names its basis. Neither says who wrote the code.

RepositoryRoleRan
sunnweiwei/airrep canonical (classifier label)
classifier basis: classifier_2025
7 ran · 3 no recorded run
MadryLab/DsDm community
Papers with Code archive
0 ran · 2 no recorded run
copy not recorded community
not in the paper's declared repositories
0 ran · 1 no recorded run
FunctionStatusWhere it lives
build_example Ran
ran, honoured the contract we drafted
sunnweiwei/airrep/airrep/airrep_trainer.py
pointer only (licence: NONE) · get_code("4cbf2a3e702145ea")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, sunnweiwei/airrep when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

format_item Ran
ran; our contract draft was wrong, not the code
sunnweiwei/airrep/airrep/airrep_trainer.py
pointer only (licence: NONE) · get_code("87218fb7bd794cee")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, sunnweiwei/airrep when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

format_item Ran
ran; our contract draft was wrong, not the code
sunnweiwei/airrep/scripts/04_evaluate.py
pointer only (licence: NONE) · get_code("8e52daac4a11eb62")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, sunnweiwei/airrep when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

mean_pooling Ran
ran; our contract draft was wrong, not the code
sunnweiwei/airrep/airrep/modeling_airrep.py
pointer only (licence: NONE) · get_code("a9b8a52fdc139850")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, sunnweiwei/airrep when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

ranknet_loss Ran
ran; our contract draft was wrong, not the code
sunnweiwei/airrep/airrep/airrep_trainer.py
pointer only (licence: NONE) · get_code("22a29f584fb024de")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, sunnweiwei/airrep when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

softmax Ran
ran, honoured the contract we drafted
sunnweiwei/airrep/scripts/04_evaluate.py
pointer only (licence: NONE) · get_code("6a445568164614eb")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, sunnweiwei/airrep when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

sum_agg Ran
ran, honoured the contract we drafted
sunnweiwei/airrep/scripts/04_evaluate.py
pointer only (licence: NONE) · get_code("027e6b50c64d21a4")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, sunnweiwei/airrep when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

AirRep Not yet run
unverified (harvested, no recorded run)
sunnweiwei/airrep/airrep/modeling_airrep.py
pointer only (licence: NONE) · get_code("2b9144433f59b404")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, sunnweiwei/airrep when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

AirRepConfig Not yet run
unverified (harvested, no recorded run)
sunnweiwei/airrep/airrep/modeling_airrep.py
pointer only (licence: NONE) · get_code("c7dcc915c5c6e960")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, sunnweiwei/airrep when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

AirRepModel Not yet run
unverified (harvested, no recorded run)
sunnweiwei/airrep/airrep/modeling_airrep.py
pointer only (licence: NONE) · get_code("56d047c7e748d0bd")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, sunnweiwei/airrep when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

_cached_ch_load Not yet run
unverified (harvested, no recorded run)
MadryLab/DsDm/dsdm/selections.py
pointer only (licence: NONE) · get_code("68a7adb31d4d8a0f")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, MadryLab/DsDm when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

dsdm_select Not yet run
unverified (harvested, no recorded run)
MadryLab/DsDm/dsdm/selections.py
pointer only (licence: NONE) · get_code("f3feea63a19be6bf")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, MadryLab/DsDm when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

process_path Not yet run
unverified (harvested, no recorded run)
this paper's copy was not recorded; identical code first harvested from MadryLab/DsDm
pointer only; the stored copy get_code serves, from MadryLab/DsDm, is pointer only (licence: NONE) · get_code("2c9490427848c4dc")
How it ran

The body of this sample is withheld: this paper's copy of the code was not recorded (its link names no repository or source path), so no licence was read for it. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

Also present in other papers' code

Of 13 samples lifted from this paper's linked repositories, 13 carry a function identity and 0 do not. Of the 13 distinct functions with an identity, 2 are also present in other papers whose code we hold (2 with at least one paper dated earlier, 0 the same month, 0 later) and 11 are only here among the 52,977 papers whose code Syntology holds (as of 2026-09-26).

Only here means: among the 52,977 papers whose code Syntology holds (51,887 with lifted samples, 1,090 through their assemblies only), as of 2026-09-26, no other paper's lifted samples or current assembly bricks contain an identical function body after normalisation.

FunctionAlso present inEarliest-datedOthers named
dsdm_select
brick of this paper's assembly: entry
1 other paper
1 dated earlier
2401.12926 (2024-01)
DsDm: Model-Aware Dataset Selection with Datamodels
process_path
brick of this paper's assembly: helper
1 other paper
1 dated earlier
2401.12926 (2024-01)
DsDm: Model-Aware Dataset Selection with Datamodels

Presence, not direction: an identical function body in two papers' repositories does not say who wrote it, which came from which, or that either paper's method rests on it. Matching is exact after normalisation, so a renamed or edited function is not matched. Dates are when papers appeared, not when code was written. Only .py files the harvester lifted are covered; notebooks are not read. A new-style arXiv id YYMM.NNNN dates a paper to the month 20YY-MM; otherwise Paper.year dates it to the year; otherwise it is undated. Dates are when the paper appeared, not when the code was written. Read 2026-11-23.

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

Training data attribution (TDA) methods aim to measure how training data impacts a model's predictions. While gradient-based attribution methods, such as influence functions, offer theoretical grounding, their computational costs make them impractical for large-scale applications. Representation-based approaches are far more scalable, but typically rely on heuristic embeddings that are not optimized for attribution, limiting their fidelity. To address these challenges, we propose AirRep, a scalable, representation-based approach that closes this gap by learning task-specific and model-aligned representations optimized explicitly for TDA. AirRep introduces two key innovations: a trainable encoder tuned for attribution quality, and an attention-based pooling mechanism that enables accurate estimation of group-wise influence. We train AirRep using a ranking objective over automatically constructed training subsets labeled by their empirical effect on target predictions. Experiments on instruction-tuned LLMs demonstrate that AirRep achieves performance on par with state-of-the-art gradient-based approaches while being nearly two orders of magnitude more efficient at inference time. Further analysis highlights its robustness and generalization across tasks and models. Our code is available at https://github.com/sunnweiwei/AirRep.

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2505.18513")
get_code_for_paper("2505.18513")
have("2505.18513")

The run record, dated, one paper per request, free:

curl https://syntology.ai/api/ran/2505.18513.json

A badge for a README (the split and the date, never a ratio):

[![Syntology run record](https://syntology.ai/api/ran/2505.18513.svg)](https://syntology.ai/paper/2505.18513)

Connect an agent — have() is free.