TasksSotADatasetsPapersMethodsSubmitAbout
Papers With Code 2

A community resource for machine learning research: papers, code, benchmarks, and state-of-the-art results.

Explore

Notable BenchmarksAll SotADatasetsPapersMethods

Community

Submit ResultsAbout

Data sourced from the PWC Archive (CC-BY-SA 4.0). Built by the community, for the community.

Papers/In Defense of the Triplet Loss for Person Re-Identification

In Defense of the Triplet Loss for Person Re-Identification

Alexander Hermans, Lucas Beyer, Bastian Leibe

2017-03-22Metric LearningPerson Re-IdentificationGeneral Classification
PaperPDFCodeCodeCodeCodeCodeCodeCodeCodeCodeCodeCodeCodeCodeCodeCodeCodeCodeCodeCodeCodeCodeCodeCodeCodeCodeCodeCodeCodeCodeCodeCode

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.

Results

TaskDatasetMetricValueModel
Person Re-IdentificationMarket-1501Rank-186.67TriNet (RK)
Person Re-IdentificationMarket-1501Rank-593.38TriNet (RK)
Person Re-IdentificationMarket-1501mAP81.07TriNet (RK)
Person Re-IdentificationMarket-1501Rank-184.92TriNet
Person Re-IdentificationMarket-1501Rank-594.21TriNet
Person Re-IdentificationMarket-1501mAP69.14TriNet
Person Re-IdentificationMarket-1501Rank-184.59LuNet (RK)
Person Re-IdentificationMarket-1501Rank-591.89LuNet (RK)
Person Re-IdentificationMarket-1501mAP75.62LuNet (RK)
Person Re-IdentificationMarket-1501Rank-181.38LuNet
Person Re-IdentificationMarket-1501Rank-592.34LuNet
Person Re-IdentificationMarket-1501mAP60.71LuNet
Person Re-IdentificationDukeMTMC-reIDRank-172.44TriNet
Person Re-IdentificationDukeMTMC-reIDmAP53.5TriNet
Person Re-IdentificationMARSRank-181.21TriNet (RK)
Person Re-IdentificationMARSRank-590.76TriNet (RK)
Person Re-IdentificationMARSmAP77.43TriNet (RK)
Person Re-IdentificationMARSRank-178.48LuNet (RK)
Person Re-IdentificationMARSRank-588.74LuNet (RK)
Person Re-IdentificationMARSmAP73.68LuNet (RK)
Person Re-IdentificationMARSRank-179.8TriNet
Person Re-IdentificationMARSRank-591.36TriNet
Person Re-IdentificationMARSmAP67.7TriNet
Person Re-IdentificationMARSRank-175.56LuNet
Person Re-IdentificationMARSRank-589.7LuNet
Person Re-IdentificationMARSmAP60.48LuNet
Person Re-IdentificationCUHK03Rank-189.63TriNet
Person Re-IdentificationCUHK03Rank-599.01TriNet

Related Papers

Unsupervised Ground Metric Learning2025-07-17Weakly Supervised Visible-Infrared Person Re-Identification via Heterogeneous Expert Collaborative Consistency Learning2025-07-17WhoFi: Deep Person Re-Identification via Wi-Fi Channel Signal Encoding2025-07-17Are encoders able to learn landmarkers for warm-starting of Hyperparameter Optimization?2025-07-16Try Harder: Hard Sample Generation and Learning for Clothes-Changing Person Re-ID2025-07-15Mind the Gap: Bridging Occlusion in Gait Recognition via Residual Gap Correction2025-07-15$\texttt{Droid}$: A Resource Suite for AI-Generated Code Detection2025-07-11KeyRe-ID: Keypoint-Guided Person Re-Identification using Part-Aware Representation in Videos2025-07-10