C4W4L04 Triplet loss

7 Nov 2017 · 15 min
15:29

Triplet loss trains neural networks to recognize faces by comparing anchor images to similar and dissimilar examples. The loss function penalizes when a positive image is farther from the anchor than a negative one, with a margin α preventing the network from learning trivial solutions. Training requires multiple images per person and works best on large datasets.

Questions this video answers

0.2

Commonly north of a million images; often north of 10 million; some companies using over 100 million images.

The training set must include multiple pictures of the same person (e.g., ~10 pictures on average per person in the example of 10,000 images across 1,000 people).

A paper cited by name and authors in the transcript: "facenet" by Florence Shof, Dimitri Kalinichenko and James Faubin (as spoken in the video).

Chapters

More from LARRUZ

8:49
youtube.com

OpenAI’s New AI Is Doing Things We Barely Understand

2d ago
5:38
youtube.com

DeepSeek Solved AI’s Memory Problem

4d ago
33:17
youtube.com

DeepMind's New AI Just Cracked The Code Of Life

1w ago
3:43
youtube.com

The Billion Dollar AI Advantage Is Disappearing

1w ago
5:14
youtube.com

Claude Opus 5.5 AI: An Incredible Leap Forward

3w ago
5:16
youtube.com

Yes, Jev Is Insane, But There's A Catch

3w ago
5:11
youtube.com

DeepSeek’s Insane New Architecture

3w ago
4:16
youtube.com

Claude Is Now Leaving Invisible Fingerprints In Its Text

1mo ago
9:18
youtube.com

I Never Thought I’d See This Happen

1mo ago
5:22
youtube.com

GPT-6 Astra Changes Everything

1mo ago
4:55
youtube.com

Claude Fable AI Is Much Stranger Than The Headlines Suggest

1mo ago
See all content