Dissecting the impact of different loss functions with gradient surgery

01/27/2022
by   Hong Xuan, et al.
1

Pair-wise loss is an approach to metric learning that learns a semantic embedding by optimizing a loss function that encourages images from the same semantic class to be mapped closer than images from different classes. The literature reports a large and growing set of variations of the pair-wise loss strategies. Here we decompose the gradient of these loss functions into components that relate to how they push the relative feature positions of the anchor-positive and anchor-negative pairs. This decomposition allows the unification of a large collection of current pair-wise loss functions. Additionally, explicitly constructing pair-wise gradient updates to separate out these effects gives insights into which have the biggest impact, and leads to a simple algorithm that beats the state of the art for image retrieval on the CAR, CUB and Stanford Online products datasets.

READ FULL TEXT

page 2

page 3

page 4

page 5

page 7

page 8

page 9

page 11

research
05/25/2019

Constellation Loss: Improving the efficiency of deep metric learning loss functions for optimal embedding

Metric learning has become an attractive field for research on the lates...
research
06/27/2023

Mean Field Theory in Deep Metric Learning

In this paper, we explore the application of mean field theory, a techni...
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
07/24/2020

Hard negative examples are hard, but useful

Triplet loss is an extremely common approach to distance metric learning...
research
03/25/2021

Rethinking Deep Contrastive Learning with Embedding Memory

Pair-wise loss functions have been extensively studied and shown to cont...
research
04/08/2019

Improved Embeddings with Easy Positive Triplet Mining

Deep metric learning seeks to define an embedding where semantically sim...
research
06/01/2023

Class Anchor Margin Loss for Content-Based Image Retrieval

The performance of neural networks in content-based image retrieval (CBI...

Please sign up or login with your details

Forgot password? Click here to reset