Hierarchical Average Precision Training for Pertinent Image Retrieval

Elias Ramzi, Nicolas Audebert, Nicolas Thome, Clément Rambour, Xavier Bitot
7/5/2022
cs.CVcs.AIcs.LG

Official code: elias-ramzi/HAPPIER (24 stars, MIT, last commit 2023-04-06).

Abstract

Image Retrieval is commonly evaluated with Average Precision (AP) or Recall@k. Yet, those metrics, are limited to binary labels and do not take into account errors' severity. This paper introduces a new hierarchical AP training method for pertinent image retrieval (HAP-PIER). HAPPIER is based on a new H-AP metric, which leverages a concept hierarchy to refine AP by integrating errors' importance and better evaluate rankings. To train deep models with H-AP, we carefully study the problem's structure and design a smooth lower bound surrogate combined with a clustering loss that ensures consistent ordering. Extensive experiments on 6 datasets show that HAPPIER significantly outperforms state-of-the-art methods for hierarchical retrieval, while being on par with the latest approaches when evaluating fine-grained ranking performances. Finally, we show that HAPPIER leads to better organization of the embedding space, and prevents most severe failure cases of non-hierarchical methods. Our code is publicly available at: https://github.com/elias-ramzi/HAPPIER.

View on arXivView PDF

Code Implementations(1)

MIT

This repo contains the official implementation of HAPPIER: Hierarchical Average Precision Training for Pertinent Image Retrieval (ECCV'22).

243PythonJan 28, 20223 years agoMIT
eccv2022hierarchical-average-precisionhierarchical-image-retrievalimage-retrievalranking

Similar Papers

Cite this paper

@article{ramzi2022hierarchical,
  title  = {Hierarchical Average Precision Training for Pertinent Image Retrieval},
  author = {Elias Ramzi and Nicolas Audebert and Nicolas Thome and Clément Rambour and Xavier Bitot},
  year   = {2022},
  eprint = {2207.04873},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2207.04873v2}
}

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

Discussion