Supervised Metric Learning to Rank for Retrieval via Contextual Similarity Optimization

Christopher Liao, Theodoros Tsiligkaridis, Brian Kulis
10/4/2022
cs.LGcs.CV

Official code: Chris210634/metric-learning-using-contextual-similarity (20 stars, Python, last commit 2023-06-02).

Abstract

There is extensive interest in metric learning methods for image retrieval. Many metric learning loss functions focus on learning a correct ranking of training samples, but strongly overfit semantically inconsistent labels and require a large amount of data.

Show full abstract

To address these shortcomings, we propose a new metric learning method, called contextual loss, which optimizes contextual similarity in addition to cosine similarity. Our contextual loss implicitly enforces semantic consistency among neighbors while converging to the correct ranking. We empirically show that the proposed loss is more robust to label noise, and is less prone to overfitting even when a large portion of train data is withheld. Extensive experiments demonstrate that our method achieves a new state-of-the-art across four image retrieval benchmarks and multiple different evaluation settings. Code is available at: https://github.com/Chris210634/metric-learning-using-contextual-similarity

View on arXivView PDF

Code Implementations(1)

200Python, Jupyter NotebookOct 4, 20223 years ago

Similar Papers

Cite this paper

@article{liao2022supervised,
  title  = {Supervised Metric Learning to Rank for Retrieval via Contextual Similarity Optimization},
  author = {Christopher Liao and Theodoros Tsiligkaridis and Brian Kulis},
  year   = {2022},
  eprint = {2210.01908},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2210.01908}
}

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

Discussion