Hubs and Hyperspheres: Reducing Hubness and Improving Transductive Few-Shot Learning with Hyperspherical Embeddings
Daniel J. Trosten, Rwiddhi Chakraborty, Sigurd Løkse, Kristoffer Knutsen Wickstrøm, Robert Jenssen, Michael C. Kampffmeyer
Abstract
Distance-based classification is frequently used in transductive few-shot learning (FSL). However, due to the highdimensionality of image representations, FSL classifiers are prone to suffer from the hubness problem, where a few points (hubs) occur frequently in multiple nearest neighbour lists of other points. Hubness negatively impacts distance-based classification when hubs from one class appear often among the nearest neighbors of points from another class, degrading the classifier's performance. To address the hubness problem in FSL, we first prove that hubness can be eliminated by distributing representations uniformly on the hypersphere. We then propose two new approaches to embed representations on the hypersphere, which we prove optimize a tradeoff between uniformity and local similarity preservation -reducing hubness while retaining class structure. Our experiments show that the proposed methods reduce hubness, and significantly improves transductive FSL accuracy for a wide range of classifiers 1 . * Equal contributions. † UiT Machine Learning group (machine-learning.uit.no) and Visual Intelligence Centre (visual-intelligence.no).
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 ab896d0f-00df-4bd1-b980-230d08355c0cCited by top-tier papers10
- Contrastive Tuning: A Little Help to Make Masked Autoencoders ForgetJohannes Lehner, Benedikt Alkin, Andreas Fürst, Elisabeth Rumetshofer et al.AAAI 2024 · 28 citations
- Transductive Zero-Shot and Few-Shot CLIPSégolène Martin, Yunshi Huang, Fereshteh Shakeri, Jean-Christophe Pesquet et al.CVPR 2024 · 17 citations
- Hubness Reduction with Dual Bank Sinkhorn Normalization for Cross-Modal RetrievalZhengxin Pan, Haishuai Wang, Fangyu Wu, Peng Zhang et al.ACM MM 2025 · 2 citations
- MAP IT to Visualize RepresentationsRobert JenssenICLR 2024 · 2 citations
- Improving Open-world Continual Learning under the Constraints of Scarce Labeled DataYujie Li, Xiangkun Wang, Xin Yang, Marcello M. Bonsangue et al.KDD 2025 · 1 citation
Builds on16
- An Image is Worth 16x16 Words: Transformers for Image Recognition at ScaleAlexey Dosovitskiy, Lucas Beyer, Alexander Kolesnikov, Dirk Weissenborn et al.ICLR 2021 · 21,477 citations
- Understanding Contrastive Representation Learning through Alignment and Uniformity on the HypersphereTongzhou Wang, Phillip IsolaICML 2020 · 2,360 citations
- Laplacian Regularized Few-Shot LearningImtiaz Masud Ziko, Jose Dolz, Eric Granger, Ismail Ben AyedICML 2020 · 205 citations
- Pushing the Limits of Simple Pipelines for Few-Shot Learning: External Data and Fine-Tuning Make a DifferenceShell Xu Hu, Da Li, Jan Stühmer, Minyoung Kim et al.CVPR 2022 · 161 citations
- Z-Score Normalization, Hubness, and Few-Shot LearningNanyi Fei, Yizhao Gao, Zhiwu Lu, Tao XiangICCV 2021 · 158 citations
Related papers
- Attraction Diminishing and Distributing for Few-Shot Class-Incremental LearningLi-Jun Zhao, Zhen-Duo Chen, Yongxin Wang, Xin Luo et al.CVPR 2025
- A Hubness Perspective on Representation Learning for Graph-Based Multi-View ClusteringZheming Xu, He Liu, Congyan Lang, Tao Wang et al.CVPR 2025
- Channel Importance Matters in Few-Shot Image ClassificationXu Luo, Jing Xu, Zenglin XuICML 2022 · 57 citations
- On Finding Hubs in High Dimensions with SamplingHuiwen Dong, Linghan Zeng, Zhiwen Zhao, Francesco Silvestri et al.AAAI 2025 · 1 citation
- Alleviating the Sample Selection Bias in Few-shot Learning by Removing Projection to the CentroidJing Xu, Xu Luo, Xinglin Pan, Yanan Li et al.NeurIPS 2022 · 33 citations
