Contrastive Learning

term_id: contrastive_learning

Category: training_techniques

Definition

Contrastive learning is a representation learning method that does not require labeled data. It works by creating augmented views of the same input (positive pairs) and contrasting them with different inputs (negative pairs). The model is trained to minimize the distance between positive pairs in the embedding space while maximizing the distance between negative pairs. This approach has become foundational for achieving state-of-the-art results in computer vision and natural language processing tasks.

Summary

A self-supervised learning technique that learns representations by pulling positive pairs together and pushing negative pairs apart.

Key Concepts

  • Self-Supervision
  • Positive/Negative Pairs
  • Embedding Space
  • Augmentation Strategies

Use Cases

  • Unlabeled image classification
  • Semantic search indexing
  • Anomaly detection in time series