Re-ranking for image retrieval and transductive few-shot classification
Xi Shen, Yang Xiao, Shell Xu Hu, Othman Sbai, Mathieu Aubry
Abstract
In the problems of image retrieval and few-shot classification, the mainstream approaches focus on learning a better feature representation. However, directly tackling the distance or similarity measure between images could also be efficient. To this end, we revisit the idea of re-ranking the top-k retrieved images in the context of image retrieval (e.g., the k-reciprocal nearest neighbors [48, 75] ) and generalize this idea to transductive few-shot learning. We propose to meta-learn the re-ranking updates such that the similarity graph converges towards the target similairty graph induced by the image labels. Specifically, the re-ranking module takes as input an initial similarity graph between the query image and the contextual images using a pre-trained feature extractor, and predicts an improved similarity graph by leveraging the structure among the involved images. We show that our re-ranking approach can be applied to unseen images and can further boost existing approaches for both image retrieval and few-shot learning problems. Our approach operates either independently or in conjunction with classical re-ranking approaches, yielding clear and consistent improvements on image retrieval (CUB, Cars, SOP, rOxford5K, rParis6K) and transductive few-shot classification (Mini-ImageNet, tiered-ImageNet and CIFAR-FS) benchmarks. Our code is available at https://imagine.enpc.fr/ shenx/SSR/ .
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext 9f7d3001-44e6-402e-92dc-94cc562bf5d8Cited by top-tier papers6
- Ranking Distance Calibration for Cross-Domain Few-Shot LearningPan Li, Shaogang Gong, Chengjie Wang, Yanwei FuCVPR 2022 · 59 citations
- Towards Practical Few-shot Query Sets: Transductive Minimum Description Length InferenceSégolène Martin, Malik Boudiaf, Emilie Chouzenoux, Jean-Christophe Pesquet et al.NeurIPS 2022 · 13 citations
- Cluster-Aware Similarity Diffusion for Instance RetrievalJifei Luo, Hantao Yao, Changsheng XuICML 2024 · 1 citation
- LOCORE: Image Re-ranking with Long-Context Sequence ModelingZilin Xiao, Pavel Suma, Ayush Sachdeva, Hao-Jen Wang et al.CVPR 2025
- Locality Preserving Markovian Transition for Instance RetrievalJifei Luo, Wenzheng Wu, Hantao Yao, Lu Yu et al.ICML 2025
Builds on5
- Boosting Few-Shot Visual Learning With Self-SupervisionSpyros Gidaris, Andrei Bursuc, Nikos Komodakis, Patrick Pérez et al.ICCV 2019 · 445 citations
- Learning With Average Precision: Training Image Retrieval With a Listwise LossJérôme Revaud, Jon Almazán, Rafael S. Rezende, César Roberto de SouzaICCV 2019 · 424 citations
- SoftTriple Loss: Deep Metric Learning Without Triplet SamplingQi Qian, Lei Shang, Baigui Sun, Juhua Hu et al.ICCV 2019 · 419 citations
- Empirical Bayes Transductive Meta-Learning with Synthetic GradientsShell Xu Hu, Pablo Garcia Moreno, Yang Xiao, Xi Shen et al.ICLR 2020 · 139 citations
- Proxy Anchor Loss for Deep Metric LearningSungyeon Kim, Dongwon Kim, Minsu Cho, Suha KwakCVPR 2020
Related papers
- RankDNN: Learning to Rank for Few-Shot LearningQianyu Guo, Haotong Gong, Xujun Wei, Yanwei Fu et al.AAAI 2023 · 27 citations
- Memory-Augmented Relation Network for Few-Shot LearningJun He, Richang Hong, Xueliang Liu, Mingliang Xu et al.ACM MM 2020 · 51 citations
- Relational Embedding for Few-Shot ClassificationDahyun Kang, Heeseung Kwon, Juhong Min, Minsu ChoICCV 2021 · 254 citations
- CAD: Co-Adapting Discriminative Features for Improved Few-Shot ClassificationPhilip Chikontwe, Soopil Kim, Sang Hyun ParkCVPR 2022 · 46 citations
- Unsupervised Embedding Adaptation via Early-Stage Feature Reconstruction for Few-Shot ClassificationDong Hoon Lee, Sae-Young ChungICML 2021 · 24 citations
