In Defense of the Triplet Loss for Person Re-Identification
Alexander Hermans, and Lucas Beyer, and Bastian Leibe

TL;DR
This paper demonstrates that the triplet loss, when used for end-to-end deep metric learning, outperforms most other methods in person re-identification, challenging the belief that it is inferior to surrogate losses.
Contribution
The authors show that a variant of the triplet loss is highly effective for end-to-end deep metric learning in person re-identification, outperforming other approaches.
Findings
Triplet loss outperforms surrogate losses in person re-identification.
End-to-end training with triplet loss yields superior results.
Model trained from scratch or pretrained benefits from triplet loss.
Abstract
In the past few years, the field of computer vision has gone through a revolution fueled mainly by the advent of large datasets and the adoption of deep convolutional neural networks for end-to-end learning. The person re-identification subfield is no exception to this. Unfortunately, a prevailing belief in the community seems to be that the triplet loss is inferior to using surrogate losses (classification, verification) followed by a separate metric learning step. We show that, for models trained from scratch as well as pretrained ones, using a variant of the triplet loss to perform end-to-end deep metric learning outperforms most other published methods by a large margin.
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
- 🤗tomaarsen/distilbert-base-uncased-wikipedia-sections-tripletmodel· 2 dl2 dl
- 🤗Hgkang00/FT-triple-2model· 1 dl1 dl
- 🤗slimaneMakh/triplet_CloseHlabel_farLabel_andnegativ-1M-5eps-XLMR_29maymodel· 3 dl· ♡ 13 dl♡ 1
- 🤗abideen/router-embeddingmodel· 1 dl1 dl
- 🤗edubm/vis-sim-triplets-mpnetmodel
- 🤗adejumobi/bert-base-multilingual-cased-finetuned-yoruba-IRmodel· ♡ 2♡ 2
- 🤗RonanMcGovern/all-MiniLM-L12-v2-ftmodel· 5 dl5 dl
- 🤗Trelis/all-MiniLM-L12-v2-ftmodel· 1 dl1 dl
- 🤗Trelis/all-MiniLM-L12-v2-ft-Llama-3-70Bmodel· 27 dl27 dl
- 🤗annazdr/nace-pl-v1model
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsVideo Surveillance and Tracking Methods · Face recognition and analysis · Biometric Identification and Security
