Our new X account is live! Follow @wizwand_team for updates
WorkDL logo mark

Deep Metric Learning with Hierarchical Triplet Loss

About

We present a novel hierarchical triplet loss (HTL) capable of automatically collecting informative training samples (triplets) via a defined hierarchical tree that encodes global context information. This allows us to cope with the main limitation of random sampling in training a conventional triplet loss, which is a central issue for deep metric learning. Our main contributions are two-fold. (i) we construct a hierarchical class-level tree where neighboring classes are merged recursively. The hierarchical structure naturally captures the intrinsic data distribution over the whole database. (ii) we formulate the problem of triplet collection by introducing a new violate margin, which is computed dynamically based on the designed hierarchical tree. This allows it to automatically select meaningful hard samples with the guide of global context. It encourages the model to learn more discriminative features from visual similar classes, leading to faster convergence and better performance. Our method is evaluated on the tasks of image retrieval and face recognition, where it outperforms the standard triplet loss substantially by 1%-18%. It achieves new state-of-the-art performance on a number of benchmarks, with much fewer learning iterations.

Weifeng Ge, Weilin Huang, Dengke Dong, Matthew R. Scott• 2018

Related benchmarks

TaskDatasetResultRank
Image RetrievalCUB-200-2011 (test)
Recall@157.1
251
Image RetrievalStanford Online Products (test)
Recall@174.8
220
Image RetrievalCUB-200 2011
Recall@157.1
146
Image RetrievalCARS196 (test)
Recall@181.4
134
Deep Metric LearningCUB200 2011 (test)
Recall@157.1
129
Image RetrievalIn-shop Clothes Retrieval Dataset
Recall@180.9
120
Image RetrievalCARS 196
Recall@181.4
98
Image RetrievalCUB
Recall@157.1
87
In-shop clothes retrievalin-shop clothes retrieval dataset (test)
Recall@180.9
78
Image RetrievalCARS196
Recall@181.4
56
Showing 10 of 28 rows

Other info

Follow for update