Learning with Average Precision: Training Image Retrieval with a Listwise Loss
Abstract
Image retrieval can be formulated as a ranking problem where the goal is to order database images by decreasing similarity to the query. Recent deep models for image retrieval have outperformed traditional methods by leveraging ranking-tailored loss functions, but important theoretical and practical problems remain. First, rather than directly optimizing the global ranking, they minimize an upper-bound on the essential loss, which does not necessarily result in an optimal mean average precision (mAP). Second, these methods require significant engineering efforts to work well, e.g., special pre-training and hard-negative mining. In this paper we propose instead to directly optimize the global mAP by leveraging recent advances in listwise loss formulations. Using a histogram binning approximation, the AP can be differentiated and thus employed to end-to-end learning. Compared to existing losses, the proposed method considers thousands of images simultaneously at each iteration and eliminates the need for ad hoc tricks. It also establishes a new state of the art on many standard retrieval benchmarks. Models and evaluation scripts have been made available at: https://europe.naverlabs.com/Deep-Image-Retrieval/.
Cite
Text
Revaud et al. "Learning with Average Precision: Training Image Retrieval with a Listwise Loss." Proceedings of the IEEE/CVF International Conference on Computer Vision, 2019. doi:10.1109/ICCV.2019.00521Markdown
[Revaud et al. "Learning with Average Precision: Training Image Retrieval with a Listwise Loss." Proceedings of the IEEE/CVF International Conference on Computer Vision, 2019.](https://mlanthology.org/iccv/2019/revaud2019iccv-learning/) doi:10.1109/ICCV.2019.00521BibTeX
@inproceedings{revaud2019iccv-learning,
title = {{Learning with Average Precision: Training Image Retrieval with a Listwise Loss}},
author = {Revaud, Jerome and Almazan, Jon and Rezende, Rafael S. and de Souza, Cesar Roberto},
booktitle = {Proceedings of the IEEE/CVF International Conference on Computer Vision},
year = {2019},
doi = {10.1109/ICCV.2019.00521},
url = {https://mlanthology.org/iccv/2019/revaud2019iccv-learning/}
}