Classification is a Strong Baseline for Deep Metric Learning

Andrew Zhai, Hao-Yu Wu
11/30/2018
27 citations
cs.CV

Official code: azgo14/classification_metric_learning (103 stars, Python, Apache-2.0, last commit 2022-09-23).

Abstract

Deep metric learning aims to learn a function mapping image pixels to embedding feature vectors that model the similarity between images. Two major applications of metric learning are content-based image retrieval and face verification.

Show full abstract

For the retrieval tasks, the majority of current state-of-the-art (SOTA) approaches are triplet-based non-parametric training. For the face verification tasks, however, recent SOTA approaches have adopted classification-based parametric training. In this paper, we look into the effectiveness of classification based approaches on image retrieval datasets. We evaluate on several standard retrieval datasets such as CAR-196, CUB-200-2011, Stanford Online Product, and In-Shop datasets for image retrieval and clustering, and establish that our classification-based approach is competitive across different feature dimensions and base feature networks. We further provide insights into the performance effects of subsampling classes for scalable classification-based training, and the effects of binarization, enabling efficient storage and computation for practical applications.

View on arXivView PDF

Code Implementations(1)

Apache-2.0
10312Python, ShellJul 22, 20194 years agoApache-2.0

Similar Papers

Cite this paper

@article{zhai2018classification,
  title  = {Classification is a Strong Baseline for Deep Metric Learning},
  author = {Andrew Zhai and Hao-Yu Wu},
  year   = {2018},
  eprint = {1811.12649},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1811.12649}
}

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

Discussion