LoOp: Looking for Optimal Hard Negative Embeddings for Deep Metric Learning

Bhavya Vasudeva, Puneesh Deora, Saumik Bhattacharya, Umapada Pal, Sukalpa Chanda
8/20/2021
cs.CVcs.LG

Official code: puneesh00/LoOp (7 stars, Python, MIT, last commit 2021-08-14).

Abstract

Deep metric learning has been effectively used to learn distance metrics for different visual tasks like image retrieval, clustering, etc. In order to aid the training process, existing methods either use a hard mining strategy to extract the most informative samples or seek to generate hard synthetics using an additional network.

Show full abstract

Such approaches face different challenges and can lead to biased embeddings in the former case, and (i) harder optimization (ii) slower training speed (iii) higher model complexity in the latter case. In order to overcome these challenges, we propose a novel approach that looks for optimal hard negatives (LoOp) in the embedding space, taking full advantage of each tuple by calculating the minimum distance between a pair of positives and a pair of negatives. Unlike mining-based methods, our approach considers the entire space between pairs of embeddings to calculate the optimal hard negatives. Extensive experiments combining our approach and representative metric learning losses reveal a significant boost in performance on three benchmark datasets.

View on arXivView PDF

Code Implementations(1)

puneesh00/LoOpOfficial100%
MIT
71PythonSep 8, 20205 years agoMIT

Similar Papers

Cite this paper

@article{vasudeva2021loop,
  title  = {LoOp: Looking for Optimal Hard Negative Embeddings for Deep Metric Learning},
  author = {Bhavya Vasudeva and Puneesh Deora and Saumik Bhattacharya and Umapada Pal and Sukalpa Chanda},
  year   = {2021},
  eprint = {2108.09335},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2108.09335}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2108.09335.svg)](https://codeofpaper.com/paper/2108.09335)

Discussion