A simple, well-motivated global AP loss whose reported numbers are internally consistent and whose gAP gains look real, but many 'best on every metric' claims rest on 0.1–0.3 point margins without variance, the low-τ mechanism does not cover most settings, and nothing can be rerun until code is released.
Soundness
3/4
Presentation
3/4
Contribution
3/4
Confidence
3/5
✓ 15 confirmed✕ 2 discrepancy◐ 1 inconclusive
Summary
The paper argues that retrieval losses and metrics that work one query at a time (mAP, InfoNCE, per-query Smooth-AP-type surrogates) ignore whether similarity scores are comparable across queries, which matters whenever a single global threshold is used. It proposes gSAP, the Smooth-AP sigmoid surrogate applied to the flattened similarity matrix, i.e. a differentiable surrogate of global AP (gAP, micro-AP) over all query–item pairs in a batch (Eq. 7, 10). Because each positive is compared with ~B2 rather than ~B items, the authors argue it keeps gradient at very low temperature τ (Sec. 3.5, Fig. 3); negative dropping and a windowed implementation control the O(KB2) cost (Sec. 3.4, App. B.6).
Empirically, gSAP is swapped into CLIP fine-tuning (image/video retrieval and zero-shot classification, Tables 1–3, Z, AA), LAION-CLAP, MoCo v3 self-supervised pretraining (Table 4), DINOv3-based metric learning on SOP/iNaturalist (Tables 5–7), and retrieval with distractor queries (Table 8). The headline claims are gains in gAP everywhere, roughly par-or-better per-query metrics, 12% (SOP) and 4x (iNat, 0.7%→3.0%) more recall under one shared threshold (Table 6), and a theoretical/diagnostic appendix (Lemma 1, a gAP 'ceiling' with an efficiency decomposition, Eq. 12) attributing the gains to cross-query consistency rather than better per-query ranking.
Strengths
Simple, well-motivated, genuinely drop-in idea
Sec. 2–3.3, Eq. (7)–(10); App. E.1, Lemma 1
The method is a one-line change (flatten S and Y before the Smooth-AP computation, Eq. 10) with a clear rationale: per-query objectives are invariant to per-query offsets (Lemma 1), so they cannot enforce the cross-query calibration a single threshold needs. Our numerical test (check 06) confirms that mAP, R@1, mSAP and a per-row RS@k-type surrogate change by exactly 0 under per-row offsets while gAP and gSAP do not.
Unusually broad evaluation with a consistent direction of effect
Sec. 4.1–4.4, Tables 1–8; App. B.1, Tables A–F
Four settings (cross-modal CLIP/CLAP, SSL MoCo v3 and CLMR, supervised metric learning, distractor-query retrieval), several backbones and 38 zero-shot tasks. We transcribed Tables 1–3 and found gSAP strictly best in 54/54 columns (check 02), no column of Tables A, C, D, E, F where it is below InfoNCE or SigLIP (check 13), and best gAP plus smallest pre-SN drop on all four distractor tasks (check 04).
Ablations that isolate the mechanism
App. B.3 Tables K, L; App. B.5 Tables S, T
Table L applies the global-vs-per-query switch to four different AP approximations (SoftBin, BlackBox, ROADMAP, Smooth-AP) and the global version gains gAP for all of them (+1.3 to +4.6, check 18); Tables S/T isolate the term in PNP (removing it drops gAP 42.1→33.8 etc., check 10); Table K tests regularisers (TCM, KoLeo).
Weaknesses
No variance estimates although many headline wins are within 0.1–0.3 points
major · Sec. 4.1, Tables 1–3, Z, AA; App. B.1 Tables C–F; Reproducibility statement p. 11
Results are 'means over three seeds' but no standard deviations or confidence intervals are reported anywhere. In Tables 1–3, 14/54 gSAP margins over the next-best loss are ≤0.2 points and the median margin is 0.40 (check 02); Table 3 margins are 0.1–0.5; in the 108 zero-shot scores gSAP is best or tied-best in only 59/108 (ViT-B/32) and 52/108 (ViT-B/16) tasks, and the claim rests on ~0.5–0.8 point average gains (check 03). Claims such as 'best on every retrieval/classification metric' are therefore not demonstrably significant. Fix: report per-seed std (already available from three seeds) or paired bootstrap CIs, and soften 'every metric' language where intervals overlap. The gAP gains (1.2–2.0 points on images, Table 1) are larger and likely robust.
The low-temperature mechanism does not explain most of the reported settings
major · Sec. 3.5, Fig. 3; App. C.1, C.2; Table 4
Sec. 3.5 motivates gSAP by gradient flow at τ≤10−3, where per-query surrogates saturate (check 08 confirms the arithmetic: <1 vs ~400 unsaturated comparisons per positive at ). But the SSL runs use (App. C.2), CLMR , and in CLIP gSAP is applied with to the learnable, logit-scaled matrix ( at init), so its effective temperature drifts during training while mSAP/PNP-Dq use (App. C.1). The gains in Table 4 are thus not explained by the §3.5 argument, and the CLIP comparison mixes a loss change with a temperature/scale-parameterisation change. Fix: state which mechanism (global calibration vs. gradient flow) is claimed per setting, and add a CLIP control with mSAP at gSAP's effective temperature / learnable scale, or gSAP at .
Questions for the authors
What are the per-seed standard deviations for Tables 1–3, 5, 6 and 8? Which of the 'best on every metric' claims survive a paired test across the three seeds?
In the CLIP experiments, is mSAP/PNP-Dq applied to the logit-scaled matrix with τ = 0.1 (effective cosine-space τ = 10⁻³ at t = 100) or to raw cosines? Was mSAP tuned over the same τ range as gSAP, and how does gSAP perform at τ = 0.1 or with a frozen logit scale?
Since SSL uses τ = 0.2 (outside the low-τ regime of Sec. 3.5), what do you claim drives the MoCo v3 kNN gains, and does a re-trained InfoNCE baseline in your exact pipeline match the released checkpoint numbers?
How stable is the iNaturalist recall-at-P=0.90 result (0.7% vs 3.0%) across seeds and across random splits into fitting/evaluation classes?
How is an SOP 'epoch' defined? 100 epochs × 59.6 steps × ~1.55 s/step gives ~155 min, not the stated 94–96 min.
Can gSAP be combined with TCM-style or score-normalisation methods, and does mSAP + TCM close the gap on SOP and in CLIP as it nearly does on iNaturalist (Table K)?
Verification
18 checks were run on the PDF alone (no code or data released): 15 confirmed, 2 discrepancies, 1 inconclusive. Every main-text headline number we could recompute reproduces: the Table 6 ratios (+12.3%, 4.29x), all 54 'gSAP best' comparisons in Tables 1–3, the 108-score zero-shot averages, the Table 8 distractor drops, 88 SSL aggregates, and Tables S/T/K/L/M/N/B. The theory checks pass numerically or symbolically (offset invariance, Lemma 1, Eq. 12 identity, ceiling algorithm and bounds, sigmoid/series bounds, Box–Cox identities). The two discrepancies are minor: inconsistent compute/timing statements (memory, GPU count, SOP wall-clock) and mislabelled Table 7 baselines whose values are nonetheless correct. The checks also surfaced context the paper underplays: small margins without variance, the from-scratch gain coming mostly from −log aggregation, and post-SN reversals on ILIAS. The novelty claim ('first ranking loss to replace InfoNCE') could not be settled by search. None of the experiments could be rerun.
[136] Chao-Yuan Wu, Raghavan Manmatha, Alexander J Smola, and Philipp Krahenbuhl. Sampling matters in deep embedding learning. In ICCV, 2017.
Cited in Table 7 for the row 'Triplet SH (Wu et al., 2017)' with SOP R@1/10/100 = 72.7/86.2/93.8 and iNat 58.1/75.5/86.8. In Wu et al. (Table 1) 72.7/86.2/93.8 is the 'Margin (pre-trained)' result (margin loss with distance-weighted sampling); semi-hard triplet loss reaches only R@1 47.4-49.7 there. The RS@k compilation (Patel et al. 2022, Table 2) also lists this row as 'Margin' with 128-d embeddings, not 512-d. See work/verify/15_baselines_vs_sources.py.
[Movshovitz-Attias et al., 2017] No fuss distance metric learning using proxies (ProxyNCA), as used in Table 7
Table 7 lists ProxyNCA as R50 with 512-d embeddings (SOP R@1 73.7; iNat 61.6/77.4/87.0), but the compilation these numbers are taken from (Patel et al. 2022, Table 2) reports them for an Inception (I1) backbone with 128-d embeddings. The values match; the backbone/dimension label does not.
[78] Yifei Liu et al. GlobalAP: Global average precision optimization for person re-identification. Pattern Recognition, 2023.
Exists (DOI 10.1016/j.patcog.2023.109682). The paper says GlobalAP 'still averages AP over queries'. The abstract (memory module over all training instances, 'optimize the AP of the entire training set') neither confirms nor contradicts this; full text not checked. Low severity; listed so the characterisation can be checked against the full text.
Suggestions
Report standard deviations (or paired bootstrap CIs) over the three seeds for every main table, and restate 'best on every metric' claims accordingly.
Add a CLIP control isolating the loss from the temperature/logit-scale parameterisation (mSAP at gSAP's effective τ with learnable scale; gSAP at τ = 0.1 or fixed scale).
Retrain the MoCo v3 InfoNCE baseline in the same pipeline and report it next to the released checkpoint.
In Table 6, show full shared-threshold precision–recall curves and seed variability, and lead the abstract with the more robust SOP result or with gAP/F1g.
Move the from-scratch result (Table Y) and the observation that −log aggregation provides most of the gain into the main text, and qualify the 'drop-in replacement' claim for pretraining.
Summarise post-score-normalisation results (Table R: ILIAS reversal, DISC21 drop) in Sec. 4.4 and note that ILIAS distractors are simulated.
Correct Table 7 labels (Wu et al. margin loss, 128-d embeddings, ProxyNCA backbone) and mention RS@k+SiMix as a stronger excluded variant.
Fix the appendix inconsistencies (Table AD vs Table 1, 12.6 vs 12.7 GiB, 2 vs 8 GPUs, SOP wall-clock, App. B.2 wording, Table X '(paper)/(new)' labels).
Release the code, including the windowed gSAP kernel, and quantify the gAP effect of the window approximation and of negative dropping in one table.
Ethics and integrity
No integrity concerns found: no signs of fabricated or duplicated results, all recomputed aggregates match their components, and baseline numbers match their original sources. The paper discloses use of generative AI tools to write experiment scripts and compile tables (AI use statement, p. 10); given that, the residual table-to-table inconsistencies listed in the weaknesses deserve a careful pass before publication. No embedded instructions to reviewers were found.
Scope of this review
Only the PDF (45 pages) was available: no code, data, checkpoints or LaTeX source. All checks are therefore recomputations from printed tables, numerical/symbolic tests of the theory on synthetic inputs, comparison with cited sources, and literature search. No training or evaluation was rerun, so the empirical results (Fig. 3 unsaturated shares, all accuracy/gAP numbers) are verified only for internal consistency, not reproduced. The GlobalAP characterisation was checked against its abstract only. Novelty was assessed with targeted searches, which cannot prove priority.
The rank/consistency split of Eq. (12) is an exact identity (sympy residual 0) and all 22 Table AC/AD rows are reproducible within rounding (check 05). The ceiling algorithm's worked example (C = 0.821 over 924 interleavings) reproduces exactly against brute force, and the fractional upper bound was never below the exact optimum on 400 random instances (check 07). The Box–Cox aggregation identities hold symbolically (check 14).
Internally consistent numbers throughout a 45-page submission
Tables 4, 7, 8, Z, AA, G–I, M, V–X
Every aggregate we recomputed reproduces: 108-score zero-shot averages (1.155/0.489/0.647 vs claimed 1.16/0.49/0.64, check 03), 88 SSL aggregates (check 09), 20 distractor drops (check 04), 43 timing overheads (check 11), negative-dropping counts (check 12). Baselines in Table 7 match their original sources value-for-value (check 15).
Limitations reported rather than hidden
App. B.7 Table Y; Sec. 4.4; App. F; Sec. 4.3 Table 6
The paper reports that plain gSAP loses to InfoNCE/SigLIP when training CLIP from scratch and needs an annealed aggregation (Table Y), that score normalisation closes part of the gap (Tables 8, P, R), and discusses batch vs dataset gAP (App. F). The threshold protocol of Table 6 (fit on one half of classes, evaluate on the other) directly tests the practical claim rather than only reporting gAP.
τ=10−4
τ=0.2
τ=0.05
τ=10−3
t=100
τ=0.1
τ=0.1
No code, and several baselines are not trained in the same pipeline
major · Reproducibility statement p. 11; Sec. 4.2, Table 4; App. C.2; Table 7
Code is promised 'upon publication', so none of the experiments can be reproduced; our verification is limited to internal consistency. The MoCo v3 InfoNCE baselines are the released checkpoints (73.2/76.7 LP, matching the README, check 15) while gSAP models are the authors' runs; App. C.2 asserts re-training reproduces them but gives no numbers. Table 7 SOTA baselines are copied from papers. Fix: release code (including the new windowed implementation) and report the re-trained InfoNCE baseline in the same pipeline.
Headline 'four times as many positive pairs' is a 0.7%→3.0% recall at a precision below the target
minor · Abstract; Sec. 4.3, Table 6
The ratio reproduces (3.0/0.7 = 4.29x; SOP 21.0/18.7 = +12.3%, check 01), but on iNaturalist the operating points are P = 88.3 (gSAP) vs 87.2 (mSAP), not 0.90, and the absolute recall is tiny (≤3%), as is the oracle (2.2 vs 0.2). A ratio of small numbers is fragile and the abstract presents it as the main practical result. Fix: lead with the SOP number or with F1g/gAP, show the full precision–recall curve under the shared threshold, and report seed variability of the iNat recall.
From-scratch result is mostly due to the −log aggregation, not to the AP surrogate
minor · App. B.7, Table Y; App. E.4; Abstract
Plain gSAP trails InfoNCE by 3.3–8.5 points when CLIP is trained from scratch, and 90–96% of the improvement of annealed gSAP over plain gSAP is already obtained with the γ=0 (−logx) aggregation alone (Table Y, check 14), a global-sigmoid loss that is no longer an AP surrogate. This qualifies the 'drop-in replacement' and 'first ranking loss to replace InfoNCE' framing for pretraining. Fix: state this explicitly in the main text and discuss what is retained of the AP structure at γ→0.
Framing of InfoNCE as offset-blind is stronger than what holds for the symmetric loss
minor · Abstract; Sec. 1–2; App. B.3 Table K
Each directional InfoNCE term is invariant to per-row offsets in its own direction, but the symmetric CLIP/MoCo loss is not: in our test the other-direction term changed from 4.196 to 4.379 under row offsets (check 06). The paper states the per-term fact correctly (Sec. 2), but the abstract/introduction say InfoNCE does not consider cross-query comparability. Relatedly, mSAP + TCM comes within 0.6 gAP of gSAP on iNat with higher R@1 and mAP (Table K, check 18), so existing per-query losses plus a consistency regulariser recover much of the gap in one setting. Fix: qualify the claim for symmetric losses and discuss the TCM result in the main text.
Distractor-query caveats after score normalisation are not reported in the main text
minor · Sec. 4.4, Table 8; App. B.4, Table R; App. C.4
After SN, InfoNCE has higher gAP than gSAP on ILIAS/PE-L (5.4 vs 4.3, Table R), on DISC21 the baseline has the smallest drop (6.6 vs 7.1) and the gSAP–mSAP gap shrinks from 1.4 to 0.5 (check 04). ILIAS distractors are simulated (App. C.4). The main text says only that SN does not close the gap on DISC21. Fix: summarise the post-SN picture in Sec. 4.4.
Mislabelled baselines in Table 7
minor · Sec. 4.3, Table 7
Values match their sources, but 'Triplet SH (Wu et al., 2017)' (72.7/86.2/93.8) is Wu et al.'s margin-loss result with distance-weighted sampling (their semi-hard triplet reaches R@1 47.4–49.7), and Triplet SH and ProxyNCA are labelled R50512 although the source compilation gives 128-d embeddings (ProxyNCA on Inception) (check 15). Also note RS@k+SiMix (R50) reaches iNat 71.8/84.7/91.9, above gSAP's 71.3/84.1/91.3; its exclusion as 'non-vanilla' should be stated. Fix: correct labels and mention the excluded stronger variant.
Small internal inconsistencies in the appendix
minor · App. E.2 Table AD; App. B.6 Tables W, X, p. 31; App. C.1, C.3; App. B.2; App. B.3 Table N
(i) Table AD says it uses the models of Table 1 but 4/8 gAP values differ by 0.1–0.2 (e.g. COCO gSAP 21.5 vs 21.4, Flickr30k gSAP 59.5 vs 59.7; check 05); (ii) text gives mSAP peak memory 12.6 GiB vs 12.7 in Table W; (iii) App. C.1 says CLIP fine-tuning on 2 H200 GPUs while Table W/throughputs use 8 GPUs; (iv) 100 SOP epochs × 59.6 steps × 1.53–1.59 s/step = 152–158 min, not the stated 94–96 min (check 11); (v) App. B.2 says at ViT-B LP each model leads on one shifted set, but InfoNCE leads on two (check 09); (vi) Table N 'uniform batches cost 5 to 6 gAP points' vs 6.1–6.2 on SOP (check 12); (vii) Table X keeps '(paper)/(new)' column labels from a revision. None changes a conclusion.
Cubic cost and dependence on unreleased implementation
minor · Sec. 3.4; App. B.6, Tables U–X
Exact gSAP is O(KB2) per batch (cubic in B); practicality rests on negative dropping (which changes the loss: larger α 'drives the loss towards zero', Sec. 3.4) and on a new windowed implementation. Overheads recompute correctly (e.g. exact time linear in k, check 11) but the windowed kernel is not released. Fix: release it and report the gAP effect of the window approximation alongside the timing.
Tables S/T are consistent with Tables 1, 3 and 5; global PNP-Ds gains 3.7/2.9/3.3 gAP; removing R+ drops gAP 42.1->33.8, 58.9->45.3, 31.6->18.8; global PNP-Ds trails gSAP by 1.6 in IN-1k top-1 and iNat mAP; gSAP best on every metric except SOP R@1 and mAP
15/15 Table S values reproduce from Tables 1/3 within rounding (e.g. gSAP gAP (45.1+59.7+21.4)/3=42.07 vs 42.1); Table T rows identical to Table 5; all 5 quoted deltas exact; gSAP not best only on SOP R@1 and mAP. Small precision: the text names only per-query PNP-Dq as higher on SOP R@1, but per-query mSAP and global PNP-Ds (86.9) also exceed gSAP (86.8).
Recomputed Table S rows from Tables 1 and 3, compared Table T with Table 5, recomputed every quoted delta and the best-except statement
Cost claims: Tables V/W/X overheads; throughputs 6,140/6,100/3,870/5,570 pairs/s at B=2,304; peak memory 12.7/12.7/12.6/17.4/13.2 GiB; exact-gSAP time grows linearly with k; windowed adds <=16% time and 1.4 GiB; CLIP fine-tuning 4.2-4.4 h and SOP run 94-96 min
Minor. All 43 percentages and all throughputs reproduce (e.g. 2304/0.596 = 3,866 pairs/s vs 3,870; 10.7/0.625 = +1612%); exact time is linear in k (slope 0.219 s per k, max residual 0.0008 s); windowed extra memory 1.4 GiB. Inconsistencies: (i) the text gives mSAP peak memory 12.6 GiB while Table W shows 12.7; (ii) C.1 states CLIP fine-tuning on 2 H200 GPUs but Table W and the throughput text use 8 GPUs; (iii) 100 SOP epochs at B=1,000 (59.6 steps/epoch) x 1.53-1.59 s/step (Table V) gives 152-158 min, not the stated 94-96 min, unless an epoch is defined differently (not stated). CLIP 4.2-4.4 h is compatible with compute-only 2.5-3.9 h plus data loading.
Recomputed all 43 overhead percentages and 5 throughputs from the printed step times; linear fit of exact time vs k; compared text memory with Table W; derived implied wall-clock from step counts
Negative dropping and sensitivity: Table M negative counts follow from B and alpha; Table B: dropping 95% costs at most 0.9 gAP, gSAP+drop still beats InfoNCE/SigLIP, B=4,096 best in every metric; Table N: gSAP leads gAP in every setting, lead grows as batch shrinks, uniform batches cost 5-6 gAP points
Table M counts reproduce (996,000; 99,600; 9,960; 996; 100; 10; 1; 489,720 vs printed 1M/100k/10k/1k/100/10/1/500k). Table B: dropping costs 0.9/0.5/0.7 gAP; gSAP+drop beats all InfoNCE/SigLIP gAP; B=4,096 strictly best in 15/15 columns; SigLIP gAP falls at 3,072. Table N: gSAP leads gAP in all 22 settings; lead shrinks monotonically with B (SOP 2.3->1.2, iNat 4.8->3.3); best at rho=4; default columns equal Table 5. Trivial wording: SOP uniform-batch drops are 6.2 (mSAP) and 6.1 (gSAP), slightly above the stated 5 to 6.
Recomputed retained negatives (M=B(B-1), K=3B, ceil((1-alpha)(M-K))); per-column comparisons in Table B; leads, trends and drops in Table N
Appendix B.1: gSAP best on every Table A column; best or tied-best in every metric of Tables C, D (ViT-B/16, LAION-400M) and F; best in every Table E metric; ViT-B/16 doubles COCO gAP; +3.3 MSR-VTT v->t R@1 over SigLIP; LAION: InfoNCE gAP drops on Flickr8k and COCO, only gSAP improves every image retrieval metric
No column where gSAP is below InfoNCE or SigLIP; ties in 5 columns (C ViT-B/16 F8k R@5 t->i 88.7; D ViT-B/16 MSVD v->t R@10 85.2; D LAION MSVD gAP 19.7; F IN-R top-5 and mR). COCO gAP 24.6/12.2 = 2.02x; MSR-VTT v->t R@1 34.2-30.9 = 3.3; LAION: InfoNCE fails to improve 7/15 image-retrieval metrics, SigLIP 3/15, gSAP 0/15. Margins are small (Table F ViT-B/16 mean margin over SigLIP 0.34) and no variance is reported; only InfoNCE and SigLIP are compared in these appendix tables.
Transcribed Tables A, C, D, E, F (157 columns); column-wise comparison of gSAP with InfoNCE and SigLIP; checked each specific statement
grad(1-P) = P grad(-log P); Box-Cox L_gamma tends to -mean log P as gamma->0, equals gSAP at gamma=1, weights each positive by P^gamma relative to -log x; Table Y: annealed gamma above InfoNCE, SigLIP and gamma=0 on every metric
All identities hold symbolically (residual 0; limit = -log P; gamma=1 gives 1-P). Table Y: annealed gSAP exceeds InfoNCE (+0.4 to +2.2), SigLIP (+0.3 to +1.2) and gamma=0 (+0.3 to +0.7) on all 5 metrics. Context: 90-96% of the improvement of annealed over plain gSAP is already obtained with the -log x aggregation alone (gamma=0), whose global-sigmoid loss is not an AP surrogate; plain gSAP trails InfoNCE by 3.3-8.5 points from scratch. Single setting, no variance reported.
sympy derivatives and limit, numeric spot check on 50 random P; arithmetic on Table Y
Table 7 baseline numbers are the vanilla losses as reported in the original papers; MoCo v3 released linear-probe accuracies are ViT-S 73.2 and ViT-B 76.7
Minor (labels, not values). All compared values match their sources exactly (e.g. RS@k R50 SOP 82.8/92.9/97.0, iNat 71.2/84.0/91.3; RS@k ViT-B/16 88.0/96.1/98.6, 83.9/92.1/95.9; SmoothAP 80.1/91.5/96.6, 67.2/81.8/90.3; MoCo v3 73.2/76.7). But the row 'Triplet SH (Wu et al., 2017)' (72.7/86.2/93.8) is Wu et al.'s 'Margin (pre-trained)' result with distance-weighted sampling; their semi-hard triplet reaches R@1 47.4-49.7. Triplet SH and ProxyNCA are listed as R50^512 although the source gives 128-d embeddings (ProxyNCA on Inception). Context: RS@k+SiMix (R50, same source) reaches iNat 71.8/84.7/91.9, above gSAP 71.3/84.1/91.3; Table 7 excludes it as non-vanilla. SoftBin, PNP, ROADMAP, HIER and Potential Field rows not checked.
Compared 10 Table 7 rows with Table 2 of the RS@k paper (arXiv 2108.11179, which collects these baselines) and with Table 1 of Wu et al. 2017 (arXiv 1706.07567); compared Table 4 InfoNCE LP values with the MoCo v3 README
Bibliography entries exist and key citations say what is claimed: gAP attributed to Perronnin et al. (2009); GlobalAP (Liu et al., 2023) still averages AP over queries; CES (Veit & Wilber, 2020) puts all batch negatives in the InfoNCE denominator
96/149 entries matched on the first pass and 21 more by title; the 31 unresolved are standard datasets/software/model reports (CLIP, PyTorch, DINOv2/v3, SigLIP 2, CIFAR, SVHN, CUB, Kinetics, ObjectNet, OpenCLIP, Country211, etc.) whose lookup failed on author-first text; none looks fabricated. Load-bearing entries resolve exactly (Perronnin 2009 DOI 10.1109/cvpr.2009.5206505, GlobalAP DOI 10.1016/j.patcog.2023.109682, CES arXiv 2011.08824, Sidney 1975, AP-loss 2019, RankCLIP 2025). Characterisations consistent: CES adds cross-example negatives for global calibration; gAP=micro-AP is attributed to Perronnin 2009 by GLDv2; the GlobalAP per-query averaging is plausible from its abstract but not verified in full text. One mis-cited row: Table 7 'Triplet SH (Wu et al., 2017)' gives Wu et al.'s margin-loss numbers (see check 15).
tools/check_refs.py on all 149 entries, second-pass title lookup (Crossref title query + arXiv) for weak matches, token-overlap comparison; web spot-check of the load-bearing characterisations, with source excerpts recorded in 16_spotcheck_sources.txt
To the authors' knowledge gSAP is the first ranking loss to replace InfoNCE in CLIP-style cross-modal and self-supervised training
No counterexample found: RINCE (AAAI 2022) is an InfoNCE variant; RankCLIP (ICCV 2025) adds a ranking term to the contrastive loss; ReCo (WACV 2023) replaces InfoNCE but is not a ranking loss; AP-oriented video retrieval combines AP with InfoNCE; Smooth-AP/RS@k/ROADMAP are unimodal. A search cannot establish priority. The paper itself trains CLIP with per-query ranking surrogates (mSAP, PNP-Dq) as baselines (Table 1), so the claim is best read as the first ranking loss to replace and outperform InfoNCE.
Two targeted web literature searches (AP/ranking surrogate replacing InfoNCE in SSL; ranking/AP losses for CLIP training); hits and assessment recorded in 17_novelty_search.md
Table L: for SoftBin, BlackBox, ROADMAP and Smooth-AP the gAP surrogate beats its mAP counterpart in gAP by a clear margin at similar mAP and R@1; Table K: TCM adds nothing on top of gSAP, KoLeo hurts gAP everywhere, TCM helps per-query losses but not consistently
Global version gains gAP for every approximation: SoftBin +1.3/+3.2, BlackBox +1.6/+3.3, ROADMAP +4.6/+1.6, Smooth-AP +1.9/+3.8 (SOP/iNat); mAP/R@1 change by <=0.5 except ROADMAP on SOP (+1.3 R@1, +2.5 mAP, so not 'similar' there). Smooth-AP rows equal Table 5. KoLeo lowers gAP for all 6 loss/dataset pairs; TCM changes gSAP by -0.2/-0.2 and lowers mSAP gAP on SOP (57.0->56.7). Context: with TCM, mSAP on iNat comes within 0.6 gAP of gSAP (31.0 vs 31.6) while exceeding it in R@1 (81.9 vs 81.5) and mAP (45.9 vs 45.5), so an existing regulariser recovers most of the gap there.
Differences between global and per-query versions of each AP approximation and between regularised and plain losses, from the transcribed tables
Under one shared threshold set for precision 0.90, gSAP retrieves 12% more matches than mSAP on SOP (21.0 vs 18.7 recall) and 4x as many on iNaturalist (3.0% vs 0.7%); abstract: up to four times as many positive pairs
SOP 21.0/18.7 = 1.123 (+12.3%, claimed 12%); iNat 3.0/0.7 = 4.29x (claimed 4x; rounding interval [3.93, 4.69]). P/R/oracle consistent in all 6 cells. Caveats: the iNat comparison is at P=88.3 (gSAP) vs 87.2 (mSAP), not 0.90, and absolute recall is 0.7% vs 3.0%; the oracle ratio is 2.2 vs 0.2. gSAP reduces the F1q-F1g gap from 18.6 to 16.9 (SOP) and 11.9 to 10.4 (iNat).
Recomputed ratios from Table 6; checked P/R/oracle internal consistency (P>=0.90 must imply R<=oracle) and F1q-F1g gaps
gSAP outperforms all other losses on every reported retrieval metric in both directions on all six datasets (Tables 1-2) and on every classification metric on all seven datasets (Table 3); COCO +2.0 gAP and +1.3 i->t mAP, MSR-VTT v->t R@1 +1.6 over SigLIP
gSAP is strictly best in 54/54 columns; quoted deltas reproduce exactly (COCO gAP 21.4-19.4=2.0, COCO i->t mAP 43.1-41.8=1.3, MSR-VTT v->t R@1 30.2-28.6=1.6). However, 14/54 margins are <=0.2 points, 22/54 <=0.3, median margin 0.40; Table 3 margins are 0.1-0.5. No standard deviations are reported (three-seed means), so many individual wins are not demonstrably significant; gAP margins (1.2-2.0 on images) are larger.
Transcribed Tables 1-3; for each of 54 columns compared gSAP with the best of CLIP/SigLIP/CES/PNP-Dq/mSAP; recomputed the quoted deltas; tabulated margins
Averaged over all 108 classification scores, gSAP improves over pretrained / InfoNCE / SigLIP by 1.16 / 0.49 / 0.64 (ViT-B/32) and 1.43 / 0.65 / 0.77 (ViT-B/16); Average rows of Tables Z and AA
108-score differences: ViT-B/32 1.155/0.489/0.647 (claimed 1.16/0.49/0.64); ViT-B/16 1.429/0.644/0.774 (claimed 1.43/0.65/0.77), all within 0.01. All 24 printed group averages reproduce within rounding (largest gap Table AA top-5 gSAP 75.055 vs printed 75.0). Context: gSAP is best or tied-best in only 59/108 (B/32) and 52/108 (B/16) individual scores, so the claim rests on small average gains (~0.5-0.8 points) without variance estimates.
Transcribed all 38 tasks x 3 metrics of both tables; recomputed group averages (38/33/37 tasks) and pooled 108-score mean differences
Table 8: drop=(gAP- - gAP)/gAP-; gSAP best gAP on all four distractor tasks and smallest drop before SN; Met: identical gAP- for mSAP and gSAP, gSAP +4.5 gAP. Table R: gSAP best mAP/gAP/gAP- for every backbone; SN never raises gAP with distractors; PE-L rows match Table 8
All 20 drops reproduce within 0.15 pp (e.g. gSAP Met (73.0-62.8)/73.0=13.97 vs 14.0). gSAP best gAP and smallest pre-SN drop on all four tasks; Met gAP- 73.0=73.0, gAP gap 4.5. Table R statements hold; PE-L rows identical to Table 8. Caveats not stated in the main text: after SN on DISC21 the baseline has the smallest drop (6.6 vs 7.1) and the gSAP-mSAP gAP gap shrinks from 1.4 to 0.5; on ILIAS/PE-L after SN InfoNCE has higher gAP than gSAP (5.4 vs 4.3); on DINOv3 SN raises gAP- only for the untrained baseline.
Recomputed all 20 drop values, ranked methods per column, checked SN statements and cross-table consistency
Eq. (12) splits the gAP difference exactly into rank = mean(eff)*dC and cons = mean(C)*d eff; Table AC/AD eff, rank and cons values follow; consistency is 64-100% of gSAP cross-modal gain (2.26 of 2.79 over InfoNCE, 1.73 of 1.93 over SigLIP, COCO t->i); Table AD uses the models of Table 1
Eq. (12) is an exact identity (sympy residual 0). All 30 eff values and all 22 rank/cons pairs lie within the range achievable from the rounded gAP and C. Consistency shares 64%-100% (COCO t->i 2.26/2.79=81%, 1.73/1.93=90%) as stated. Minor inconsistency: Table AD says it uses the models of Table 1, yet 4 of 8 gAP values differ by 0.1-0.2 (COCO SigLIP 19.5 vs 19.4, gSAP 21.5 vs 21.4; Flickr30k InfoNCE 56.0 vs 56.1, gSAP 59.5 vs 59.7).
sympy proof of the identity; recomputed eff, rank, cons for all 22 comparison rows by interval sampling over the rounding of printed gAP and C; consistency shares; compared Table AD gAP with Table 1
mAP and R@k are invariant to any strictly increasing per-row map while gAP is not (Lemma 1); at finite tau per-query offsets leave mSAP, RS@k and each directional InfoNCE term in its own direction unchanged while gAP and gSAP change; affine per-row maps change mSAP only slightly
Under per-row offsets (sigma=0.03) mAP, R@1, row-direction InfoNCE, mSAP and RS@1-surrogate change by exactly 0.0 at tau in {0.1,0.01,0.001}; gAP changes by 2.2e-2 and gSAP by 2.3e-4 to 2.2e-2. Under per-row strictly increasing maps mAP and R@1 are unchanged, gAP drops 0.132->0.041. Affine maps change mSAP by 1e-4 to 5e-3 vs gAP by 0.10, matching Table AB qualitatively. Nuance: the other-direction InfoNCE term does change under row offsets (4.196->4.379), so the symmetric CLIP/MoCo InfoNCE is not offset-invariant as a whole; the paper phrases this correctly per term but the abstract/introduction framing (InfoNCE ignores cross-query comparability) is stronger than what holds for the symmetric loss.
Numerical test on a random 200x500 similarity matrix with per-query shifts: implemented AP, mAP, gAP, R@1, Smooth-AP (mSAP, gSAP), a per-row RS@1-type surrogate, InfoNCE in both directions and SigLIP; applied per-row offsets, strictly increasing maps and affine maps
Ceiling computation: worked example (APs 0.833/0.583, mAP 0.708, C=0.821 over 924 interleavings, a-first 0.711, b-first 0.502); Example 1 gAP 0.833; Example 2 bound gAP <= (1/M)(1+2(M-1)/N); ratio rule near-optimal (382/400, rule+greedy 393/400); fractional spread-evenly schedule is an upper bound on C
Worked example reproduced exactly: 0.833/0.583/0.708, rule 0.821 = brute-force optimum over 924 interleavings, a-first 0.711, b-first 0.502; Example 1 = 0.833; Example 2 bound holds for all tested (M,N). On my 400 random instances (distribution not specified in the paper) the rule is optimal in 372 and the better of rule/greedy in 386 (paper 382/393), mean deviations 5.0e-4/1.4e-4 (paper 4e-4/1e-4) - same order. The fractional bound was never below the exact optimum (0/400), supporting the two-sided bracketing of C. Full-size bracket widths (7e-7, 6e-6) not checkable without data.
Independent implementation of the ratio rule (PAV + density ordering), greedy schedule and fractional bound; exact optimum by brute-force enumeration and by an exact prefix-state DP (cross-validated, max diff 2e-16); 400 random instances of 2-4 lists
sigma(0)=0.25, sigma(4)0.018 (7% of peak); mSAP compares each positive with B-21e3 items, gSAP with B(B-1)~1e6; at tau=1e-4 an mSAP positive has <1 unsaturated comparison, a gSAP positive >150; windowed implementation: outside |ds|>8tau the sigmoid is within e^-w of 0/1 and the two-term series error is < e^-24
sigma(0)=0.25, sigma(4)=0.01766 = 7.07% of peak. Comparisons per positive 998 (mSAP) and 998,999 (gSAP). With the quoted share 0.04%: mSAP 0.40 (<1) and gSAP 400 (>150; 200 even with the stated factor-two drift). Shares imply a constant density of ds near 0 of 0.50 for tau<=0.01 (0.625 at tau=0.1, saturating), consistent with proportionality to tau. Series truncation error max 0.9997*e^-24 = 3.8e-11 per comparison (below the bound); window tails sigma(-8)=3.35e-4 <= e^-8. The shares themselves are empirical (Figure 3) and not checkable without the model.
mpmath (50 digits) evaluation of sigmoid derivatives and series truncation errors on |x| in [8,48]; count arithmetic for B=1000 with the quoted unsaturated shares
Self-supervised tables are internally consistent: Table 4 equals the aggregates of Tables G/H/I; OOD = mean of IN-V2/R/Sketch; Table H averages; Table I family/severity averages and rel.=all/ID; text: gSAP trails only on ID LP at ViT-B, kNN gains consistently larger
All 88 recomputed quantities match (e.g. ViT-S LP InfoNCE ImageNet-C all = (341.4+4(36.2+46.0+53.9))/15 = 44.57 vs 44.6; rel 44.6/73.2 = 60.9). kNN gain exceeds LP gain in all 8 Table 4 comparisons; gSAP trails only on ViT-B ID LP (-1.1). Minor wording issue: App. B.2 says that at ViT-B under LP the two models each lead on one shifted set, but InfoNCE leads on two (IN-V2 65.2 vs 63.9, IN-R 35.9 vs 35.8) and gSAP on one (IN-Sketch 26.1 vs 24.9). Not checked: whether the InfoNCE baseline (released checkpoint) and gSAP runs share the same pipeline.
Transcribed Tables 4, G, H, I; recomputed 56 averages/ratios and 32 cross-table equalities (tolerance 0.1, 0.15 for rel.)