Term
contrastive learning
Meaning
Training that pulls together representations of related inputs and pushes apart representations of unrelated ones.
Source A Simple Framework for Contrastive Learning of Visual Representations
How papers use it 10 papers
A Simple Framework for Contrastive Learning of Visual Representations
Use Positive pairs here are two augmented views of one image, and the other views in the batch are negatives.
Unsupervised Dense Information Retrieval with Contrastive Learning
Use The training objective behind the unsupervised retrievers in this paper. Positive pairs are formed from a single document, and negatives come from other documents in the batch or from a queue. The paper uses it both for unsupervised retrieval and as a pre-training step before fine-tuning.
Meaning A self-supervised training approach that learns representations by pulling together two views of the same document and pushing apart representations of different documents, using a contrastive loss. It needs no labeled query-document pairs.
Masked Autoencoders Are Scalable Vision Learners
Use Discussed as a contrasting family of self-supervised methods to the autoencoding approach of MAE. The paper notes that contrastive and related methods depend strongly on data augmentation, and presents autoencoding as a conceptually different direction with different behavior.
Meaning Contrastive learning is a self-supervised approach that learns image representations by comparing views of images. It pulls together views that show the same image and pushes apart views of different images, so the learned features reflect similarity and dissimilarity.
Embedding Dimension of Contrastive Learning and $k$-Nearest Neighbors
Use The input to the paper's first problem: given m triplets \((x_i, y_i^+, z_i^-)\), find the smallest dimension \(d\) of an \(\ell_p\)-space in which all triplets can be satisfied. Results are stated per norm: \(d = \Theta(\sqrt{m})\) is necessary and sufficient for \(\ell_2\), \(d = O(m)\) suffices for \(\ell_p\), and \(d = O(m^{2/3})\) suffices for \(\ell_\infty\). The setting is also extended to triplets with t negatives.
Meaning A representation learning setting in which the training data are triplets stating that an anchor point is closer to a positive example than to a negative one. A good embedding is one that respects every such comparison.
SimCSE: Simple Contrastive Learning of Sentence Embeddings
Use Forms the training objective of both SimCSE variants, where the positive pair is either two dropout-noised views of one sentence or an entailment pair. Other in-batch sentences serve as negatives, with a temperature hyperparameter in the similarity scaling.
Meaning A learning paradigm that trains representations by pulling semantically related pairs together and pushing non-related examples apart, usually with a cross-entropy objective over in-batch negatives.
Self-supervised Graph Learning for Recommendation
Use The auxiliary objective of SGL. Two views of each user or item node are generated by graph augmentation, and the InfoNCE-style loss treats the two views of the same node as a positive pair and views of other nodes as negatives, separately for the user side and the item side.
Meaning A learning approach that trains representations so that different views of the same instance are pulled together while views of different instances are pushed apart, typically through a softmax-based loss over similarity scores.
SimCVD: Simple Contrastive Voxel-Wise Representation Distillation for Semi-Supervised Medical Image Segmentation
Use Serves as the basis of the unsupervised objective in SimCVD, where two dropout-masked views of the same slice form a positive pair and other slices form negatives under an InfoNCE loss. The paper positions it as a promising direction for semi-supervised medical segmentation with few labels, and contrasts its own geometry-focused use with the stage-wise approach of Chaitanya et al.
Meaning A representation learning approach that trains an encoder so that embeddings of positive pairs are drawn together while embeddings of negative pairs are pushed apart in a shared latent space.
Exploring Simple Siamese Representation Learning
Use Used as one of the main strategies for preventing collapse in Siamese networks. Methods such as SimCLR fall under it. The paper contrasts SimSiam with this family because SimSiam uses neither negative pairs nor a momentum encoder.
Meaning A learning approach that attracts positive sample pairs and repels negative sample pairs in a representation space, so that representations of the same instance are close and those of different instances are far apart.
Pre-Trained Image Processing Transformer
Use Used as an auxiliary pre-training objective in IPT, operating on patch features from the decoder. Patches cropped from the same image are pulled together and patches from different images in a batch are pushed apart, so that the pre-trained model is expected to transfer to unseen degradation settings. It is combined with the supervised loss rather than replacing it.
Meaning A self-supervised representation-learning objective that trains an encoder so that features of two views or parts of the same sample become close, while features from different samples are pushed apart.
Improved Baselines with Momentum Contrastive Learning
Use Serves as the framework behind MoCo and SimCLR. Here the instance discrimination pretext task defines positives as two augmented views of the same image and negatives as views of other images, and the InfoNCE loss in Eq. (1) scores each query against one positive key and many negative keys. All reported comparisons are unsupervised pre-training on ImageNet followed by linear classification or VOC detection transfer.
Meaning A representation learning framework that organizes data into similar and dissimilar pairs and learns embeddings that bring similar pairs together while pushing dissimilar pairs apart. It can be cast as a dictionary look-up problem, in which a query is matched against a set of keys.