Skip to content
NewA calmer, faster ZeroHour

Global Average Precision for Representation Learning

arXiv cs.AI / cs.LG / cs.CLby Bill Psomas ()1 min read4 · 2 reads
AI summary · grok-4.7Summaries by Vani AI

Researchers introduce gSAP, a global average precision loss that can replace InfoNCE in representation learning.

Standard retrieval metrics and losses such as mAP and InfoNCE score each query separately and do not make similarities comparable across queries. Global Average Precision ranks all query-candidate pairs in one list; gSAP is a differentiable surrogate that needs only a similarity matrix and a positive-pair mask. Swapping it into existing recipes improves supervised metric learning, cross-modal alignment, and self-supervised pretraining, retrieving up to four times as many positives at the same precision and improving transfer, kNN, and zero-shot accuracy.

Key facts
  • gSAP is a drop-in ranking loss using the same inputs as existing losses.
  • It stays trainable at low temperatures where per-query surrogates lose gradient.
  • It retrieves up to four times as many positives at equal precision.
  • Models show higher transfer, kNN, and zero-shot classification accuracy.
Explain this AI news with Vani AIWhat was announced, what is new and why it matters, in a new chat

From the original article

1 min read at arxiv.org

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.

arXiv cs.AI / cs.LG / cs.CL

By Bill Psomas · arxiv.org

Read the full article at arXiv cs.AI / cs.LG / cs.CL

A short excerpt; the article and its images belong to the publisher. Summary, key facts and assessment above are AI-written from the article and can be wrong.