Adaptive neighborhood Metric learning

01/20/2022
by   Kun Song, et al.
0

In this paper, we reveal that metric learning would suffer from serious inseparable problem if without informative sample mining. Since the inseparable samples are often mixed with hard samples, current informative sample mining strategies used to deal with inseparable problem may bring up some side-effects, such as instability of objective function, etc. To alleviate this problem, we propose a novel distance metric learning algorithm, named adaptive neighborhood metric learning (ANML). In ANML, we design two thresholds to adaptively identify the inseparable similar and dissimilar samples in the training procedure, thus inseparable sample removing and metric parameter learning are implemented in the same procedure. Due to the non-continuity of the proposed ANML, we develop an ingenious function, named log-exp mean function to construct a continuous formulation to surrogate it, which can be efficiently solved by the gradient descent method. Similar to Triplet loss, ANML can be used to learn both the linear and deep embeddings. By analyzing the proposed method, we find it has some interesting properties. For example, when ANML is used to learn the linear embedding, current famous metric learning algorithms such as the large margin nearest neighbor (LMNN) and neighbourhood components analysis (NCA) are the special cases of the proposed ANML by setting the parameters different values. When it is used to learn deep features, the state-of-the-art deep metric learning algorithms such as Triplet loss, Lifted structure loss, and Multi-similarity loss become the special cases of ANML. Furthermore, the log-exp mean function proposed in our method gives a new perspective to review the deep metric learning methods such as Prox-NCA and N-pairs loss. At last, promising experimental results demonstrate the effectiveness of the proposed method.

READ FULL TEXT
research
11/22/2019

Adaptive Nearest Neighbor: A General Framework for Distance Metric Learning

K-NN classifier is one of the most famous classification algorithms, who...
research
04/05/2017

Smart Mining for Deep Metric Learning

To solve deep metric learning problems and producing feature embeddings,...
research
10/18/2022

No Pairs Left Behind: Improving Metric Learning with Regularized Triplet Objective

We propose a novel formulation of the triplet objective function that im...
research
04/24/2014

Scalable Similarity Learning using Large Margin Neighborhood Embedding

Classifying large-scale image data into object categories is an importan...
research
11/24/2020

A Self-Penalizing Objective Function for Scalable Interaction Detection

We tackle the problem of nonparametric variable selection with a focus o...
research
02/03/2021

Multimodal-Aware Weakly Supervised Metric Learning with Self-weighting Triplet Loss

In recent years, we have witnessed a surge of interests in learning a su...
research
06/10/2020

Towards Certified Robustness of Metric Learning

Metric learning aims to learn a distance metric such that semantically s...

Please sign up or login with your details

Forgot password? Click here to reset