Hierarchical Average Precision Training for Pertinent Image Retrieval

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 (HAPPIER). 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.

Cite

Text

Ramzi et al. "Hierarchical Average Precision Training for Pertinent Image Retrieval." Proceedings of the European Conference on Computer Vision (ECCV), 2022. doi:10.1007/978-3-031-19781-9_15

Markdown

[Ramzi et al. "Hierarchical Average Precision Training for Pertinent Image Retrieval." Proceedings of the European Conference on Computer Vision (ECCV), 2022.](https://mlanthology.org/eccv/2022/ramzi2022eccv-hierarchical/) doi:10.1007/978-3-031-19781-9_15

BibTeX

@inproceedings{ramzi2022eccv-hierarchical,
  title     = {{Hierarchical Average Precision Training for Pertinent Image Retrieval}},
  author    = {Ramzi, Elias and Audebert, Nicolas and Thome, Nicolas and Rambour, Clément and Bitot, Xavier},
  booktitle = {Proceedings of the European Conference on Computer Vision (ECCV)},
  year      = {2022},
  doi       = {10.1007/978-3-031-19781-9_15},
  url       = {https://mlanthology.org/eccv/2022/ramzi2022eccv-hierarchical/}
}