Improved Embeddings with Easy Positive Triplet Mining

Hong Xuan, Abby Stylianou, Robert Pless
4/8/2019
cs.CVcs.LG

Official code: littleredxh/EasyPositiveHardNegative (41 stars, last commit 2020-07-03).

Abstract

Deep metric learning seeks to define an embedding where semantically similar images are embedded to nearby locations, and semantically dissimilar images are embedded to distant locations. Substantial work has focused on loss functions and strategies to learn these embeddings by pushing images from the same class as close together in the embedding space as possible. In this paper, we propose an alternative, loosened embedding strategy that requires the embedding function only map each training image to the most similar examples from the same class, an approach we call "Easy Positive" mining. We provide a collection of experiments and visualizations that highlight that this Easy Positive mining leads to embeddings that are more flexible and generalize better to new unseen data. This simple mining strategy yields recall performance that exceeds state of the art approaches (including those with complicated loss functions and ensemble methods) on image retrieval datasets including CUB, Stanford Online Products, In-Shop Clothes and Hotels-50K.

View on arXivView PDF

Code Implementations(1)

Pytorch implementation of EasyPositiveHardNegative(EPHN)

4111Shell, PythonSep 17, 20196 years ago

Cite this paper

@article{xuan2019improved,
  title  = {Improved Embeddings with Easy Positive Triplet Mining},
  author = {Hong Xuan and Abby Stylianou and Robert Pless},
  year   = {2019},
  eprint = {1904.04370},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1904.04370}
}

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/1904.04370.svg)](https://codeofpaper.com/paper/1904.04370)

Discussion