To Add or Not to Add: Training-Free Contribution Prediction of New Images
Preprint 2026 | Ümit Mert Çağlar
, Alptekin Temizel
| Graduate School of Informatics, METU, Türkiye
TL;DR: Before new images (newly labeled, collected from the web or generated) are added to a small, correctly labeled training set, ADEM predicts whether they will improve the model, without training any downstream model. It scores every candidate image on task relevance, label correctness and uniqueness against the trusted set and combines these into one signed set score: above zero, add the set; otherwise, don't. On 1151 candidate sets from 46 classification, segmentation and detection tasks, ADEM ranks the candidate sets with a mean Spearman correlation of 0.85 with the gain measured by training, against 0.63 for the strongest of 20 existing metrics, and it is the best metric on all 46 tasks.
The Question
Training data can be extended by labeling more images, collecting them from other sources or generating them. Adding data is not always beneficial: task-irrelevant, mislabeled or redundant images can lower test performance, so a candidate set should be assessed before it is used. Training a model on every candidate set reveals its effect but is costly when there are many candidates, and existing data quality metrics are not designed for this setting: they ignore labels, reward redundancy or require training.
ADEM answers the question directly. Given a small, correctly labeled trusted set T and a candidate set D of any source and size (down to a single image), it predicts the change in test performance when a model is trained on T ∪ D instead of T alone.
Key Contributions
- A Training-Free Utility Metric: The Anticipated Downstream Effect Metric (ADEM) predicts whether adding a candidate set, or a single image, to a trusted set will improve a downstream model, without training that model. Its score is signed, so it ranks candidate sets, cleans a pool of images and decides about one image with the same number.
- A Utility Benchmark: 1151 candidate sets on 46 classification, segmentation and detection test beds, each with a ground-truth gain measured by training three seeds, covering clean and duplicated images, label noise, content-preserving and content-destroying transforms, task-irrelevant and out-of-domain images, and images from eight generative pools.
- A Comparison With 20 Metrics: Fidelity, diversity, distribution-distance, curation, data-selection, label-quality and data-valuation metrics, evaluated on nine tests. ADEM ranks candidate sets best on all 46 test beds, including the 32 held out from its design.
- Open Source: The
evalademPython package on PyPI and GitHub, one command:evaladem --trusted DIR --candidate DIR.
How ADEM Works
Each candidate image d is judged on three properties, all measured against the trusted set:
- Task relevance r(d): how close d is to its nearest trusted images, ranked among the trusted images' own values (a conformal p-value), so that an image from another task gets r near 0.
- Label correctness q(d): the probability that its label is right, from a linear probe trained on the low-pass filtered trusted images and the share of correct labels in D, estimated by expectation-maximisation over the whole candidate set.
- Uniqueness u(d): the part of d that the trusted images of its class do not already cover, shared among its near-copies in D.
They combine into the utility of the image, in units of one new, correctly labeled image:
φ(d) = r q u − θ r (1 − q) − μ (1 − r), θ = 3, μ = ½
A new, correctly labeled, task-relevant image counts about +1, a copy of a trusted image 0, a wrong label about −3 and a task-irrelevant image −½. The set score sums the three parts per class, with diminishing returns for the useful part and a cost proportional to the harmful parts, and averages over the classes. ADEM > 0: add D; ADEM ≤ 0: do not. The few settings are the same on every task; everything else is fitted on the trusted set alone.
The Utility Benchmark
Each test bed is a classification, segmentation or detection task with a trusted set of 100 to 510 images, a pool of further training images and a test set. Each has 19 to 42 candidate sets: clean images in sizes from 100 to 2000, duplicates, label noise, content-preserving and content-destroying transforms, task-irrelevant images from other test beds, synthetic images and images from other domains. On eight test beds the pool holds generated images (EDM, DDPM, Stable Diffusion, Synset Signset Germany, ControlNet, SYNTHIA and SynRS3D) instead of real ones.
The gain of a candidate set is measured by training a learner on T and on T ∪ D with three seeds each under a fixed budget of images seen: a small CNN or an ImageNet-pretrained ResNet-18 for classification, an FPN with a ResNet-18 backbone for segmentation, and Faster R-CNN with a MobileNetV3 backbone for detection. A candidate set is useful when its gain exceeds twice its standard error across seeds. ADEM's settings were chosen on 14 test beds; the other 32 were held out.
| Task | Test beds | Candidate sets | Useful | ADEM ρ | KNN-Shapley ρ |
|---|---|---|---|---|---|
| Classification (macro-F1) | 25 | 658 | 428 | 0.86 | 0.64 |
| Segmentation (pixel macro-F1) | 14 | 337 | 216 | 0.82 | 0.60 |
| Detection (mAP@0.5) | 7 | 156 | 102 | 0.87 | 0.65 |
| All | 46 | 1151 | 746 | 0.85 | 0.63 |
Classification and segmentation include their generated pools (five and three test beds). ρ: Spearman correlation with the measured gain over all candidate sets of a test bed, mean over the test beds. KNN-Shapley is the strongest of the 20 baselines.
Show all 46 test beds
| Test bed | C | |T| | Sets | Useful | Best baseline ρ | ADEM ρ |
|---|---|---|---|---|---|---|
| Classification (macro-F1) | ||||||
| BloodMNIST | 8 | 400 | 23 | 10 | 0.77 | 0.92 |
| EuroSAT | 10 | 500 | 23 | 12 | 0.76 | 0.87 |
| CIFAR-10 | 10 | 500 | 41 | 27 | 0.82 | 0.88 |
| LIMUC | 4 | 400 | 28 | 16 | 0.66 | 0.90 |
| RESISC45 | 45 | 450 | 23 | 16 | 0.74 | 0.93 |
| HAM10000 | 7 | 210 | 24 | 16 | 0.61 | 0.86 |
| Office-Home | 65 | 325 | 26 | 17 | 0.79 | 0.89 |
| ARAS400k | 6 | 300 | 28 | 14 | 0.71 | 0.84 |
| LIMUC-128 | 4 | 400 | 28 | 15 | 0.72 | 0.88 |
| Oxford Pets† | 37 | 370 | 23 | 14 | 0.84 | 0.90 |
| DTD† | 47 | 470 | 23 | 15 | 0.79 | 0.91 |
| GTSRB† | 43 | 430 | 28 | 24 | 0.60 | 0.67 |
| Galaxy10† | 10 | 300 | 23 | 17 | 0.54 | 0.77 |
| Flowers-102† | 102 | 510 | 23 | 18 | 0.70 | 0.92 |
| FER2013† | 7 | 350 | 23 | 19 | 0.68 | 0.85 |
| KMNIST† | 10 | 500 | 23 | 14 | 0.68 | 0.87 |
| CIFAR-10-LT | 10 | 499 | 42 | 29 | 0.80 | 0.92 |
| GTSRB-LT | 43 | 431 | 32 | 30 | 0.68 | 0.89 |
| FER2013-LT | 7 | 349 | 27 | 18 | 0.65 | 0.83 |
| HyperKvasir-LT | 23 | 241 | 27 | 23 | 0.58 | 0.77 |
| Segmentation (pixel macro-F1) | ||||||
| ARAS400k | 7 | 255 | 31 | 23 | 0.65 | 0.84 |
| LoveDA† | 7 | 301 | 24 | 20 | 0.71 | 0.87 |
| OpenEarthMap† | 9 | 310 | 29 | 19 | 0.70 | 0.95 |
| ISIC 2018† | 2 | 200 | 22 | 14 | 0.66 | 0.83 |
| BUSI† | 3 | 120 | 19 | 14 | 0.63 | 0.82 |
| PanNuke† | 6 | 223 | 23 | 17 | 0.66 | 0.88 |
| VOC 2012† | 21 | 406 | 21 | 8 | 0.73 | 0.85 |
| FoodSeg103† | 104 | 333 | 23 | 18 | 0.67 | 0.80 |
| ADE20K† | 151 | 244 | 23 | 17 | 0.62 | 0.69 |
| SUIM† | 8 | 217 | 19 | 14 | 0.56 | 0.74 |
| CamVid† | 12 | 162 | 27 | 18 | 0.84 | 0.89 |
| Detection (mAP@0.5) | ||||||
| VOC 2007† | 20 | 391 | 23 | 17 | 0.65 | 0.89 |
| DIOR† | 20 | 371 | 23 | 14 | 0.60 | 0.78 |
| BUSI† | 2 | 100 | 19 | 11 | 0.76 | 0.82 |
| COCO† | 80 | 358 | 23 | 17 | 0.63 | 0.86 |
| ExDark† | 12 | 360 | 23 | 14 | 0.70 | 0.92 |
| PlantDoc† | 27 | 270 | 22 | 16 | 0.81 | 0.94 |
| DocLayNet† | 11 | 364 | 23 | 13 | 0.63 | 0.86 |
| Generated pools, classification | ||||||
| CIFAR-10 EDM† | 10 | 500 | 24 | 15 | 0.83 | 0.90 |
| CIFAR-10 DDPM† | 10 | 500 | 24 | 12 | 0.78 | 0.88 |
| CIFAR-10 SD† | 10 | 500 | 24 | 12 | 0.80 | 0.89 |
| GTSRB Synset† | 43 | 430 | 24 | 21 | 0.50 | 0.58 |
| ARAS400k CNet† | 6 | 300 | 24 | 4 | 0.78 | 0.88 |
| Generated pools, segmentation | ||||||
| ARAS400k CNet† | 7 | 255 | 27 | 19 | 0.70 | 0.91 |
| CamVid SYNTHIA† | 12 | 162 | 24 | 12 | 0.78 | 0.91 |
| OpenEarthMap SynRS3D† | 9 | 310 | 25 | 3 | 0.50 | 0.58 |
| Total / mean | 1151 | 746 | 0.70 | 0.85 | ||
C: classes; |T|: trusted images; Best baseline: the highest ρ of the 20 baselines on that test bed; †: held-out test bed.
Results
ADEM is best on all nine tests. The first four measure how well a metric ranks the candidate sets of a test bed, the next two how it does from few images, the last three how good its decisions are.
| Ranking candidate sets | Few images | Decisions | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Metric | Type | ρall↑ | ρfix↑ | AUROC↑ | Dir. %↑ | ρ@10↑ | AUROC1↑ | Top-1 %↑ | Pool ΔF1↑ | #Best↑ |
| FID | fidelity | 0.32 | 0.20 | 0.59 | 54 | 0.17 | 0.68* | 0 | – | 0 |
| KID | fidelity | 0.17 | 0.13 | 0.56 | 53 | 0.16 | 0.75* | 0 | – | 0 |
| FD-DINOv2 | fidelity | 0.31 | 0.19 | 0.59 | 52 | 0.19 | 0.66* | 0 | – | 0 |
| CMMD | fidelity | 0.17 | 0.11 | 0.55 | 52 | 0.14 | 0.76* | 0 | – | 0 |
| IS | fidelity | 0.20 | 0.13 | 0.57 | 45 | 0.09 | 0.59* | −2 | – | 0 |
| Precision | fidelity | 0.15 | 0.10 | 0.53 | 48 | 0.10 | 0.63 | 0 | −3.3 | 0 |
| Density | fidelity | 0.18 | 0.12 | 0.54 | 50 | 0.14 | 0.67 | 11 | −3.5 | 0 |
| Recall | diversity | 0.16 | 0.15 | 0.57 | 47 | 0.16 | 0.70* | 0 | – | 0 |
| Coverage | diversity | 0.34 | 0.20 | 0.59 | 55 | 0.15 | 0.67 | 9 | −3.5 | 0 |
| Vendi | diversity | 0.30 | 0.18 | 0.61 | 48 | 0.13 | 0.60* | −6 | – | 0 |
| OTDD | dataset dist. | 0.38 | 0.29 | 0.63 | 61 | 0.23 | 0.76* | 0 | – | 0 |
| LAVA | data valuation | 0.37 | 0.26 | 0.61 | 60 | 0.22 | 0.71 | 0 | −2.5 | 0 |
| CLIPScore | curation filter | 0.35 | 0.37 | 0.69 | 58 | 0.32 | 0.71 | 44 | −0.1 | 0 |
| CHIPS | data selection | 0.53 | 0.47 | 0.69 | 61 | 0.04 | 0.57 | 33 | −0.7 | 0 |
| CAS | train D, test T | 0.53 | 0.48 | 0.71 | 64 | 0.06 | 0.70* | 6 | – | 0 |
| CLER | centres D, test T | 0.52 | 0.48 | 0.72 | 65 | 0.40 | 0.72* | 13 | – | 0 |
| Cleanlab | label quality | 0.45 | 0.48 | 0.71 | 65 | 0.42 | 0.77 | 1 | +0.4 | 0 |
| Data-OOB | data valuation | 0.47 | 0.44 | 0.66 | 63 | 0.31 | 0.44 | 7 | +0.5 | 0 |
| KAIROS | data valuation | 0.28 | 0.24 | 0.62 | 55 | 0.19 | 0.78 | 35 | −1.9 | 0 |
| KNN-Shapley | data valuation | 0.63 | 0.59 | 0.76 | 71 | 0.44 | 0.73 | 26 | −0.2 | 0 |
| ADEM (ours) | utility | 0.85 | 0.82 | 0.92 | 84 | 0.58 | 0.90 | 82 | +2.6 | 46 |
Mean over the 46 test beds and 1151 candidate sets. ρall, ρfix: Spearman correlation with the gain over all candidate sets and over the fixed-size ones (without the size sweeps); AUROC: separating the useful sets from the rest; Dir.: how often the metric moves in the same direction as the gain relative to clean draws; ρ@10: ρfix from 10 random images per set; AUROC1: separating single images of a clean set that helped from images of sets that did not; Top-1: gain of the fixed-size set ranked first, as a percentage of the best gain; Pool ΔF1: macro-F1 points gained by cleaning a corrupted pool (21 classification test beds); #Best: test beds where the metric has the highest ρall. *: scored on pairs of images. Underlined: second best.
- Best on every test bed: ADEM is ahead of KNN-Shapley on all 46 (one-sided Wilcoxon signed-rank test, p = 1.4 × 10−14, the smallest value attainable with 46 pairs). Its lowest ρ, 0.58, is on OpenEarthMap SynRS3D and GTSRB Synset; on every other test bed it is at least 0.67. On the 32 held-out test beds its mean is 0.84.
- Resemblance is not utility: fidelity and diversity metrics barely track the gain (ρ ≤ 0.34). Among the fixed-size candidates, FID, KID, FD-DINOv2, CMMD, Precision, Recall, OTDD and LAVA rank an exact copy of the trusted set first on every test bed, although it adds no new image.
- A meaningful zero: the sign of ADEM agrees with the usefulness of the candidate set for 82% of the candidates.
From Few Images
Every quantity in ADEM is a per-image sum, so it needs no covariance estimate and has no small-sample bias. With only 10 images per candidate set, ADEM ranks the sets at ρ = 0.58, above KNN-Shapley with 200 images (0.54), while the FID-type metrics stay near noise at every size. Scored one image at a time, it separates the images of a clean set that helped from the images of sets that did not (copies of trusted images, task-irrelevant, mislabeled or heavily corrupted images) at AUROC1 = 0.90.
Cleaning a Pool
The image utility φ(d) also decides about single images. From a corrupted pool of 1000 images per test bed (200 each of clean, mislabeled, corrupted, task-irrelevant and copies of trusted images), keeping the images with φ(d) > 0 retains 77% of the clean images, 12% of the mislabeled, 1.2% of the task-irrelevant, 0.3% of the copies and 0.2% of the corrupted ones. The kept images are 85% clean and raise macro-F1 by 2.6 points over the trusted set alone, close to the 3.8 of keeping exactly the clean images. Keeping the whole pool costs 5.0 points; no baseline's own threshold gains more than 0.5.
Limitations
The costs θ and μ are shared by all test beds, whereas the harm of a wrong label depends on the learner, and an image transform is judged the same way on every task, although its effect is task-dependent. The study is limited to small trusted sets, frozen general-purpose encoders and fixed training budgets. Natural extensions include adapting the costs to the learner, using masks and boxes directly rather than reducing each image to one class, and calibrating the label probe to the style of generated images.
Using ADEM
pip install evaladem
The code is on GitHub. Put each folder's images in one sub-folder per class (the sub-folder name is the label) and run:
trusted/ candidate/
cat/ 0001.jpg ... cat/ web_17.png ...
dog/ 0002.jpg ... dog/ gen_04.png ...
evaladem --trusted trusted/ --candidate candidate/
For example, on the Oxford-IIIT Pets test bed (370 trusted images, 37 classes) with 500 new, correctly labeled images:
ADEM = +0.7498 -> add the candidate set
worth 423.0 new, correctly labeled images; 1.1 expected wrong labels (share of correct labels 100%); 1% task-irrelevant
cleaned pool: the 494 of 500 candidate images with phi(d) > 0 -> evaladem_output/cleaned_pool
per-image scores -> evaladem_output/scores.csv; set score and settings -> evaladem_output/summary.json
The same 500 images with half of their labels wrong score −0.3025 (do not add), and a copy of the trusted set −0.0008. From Python:
from evaladem import evaluate
r = evaluate("trusted/", "candidate/", output="evaladem_output")
r["adem"], r["add"] # set score and decision
The first run downloads the two frozen encoders (CLIP ViT-B/32 and DINOv2 ViT-S/14, about 700 MB). A GPU is used when available; the CPU works too, more slowly. For segmentation or detection data, put each image in the folder of its primary class, as in the paper.
Citation
If you find this work useful in your research, please consider citing:
@article{caglar2026adem,
title={To Add or Not to Add: Training-Free Contribution Prediction of New Images},
author={Caglar, Umit Mert and Temizel, Alptekin},
journal={arXiv preprint arXiv:XXXX.XXXXX},
year={2026}
}