Contrastive Learning

Category: Foundations of ML/AI

A self-supervised learning technique that trains models by distinguishing similar (positive) pairs from dissimilar (negative) pairs.

Full Explanation

Contrastive learning trains representations by pulling similar examples closer together in embedding space while pushing dissimilar examples apart. A typical setup creates positive pairs from augmented views of the same data point and negative pairs from different data points. Landmark methods include SimCLR, MoCo, and CLIP, which have achieved state-of-the-art results in vision and multi-modal learning. The InfoNCE loss is a widely used objective for contrastive learning. The approach is powerful because it learns discriminative features without requiring manual labels. Contrastive learning has been applied to images, text, audio, graphs, and cross-modal settings like image-text matching.

Related Terms

More in Foundations of ML/AI

Explore More