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

The Group Loss for Deep Metric Learning

About

Deep metric learning has yielded impressive results in tasks such as clustering and image retrieval by leveraging neural networks to obtain highly discriminative feature embeddings, which can be used to group samples into different classes. Much research has been devoted to the design of smart loss functions or data mining strategies for training such networks. Most methods consider only pairs or triplets of samples within a mini-batch to compute the loss function, which is commonly based on the distance between embeddings. We propose Group Loss, a loss function based on a differentiable label-propagation method that enforces embedding similarity across all samples of a group while promoting, at the same time, low-density regions amongst data points belonging to different groups. Guided by the smoothness assumption that "similar objects should belong to the same group", the proposed loss trains the neural network for a classification task, enforcing a consistent labelling amongst samples within a class. We show state-of-the-art results on clustering and image retrieval on several datasets, and show the potential of our method when combined with other techniques such as ensembles

Ismail Elezi, Sebastiano Vascon, Alessandro Torcinovich, Marcello Pelillo, Laura Leal-Taixe• 2019

Related benchmarks

TaskDatasetResultRank
Image RetrievalCUB-200 2011
Recall@166.9
146
Deep Metric LearningCUB200 2011 (test)
Recall@165.5
129
Image RetrievalCARS196
Recall@188
56
Deep Metric LearningCARS196
Recall@185.6
50
Image RetrievalStanford Online Products
Recall@176.3
49
Deep Metric LearningStanford Online Products (SOP)
R@175.1
20
ClusteringCUB-2011
NMI0.7
11
Image Retrieval and ClusteringCUB-200 2011
R@10.655
10
Image Retrieval and ClusteringCARS 196
Recall@185.6
10
Image Retrieval and ClusteringStanford Online Products
Recall@175.7
10
Showing 10 of 12 rows

Other info

Code

Follow for update