Deep Metric Learning with Hierarchical Triplet Loss

10/16/2018
by   Weifeng Ge, et al.
0

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 new state-of-the-art performance on a number of benchmarks, with much fewer learning iterations.

READ FULL TEXT

page 4

page 10

research
04/05/2017

Smart Mining for Deep Metric Learning

To solve deep metric learning problems and producing feature embeddings,...
research
04/12/2020

Sharing Matters for Generalization in Deep Metric Learning

Learning the similarity between images constitutes the foundation for nu...
research
10/11/2021

Rank-based loss for learning hierarchical representations

Hierarchical taxonomies are common in many contexts, and they are a very...
research
11/14/2017

TripletGAN: Training Generative Model with Triplet Loss

As an effective way of metric learning, triplet loss has been widely use...
research
09/24/2019

Improving Collaborative Metric Learning with Efficient Negative Sampling

Distance metric learning based on triplet loss has been applied with suc...
research
09/01/2017

Hierarchical loss for classification

Failing to distinguish between a sheepdog and a skyscraper should be wor...
research
04/18/2019

A Theoretically Sound Upper Bound on the Triplet Loss for Improving the Efficiency of Deep Distance Metric Learning

We propose a method that substantially improves the efficiency of deep d...

Please sign up or login with your details

Forgot password? Click here to reset