Manuscript Offprint
arXiv:2610.17986Web Scale on a Budget: Tail-Aware Retrieval Evaluation
ABSTRACT
A common practice in instance retrieval is to grow the gallery size to improve a benchmark's discrimination capability. One prominent example is ILIAS, which adds up to 100 million distractor images. The prevailing assumption is that faithful evaluation demands web scale, and that indexing all 100M images through the backbone is the unavoidable price of a comparable number. That price is steep: hundreds of GPU-hours and ~200 GB of descriptors per model, paid again for every method or ablation. We show the web-scale indexing price is largely avoidable: evaluation itself obeys a scaling law. The number of distractors that outrank a positive is Binomial in the gallery size. We define the per-query retrieval hardness, a gallery-scale agnostic quantity that yields a retrieval metric at any scale, and demonstrate it can be derived from a small random sample. The underlying sampled-rank machinery is long established in recommender-system and biometric evaluation, but to our knowledge has never been adapted to visual retrieval. We make the law per-query and estimable, and validate it at true 100M scale on ILIAS and INSTRE, and on the full 759k-distractor Google Landmarks v2 pool. Concretely, within a 5% sample (a flat 20× less indexing), every backbone's tail-aware (EVT) estimate has converged onto the large-scale mAP, to within ~0.01 (mean absolute error 0.005), across five backbones, three benchmarks, and two distractor pools (mAP@1000 at 100M on ILIAS/INSTRE; the official mAP@100 at the full 759k pool on GLDv2); the recommender-systems count baseline overpredicts everywhere (+0.037 to +0.068). This is an order of magnitude better than naively reporting the metric on the same subset (+0.08 to +0.13). We release code and the per-query hardness to facilitate faster, cheaper, and greener retrieval evaluation.
1 INTRODUCTION
Progress in instance-level image retrieval is measured by growing the gallery. To separate strong embeddings from weak ones, benchmarks add large sets of distractor images: revisited Oxford/Paris add a million (R1M) (Radenović et al., 2018), Google Landmarks indexes millions (Weyand et al., 2020), and ILIAS (Kordopatis-Zilos et al., 2025) adds one hundred million. This works: performance keeps dropping as the gallery grows, which is exactly what makes these benchmarks discriminative. The price, however, is paid in indexing. Encoding 100M images through a ViT-L backbone costs on the order of 556 GPU-hours and produces ~200 GB of descriptors for one model. The field treats this as the unavoidable cost of a meaningful comparison. That cost is paid again for every method, ablation, resolution, or backbone.
Most of that cost is unnecessary. A natural shortcut is to evaluate against a small random subset of the distractors. This shortcut is distrusted because the resulting number is optimistic and, taken at face value, can mis-rank methods. So practitioners either pay the full price or retreat to smaller galleries. These are either ad-hoc random subsets, which are optimistic and not comparable across papers, or hand-built proxies such as mini-ILIAS (Kordopatis-Zilos et al., 2025), which report their own number rather than the web-scale one.
The shortcut is salvageable because the gap between the small- and large-scale metric is not mysterious. For a fixed query, the number of distractors that score above the positive is a sum of inde-

