The General Pair-based Weighting Loss for Deep Metric Learning

05/30/2019
by   Haijun Liu, et al.
0

Deep metric learning aims at learning the distance metric between pair of samples, through the deep neural networks to extract the semantic feature embeddings where similar samples are close to each other while dissimilar samples are farther apart. A large amount of loss functions based on pair distances have been presented in the literature for guiding the training of deep metric learning. In this paper, we unify them in a general pair-based weighting loss function, where the minimizing objective loss is just the distances weighting of informative pairs. The general pair-based weighting loss includes two main aspects, (1) samples mining and (2) pairs weighting. Samples mining aims at selecting the informative positive and negative pair sets to exploit the structured relationship of samples in a mini-batch and also reduce the number of non-trivial pairs. Pair weighting aims at assigning different weights for different pairs according to the pair distances for discriminatively training the network. We detailedly review those existing pair-based losses inline with our general loss function, and explore some possible methods from the perspective of samples mining and pairs weighting. Finally, extensive experiments on three image retrieval datasets show that our general pair-based weighting loss obtains new state-of-the-art performance, demonstrating the effectiveness of the pair-based samples mining and pairs weighting for deep metric learning.

READ FULL TEXT

page 1

page 11

research
04/14/2019

Multi-Similarity Loss with General Pair Weighting for Deep Metric Learning

A family of loss functions built on pair-based computation have been pro...
research
12/01/2019

The Group Loss for Deep Metric Learning

Deep metric learning has yielded impressive results in tasks such as clu...
research
03/25/2021

Rethinking Deep Contrastive Learning with Embedding Memory

Pair-wise loss functions have been extensively studied and shown to cont...
research
02/14/2021

Exploring Adversarial Robustness of Deep Metric Learning

Deep Metric Learning (DML), a widely-used technique, involves learning a...
research
11/30/2018

Making Classification Competitive for Deep Metric Learning

Deep metric learning aims to learn a function mapping image pixels to em...
research
04/04/2019

Signal-to-Noise Ratio: A Robust Distance Metric for Deep Metric Learning

Deep metric learning, which learns discriminative features to process im...
research
04/24/2020

Dynamic Sampling for Deep Metric Learning

Deep metric learning maps visually similar images onto nearby locations ...

Please sign up or login with your details

Forgot password? Click here to reset