Reducing Class Collapse in Metric Learning with Easy Positive Sampling

06/09/2020
by   Elad Levi, et al.
0

Metric learning seeks perceptual embeddings where visually similar instances are close and dissimilar instances are apart, but learn representation can be sub-optimal when the distribution of intra-class samples is diverse and distinct sub-clusters are present. We theoretically prove and empirically show that under reasonable noise assumptions, prevalent embedding losses in metric learning, e.g., triplet loss, tend to project all samples of a class with various modes onto a single point in the embedding space, resulting in class collapse that usually renders the space ill-sorted for classification or retrieval. To address this problem, we propose a simple modification to the embedding losses such that each sample selects its nearest same-class counterpart in a batch as the positive element in the tuple. This allows for the presence of multiple sub-clusters within each class. The adaptation can be integrated into a wide range of metric learning losses. Our method demonstrates clear benefits on various fine-grained image retrieval datasets over a variety of existing losses; qualitative retrieval results show that samples with similar visual patterns are indeed closer in the embedding space.

READ FULL TEXT
research
11/29/2022

Intra-class Adaptive Augmentation with Neighbor Correction for Deep Metric Learning

Deep metric learning aims to learn an embedding space, where semanticall...
research
09/14/2022

Learning Deep Optimal Embeddings with Sinkhorn Divergences

Deep Metric Learning algorithms aim to learn an efficient embedding spac...
research
03/05/2020

Embedding Expansion: Augmentation in Embedding Space for Deep Metric Learning

Learning the distance metric between pairs of samples has been studied f...
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
02/15/2021

Learning Intra-Batch Connections for Deep Metric Learning

The goal of metric learning is to learn a function that maps samples to ...
research
04/24/2020

Dynamic Sampling for Deep Metric Learning

Deep metric learning maps visually similar images onto nearby locations ...
research
03/30/2023

Adaptive Cross Batch Normalization for Metric Learning

Metric learning is a fundamental problem in computer vision whereby a mo...

Please sign up or login with your details

Forgot password? Click here to reset