RankDNN: Learning to Rank for Few-Shot Learning
Qianyu Guo, Haotong Gong, Xujun Wei, Yanwei Fu, Yizhou Yu, Wenqiang Zhang, Weifeng Ge
Abstract
This paper introduces a new few-shot learning pipeline that casts relevance ranking for image retrieval as binary ranking relation classification. In comparison to image classification, ranking relation classification is sample efficient and domain agnostic. Besides, it provides a new perspective on few-shot learning and is complementary to state-of-the-art methods. The core component of our deep neural network is a simple MLP, which takes as input an image triplet encoded as the difference between two vector-Kronecker products, and outputs a binary relevance ranking order. The proposed RankMLP can be built on top of any state-of-the-art feature extractors, and our entire deep neural network is called the ranking deep neural network, or RankDNN. Meanwhile, RankDNN can be flexibly fused with other post-processing methods. During the meta test, RankDNN ranks support images according to their similarity with the query samples, and each query sample is assigned the class label of its nearest neighbor. Experiments demonstrate that RankDNN can effectively improve the performance of its baselines based on a variety of backbones and it outperforms previous state-of-the-art algorithms on multiple few-shot learning benchmarks, including miniImageNet, tieredImageNet, Caltech-UCSD Birds, and CIFAR-FS. Furthermore, experiments on the cross-domain challenge demonstrate the superior transferability of RankDNN.The code is available at: https://github.com/guoqianyu-alberta/RankDNN .
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.
Cited by top-tier papers5
- Boosting Few-Shot Learning via Attentive Feature RegularizationXingyu Zhu, Shuo Wang, Jinda Lu, Yanbin Hao et al.AAAI 2024 · 30 citations
- Semantic-based Selection, Synthesis, and Supervision for Few-shot LearningJinda Lu, Shuo Wang, Xinyu Zhang, Yanbin Hao et al.ACM MM 2023 · 7 citations
- KNN Transformer with Pyramid Prompts for Few-Shot LearningWenhao Li, Qiangchang Wang, Peng Zhao, Yilong YinACM MM 2024 · 3 citations
- Explaining Rankings with Hidden Group BonusesAlvin Hong Yao Yan, Suraj Shetiya, Sujoy Bhore, Priyanka Golia et al.KDD 2026
- Manhattan Self-Attention Diffusion Residual Networks with Dynamic Bias Rectification for BCI-based Few-Shot LearningHao Wang, Li Xu, Yuntao Yu, Weiyue Ding et al.AAAI 2025
Builds on26
- Free Lunch for Few-shot Learning: Distribution CalibrationShuo Yang, Lu Liu, Min XuICLR 2021 · 378 citations
- Relational Embedding for Few-Shot ClassificationDahyun Kang, Heeseung Kwon, Juhong Min, Minsu ChoICCV 2021 · 254 citations
- IEPT: Instance-Level and Episode-Level Pretext Tasks for Few-Shot LearningManli Zhang, Jianhong Zhang, Zhiwu Lu, Tao Xiang et al.ICLR 2021 · 103 citations
- Mixture-based Feature Space Learning for Few-shot Image ClassificationArman Afrasiyabi, Jean-François Lalonde, Christian GagnéICCV 2021 · 95 citations
- Partner-Assisted Learning for Few-Shot Image ClassificationJiawei Ma, Hanchen Xie, Guangxing Han, Shih-Fu Chang et al.ICCV 2021 · 81 citations
Related papers
- Re-ranking for image retrieval and transductive few-shot classificationXi Shen, Yang Xiao, Shell Xu Hu, Othman Sbai et al.NeurIPS 2021 · 46 citations
- PARN: Position-Aware Relation Networks for Few-Shot LearningZiyang Wu, Yuwei Li, Lihua Guo, Kui JiaICCV 2019 · 96 citations
- Few-Shot Classification With Feature Map Reconstruction NetworksDavis Wertheimer, Luming Tang, Bharath HariharanCVPR 2021
- Class-Aware Patch Embedding Adaptation for Few-Shot Image ClassificationFusheng Hao, Fengxiang He, Liu Liu, Fuxiang Wu et al.ICCV 2023 · 56 citations
- Memory-Augmented Relation Network for Few-Shot LearningJun He, Richang Hong, Xueliang Liu, Mingliang Xu et al.ACM MM 2020 · 51 citations