Figure 1: Why web-scale evaluation is predictable—and how a small sample makes it cheap. Retrieval in embedding space for one query (★); its target/answer (the ♦) sits at a fixed distance (dashed circle). A distractor inside the circle scores above the target and outranks it, so over N distractors the number beating the target is Binomial(N, ) and the target's rank is . The per-query hardness —the fraction of the distractor distribution inside the circle—is size-independent. Measuring it on the full gallery (every blue point) is the unaffordable 100M indexing; instead we draw a small random sample (green, inside and outside) and estimate from the green points alone ( ). That one number fixes mAP at any gallery size N, so a 5% sample predicts the 100M-scale result without indexing 100M distractors. (Illustrative 2-D points; the sample is drawn larger than 5% for legibility.)
pendent indicators, hence Binomial in the gallery size N. The probability the positive holds rank one is , where the single per-query hardness x is the fraction of the distractor similarity distribution above the positive. This x is size-independent. It is a property of the model and the distractor source, and it does not depend on how many distractors one draws. From it, the metric at any scale follows in closed form. The corollary that matters in practice: a small random sample suffices to estimate x, and the large-scale number can be predicted rather than measured.
Why has retrieval not been doing this? The sampled-rank machinery is mature, but it has lived elsewhere: classical IR (Madigan et al., 2003; Hawking & Robertson, 2003), recommender systems (Krichene & Rendle, 2020; Jin et al., 2021), and biometrics (NIST, 2022; Scheirer et al., 2011; Grother & Phillips, 2004; Slavutsky & Benjamini, 2021; Rocher et al., 2025). That machinery has been used with a single assumed score distribution and no sample-based estimation (e.g. Madigan et al. (2003) analyze one shared relevant/irrelevant score pair); what has been missing for visual retrieval is estimating, per query and from a small sample, these extremely rare exceedance probabilities and validating the resulting metric against a real system at web scale. We turn that machinery into a practical, validated evaluation framework for web-scale instance retrieval: per-query hardness estimated from a small sample with a tail-aware estimator, validated at genuine 100M scale, and turned into a low-cost protocol.
-
A low-cost web-scale evaluation. From an affordable 1/20 distractor subset a tail-aware (EVT) estimate predicts the web-scale metric. The estimate recovers the large-scale metric to mean absolute error 0.005 on ILIAS and 0.008 on INSTRE and GLDv2, beating curve-fit and recommender-systems baselines.
-
Validation at true 100M scale. On ILIAS and INSTRE the estimator reproduces the official mAP over all 100M YFCC distractors; on Google Landmarks v2 (a different domain with a separate 759k pool) it recovers the official mAP@100. It holds across all five tested backbones and every benchmark.
-
A public release. We release code and per-query hardness so results on these benchmarks can be compared at any gallery size without re-indexing.
2 RELATED WORK
We organize prior work by which axis of cost it addresses. Training-side scaling laws predict error from training data/compute. Evaluation-side work either subsamples the query axis or estimates metrics from sampled judgments. We occupy a different cell: predicting the metric along the distractor/gallery axis.
Distractor-scaling benchmarks (the cost we remove). Revisited Oxford/Paris add the R1M hard-distractor set (Radenović et al., 2018), Google Landmarks indexes millions (Weyand et al., 2020), and ILIAS scales to 100M distractors (Kordopatis-Zilos et al., 2025). These works measure how accuracy falls as the gallery grows and report a few fixed operating points. None make the metric-versus-scale curve estimable from a sample or use it to cut evaluation cost. We do. The ILIAS authors do release mini-ILIAS, a VLM-mined 5M-distractor proxy that retains the hardest distractors as a cheaper stand-in for the full pool (Kordopatis-Zilos et al., 2025). It reports a number on a deliberately harder subset, whereas we predict the true 100M number from a uniform random sample. A hard-mined subset is non-uniform by design, so it does not yield the size-independent hardness our estimator needs.
Collection-size analysis in classical IR (closest in spirit). The relationship between collection size and retrieval effectiveness was modeled analytically two decades ago. Madigan et al. (2003) derive the distribution of irrelevant documents outscoring the relevant ones (“contamination at K”). This is a Binomial/Poisson sampled-rank model whose K=1 case is our Theorem 1. Theirs assumes a single score distribution shared by all queries, with no sample-based estimation (which they pose as future work). The same authors later applied extreme-value theory to the growing-collection asymptotics of retrieval effectiveness (Madigan et al., 2006), still for a single shared score distribution and without sample-based estimation or 100M-scale validation. Hawking & Robertson (2003) empirically observe that mAP rankings are largely preserved between a sample and the full collection. We supply what this line lacked: the heterogeneous per-query law, a sample-based tail-aware estimator, and validation at 100M.
Sampled / low-cost retrieval evaluation (judgment axis). A long IR tradition estimates metrics from incomplete or sampled relevance judgments: bpref (Buckley & Voorhees, 2004), statAP/infAP (Yilmaz et al., 2008; Yilmaz & Aslam, 2006), and minimal test collections (Carterette et al., 2006). In recommendation, Krichene and Rendle (Krichene & Rendle, 2020) show sampled top-k metrics are biased and collapse toward AUC, and propose corrected estimators (an unbiased rank estimator and a bias-variance variant); a subsequent line learns the global rank distribution by maximum likelihood (Jin et al., 2021; Li et al., 2023). These estimate an aggregate rank distribution (Recall/NDCG@k over a catalogue) and cure the sampling “blind spot” by sampling more items, not by extrapolating the unobserved tail. Our count baseline (Sec. 5) is the Krichene–Rendle unbiased estimator specialized to the top rank; because mAP depends on the per-positive hard tail (invisible below 1/S) it fails to recover the large-N value, and enlarging the sample to resolve that tail is exactly the web-scale indexing we avoid—which is why we instead extrapolate it.
Efficient benchmarking (query axis). tinyBenchmarks (Polo et al., 2024) and Anchor Points (Vivek et al., 2024) rank models from a handful of test items via item-response theory or clustering. These reduce the number of queries. We reduce the number of distractors, an orthogonal and, at web scale, dominant cost.
Identification scaling in biometrics. Identification rates scale with gallery size (NIST, 2022), and the MegaFace benchmark measures face-identification accuracy as the gallery grows to a million distractors (Kemelmacher-Shlizerman et al., 2016). Meta-recognition fits an extreme-value tail to match scores (Scheirer et al., 2011). The same generalized-Pareto peaks-over-threshold object appears in IR for list truncation (Bahri et al., 2023), where the tail exceedance probability is exactly our . The distinction is what the fit is for: prior work uses it at a fixed scale, whereas we use it as an extrapolation engine to a far larger gallery. Most related, Rocher et al. (2025) forecast large-population identification correctness from small experiments with a Pitman–Yor law. We differ in task (instance retrieval vs. closed-set identification), model, and scale (100M images). We read their result as concurrent evidence that evaluation-side scaling laws are learnable.
Training-side scaling laws (contrast). Power-law generalization in training data and model size (Hestness et al., 2017; Kaplan et al., 2020), including for dense retrieval (Fang et al., 2024), brought predictive discipline to training budgets. We bring the same discipline to the evaluation budget, treating evaluation scaling as a first-class problem in its own right, analogous to training scaling laws. A parallel line extrapolates multi-class classification accuracy to larger label sets from a subset of classes (Zheng et al., 2018), the class-axis analogue of our gallery-axis extrapolation.
3 A SCALING LAW FOR RETRIEVAL UNDER DISTRACTORS
Setup. Fix a query and rank all gallery items by descending cosine similarity to . Let be the similarity of the query's best positive (the maximum over its relevant images). Let be distractors drawn i.i.d. from the distractor source, with similarities and common CDF . Define the per-query hardness
the fraction of the distractor similarity distribution lying above the best positive. The hardness is a population quantity: a property of the model and the distractor source, not of the number N of distractors drawn. It is distinct from the realized exceedance fraction in a particular gallery. We make that distinction precise below, and it governs when the law is exact.
Theorem 1 (Distractor scaling). Let be the number of distractors outranking the positive. Then , the positive sits at rank , and
For a query with positives at descending similarity, let be the per-positive (population) hardness. Collecting these, define the hardness-to-metric map
(3)
As shown next (and in App. C), is an exact identity for the realized gallery when fed its realized exceedance fractions, and a predictor when fed the population hardness —one whose smooth-precision error we quantify and whose top-k truncation error we evaluate empirically (App. C).
This is the instance-retrieval form of a sampled-rank model that has been derived independently in classical IR (Madigan et al., 2003), recommender systems (Krichene & Rendle, 2020), and biometrics (NIST, 2022). Madigan et al.'s “contamination at K” is the single-positive case. Our contribution is not the probabilistic fact but the heterogeneous (per-query) law that fits data where the single-distribution model fails, together with the sample-based estimator, the 100M validation, and the protocol.
Each summand is non-increasing in , so mAP@k(N) is non-increasing: a larger gallery never raises the metric (by coupling, every only grows as distractors are added). In the rare-event regime ( large, small, ), and the top-rank survival . A positive holds the top-k until .
Proof. The indicators are i.i.d. Bernoulli( ), so their sum is Binomial( ). The positive is at rank , so it is ranked first iff , with probability . By linearity of expectation (which requires no independence), , and more generally the -th positive (already preceded by better positives) sits at expected rank . The map (3) assembles these per-positive ranks into the metric. Whether it equals the realized mAP exactly or only predicts it depends on which hardness it is fed, which we make precise after the proof. The Poisson limit is the standard convergence Binomial( ) Poisson( ). Monotonicity follows by coupling , so each rank only grows and each only shrinks.
Exact identity vs. prediction. The map (3) is used two ways, and separating them is what makes “exact law” precise. (i) Identity: a benchmark pool is one fixed set, and the j-th positive’s rank is the deterministic , where counts the distractors outscoring it. With the realized fraction we have , so is that gallery’s mAP exactly: truncation included, no expectation, no linearization (App. C). (ii) Prediction: the population hardness of Eq. (1) differs. Since , concentrates on it with standard deviation , so feeding predicts the realized mAP. That prediction error is empirically at 100M. The -vs-1/ gap concerns only the never-reported pool-resampling average , which we compute exactly (the per-positive Binomial sum ) and find sits above the realized value: since a benchmark reports the realized number, targeting it with the expected-rank map—as we do—is more accurate than targeting , not less. Our estimator plugs in a size-S sample estimate , splitting the error into estimation (sample→population) and concentration (population→realized), both quantified in App. C.
Remarks. The expected-rank result holds under arbitrary dependence between distractors. The exact (1 - x_q)^N/\text{Poisson forms assume independence, which holds for i.i.d. random distractors and which we find empirically tight at 100M (Sec. 5). The theorem models } N \text{ i.i.d. draws from a distractor source. Evaluating on a fixed release (e.g. the official 100M set) is one realization, for which the law is the with-replacement approximation of the finite-pool (hypergeometric) outcome. The two coincide at sampling fractions \ll 1N \to \text{pool-size limit}$. Everything hinges on the single per-query scalar: the law is an exact identity at the realized exceedance fractions and a concentration-tight predictor at the population hardness (above), and all of the empirical content lives in how that hardness is distributed across queries.
Logarithmic decay under log-uniform hardness
Corollary 1 (Log-uniform hardness logarithmic decay). If the hardness density is log-uniform, on , then the aggregate top-rank survival
for , where is the exponential integral. Each term in (3) decays the same way, so mAP@k(N) inherits the logarithmic profile. Accuracy therefore decays logarithmically and never plateaus over the relevant range.
This is an empirical regularity of the datasets we study, not a universal law. Across all of them the per-query hardness is approximately a power law with (1.16–1.32 across our backbones and benchmarks; Sec. 5, Fig. 2); the log-uniform case above ( ) is its idealized limit, and the mild power law induces the observed near-logarithmic decay: mAP falls by a roughly constant amount per decade of distractors all the way to 100M, with a large fraction of mass near the detection floor . It is the precise sense in which evaluating on a small subset is optimistic: the subset has not yet revealed the slow bleed of the hardness tail.
4 FROM LAW TO PROTOCOL
Theorem 1 says a model’s behavior at any gallery size is determined by the size-independent hardness distribution . Evaluation therefore need not scale with the distractor set: estimate from a small random sample and report the metric (mAP@k) at a standardized target via Eq. (3), so numbers obtained with different distractor budgets become directly comparable.
Estimating hardness from a size-S sample. Draw random distractors and, per query, record and the sample similarities. The difficulty is that the queries which dominate large- accuracy have hardness and are invisible in the sample. We consider: (i) Count – unbiased but quantized at ; it returns 0 for the invisible tail and so predicts those queries survive forever. This is exactly the Krichene–Rendle unbiased rank estimator specialized to the top rank, and it is over-optimistic. (ii) Tail extrapolation via extreme-value theory (EVT) (Scheirer et al., 2011; Bahri et al., 2023) – for these queries no sampled distractor reaches , so counting is blind to them. Extreme-value theory states that above a high threshold the far tail of essentially any continuous score distribution converges to a universal two-parameter shape, a generalized Pareto. We fit that shape to the highest-scoring distractors we do observe and extend it out to , recovering a small nonzero hardness. The move is the same one used to estimate a never-observed “100-year flood” from the tail of recorded flood heights (full procedure in App. B). (iii) Survival-curve fit – fit the mechanism of Cor. 1, the log-uniform survival model for the top-rank survival, to the measured survival curve and extrapolate.
The estimate and its interval. The two families fail on the same object, the hardness mass below the sample floor 1/S, in opposite one-sided ways. Counting and curve fits assign that mass zero, so they can only over-predict, with positive error in every one of our five backbone cases. Tail extrapolation instead assigns the mass a fitted value and recovers it. Because mAP integrates marginal positives whose hardness lives precisely in that unobserved tail, we take the tail-aware (EVT) estimate as the point estimate. It is accurate across three benchmarks, two distractor pools, and five backbones. The count estimate zeroes the unresolved sub-1/S tail mass, which can only raise the predicted metric—a one-sided bias on that mass, not a deterministic per-sample guarantee; the tail estimate has no matching bias in the other direction, so we treat the gap as an empirical diagnostic—computable from the sample and shrinking as S grows—not a coverage interval. Empirically the truth sits at the tail edge in every case we measure, but a misspecified tail could in principle err either way. Alongside it we report a query-bootstrap confidence interval that captures sampling noise. Judged against this interval, the estimate enters the metric's own noise from a small sample (Sec. 5). An error analysis (App. C) shows the AP law is exact in the hardnesses for the realized gallery, so the error is entirely the sampling term. That term concentrates for sample-resolved positives and is governed by extreme-value consistency for the unresolved tail.
The recipe, summarized in Alg. 1: sample , fit the per-query EVT tail, report at the target scale via Eq. (3) with the empirical count/tail diagnostic and a query-bootstrap confidence interval.
Requirement: the sample must be i.i.d. The law assumes the S distractors are drawn uniformly at random from the pool. This is the one assumption a practitioner can silently violate. A convenience sample, such as the first S files of a pool ordered by crawl date, cluster, or upload, is not uniform: correlated images concentrate the score tail and bias the hardness estimate. Hash-based or shuffled sampling is the actual guarantee that the drawn sample represents the omitted pool. The per-shard check—split the sample into feature shards and confirm per-shard accuracy is constant (Sec. 5)—is a diagnostic that catches drift within the drawn sample (visible as shard-to-shard variation), not a proof of representativeness.
Algorithm 1 Predicting the web-scale metric from a small distractor sample. A correct answer's rank grows by the number of distractors that outscore it—about N times its per-query hardness x, the fraction of all distractors scoring above the answer. Estimating x from a small sample therefore fixes mAP at any gallery size N, with no full-scale indexing.
Require: query set Q with correct answers; a uniform random sample of S distractors; target gallery size N; rank cutoff k
Ensure: predicted mAP@k at gallery size N
1: construct a uniform (hash-random) sample; optionally check shard consistency for drift
2: for each query q do
3: for each correct answer p of q, with similarity do
4: estimate the hardness x from the fraction of sampled distractors scoring above
rule—count edge with a bounded-EVT tail—in §4 / App. B
5:
6: end for
7: [Eq. (3)]
8: end for
9: return mAP@k = with a query-bootstrap confidence interval
A 5% sample predicts the 100M metric (DINOv3-L)

Per-query hardness: 45% resolved (immune = 0.55)
Figure 2: A 5% sample predicts the 100M metric. Left: mAP@1000 against gallery size N for DINOv3-L on ILIAS. Only the shaded 5% is indexed ( , solid law); past it the per-query law of Eq. (3) is pure EVT extrapolation (dashed), carrying the metric to the true 100M value (X, 0.27), which the 5% estimate recovers (0.26)—while a homogeneous single-x model collapses to zero. Right: the per-query hardness distribution—55% of queries stay immune (never outranked even at 100M) and the resolved rest follow an approximate power law , (dashed) across decades toward the 1/N floor.
When extrapolation is needed. The estimator’s job is to recover the unobserved hard tail, so its value scales with how much that tail matters. With a hard pool (large decay), the count estimate is badly optimistic and tail modeling is essential. With an easy pool (little decay), there is almost nothing to extrapolate and counting already suffices. Across our datasets a random small sample recovers mAP to within 0.01.
5 EXPERIMENTS
Setup. We evaluate on three benchmarks across two distractor pools. ILIAS (Kordopatis-Zilos et al., 2025): 1,232 instance queries against 100M YFCC distractors, using the official precomputed features for 5 backbones (DINOv2-L, DINOv3-L, SigLIP-L, SigLIP2-L, PE-core-L), which we reproduce to cosine 1.00; we report the official mAP@1000. INSTRE (Wang & Jiang, 2015): 1,250 object queries with the same 100M pool appended. Google Landmarks v2 (Weyand et al., 2020): 1,129 retrieval queries against the 759k-image index pool—a different domain, its own ground truth, and a same-domain (landmark-vs-landmark) distractor distribution—encoded with the same five backbones at their native preprocessing; we report the official mAP@100. Samples are uniform-random, verified with the per-shard diagnostic of Sec. 4.
The law holds (Fig. 2). For DINOv3-L the per-query prediction tracks measured mAP across eight decades to 0.266 at 100M (the value computed on the full official feature release). By contrast, a homogeneous single-x model collapses to zero. Recovering the official number end-to-end validates the pipeline and the law at ground truth. Hardness follows an approximate power law ( ; 1.16–1.32 across the five backbones and three benchmarks): a large fraction of queries stay near-immune even at 100M, and the resolved rest bleed accuracy at a near-constant rate per decade—log-uniform ( ) is the idealized limit of Cor. 1 and gives exactly that. This never-saturating decay is also why reading the metric off a 50k subset is optimistic by +0.34 at 100M (Fig. 2).
The independence assumption is benign in practice (Fig. 3). The exact form assumes independent distractors. Empirically the residual between the independent prediction and the measured incremental curve is at most a few percent at 100M across all 5 backbones, and the prediction is stable to 0.004 across three disjoint 5M sub-pools (App. B). Analytically, near-duplicate clusters of size leave the expected rank unchanged , clustering-invariant by linearity) and inflate only its variance by ; on the real crawl ordering the measured curve sits at , so we do not claim i.i.d. is conservative for mAP in general—only that the residual is small here (Fig. 3, App. B).
Predicting mAP@100M (Tab. 1). Because mAP@1000 depends on the rank of every positive and marginal positives have hardness in the unobserved tail, recovering it takes tail extrapolation rather than counting (closed form Eq. (3), exact in the realized hardnesses; derivation in App. A, C). From a 5% sample (5M for ILIAS, a 20× reduction), the tail-aware (EVT) estimator recovers true mAP@100M to mean error 0.005 (max 0.008) across the five ILIAS backbones. The query-bootstrap interval's overlap with the true interval for every backbone (App. C, Tab. 6) is a weaker check, since prediction and truth share the same queries and their intervals are correlated. Two stronger checks (App. C) agree: the estimate preserves the backbone ranking exactly (Kendall , no pairwise sign flip; gaps down to mAP are resolved, and the closest pair—PE-core vs. SigLIP2, gap 0.010—is within the extrapolation error and should be read as a statistical tie), and the paired per-query error has pooled 95% CI [-0.001, +0.004]. At this same 5M cost, naively evaluating on the subset is optimistic by mean 0.11, whereas our prediction is within 0.005, roughly 22× more accurate (App. C, Tab. 8). For DINOv3-L the estimator gives 0.260 vs. 0.266 (err 0.006), while the count estimator over-predicts (+0.050). The estimate is stable across sample size (Fig. 6), and 5% (5M) is accurate for every backbone across all three benchmarks.
These intervals resample queries only. Folding in the other two noise sources, namely which distractors land in the sample and the per-query EVT refit, needs a nested bootstrap over all five backbones. It adds only of distractor-sample-plus-fit noise, so the intervals shift slightly rather than widen, and still covers the true 100M value in 5/5 cases (App. C, Tab. 7). Query sampling dominates the uncertainty. Resampling the distractors directly—20 disjoint 5% draws per backbone—places all 100 predictions inside the reported interval (coverage 100/100; std 0.003, worst error 0.013; App. D). The reported interval is a query confidence interval; the remaining noise sources are quantified in App. C.
We compare against the baselines a practitioner would reach for, all from the same 5% sample. Three fail on the unresolved tail: reporting the metric on the sample (“evaluate-at-S”) is optimistic by 0.08–0.13 (Tab. 8); the tail-blind count (the Krichene–Rendle unbiased estimator), which assigns the tail below 1/S zero mass, over-predicts by 0.037–0.068; and power-law (0.120) and log-uniform survival (0.038) curve fits do no better. The tail-aware estimate (mean error 0.005; the headline paired mean of Tab. 1 is 0.005) beats all of them—only the bounded GPD ( , free scale) excludes the power-law regime and recovers the tail.
Generalization across pools (Tab. 5, 3, Fig. 5). The estimator is not tuned to ILIAS: its configuration (T=4000, q=0.95, ) is fixed once, so INSTRE and GLDv2 are held-out tests (App. B). On INSTRE (mAP@1000 at 100M, all 5 backbones) it recovers the 100M value to within 0.007 for every backbone (mean 0.005, Tab. 4), preserving the ranking, while the count edge overpredicts (mean +0.008). GLDv2—a different domain with 759k same-domain landmark distractors and official mAP@100—is a held-out test of comparable difficulty (immune fraction—queries never outranked even at 100M—0.40–0.64, vs. 0.37–0.55 on ILIAS): the law holds (proof-vs-measured MAE 0.010), the truth lies inside the interval 5/5, and a 5% sample recovers mAP@100 to mean
| backbone | true mAP@100M | estimate from a 5% (5M) sample | |||
|---|---|---|---|---|---|
| official 5M (hard-mined) | naive 5M (random) | count | EVT (ours) | ||
| DINOv3-L | 0.266 | 0.311 | 0.374 | 0.317 | 0.260 |
| PE-core-L | 0.223 | 0.271 | 0.355 | 0.287 | 0.225 |
| SigLIP2-L | 0.213 | 0.253 | 0.341 | 0.280 | 0.221 |
| SigLIP-L | 0.200 | 0.242 | 0.324 | 0.268 | 0.208 |
| DINOv2-L | 0.154 | 0.185 | 0.230 | 0.191 | 0.153 |
| mean |err| | — | +0.041 | +0.113 | +0.057 | 0.005 |
Table 1: Recovering the 100M metric from a 5% (5M) sample. For each backbone: the true mAP@1000 at 100M (our recompute, matching the official ILIAS leaderboard to ≤0.001), and four numbers obtainable at a 5M (20× smaller) budget—the leaderboard's official hard-mined 5M column, a naive uniform-random 5M evaluation, the tail-blind count baseline, and our tail-aware EVT estimate. All three baselines over-predict (mean +0.041/+0.113/+0.057); only EVT recovers the true value (mean |err| 0.005), and it needs no reference 100M numbers—unlike a fixed 5M-to-100M rescaling of the leaderboard column, which INSTRE and GLDv2 lack. All differences are statistically significant: each baseline's 95% query-bootstrap interval lies above the truth (0/5) and every EVT interval overlaps it (5/5); detailed intervals in App. C (Tab. 6).
error 0.008 (Fig. 5), while count and curve fits over-predict (Tab. 3)—it still holds. Across all three benchmarks and two pools the recovery stays within (Tab. 5).
Faster, cheaper, greener (Fig. 7). Indexing 100M images through a ViT-L costs GPU-hours and kg COeq per backbone (A100, 0.4 kg/kWh (Lacoste et al., 2019)), rising to kg for a 7-backbone sweep; the 5% protocol cuts this (Fig. 7).
6 DISCUSSION AND CONCLUSION
The per-query hardness is itself a reusable artifact: specific to a model and its distractor source, it lets that method's metric be read off at any gallery size in closed form and makes results obtained with different distractor budgets commensurable. We release it for our backbones on ILIAS.
Conclusion. Web-scale retrieval evaluation is largely predictable: a per-query tail-aware estimator recovers 100M-scale accuracy from a small random distractor sample to 0.005 mean error, covering the truth for every backbone we test on ILIAS, INSTRE, and GLDv2. Validated across five backbones, three benchmarks, and two distractor pools, it turns web-scale evaluation from an indexing problem into a prediction problem—for method comparisons whose margins exceed the extrapolation error.
REPRODUCIBILITY STATEMENT
All code will be made publicly available.
USE OF LARGE LANGUAGE MODELS
Large language models were used during the preparation of this paper: to aid and polish the writing, to draft sections of the paper, to aid retrieval and discovery of related work, and to aid in proving the paper's mathematical claims. We have reviewed all AI-assisted work and take responsibility for the final content of this work, including text, claims, and artifacts produced with the aid of generative AI.
REFERENCES
Dara Bahri, Che Zheng, Yi Tay, Donald Metzler, and Andrew Tomkins. Surprise: Result list truncation via extreme value theory. In SIGIR, pp. 2404–2408, 2023.
Chris Buckley and Ellen M Voorhees. Retrieval evaluation with incomplete information. In SIGIR, 2004.
Ben Carterette, James Allan, and Ramesh Sitaraman. Minimal test collections for retrieval evaluation. In SIGIR, 2006.
Yan Fang, Jingtao Zhan, Qingyao Ai, Jiaxin Mao, Weihang Su, Jia Chen, and Yiqun Liu. Scaling laws for dense retrieval. In SIGIR, 2024.
Teddy Furon and Hervé Jégou. Using extreme value theory for image detection. Technical Report RR-8244, INRIA, 2013.
Patrick Grother and P. Jonathon Phillips. Models of large population recognition performance. In CVPR, 2004.
David Hawking and Stephen Robertson. On collection size and retrieval effectiveness. Information Retrieval, 6(1):99–150, 2003.
Joel Hestness, Sharan Narang, Newsha Ardalani, Gregory Diamos, Heewoo Jun, Hassan Kianinejad, Md. Mostofa Ali Patwary, Yang Yang, and Yanqi Zhou. Deep learning scaling is predictable, empirically. arXiv:1712.00409, 2017.
Ruoming Jin, Dong Li, Benjamin Mudrak, Jing Gao, and Zhi Liu. On estimating recommendation evaluation metrics under sampling. In AAAI, 2021.
Jared Kaplan, Sam McCandlish, Tom Henighan, Tom B. Brown, Benjamin Chess, Rewon Child, Scott Gray, Alec Radford, Jeffrey Wu, and Dario Amodei. Scaling laws for neural language models. arXiv:2001.08361, 2020.
Ira Kemelmacher-Shlizerman, Steven M. Seitz, Daniel Miller, and Evan Brossard. The MegaFace benchmark: 1 million faces for recognition at scale. In CVPR, 2016.
Giorgos Kordopatis-Zilos, Vladan Stojnić, Anna Manko, Pavel Šuma, Nikolaos-Antonios Ypsilantis, Nikos Efthymiadis, Zakaria Laskar, Jiří Matas, Ondřej Chum, and Giorgos Tolias. ILIAS: Instance-level image retrieval at scale. In CVPR, 2025.
Walid Krichene and Steffen Rendle. On sampled metrics for item recommendation. In KDD, 2020.
Alexandre Lacoste, Alexandra Luccioni, Victor Schmidt, and Thomas Dandres. Quantifying the carbon emissions of machine learning. arXiv:1910.09700, 2019.
Dong Li, Ruoming Jin, Zhenming Liu, Bin Ren, Jing Gao, and Zhi Liu. Towards reliable item sampling for recommendation evaluation. In AAAI, 2023.
David Madigan, Yehuda Vardi, and Ishay Weissman. On retrieval properties of samples of large collections. In AISTATS, 2003.
David Madigan, Yehuda Vardi, and Ishay Weissman. Extreme value theory applied to document retrieval from large collections. Information Retrieval, 9:273–294, 2006.
NIST. Face recognition vendor test (FRVT): Relating 1:1 and 1:n false positive rates. Technical report, National Institute of Standards and Technology, 2022. FRVT report card. https://pages.nist.gov/frvt/reports/demographics/implications_for_1N.pdf.
Felipe Maia Polo, Lucas Weber, Leshem Choshen, Yuekai Sun, Gongjun Xu, and Mikhail Yurochkin. tinyBenchmarks: Evaluating LLMs with fewer examples. In ICML, 2024.
Filip Radenović, Ahmet Iscen, Giorgos Tolias, Yannis Avrithis, and Ondřej Chum. Revisiting Oxford and Paris: Large-scale image retrieval benchmarking. In CVPR, 2018.
Luc Rocher, Julien M Hendrickx, and Yves-Alexandre de Montjoye. A scaling law to model the effectiveness of identification techniques. Nature Communications, 2025.
Walter J Scheirer, Anderson Rocha, Ross J Micheals, and Terrance E Boult. Meta-recognition: The theory and practice of recognition score analysis. IEEE TPAMI, 33(8), 2011.
Yuli Slavutsky and Yuval Benjamini. Predicting classification accuracy when adding new unobserved classes. In ICLR, 2021.
Rajan Vivek, Kawin Ethayarajh, Diyi Yang, and Douwe Kiela. Anchor points: Benchmarking models with much fewer examples. In EACL, 2024.
Shuang Wang and Shuqiang Jiang. INSTRE: A new benchmark for instance-level object retrieval and recognition. ACM Transactions on Multimedia Computing, Communications, and Applications, 11(3), 2015.
Tobias Weyand, Andre Araujo, Bingyi Cao, and Jack Sim. Google Landmarks Dataset v2: A large-scale benchmark for instance-level recognition and retrieval. In CVPR, 2020.
Emine Yilmaz and Javed A Aslam. Estimating average precision with incomplete and imperfect judgments. In CIKM, 2006.
Emine Yilmaz, Evangelos Kanoulas, and Javed A Aslam. A simple and efficient sampling method for estimating AP and NDCG. In SIGIR, 2008.
Charles Zheng, Rakesh Achanta, and Yuval Benjamini. Extrapolating expected accuracies for large multi-class problems. Journal of Machine Learning Research, 19(65):1–30, 2018.
A DERIVATION OF MAP UNDER DISTRACTORS
Fix a query with positives sorted by similarity, , so is the -th best positive. Adding i.i.d. distractors, the number scoring above is with per-positive hardness (Thm. 1 applied at threshold ). The rank of in the full list is the count of items at least as similar—the positives plus the distractors above it:
Average precision truncated at k is, since exactly j positives have rank ≤ rank_j,
Evaluating the map of Eq. (3) at the realized fraction gives and reproduces this gallery's mAP@k exactly (no expectation, no Taylor remainder; App. C). Feeding instead the population hardness —or its sample estimate —predicts the metric, with the population→realized concentration error analyzed in App. C. We confirm the identity numerically by evaluating with the observed —counting each positive's distractor exceedances in one streamed pass—and find the analytic form matches the measured mAP (Tab. 1). The protocol substitutes the sampled hardness estimate (count or tail-aware) for and reports the tail-aware estimate with its bracket. Unlike the top-rank survival's exponential , the per-positive precision is a gently varying rational response that damps errors in : the tail estimate's over-shoot becomes negligible, whereas the count estimate stays structurally over-optimistic (it cannot report hardness below the sample floor ). Empirically the truth therefore sits at the tail edge of the interval for mAP@1000—the tail-aware estimate alone is nearly exact, while the count edge over-predicts (Tab. 1).
B THE TAIL-AWARE (EVT) ESTIMATOR
For a query whose best positive has similarity , the hardness is the probability that a random distractor outscores the answer. When is small—the regime that dominates large- accuracy—no distractor in a size- sample reaches , so the empirical count returns and we must estimate the probability of an event that did not occur in the sample.
Extreme-value theory makes this possible without knowing the full score distribution. The Pickands–Balkema–de Haan theorem states that, for any distribution in an extreme-value domain of attraction (essentially all continuous distributions), the excesses over a high threshold u (the amounts sim – u by which scores exceed u) converge to a generalized-Pareto distribution (GPD) as u grows. In words: the far tail has a universal two-parameter shape, independent of the bulk, so we can fit it from the part of the tail we observe and extend it.
Per query we (1) retain the top distractor similarities—all that bear on the upper tail, the rest falling far below —and set the threshold to their 95th percentile, i.e. the top scores; because is fixed, this is a fixed exceedance count independent of (the same at or ); (2) fit the GPD shape and scale to the excesses by maximum likelihood; and (3) set the exceedance rate —the exceedances normalized by the full sample size , not by , so shrinks as grows. The hardness estimate is
the rate of exceeding times the fitted-tail probability of reaching all the way to —read off the curve beyond the observed range. We use the empirical count when at least sampled distractors exceed (Alg. 1); with fewer, the count is too noisy (and would force ), so we read the hardness off the fitted tail instead. This is the standard peaks-over-threshold construction, used by meta-recognition (Scheirer et al., 2011; Furon & Jégou, 2013) on recognition scores; the intuition is estimating a never-observed “100-year flood” by fitting the tail of recorded flood heights and extrapolating.
The tail shape must exclude power-law growth. The GPD shape sets how heavy the tail is: is an infinite, power-law tail, whereas cosine similarities cannot exceed 1, so the distractor-score distribution has bounded support. By extreme-value theory a distribution with bounded support lies in the Weibull/Gumbel domain, ; a positive would model a physically impossible power-law tail. We therefore cap (refitting the scale at the boundary when the unconstrained maximum-likelihood fit returns ). This excludes the over-stated hard mass that otherwise inflates hardness on exactly the near-immune queries that dominate large- accuracy. Everything else stays fully adaptive: the threshold , scale , and exceedance rate are fit per query from its own scores.
Robustness to the threshold. The estimator's most consequential knob is the peaks-over-threshold quantile (we use the 95th percentile; and are fixed once, below). Sweeping it across the five ILIAS backbones, the mAP@100M error is essentially flat—mean error 0.006–0.009 for every , always below the metric noise—so the protocol is robust to this choice rather than tuned to it. We fix the full configuration (, , ) once and apply it unchanged to every backbone, dataset, and pool: it is a single setting, not tuned per benchmark. This estimator configuration is not selected against any full-scale (100M) ground truth; the 5% sample fraction, separately, is validated against it (App. D). The bounded constraint is dictated by the geometry (cosine similarity is bounded above by 1), not fit to the targets; and are set on ILIAS and frozen, so INSTRE and GLDv2 are evaluated with a held-out configuration.
| threshold q | 0.90 | 0.95 | 0.975 | 0.99 |
|---|---|---|---|---|
| mAP MAE | 0.007 | 0.006 | 0.009 | 0.007 |
| max error | 0.014 | 0.010 | 0.016 | 0.014 |
Small samples, exceedances, and sampling (DINOv3/ILIAS). Three further diagnostics. (i) Sample size. The estimate is accurate from distractors (mAP@100M error 0.005 at 50k, for all ) and degrades below it (0.09 at 10k, 0.15 at 5k)—so below the tail is too sparsely sampled to trust; is the smallest sample at which the estimate is reliable for DINOv3. (ii) Tail data per query. The per-query GPD fit is well-conditioned: every query supplies
| backbone | fit fail | (cap) | med | med endpt | endpt |
|---|---|---|---|---|---|
| DINov2-L | 0.0% | 10% | -0.14 | 0.77 | 22% |
| SigLIP-L | 0.0% | 29% | -0.06 | 0.86 | 22% |
| SigLIP2-L | 0.0% | 30% | -0.06 | 0.89 | 20% |
| PE-core-L | 0.0% | 21% | -0.09 | 0.84 | 25% |
| DINov3-L | 0.0% | 14% | -0.11 | 0.75 | 31% |
Table 2: Per-query GPD fit diagnostics on a 5% sample: fraction of queries whose tail is too small to fit (fail), fraction where the unconstrained MLE wants so the cap binds, the median fitted shape and upper endpoint, and the fraction whose endpoint falls below the positive's score .
| estimator | mAP@100 MAE |
|---|---|
| raw / evaluate-at- | 0.038 |
| count (K-R) | 0.038 |
| log-linear | 0.111 |
| log-quadratic | 0.095 |
| power-law | 0.117 |
| log-uniform fit | 0.075 |
| spline survival (PCHIP) | 0.043 |
| Beta-Binomial (emp. Bayes) | 0.164 |
| Weibull tail, endpoint= 1 | 0.012 |
| EVT (ours) * | 0.008 |
Table 3: Estimators vs. baselines, MAE of the official GLDv2 mAP@100 at its full 759k landmark pool, recovered from a 5% sample and averaged over the 5 GLDv2 backbones. The recsys (K-R) count estimator and curve fits trail tail-aware (EVT) extrapolation.
≈200 exceedances above the threshold (the 95th percentile of the retained top-4000 tail)—far above the 50-point minimum, and by construction the same count at or —so per-query EVT is never data-starved. (iii) Which distractors. The prediction is insensitive to where the sample is drawn: across three disjoint 5M blocks of the 100M pool it varies by only 0.004, confirming the pool is well-mixed and the uniform-sample requirement holds in practice.
GPD goodness of fit (Tab. 2). We audit the per-query fit directly on a 5% sample. The fit never falls back to counting for lack of tail data (failure rate ≤ 0.0%). The bounded constraint is not doing all the work: the unconstrained maximum-likelihood shape is already for most queries, and the cap binds in only 10%–30% of them (more often for the heavier-tailed backbones), where it prevents a physically impossible power-law tail. The median fitted shape is negative and the median fitted upper endpoint is ≈0.84—safely below the cosine ceiling 1, and query-specific rather than pinned. The one residual concern is the ~20–30% of fits whose endpoint falls below the positive's own score (Tab. 2): there the tail model treats the positive as effectively immune, which is right for well-separated positives but a coarse approximation for marginal ones—an error absorbed, like the top- truncation term, into the end-to-end 100M validation rather than bounded in closed form.
Why the tail estimate suffices for mAP. Empirically the truth sits at the tail edge of the count/tail bracket (Sec. 4), and the metric's response to hardness error explains why. The top-rank survival is exponential and amplifies error in ; mAP's per-positive precision is a gently varying rational response that damps the tail estimate's over-shoot, so for tail-dominated reporting scales (mAP@1000 at 100M) the tail estimate alone is nearly exact (Tab. 1), while on shallower pools the count edge over-predicts from above.
C ERROR ANALYSIS OF THE MAP ESTIMATOR
The AP law is exact for the realized gallery. A benchmark's distractor pool is one fixed set of items, and its mAP is a deterministic number. The -th positive's rank is exactly , where
| backbone | true@100M | EVT-at-5% | count-at-5% |
|---|---|---|---|
| PE-core-L | 0.613 | 0.607 (-0.006) | 0.621 (+0.008) |
| DINov3-L | 0.547 | 0.540 (-0.007) | 0.555 (+0.008) |
| SigLIP-L | 0.532 | 0.528 (-0.004) | 0.541 (+0.009) |
| SigLIP2-L | 0.460 | 0.454 (-0.006) | 0.469 (+0.009) |
| DINov2-L | 0.355 | 0.352 (-0.003) | 0.363 (+0.008) |
| mean |err| | — | 0.005 | 0.008 |
Table 4: INSTRE at true 100M, all 5 backbones. True mAP@1000 at the full YFCC-100M pool and its recovery from a 5% sample. The tail-aware (EVT) estimate is within 0.007 for every backbone (mean |err| 0.005) and preserves the full ranking, while the recommender-systems count edge over-predicts throughout (mean +0.008). Same frozen configuration (, , ) as ILIAS and GLDv2.

