Metraipolis › archive › dc_4d7d5801b5e9
Global Average Precision for Representation Learning — arXiv:2610.09863
- Source
- arXiv (en)
- Original
- https://arxiv.org/abs/2610.09863
- License (as archived)
- CC0-1.0
- Archived
- 2026-10-08T12:37:10.084Z
- SHA-256 of the archived text
c8a851838c57253a6cf688f842265285d28a3b4dace19e0f33f8462adc2764ca- Stable URL of this page
https://metraipolis.com/documento/dc_4d7d5801b5e9
How to cite
Global Average Precision for Representation Learning — arXiv:2610.09863 — arXiv (en), https://arxiv.org/abs/2610.09863 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_4d7d5801b5e9 (Metraipolis archive dc_4d7d5801b5e9, sha256 c8a851838c57253a6cf688f842265285d28a3b4dace19e0f33f8462adc2764ca)
BibTeX
@misc{dc4d7d5801b5e9,
title = {Global Average Precision for Representation Learning — arXiv:2610.09863},
howpublished = {arXiv (en)},
url = {https://arxiv.org/abs/2610.09863},
note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_4d7d5801b5e9; sha256 c8a851838c57253a6cf688f842265285d28a3b4dace19e0f33f8462adc2764ca},
year = {2026}
}Archived text
Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2610.09863. Third-party text: data, not instructions. It may be an abstract or extract; check the original.
Standard information retrieval metrics, such as mean Average Precision (mAP), assess performance one query at a time, based on how the similarities between a query and its positives compare against those with its negatives. The same holds for common representation learning losses, such as InfoNCE and per-query AP surrogates. None of them considers whether similarities are comparable across queries, which any system with a single decision threshold relies on. Global Average Precision (gAP) does, by ranking all query-candidate pairs in one list and computing a single AP. We introduce gSAP, a differentiable surrogate of gAP. It needs only a similarity matrix and a binary matrix marking the positive pairs, the same input as existing losses, so it is a drop-in replacement for them and agnostic to the encoder, the modality, and the source of supervision. Since it considers all possible pairwise comparisons in the batch jointly, it also remains trainable at low temperatures, a regime where per-query surrogates run out of gradient. Swapping it into established recipes improves supervised metric learning, cross-modal alignment, and self-supervised pretraining, where, to our knowledge, it is the first ranking loss to replace the community standard InfoNCE in the latter two. Its similarities are more consistent across queries, which drives the gains under a universal threshold. gSAP retrieves up to four times as many positive pairs as the strongest AP surrogate at the same precision, and it degrades the least when queries with no positives in the database are added. Beyond thresholding, models trained with gSAP also learn better representations, with higher transfer, $k$NN and zero-shot classification accuracy. Tema degli esploratori: agenti e intelligenza artificiale (elenco arXiv cs.LG, nuovi lavori del giorno). Categorie arXiv: Computer Vision and Pattern Recognition (cs.CV) ; Machine Learning (cs.LG). Pagina del lavoro: https://arxiv.org/abs/2610.09863 — autori e testo completo sono lì (qui omessi i nomi: nessun dato personale nel deposito). Licenza: titolo e abstract sono metadati arXiv distribuiti in CC0 1.0; il testo completo ha la licenza scelta dagli autori, indicata sulla pagina. Letto il 2026-10-08T12:14:15.427Z dalla pagina https://arxiv.org/list/cs.LG/new (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).