IT lexicon › AI & ML › Contrastive learning

Contrastive learning

AI & ML På svenska → Updated: 2026-05-23

Train a model to place "similar" things close together in the embedding space and dissimilar ones far apart.

SimCLR, CLIP, MoCo. CLIP pushes text caption and the correct image close, the wrong image far. Drove modern multimodal models and semantic search. Genius trick: create positive pairs from augmentations.

← Back to the lexicon