Hierarchical Average Precision Training for Pertinent Image Retrieval
Not on the map. Why?
Abstract (arXiv)
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.
Key facts. Cited by 8 papers in the map (data through 7 Oct 2026). Builds on 23 of its 59 references that are in the map. First posted on arXiv 5 Jul 2022.
Builds on
23 of 59 references.
References · 23
- 2015Deep Residual Learning for Image Recognitioncited by 51,809
- 2014Adam: A Method for Stochastic Optimizationcited by 36,960
- 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,160
- 2017Mixed Precision Trainingcited by 1,135
- 2018CosFace: Large Margin Cosine Loss for Deep Face Recognitioncited by 968
- 2015Deep Metric Learning via Lifted Structured Feature Embeddingcited by 449
- 2019Multi-Similarity Loss with General Pair Weighting for Deep Metric Learningcited by 368
- 2017Sampling Matters in Deep Embedding Learningcited by 285
- 2017No Fuss Distance Metric Learning using Proxiescited by 225
- 2019Differentiation of Blackbox Combinatorial Solverscited by 224
- 2018Revisiting Oxford and Paris: Large-Scale Image Retrieval Benchmarkingcited by 189
- 2019Learning with Average Precision: Training Image Retrieval with a Listwise Losscited by 184
11 more
- 2019Cross-Batch Memory for Embedding Learningcited by 130
- 2013Introducing LETOR 4.0 Datasetscited by 120
- 2019Making Better Mistakes: Leveraging Class Hierarchies with Deep Networkscited by 112
- 2020ProxyNCA++: Revisiting and Revitalizing Proxy Neighborhood Component Analysiscited by 107
- 2020Smooth-AP: Smoothing the Path Towards Large-Scale Image Retrievalcited by 98
- 2016CNN Image Retrieval Learns from BoW: Unsupervised Fine-Tuning with Hard Examplescited by 58
- 2019Optimizing Rank-based Metrics with Blackbox Differentiationcited by 58
- 2020PyTorch Metric Learningcited by 57
- 2020Hierarchical Image Classification using Entailment Cone Embeddingscited by 46
- 2021Robust and Decomposable Average Precision for Image Retrievalcited by 19
- 2021Dynamic Metric Learning: Towards a Scalable Metric Space to Accommodate Multiple Semantic Scalescited by 11
Built on by
Citing papers per year: 2022: 1; 2023: 2; 2024: 1; 2025: 4.
8 papers.
- 2023Optimization of Rank Losses for Image Retrievalcited by 10
- 2022Supervised Metric Learning to Rank for Retrieval via Contextual Similarity Optimizationcited by 5
- 2023STIR: Siamese Transformer for Image Retrieval Postprocessingcited by 2
- 2024ITEM: Improving Training and Evaluation of Message-Passing based GNNs for top-k recommendationcited by 1
- 2025Instance-Level Generation for Representation Learningcited by 1
- 2025Hier-COS: Making Deep Features Hierarchy-aware via Composition of Orthogonal Subspacescited by 0
- 2025A Semantically-Aware Relevance Measure for Content-Based Medical Image Retrieval Evaluationcited by 0
- 2025Dynamic Contrastive Learning for Hierarchical Retrieval: A Case Study of Distance-Aware Cross-View Geo-Localizationcited by 0
- 2025Instance-Level Generation for Representation Learning10 Oct 2025
- 2025Dynamic Contrastive Learning for Hierarchical Retrieval: A Case Study of Distance-Aware Cross-View Geo-Localization29 Jun 2025
- 2025A Semantically-Aware Relevance Measure for Content-Based Medical Image Retrieval Evaluation16 Jun 2025
- 2025Hier-COS: Making Deep Features Hierarchy-aware via Composition of Orthogonal Subspaces10 Mar 2025
- 2024ITEM: Improving Training and Evaluation of Message-Passing based GNNs for top-k recommendation3 Jul 2024
- 2023Optimization of Rank Losses for Image Retrieval15 Sep 2023
- 2023STIR: Siamese Transformer for Image Retrieval Postprocessing26 Apr 2023
- 2022Supervised Metric Learning to Rank for Retrieval via Contextual Similarity Optimization4 Oct 2022