Zhaolu

Zhao Lü

Silicon Valley engineer, AI educator, and CS tutor

Posts
AI Glossary
Teach
Travels
Talks & Patents

Recent Posts

  • Image Processing with R 2025-06-21
  • 使用 R 处理图像 2025-06-21
  • Diving into Vector Database 2025-06-20
Read more posts →
AI Glossary / Contrastive Learning

Contrastive Learning

Contrastive learning trains encoders so that related pairs (augmentations, text–image matches) are close in embedding space and unrelated pairs are far apart.

InfoNCE-style losses underpin CLIP-like models and many embedding models used for retrieval.

Related terms

  • Embedding
  • Self-Supervised Learning
  • Cosine Similarity

← Back to AI Glossary