Figure 3: A second query set and the independence assumption. Left: mAP@1000 (vertical) vs. number of distractors (horizontal, log) for INSTRE against the ILIAS-100M pool—the law tracks the truth on a different query set. Right: sensitivity to near-duplicate clustering on ILIAS; treating each cluster of size as one effective item (top-rank survival ) shifts accuracy up—an illustrative case (a deduplicated gallery), not a general bound on truncated mAP under retained duplicates. The measured real-order curve sits at , so clustering is mild.
| dataset | pool | metric @full pool | EVT err |
|---|---|---|---|
| ILIAS | YFCC-100M | 0.266 | 0.005 |
| INSTRE | YFCC-100M | 0.547 | 0.005 |
| GLDv2 | index-759k | 0.31 | 0.008 |
Table 5: Three benchmarks, two distractor pools. A small random sample recovers the large- mAP within with the tail-aware estimator; ILIAS/INSTRE are mAP@1000, GLDv2 is the official mAP@100. The metric column is DINov3-L; error is the mean over each pool's 5 backbones (per-backbone detail in Tab. 8 for ILIAS, Tab. 4 for INSTRE, Tab. 3 for GLDv2).
is the actual count of distractors that outscore it; writing the realized exceedance fraction (distinct from the population hardness of Eq. (1)), we have , so
is precisely the map of Eq. (3) evaluated at the realized fractions—an exact identity, truncation included, with no linearization term. The vs. contrast arises only if one treats as a fresh Poisson() draw and asks for the mAP averaged over hypothetical re-samplings of the pool—a different quantity that no benchmark reports, and one Jensen's inequality places slightly above the realized value. Confirming this across all five backbones: the expected-rank map reproduces the realized mAP@100M to within 0.001 (it matches the true value of Tab. 1 to
From a 5% sample the tail-aware estimate recovers each 100M value (× on °); naive subset evaluation there (curves at the line) overstates it by +0.08 to +0.13

