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 . † UiT Machine Learning group (machine-learning.uit.no) and Visual Intelligence Centre (visual-intelligence.no).
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
10 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- Pushing the Limits of Simple Pipelines for Few-Shot Learning: External Data and Fine-Tuning Make a Difference cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
- Hubness Reduction with Dual Bank Sinkhorn Normalization for Cross-Modal Retrieval cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
- Hubness Reduction with Dual Bank Sinkhorn Normalization for Cross-Modal Retrieval cites Z-Score Normalization, Hubness, and Few-Shot Learning
- Transductive Zero-Shot and Few-Shot CLIP cites Pushing the Limits of Simple Pipelines for Few-Shot Learning: External Data and Fine-Tuning Make a Difference
- Transductive Zero-Shot and Few-Shot CLIP cites Laplacian Regularized Few-Shot Learning
- Improving Open-world Continual Learning under the Constraints of Scarce Labeled Data cites Z-Score Normalization, Hubness, and Few-Shot Learning
- Contrastive Tuning: A Little Help to Make Masked Autoencoders Forget cites Understanding Contrastive Representation Learning through Alignment and Uniformity on the Hypersphere
- Contrastive Tuning: A Little Help to Make Masked Autoencoders Forget cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
Cited 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
- Few-shot Classification with Hypersphere Modeling of PrototypesNing Ding, Yulin Chen, Ganqu Cui, Xiaobin Wang et al.ACL Findings 2023 · 12 citations
- HAL: Improved Text-Image Matching by Mitigating Visual Semantic HubsFangyu Liu, Rongtian Ye, Xun Wang, Shuaipeng LiAAAI 2020 · 36 citations
- On Finding Hubs in High Dimensions with SamplingHuiwen Dong, Linghan Zeng, Zhiwen Zhao, Francesco Silvestri et al.AAAI 2025 · 1 citation
- A Hubness Perspective on Representation Learning for Graph-Based Multi-View ClusteringZheming Xu, He Liu, Congyan Lang, Tao Wang et al.CVPR 2025
