AI & MLCoreAIML-EMB-008
Contrastive Learning
Pull matched pairs together, push others apart: InfoNCE as softmax cross-entropy over similarities.
- Difficulty
- 2 / 5
- Importance
- 5 / 5
- Study time
- 1–2 h
- Kind of work
- Mixed
Why it matters
The learner can compute an InfoNCE loss for a small batch and explain how temperature and negatives shape the embedding space.