Alleviating the Sample Selection Bias in Few-shot Learning by Removing Projection to the Centroid
Jing Xu, Xu Luo, Xinglin Pan, Yanan Li, Wenjie Pei, Zenglin Xu
Abstract
Few-shot learning (FSL) targets at generalization of vision models towards unseen tasks without sufficient annotations. Despite the emergence of a number of few-shot learning methods, the sample selection bias problem, i.e., the sensitivity to the limited amount of support data, has not been well understood. In this paper, we find that this problem usually occurs when the positions of support samples are in the vicinity of task centroid -- the mean of all class centroids in the task. This motivates us to propose an extremely simple feature transformation to alleviate this problem, dubbed Task Centroid Projection Removing (TCPR). TCPR is applied directly to all image features in a given task, aiming at removing the dimension of features along the direction of the task centroid. While the exact task centroid cannot be accurately obtained from limited data, we estimate it using base features that are each similar to one of the support features. Our method effectively prevents features from being too close to the task centroid. Extensive experiments over ten datasets from different domains show that TCPR can reliably improve classification accuracy across various feature extractors, training algorithms and datasets. The code has been made available at https://github.com/KikimorMay/FSL-TCBR.
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 papers9
- A Closer Look at Few-shot Classification AgainXu Luo, Hao Wu, Ji Zhang, Lianli Gao et al.ICML 2023 · 80 citations
- Boosting Few-Shot Learning via Attentive Feature RegularizationXingyu Zhu, Shuo Wang, Jinda Lu, Yanbin Hao et al.AAAI 2024 · 30 citations
- DETA: Denoised Task Adaptation for Few-Shot LearningJi Zhang, Lianli Gao, Xu Luo, Hengtao Shen et al.ICCV 2023 · 28 citations
- SOEN-101: Code Generation by Emulating Software Process Models Using Large Language Model AgentsFeng Lin, Dong Jae Kim, Tse-Hsun ChenICSE 2025 · 11 citations
- BECLR: Batch Enhanced Contrastive Few-Shot LearningStylianos Poulakakis-Daktylidis, Hadi Jamali RadICLR 2024 · 10 citations
Builds on16
- A Simple Framework for Contrastive Learning of Visual RepresentationsTing Chen, Simon Kornblith, Mohammad Norouzi, Geoffrey E. HintonICML 2020 · 24,064 citations
- A Baseline for Few-Shot Image ClassificationGuneet Singh Dhillon, Pratik Chaudhari, Avinash Ravichandran, Stefano SoattoICLR 2020 · 640 citations
- Meta-Baseline: Exploring Simple Meta-Learning for Few-Shot LearningYinbo Chen, Zhuang Liu, Huijuan Xu, Trevor Darrell et al.ICCV 2021 · 455 citations
- Free Lunch for Few-shot Learning: Distribution CalibrationShuo Yang, Lu Liu, Min XuICLR 2021 · 378 citations
- Z-Score Normalization, Hubness, and Few-Shot LearningNanyi Fei, Yizhao Gao, Zhiwu Lu, Tao XiangICCV 2021 · 158 citations
Related papers
- Channel Importance Matters in Few-Shot Image ClassificationXu Luo, Jing Xu, Zenglin XuICML 2022 · 57 citations
- Improved Few-Shot Visual ClassificationPeyman Bateni, Raghav Goyal, Vaden Masrani, Frank Wood et al.CVPR 2020
- On the Importance of Firth Bias Reduction in Few-Shot ClassificationSaba Ghaffari, Ehsan Saleh, David A. Forsyth, Yu-Xiong WangICLR 2022 · 13 citations
- Revisit Finetuning strategy for Few-Shot Learning to Transfer the EmdeddingsHeng Wang, Tan Yue, Xiang Ye, Zihang He et al.ICLR 2023
- POODLE: Improving Few-shot Learning via Penalizing Out-of-Distribution SamplesDuong H. Le, Khoi D. Nguyen, Khoi Nguyen, Quoc-Huy Tran et al.NeurIPS 2021 · 42 citations
