AMES: Asymmetric and Memory-Efficient Similarity Estimation for Instance-level Retrieval

Pavel Šuma, Giorgos Kordopatis-Zilos, Ahmet Iscen, Giorgos Tolias
2/14/2026

No official code found. Best implementation: pavelsuma/ames (48 stars, Apache-2.0, last commit 2025-08-12).

Abstract

This work investigates the problem of instance-level image retrieval re-ranking with the constraint of memory efficiency, ultimately aiming to limit memory usage to 1KB per image. Departing from the prevalent focus on performance enhancements, this work prioritizes the crucial trade-off between performance and memory requirements. The proposed model uses a transformer-based architecture designed to estimate image-to-image similarity by capturing interactions within and across images based on their local descriptors. A distinctive property of the model is the capability for asymmetric similarity estimation. Database images are represented with a smaller number of descriptors compared to query images, enabling performance improvements without increasing memory consumption. To ensure adaptability across different applications, a universal model is introduced that adjusts to a varying number of local descriptors during the testing phase. Results on standard benchmarks demonstrate the superiority of our approach over both hand-crafted and learned models. In particular, compared with current state-of-the-art methods that overlook their memory footprint, our approach not only attains superior performance but does so with a significantly reduced memory footprint. The code and pretrained models are publicly available at: https://github.com/pavelsuma/ames

View on arXivView PDF

Code Implementations(1)

pavelsuma/amesCommunity100%
Apache-2.0

AMES: Asymmetric and Memory-Efficient Similarity

485PythonJul 11, 20241 years agoApache-2.0

Similar Papers

Cite this paper

@article{uma2026ames,
  title  = {AMES: Asymmetric and Memory-Efficient Similarity Estimation for Instance-level Retrieval},
  author = {Pavel Šuma and Giorgos Kordopatis-Zilos and Ahmet Iscen and Giorgos Tolias},
  year   = {2026},
  eprint = {2408.03282},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2408.03282},
  journal = {ECCV 2024 2024}
}

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

Discussion