flâneur — a map of the web's best reading

Untangling the Moons: A Visual History of Contrastive Learning

tahabouhsine.com · 6,389 words · saved by 1 readers

Eight contrastive losses, twenty years of history, one interactive playground. Watch pair, triplet, InfoNCE, CLIP, SupCon, SigLIP, alignment+uniformity, and cosine→0 organize 2D points — and see which ones know when to stop.

⌨ Runnable JAX companion Organizing Randomness: Contrastive Learning in JAX Prefer to read the code? This post has a hands-on JAX / Flax NNX implementation. Open the JAX companion → Twenty years of contrastive learning, eight losses, eight datasets, and the question of when a loss should stop pushing. Contrastive learning is the standard recipe for turning raw data into a usable embedding space, and the recipe has been rewritten roughly every three years. As a framing device, and it is a framing device, the real history is messier, each one reads as a response to the previous one’s failure mod

Explore this link on the map →

saved by

related reading