InfoNCE
A loss function commonly used in self-supervised contrastive learning. It learns high-quality representations by maximizing the similarity of positive sample pairs while minimizing the similarity of negative sample pairs, and is widely applied in vision, audio, and recommendation system domains.
Core Facts
Timeline (last 90 days)
In QuirkyMind, the InfoNCE loss is responsible for identity consistency in the latent space, while the cross-entropy loss is responsible for expressive fidelity in the explicit space; the two are optimized alternately to form a complementarity.
In persona modeling, InfoNCE treats different expressions of the same persona as positive sample pairs and other personas or random segments as negatives, thereby pulling vectors of the same persona closer and pushing those of different personas apart in the representation space.
Contrastive learning is a class of methods that learn discriminative representations by constructing positive and negative sample pairs, with representative works including SimCLR and SupCon, typically implemented with InfoNCE or contrastive loss.
Contrastive learning lets the model learn to bring similar samples closer and push dissimilar samples apart in representation space; a typical approach is to apply different augmentations to the same image to obtain positive pairs, use other images in the batch as negatives, and optimize the encoder with losses such as InfoNCE.
Most embedding models are trained using contrastive loss (InfoNCE or its variants), which only cares about the relative ranking of positive samples and not the absolute value of scores.
Adding the same constant to every similarity score in the softmax does not change the loss, so the model can arbitrarily choose the score range for unrelated texts, and the training process pays no attention to absolute scores whatsoever.
Mainstream contrastive learning frameworks such as SimCLR, MoCo, and CLIP typically use cosine similarity as the metric, implicitly fixing the representation space to a uniform Euclidean geometry on a hypersphere.
Sona's tokenizer is trained with an InfoNCE contrastive loss using two types of positive sample pairing signals: tracks co-occurring within the same recommendation response from different artists, and tracks by the same artist with high co-listening NPMI within a three-month window.
Contrastive learning is the core paradigm for implementing negative sample learning, which learns features by pulling the representation distance of positive pairs closer and pushing the representation distance of negative pairs farther apart.
Contrastive learning typically uses the InfoNCE loss function, which originates from the theory of Noise Contrastive Estimation.
1 more timeline events
All Facts (11)
Commonly used loss functions for contrastive learning include InfoNCE Loss and Triplet Loss.
75%UnverifiedContrastive learning is a class of methods that learn discriminative representations by constructing positive and negative sample pairs, with representative works including SimCLR and SupCon, typically implemented with InfoNCE or contrastive loss.
70%UnverifiedIn QuirkyMind, the InfoNCE loss is responsible for identity consistency in the latent space, while the cross-entropy loss is responsible for expressive fidelity in the explicit space; the two are optimized alternately to form a complementarity.
50%UnverifiedIn persona modeling, InfoNCE treats different expressions of the same persona as positive sample pairs and other personas or random segments as negatives, thereby pulling vectors of the same persona closer and pushing those of different personas apart in the representation space.
50%UnverifiedContrastive learning lets the model learn to bring similar samples closer and push dissimilar samples apart in representation space; a typical approach is to apply different augmentations to the same image to obtain positive pairs, use other images in the batch as negatives, and optimize the encoder with losses such as InfoNCE.
50%UnverifiedMost embedding models are trained using contrastive loss (InfoNCE or its variants), which only cares about the relative ranking of positive samples and not the absolute value of scores.
50%UnverifiedAdding the same constant to every similarity score in the softmax does not change the loss, so the model can arbitrarily choose the score range for unrelated texts, and the training process pays no attention to absolute scores whatsoever.
50%UnverifiedMainstream contrastive learning frameworks such as SimCLR, MoCo, and CLIP typically use cosine similarity as the metric, implicitly fixing the representation space to a uniform Euclidean geometry on a hypersphere.
50%UnverifiedSona's tokenizer is trained with an InfoNCE contrastive loss using two types of positive sample pairing signals: tracks co-occurring within the same recommendation response from different artists, and tracks by the same artist with high co-listening NPMI within a three-month window.
50%UnverifiedContrastive learning is the core paradigm for implementing negative sample learning, which learns features by pulling the representation distance of positive pairs closer and pushing the representation distance of negative pairs farther apart.
50%UnverifiedContrastive learning typically uses the InfoNCE loss function, which originates from the theory of Noise Contrastive Estimation.
50%