Contrastive Learning
A self-supervised or weakly supervised learning paradigm that trains models by constructing positive and negative sample pairs, encouraging semantically similar samples to be closer in the embedding space. It is the core training methodology underlying vision-language models such as CLIP and SigLIP.
Core Facts
The CLIP architecture was proposed by OpenAI in 2021 and maps images and text to the same high-dimensional vector space through contrastive learning.
The core loss functions of contrastive learning (such as InfoNCE and NT-Xent) essentially pull the representations of similar samples closer together while pushing the representations of dissimilar samples further apart.
InfoNCE loss trains by maximizing the similarity of positive pairs and minimizing the similarity of negative pairs within a batch, where a smaller temperature hyperparameter τ leads to a more concentrated distribution.
Timeline (last 90 days)
Many embedding models mainly capture topic-level similarity in contrastive learning, while polarity differences such as 'want' versus 'don't want' appear only in individual words and have limited influence on the overall vector direction.
Contrastive learning is a class of self-supervised learning methods that requires no manual annotation, whose core idea is to bring similar samples closer and push dissimilar samples apart in the representation space.
The mainstream training method for embedding models is contrastive learning: construct positive and negative sample pairs and use a loss function to pull positive samples closer and push negative samples farther apart; typical examples include OpenAI's text-embedding series and the open-source BGE and Sentence-BERT.
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.
JDPI (Jailbreak Detection with Prototype Inference) is a method that achieves jailbreak detection through contrastive learned representations and prototype inference without training an additional downstream classifier.
CPC regularizes the historical representations of the same user across different periods through contrastive learning and uses adaptive consistency weights to control the regularization strength.
Through self-supervised contrastive learning, RaRe aligns the CoT rationale embeddings generated by the MLLM with textualized relation descriptions, bringing the rationale representations close to the corresponding relation semantics in the semantic space.
LUMIR is a decoupled multimodal representation learning framework based on contrastive learning.
Search answer bias stems from the training method of dense retrievers: knowledge accumulated during pretraining seeps into similarity computation through contrastive learning.
DPR uses a dual-tower architecture to separately encode questions and passages, and is trained via contrastive learning.
32 more timeline events
All Facts (20)
The CLIP architecture was proposed by OpenAI in 2021 and maps images and text to the same high-dimensional vector space through contrastive learning.
90%VerifiedThe core loss functions of contrastive learning (such as InfoNCE and NT-Xent) essentially pull the representations of similar samples closer together while pushing the representations of dissimilar samples further apart.
80%VerifiedInfoNCE loss trains by maximizing the similarity of positive pairs and minimizing the similarity of negative pairs within a batch, where a smaller temperature hyperparameter τ leads to a more concentrated distribution.
75%VerifiedEmbedding models are essentially Encoder-only Transformer architectures, with BERT and its variants as representative examples, pretrained through contrastive learning or masked language model tasks.
65%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-context learning in the tabular domain typically relies on attention mechanisms that let the prediction sample interact directly with the training samples in the context, equivalent to soft retrieval weighting at inference time.
70%UnverifiedA smaller temperature hyperparameter τ makes the distribution more concentrated and the model more sensitive to hard negative samples, but an excessively small τ causes gradients to be sensitive to outliers and training to become unstable.
70%UnverifiedMainstream text embedding models are typically trained based on contrastive learning, mapping semantically similar text pairs to nearby positions in vector space and pushing unrelated text pairs further apart.
60%UnverifiedFine-tuning embedding models with contrastive learning requires labeled data (positive samples of successful hires and negative samples of rejected candidates) to achieve significant performance gains.
60%UnverifiedDuring fine-tuning, hard negatives (e.g., positions in the same field but at a different seniority level) should be used instead of random negatives to obtain maximum gains.
60%UnverifiedMany embedding models mainly capture topic-level similarity in contrastive learning, while polarity differences such as 'want' versus 'don't want' appear only in individual words and have limited influence on the overall vector direction.
50%UnverifiedContrastive learning is a class of self-supervised learning methods that requires no manual annotation, whose core idea is to bring similar samples closer and push dissimilar samples apart in the representation space.
50%UnverifiedThe mainstream training method for embedding models is contrastive learning: construct positive and negative sample pairs and use a loss function to pull positive samples closer and push negative samples farther apart; typical examples include OpenAI's text-embedding series and the open-source BGE and Sentence-BERT.
50%UnverifiedJDPI (Jailbreak Detection with Prototype Inference) is a method that achieves jailbreak detection through contrastive learned representations and prototype inference without training an additional downstream classifier.
50%UnverifiedCPC regularizes the historical representations of the same user across different periods through contrastive learning and uses adaptive consistency weights to control the regularization strength.
50%UnverifiedThrough self-supervised contrastive learning, RaRe aligns the CoT rationale embeddings generated by the MLLM with textualized relation descriptions, bringing the rationale representations close to the corresponding relation semantics in the semantic space.
50%UnverifiedLUMIR is a decoupled multimodal representation learning framework based on contrastive learning.
50%UnverifiedDPR uses a dual-tower architecture to separately encode questions and passages, and is trained via contrastive learning.
50%UnverifiedSearch answer bias stems from the training method of dense retrievers: knowledge accumulated during pretraining seeps into similarity computation through contrastive learning.
50%UnverifiedWhen applying contrastive learning to industrial images, augmentation strategies must be designed carefully to avoid destroying key semantics such as defects.
50%