The InfoNCE contrastive loss is essentially which kind of objective over an anchor, its positive, and the negatives?
- A softmax cross-entropy selecting the positive from the candidates
- A regression of the anchor onto the positive's coordinates
- A margin-only hinge with no probabilistic interpretation
- A reconstruction loss that rebuilds the anchor from noise
Why
InfoNCE treats the positive as the correct class among {positive, negatives} and applies a temperature-scaled softmax cross-entropy, maximizing the positive's similarity relative to the negatives. It is not coordinate regression, a pure hinge, or a denoising reconstruction.