AI Rookies

Contrastive Learning

Fact

A way to learn by pulling similar examples close and pushing different ones apart.

In Plain Words

Contrastive learning is a school cafeteria seating chart. Best friends share fries. Frenemies get the far table.

It teaches AI useful Embeddings for search and matching. It also helps pictures and captions meet in the same space.

Related Concepts

SSL
Contrastive learning is a common SSL method.

Embedding
It often makes better Embeddings.

CLIP
CLIP uses it to map images and text into one space.

Multimodal AI
It helps match pictures, text, and other data types.