Figure 4: Recovering mAP@100M from a 5% sample, all five ILIAS backbones. True mAP@1000 vs. number of distractors N (linear axis); each solid curve grows to its true 100M value (○). Reading the metric at the 5% (5M) sample (dashed line; shaded) overstates the 100M value by +0.08 to +0.13; the tail-aware (EVT) estimate from that same sample (×) recovers each true value to within ~0.01. Estimate markers are the 20-draw means of Tab. 9.
Law holds (DINov3-L, GLDv2 index)

Recovery from 5% sample (37,933/758,676)
Figure 5: GLDv2. Left: mAP@100 (vertical) vs. number of index distractors N (horizontal, log) for DINov3-L—the per-query law (dashed) tracks the measured curve (MAE 0.010). Right: recovery of the official mAP@100 at the full 759k pool from a 5% sample: the count edge over-predicts (lands above the band), while the tail-aware (EVT) estimate lands on the truth (black line), inside the query-bootstrap noise band (shaded).
three decimals), whereas the exact Binomial —the per-positive sum , evaluated in full—sits +0.004 to +0.006 above it. Targeting the realized number with the expected-rank map, as we do, is therefore the more accurate choice, not an approximation we settle for. The prediction error therefore splits into two terms,
and the concentration term is negligible: the realized fraction has standard deviation about —a relative fluctuation that at and
Predicted mAP@100M vs. sample size (DINOv3-L)

