mlsanityData to 14 Oct 2026

Prediction hubs are context-informed frequent tokens in LLMs

arXiv 2502.10201 ↗First posted 14 Feb 2025cs.CL cs.AIcited by 3

Not on the map. Why?

Abstract (arXiv)

Hubness, the tendency for a few points to be among the nearest neighbours of a disproportionate number of other points, commonly arises when applying standard distance measures to high-dimensional data, often negatively impacting distance-based analysis. As autoregressive large language models (LLMs) operate on high-dimensional representations, we ask whether they are also affected by hubness. We first prove that the only large-scale representation comparison operation performed by LLMs, namely that between context and unembedding vectors to determine continuation probabilities, is not characterized by the concentration of distances phenomenon that typically causes the appearance of nuisance hubness. We then empirically show that this comparison still leads to a high degree of hubness, but the hubs in this case do not constitute a disturbance. They are rather the result of context-modulated frequent tokens often appearing in the pool of likely candidates for next token prediction. However, when other distances are used to compare LLM representations, we do not have the same theoretical guarantees, and, indeed, we see nuisance hubs appear. There are two main takeaways. First, hubness, while omnipresent in high-dimensional spaces, is not a negative property that needs to be mitigated when LLMs are being used for next token prediction. Second, when comparing representations from LLMs using Euclidean or cosine distance, there is a high risk of nuisance hubs and practitioners should use mitigation techniques if relevant.

Key facts. Cited by 3 papers in the map (data through 14 Oct 2026). Builds on 20 of its 42 references that are in the map. First posted on arXiv 14 Feb 2025.

Builds on

20 of 42 references.

References · 20

  1. 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,744
  2. 2016Pointer Sentinel Mixture Modelscited by 3,096
  3. 2020The Pile: An 800GB Dataset of Diverse Text for Language Modelingcited by 2,411
  4. 2023Pythia: A Suite for Analyzing Large Language Models Across Training and Scalingcited by 1,786
  5. 2024OLMo: Accelerating the Science of Language Modelscited by 613
  6. 2017Word Translation Without Parallel Datacited by 487
  7. 2024Dolma: an Open Corpus of Three Trillion Tokens for Language Model Pretraining Researchcited by 483
  8. 2024LLM2Vec: Large Language Models Are Secretly Powerful Text Encoderscited by 404
  9. 2022Text and Code Embeddings by Contrastive Pre-Trainingcited by 361
  10. 2023Fine-Tuning LLaMA for Multi-Stage Text Retrievalcited by 272
  11. 2023The geometry of hidden representations of large transformer modelscited by 112
  12. 2017Offline bilingual word vectors, orthogonal transformations and the inverted softmaxcited by 96
8 more
  1. 2021Cross Modal Retrieval with Querybank Normalisationcited by 72
  2. 2024Confidence Regulation Neurons in Language Modelscited by 57
  3. 2024Emergence of a High-Dimensional Abstraction Phase in Language Transformerscited by 56
  4. 2014Improving zero-shot learning by mitigating the hubness problemcited by 54
  5. 2023Bridging Information-Theoretic and Geometric Compression in Language Modelscited by 26
  6. 2023Balance Act: Mitigating Hubness in Cross-Modal Retrieval with Query and Gallery Bankscited by 20
  7. 2024Nearest Neighbor Normalization Improves Multimodal Retrievalcited by 7
  8. 2023Hubness Reduction Improves Sentence-BERT Semantic Spacescited by 4

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2025: 1; 2026: 2.

3 papers.