Deep Metric Learning by Online Soft Mining and Class-Aware Attention

11/04/2018
by   Xinshao Wang, et al.
0

Deep metric learning aims to learn a deep embedding that can capture the semantic similarity of data points. Given the availability of massive training samples, deep metric learning is known to suffer from slow convergence due to a large fraction of trivial samples. Therefore, most existing methods generally resort to sample mining strategies for selecting nontrivial samples to accelerate convergence and improve performance. In this work, we identify two critical limitations of the sample mining methods, and provide solutions for both of them. First, previous mining methods assign one binary score to each sample, i.e., dropping or keeping it, so they only selects a subset of relevant samples in a mini-batch. Therefore, we propose a novel sample mining method, called Online Soft Mining (OSM), which assigns one continuous score to each sample to make use of all samples in the mini-batch. OSM learns extended manifolds that preserve useful intraclass variances by focusing on more similar positives. Second, the existing methods are easily influenced by outliers as they are generally included in the mined subset. To address this, we introduce Class-Aware Attention (CAA) that assigns little attention to abnormal data samples. Furthermore, by combining OSM and CAA, we propose a novel weighted contrastive loss to learn discriminative embeddings. Extensive experiments on two fine-grained visual categorisation datasets and two video-based person re-identification benchmarks show that our method significantly outperforms the state-of-the-art.

READ FULL TEXT
research
10/02/2017

Margin Sample Mining Loss: A Deep Learning Based Method for Person Re-identification

Person re-identification (ReID) is an important task in computer vision....
research
04/04/2021

Graph Sampling Based Deep Metric Learning for Generalizable Person Re-Identification

Generalizable person re-identification has recently got increasing atten...
research
03/08/2019

Ranked List Loss for Deep Metric Learning

The objective of deep metric learning (DML) is to learn embeddings that ...
research
07/10/2022

NGAME: Negative Mining-aware Mini-batching for Extreme Classification

Extreme Classification (XC) seeks to tag data points with the most relev...
research
12/24/2019

a simple and effective framework for pairwise deep metric learning

Deep metric learning (DML) has received much attention in deep learning ...
research
08/01/2023

Center Contrastive Loss for Metric Learning

Contrastive learning is a major studied topic in metric learning. Howeve...
research
07/24/2018

Self-Paced Learning with Adaptive Deep Visual Embeddings

Selecting the most appropriate data examples to present a deep neural ne...

Please sign up or login with your details

Forgot password? Click here to reset