Embeddings & Vector Search · Level 3 of 5
Contrastive Learning
Learning representations by comparing positive and negative relationships between examples.
The choice of pairs and negatives defines what similarity the model learns.
Example
Two views of the same image are pulled closer than unrelated images.
Listen to the definition and example
Audio transcript
Contrastive Learning. Learning representations by comparing positive and negative relationships between examples. The choice of pairs and negatives defines what similarity the model learns. For example: Two views of the same image are pulled closer than unrelated images.
Explore this concept
Why it matters
This helps you understand why a retrieval system finds or misses related information.
Start with
Related concepts
Quick recall question
Try answering before looking back at the definition.