Figure 6: Predicted mAP@100M (vertical) vs. sample size S (horizontal, log scale) for DINOv3-L, with a 95% query-bootstrap band; dashed line is the true 100M value.
Indexing cost of evaluation

Figure 7: Estimated indexing carbon, kg CO₂eq (vertical, log scale): indexing 100M for one backbone (≈89 kg), a 7-backbone sweep (≈622 kg), and our 5% protocol (≈4.4 kg per backbone, 20× less). Illustrative estimate under the named hardware assumptions.
transition-zone hardness is per positive and averages down across positives and queries. The estimation term, at the far smaller sample size S, dominates; we bound it next, separating sample-resolved positives from the unresolved tail.
Estimation term: the visible mass concentrates. For a positive whose hardness the sample resolves, the count estimate has , so by Hoeffding's inequality with probability . This deviation propagates benignly: the top-rank survival is -Lipschitz in ( ), and each AP precision is -Lipschitz (by AM-GM on ), so resolved positives contribute error controlled by the bound above, and the end-to-end error stays across all five backbones.
Estimation term: the unresolved tail needs the model. The queries that dominate large-N accuracy have and are invisible in the sample ( ); counting returns 0, so we estimate their hardness from the fitted upper tail—the gap posed as open by Madigan et al. (2003). The bounded GPD is well-suited: by the Pickands–Balkema–de Haan theorem the threshold-excess distribution approaches a generalized Pareto, and the cosine ceiling forces (App. B), so the survival decays at least exponentially and the extrapolated mass cannot diverge. We validate the tail estimate empirically—the threshold sweep (App. B), the sample-size
| backbone | true mAP@100M | count (5%) | EVT (5%) |
|---|---|---|---|
| DINov2-L | 0.154 [0.141,0.167] | 0.191 [0.177,0.205] | 0.153 [0.140,0.166] |
| SigLIP-L | 0.200 [0.185,0.214] | 0.268 [0.252,0.285] | 0.208 [0.193,0.222] |
| SigLIP2-L | 0.213 [0.199,0.228] | 0.280 [0.263,0.297] | 0.221 [0.207,0.236] |
| PE-core-L | 0.223 [0.209,0.238] | 0.287 [0.271,0.304] | 0.225 [0.211,0.240] |
| DINov3-L | 0.266 [0.250,0.283] | 0.317 [0.300,0.335] | 0.260 [0.244,0.277] |
Table 6: Detailed 95% query-bootstrap intervals for Tab. 1. The true value, the tail-blind count estimate, and our tail-aware EVT estimate, each with a 95% query-bootstrap interval (resampling the 1,232 queries). The EVT interval overlaps the true interval for every backbone (5/5 coverage); the count interval lies entirely above the truth for every backbone (0/5)—its error is a systematic bias, not query-sampling noise.
| backbone | true mAP@100M | query-only 95% | full 95% (q+samp+fit) | |
|---|---|---|---|---|
| DINov3-L | 0.266 | [0.240, 0.273] | [0.243, 0.277] | 0.002 |
| DINov2-L | 0.154 | [0.140, 0.166] | [0.139, 0.167] | 0.003 |
| SigLIP-L | 0.200 | [0.193, 0.221] | [0.192, 0.223] | 0.003 |
| SigLIP2-L | 0.213 | [0.207, 0.238] | [0.203, 0.236] | 0.004 |
| PE-core-L | 0.223 | [0.209, 0.238] | [0.209, 0.240] | 0.003 |
Table 7: Full predictive interval (nested bootstrap). Folding distractor-sample and EVT-fit noise into the query-bootstrap interval (via disjoint 5M redraws with per-draw tail refits) adds only std—the endpoints shift slightly rather than always widen—and still covers the true 100M mAP for every backbone (5/5).
and endpoint diagnostics, and the direct 100M validation. We report the count/tail gap as an empirical diagnostic of estimator bias, not a guaranteed bound: counting zeroes the unresolved tail and is thus upward-biased on that mass (a one-sided bias, not a deterministic per-sample bound), while the tail estimate has no such bias in either direction, so although the truth sits at the tail edge of in every case we measure, a misspecified tail could err either way.
Full uncertainty interval: a nested bootstrap that covers 5/5. The interval reported in the main text (Tab. 1) resamples the query set only. To fold in the other two sources—which distractors land in the sample, and the per-query EVT refit on that sample—we run a nested bootstrap on all five ILIAS backbones: draw disjoint 5M sub-pools of the 100M stream (disjoint uniform distractor samples), refit the per-query tail on each, and form the prediction; each bootstrap iteration then picks a random draw (sample + fit noise) and resamples queries with replacement (query noise). Table 7 reports the resulting 95% interval against the query-only interval. The added noise is small—the distractor-sample+fit standard deviation is (median), well below the query component ()—so the full interval changes little (endpoints shift more than they widen), and it brackets the held-out true mAP@100M for all five backbones. Query sampling, not distractor sampling or tail-fit, is the dominant uncertainty at the 5% budget.
Ranking preservation and paired error. Interval overlap (Tab. 1) is a weak coverage test, since prediction and truth share the same queries. Two stronger statistics confirm the estimate. (i) Ranking. Across the five backbones the predicted and true mAP@1000 induce the same ordering for the reported estimate: Kendall , Spearman , no sign flip among the ten pairwise margins. Across 20 disjoint distractor samples this holds for the nine pairs separated by more than the prediction error (preserved in every draw); only the tightest pair (PE-core vs. SigLIP2, true gap 0.010, within the error) is not reliably resolved, being statistically tied at 100M (App. D). Ranking is recovered down to a margin of mAP. (ii) Paired error. The per-query difference has pooled mean with a bootstrap CI of over the 6160 query-backbone cells; per backbone the bias stays within (largest SigLIP/SigLIP2 , DINov3 ).
Equal-cost comparison: evaluate at 5M vs. predict from 5M. At the same 5M indexing cost (5% of the pool), a practitioner can either evaluate on the 5M subset (the incumbent cheap practice,
| backbone | eval-at-5M | EVT-at-5M | true@100M |
|---|---|---|---|
| DINov2-L | 0.230 (+0.076) | 0.153 (-0.001) | 0.154 |
| SigLIP-L | 0.324 (+0.124) | 0.208 (+0.008) | 0.200 |
| SigLIP2-L | 0.341 (+0.128) | 0.221 (+0.008) | 0.213 |
| PE-core-L | 0.355 (+0.131) | 0.225 (+0.002) | 0.223 |
| DINov3-L | 0.374 (+0.108) | 0.260 (-0.006) | 0.266 |
| mean |err| | 0.113 | 0.005 | — |
Table 8: At equal 5M cost, predict beats evaluate. Naive mAP@1000 measured on a uniform 5M subset (evaluate-at-5M) is optimistic by +0.08 to +0.13; the tail-aware prediction from the same 5M sample (EVT-at-5M) is within 0.005 of the true 100M value. Parentheses are signed error vs. true@100M.
| backbone | true mAP@100M | mean pred (5%) | MAE | std | worst |err| | cover |err|≤h |
|---|---|---|---|---|---|---|
| DINov2-L | 0.154 | 0.153 | 0.002 | 0.002 | 0.007 | 20/20 |
| SigLIP-L | 0.200 | 0.208 | 0.008 | 0.003 | 0.013 | 20/20 |
| SigLIP2-L | 0.213 | 0.221 | 0.008 | 0.003 | 0.012 | 20/20 |
| PE-core-L | 0.223 | 0.225 | 0.002 | 0.003 | 0.008 | 20/20 |
| DINov3-L | 0.266 | 0.260 | 0.006 | 0.002 | 0.010 | 20/20 |
Table 9: Interval coverage over 20 disjoint 5% samples. Each backbone's 99M pool is split into 20 disjoint 5% blocks; mean prediction, MAE, draw-to-draw std, worst error, and the number of draws inside the reported interval ( ). Coverage is 100/100 overall.
e.g. the hard-mined mini-ILIAS (Kordopatis-Zilos et al., 2025)) or predict the 100M metric from it (ours). Naive evaluation is optimistic by +0.08 to +0.13 (mean |err| 0.113), because 5M distractors under-rank the positives. The tail-aware prediction is within 0.005 mean (Tab. 8). At identical cost, predicting is roughly 22× more accurate than evaluating. Evaluate-at-5M is the expected value of a uniform 5M subset (the AP law at N=5M, which reproduces the measured DINov2 curve to 0.006); a hard-mined 5M set such as mini-ILIAS is non-uniform and reports a different biased number still short of the 100M value.
D REPEATED-SAMPLE VALIDATION: SAMPLING DISTRIBUTION, COVERAGE, AND CALIBRATION
The interval in the main text is a query bootstrap from a single distractor sample; the stronger test resamples the distractors. We partition each backbone's 99M pool into disjoint, pool-spread blocks at a given sample fraction and predict mAP@100M on each—20 genuinely disjoint draws (not a single-sample bootstrap; disjoint blocks of a finite pool are negatively dependent under the finite-population constraint), using the paper's estimator (, , ).
Coverage at the 5% operating point (Tab. 9). Over the 20 disjoint 5% draws per backbone the mean MAE is 0.005 (0.002–0.008 across backbones), the draw-to-draw standard deviation is 0.003—matching the nested-bootstrap of App. C—and the worst single error is 0.013. Every draw lands inside the reported query-bootstrap interval: coverage is 100/100 (all 100 backbone-draws). The interval is, if anything, conservative—its half-width is set by the larger query-sampling uncertainty, whereas the distractor-sample spread measured directly here is only .
The evaluation converges within a 5% subset (Tab. 10). 5% is a result, not a tuned operating point: as the sample grows, every backbone's estimate converges onto its 100M value. Mean MAE falls from 0.020 at 0.5% to 0.005 at 5%. The well-separated backbones (DINov2, DINov3) converge by 0.5%; the heavy-tailed backbones (SigLIP, SigLIP2), whose deeper tail a smaller sample
| fraction | n | draws (disjoint) | mean MAE (5 bb) | worst |err| | mean std |
|---|---|---|---|---|---|
| 0.5% | 0.50M | 12 | 0.020 | 0.039 | 0.003 |
| 1.0% | 0.99M | 12 | 0.015 | 0.031 | 0.003 |
| 2.0% | 1.98M | 12 | 0.010 | 0.023 | 0.003 |
| 5.0% | 4.96M | 20 | 0.005 | 0.013 | 0.003 |
Table 10: Accuracy vs. sample fraction (mean over the five backbones, disjoint draws per row, at the paper's ). Error and worst case shrink monotonically with the sample; is the point at which every backbone is covered.
Per-positive hardness: EVT estimate (5% sample) vs. true (100M). Dotted line = sample resolution 1/S; below it the tail is EVT-extrapolated.

Figure 8: Per-positive hardness: estimate vs. truth. EVT estimate from a sample (vertical) vs. the true value at 100M (horizontal), per backbone, log-log. Blue: positives the sample resolves by counting; red: the deep tail , dotted line) reached only by EVT extrapolation. The tail scatters about the diagonal—noisy per positive, unbiased in the median—so the aggregated mAP is accurate.
cannot yet resolve, converge later—their interval reaches the true value only by 5% (0/20 covered at 0.5–1%). Every tested model converges within a mere 5% of the pool.
The sufficient budget. Choose a resolution . Growing the distractor sample in geometric steps, we predict mAP@100M with the estimator at each size and stop once doubling from to moves the prediction by no more than ; that sample size is the sufficient budget. Taking at the metric's own query-sampling noise (0.013–0.019) and running against the 100M ground truth across the ten web-scale cells (ILIAS and INSTRE, five backbones each, distractors), the estimate reaches its sufficient budget within of the pool, and at it matches the true 100M mAP to a mean absolute error of 0.005. The budget is more than sufficient to predict the 100M metric, and the information that determines it is present in a much smaller sample.
Per-positive calibration (Fig. 8). Fig. 8 plots the estimated per-positive hardness (from a sample) against the true (100M). Where the sample resolves the positive (count ) the estimate sits on the diagonal; in the deep tail () the EVT extrapolation is noisier per positive (log-correlation ) but unbiased in the median (median between 0.9 and 1.3 across backbones). Because mAP averages over positives, this per-positive tail noise cancels and the metric is recovered to 0.005.
Ranking resolution. Across the 20 disjoint draws, 9/10 of the ten backbone pairs are ordered correctly in every draw; the smallest true gap resolved in all draws is 0.013. The only pair that ever swaps is PE-core vs. SigLIP2 (true gap 0.010, below the prediction error), which are statistically tied at 100M. The method thus resolves rankings down to a margin of mAP: pairs wider than that are preserved across disjoint samples; pairs within the error are not, and should be reported as ties.