Triplet Loss

Quick definition

A metric-learning objective that compares an anchor, a positive example, and a negative example.

A metric-learning objective that compares an anchor, a positive example, and a negative example.

The objective encourages the anchor to be closer to the positive than the negative by a specified margin.

Example: A face-embedding model compares two images of the same person against an image of someone else.

Common use cases: Similarity learning, image retrieval, and biometric research.

Examples

  • A face-embedding model compares two images of the same person against an image of someone else.

Use cases

  • Similarity learning, image retrieval, and biometric research.

Frequently asked questions

What is Triplet Loss?

A metric-learning objective that compares an anchor, a positive example, and a negative example.

What should I know about Triplet Loss?

The objective encourages the anchor to be closer to the positive than the negative by a specified margin.

Categories and tags