subset int64 0 99 | query int64 0 19 | diff float64 -0.01 0.01 | score_sum float64 -0.01 0 |
|---|---|---|---|
0 | 0 | -0.000515 | -0.000105 |
0 | 1 | -0.002597 | -0.002062 |
0 | 2 | -0.002417 | -0.001772 |
0 | 3 | -0.000472 | 0.000081 |
0 | 4 | -0.001507 | -0.001299 |
0 | 5 | -0.001212 | -0.00042 |
0 | 6 | -0.00104 | -0.000566 |
0 | 7 | 0.000348 | 0.001023 |
0 | 8 | -0.001495 | -0.001582 |
0 | 9 | 0.000434 | 0.000722 |
0 | 10 | 0.000393 | 0.000594 |
0 | 11 | -0.002513 | -0.001835 |
0 | 12 | -0.001089 | -0.000993 |
0 | 13 | -0.00021 | -0.000563 |
0 | 14 | -0.000331 | -0.000403 |
0 | 15 | 0.001384 | 0.000599 |
0 | 16 | 0.001213 | 0.000715 |
0 | 17 | -0.001733 | -0.001268 |
0 | 18 | -0.000565 | -0.000527 |
0 | 19 | -0.001814 | -0.001385 |
1 | 0 | 0.000407 | 0.001012 |
1 | 1 | -0.001216 | -0.000701 |
1 | 2 | -0.000083 | -0.000003 |
1 | 3 | -0.000117 | 0.0001 |
1 | 4 | 0.000181 | 0.000127 |
1 | 5 | -0.000389 | -0.000218 |
1 | 6 | 0.000242 | 0.000196 |
1 | 7 | -0.000649 | -0.000747 |
1 | 8 | -0.001086 | -0.001062 |
1 | 9 | 0.001581 | 0.001662 |
1 | 10 | 0.000072 | -0.000388 |
1 | 11 | -0.001367 | -0.00064 |
1 | 12 | 0.000634 | 0.000279 |
1 | 13 | 0.003788 | 0.002505 |
1 | 14 | 0.000067 | 0.00005 |
1 | 15 | -0.001338 | -0.00117 |
1 | 16 | 0.000507 | 0.000498 |
1 | 17 | 0.00071 | 0.000789 |
1 | 18 | -0.000905 | -0.000869 |
1 | 19 | -0.000406 | -0.000251 |
2 | 0 | 0.000194 | 0.000121 |
2 | 1 | 0.000063 | 0.00002 |
2 | 2 | 0.000218 | 0.000088 |
2 | 3 | -0.001201 | -0.00058 |
2 | 4 | -0.00086 | -0.000993 |
2 | 5 | -0.000881 | -0.000636 |
2 | 6 | -0.000389 | -0.000544 |
2 | 7 | -0.001534 | -0.001936 |
2 | 8 | -0.002774 | -0.001363 |
2 | 9 | -0.000625 | -0.000662 |
2 | 10 | -0.001034 | -0.001068 |
2 | 11 | -0.000035 | 0.000085 |
2 | 12 | -0.000412 | -0.000201 |
2 | 13 | 0.000767 | 0.00082 |
2 | 14 | -0.001341 | -0.000781 |
2 | 15 | -0.000048 | -0.000204 |
2 | 16 | -0.000458 | -0.000709 |
2 | 17 | -0.004921 | -0.003982 |
2 | 18 | -0.000796 | -0.000832 |
2 | 19 | 0.001325 | 0.001514 |
3 | 0 | -0.000193 | -0.000128 |
3 | 1 | -0.000601 | -0.000036 |
3 | 2 | 0.000757 | 0.00056 |
3 | 3 | 0.000029 | 0.00013 |
3 | 4 | 0.001236 | 0.001071 |
3 | 5 | 0.000474 | 0.000572 |
3 | 6 | 0.001481 | 0.001495 |
3 | 7 | 0.002579 | 0.002287 |
3 | 8 | 0.00074 | 0.001177 |
3 | 9 | 0.000363 | 0.000221 |
3 | 10 | 0.001372 | 0.001573 |
3 | 11 | -0.0008 | -0.000591 |
3 | 12 | -0.000696 | 0.000274 |
3 | 13 | 0.001271 | 0.001198 |
3 | 14 | -0.00038 | -0.000198 |
3 | 15 | -0.000407 | -0.000325 |
3 | 16 | 0.0014 | 0.001404 |
3 | 17 | -0.001004 | -0.000451 |
3 | 18 | -0.00086 | -0.000504 |
3 | 19 | -0.000082 | -0.000186 |
4 | 0 | -0.000748 | -0.00046 |
4 | 1 | -0.002788 | -0.002024 |
4 | 2 | -0.001438 | -0.001622 |
4 | 3 | 0.000051 | -0.000206 |
4 | 4 | -0.003807 | -0.004001 |
4 | 5 | -0.000346 | -0.000813 |
4 | 6 | 0.000598 | -0.000027 |
4 | 7 | -0.000001 | -0.000368 |
4 | 8 | -0.000333 | -0.000517 |
4 | 9 | -0.000138 | 0.000182 |
4 | 10 | -0.000994 | -0.001451 |
4 | 11 | -0.001212 | -0.001287 |
4 | 12 | -0.000347 | 0.000197 |
4 | 13 | -0.001574 | -0.000996 |
4 | 14 | -0.000046 | -0.000068 |
4 | 15 | -0.00077 | -0.000378 |
4 | 16 | -0.001626 | -0.000877 |
4 | 17 | 0.000364 | 0.000704 |
4 | 18 | 0.000142 | 0.000287 |
4 | 19 | -0.000587 | -0.000899 |
Retrain bank: plan_adam_eps1e17_8k_bs256
This repository contains 100 fully retrained language models, not just scores.
Each model is GPT-2 (gpt2) fine-tuned on the same 8,000-document corpus with a different random 1% (80 documents) held out, from the same seed and the same data order as the base model in retrained/base. Retraining is deterministic within one environment, so the models differ only by the documents removed.
That is the expensive part of any leave-k-out attribution study, and it is reusable: a new attribution method can be evaluated against this bank without retraining anything.
What is here
| path | what it is |
|---|---|
retrained/base/ |
the unablated fine-tuned model |
retrained/subset_*/ |
100 models, each missing a different 1% of the corpus |
validation.csv |
the ground truth: per (subset, query) change in loss caused by that removal |
subsets.json |
which document ids each subset removed |
config.yaml |
the exact training configuration |
filter_proponents_*/ |
tail-filter results: loss change when a scorer's top-ranked 1% is removed |
Using it
from huggingface_hub import snapshot_download
import pandas as pd
path = snapshot_download("EleutherAI/metasmoothness-bank-plan_adam_eps1e17_8k_bs256", repo_type="dataset")
# ground truth: what removing each subset did to each query's loss
truth = pd.read_csv(f"{path}/validation.csv")
# score your own method, then correlate its predicted influence against `diff`
# LDS = mean over queries of Spearman(predicted subset sums, measured diff)
Measured on this bank
| metric | value |
|---|---|
| MAGIC LDS | 0.9163 |
| EK-FAC LDS | 0.3869 |
| metasmoothness | 0.9924 |
| tail-filter delta, MAGIC | 0.07060 nats |
| tail-filter delta, EK-FAC | 0.02923 nats |
| tail-filter delta, random control | 0.00018 nats |
LDS is the mean per-query Spearman correlation between a scorer's predicted subset influence and the measured diff. The tail-filter delta is a different question on the same bank: remove the 1% a scorer ranks most influential, retrain once, and measure the query loss change against the bank's random removals as the matched control.
Provenance
- optimizer
adamw, lr0.0002, batch size256,2epochs,63steps, seed42 - corpus: smollm2, 8,000 documents
- retrains for one bank all run on a single GPU type: mixing types changes the retrained models by enough to shift LDS by ~0.05, which is larger than most effects being measured.
Produced by bergson.
- Downloads last month
- 33