@inproceedings{nielsen-etal-2025-prediction,
title = "Prediction Hubs are Context-Informed Frequent Tokens in {LLM}s",
author = "Nielsen, Beatrix Miranda Ginn and
Macocco, Iuri and
Baroni, Marco",
editor = "Che, Wanxiang and
Nabende, Joyce and
Shutova, Ekaterina and
Pilehvar, Mohammad Taher",
booktitle = "Proceedings of the 63rd Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers)",
month = jul,
year = "2025",
address = "Vienna, Austria",
publisher = "Association for Computational Linguistics",
url = "https://preview.aclanthology.org/ingestion-acl-25/2025.acl-long.1156/",
pages = "23715--23745",
ISBN = "979-8-89176-251-0",
abstract = "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."
}
Markdown (Informal)
[Prediction Hubs are Context-Informed Frequent Tokens in LLMs](https://preview.aclanthology.org/ingestion-acl-25/2025.acl-long.1156/) (Nielsen et al., ACL 2025)
ACL
- Beatrix Miranda Ginn Nielsen, Iuri Macocco, and Marco Baroni. 2025. Prediction Hubs are Context-Informed Frequent Tokens in LLMs. In Proceedings of the 63rd Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pages 23715–23745, Vienna, Austria. Association for Computational Linguistics.