Quantum-Like Contextuality in Large Language Models
Not on the map. Why?
Abstract (arXiv)
Contextuality is a distinguishing feature of quantum mechanics and there is growing evidence that it is a necessary condition for quantum advantage. In order to make use of it, researchers have been asking whether similar phenomena arise in other domains. The answer has been yes, e.g. in behavioural sciences. However, one has to move to frameworks that take some degree of signalling into account. Two such frameworks exist: (1) a signalling-corrected sheaf theoretic model, and (2) the Contextuality-by-Default (CbD) framework. This paper provides the first large scale experimental evidence for a yes answer in natural language. We construct a linguistic schema modelled over a contextual quantum scenario, instantiate it in the Simple English Wikipedia and extract probability distributions for the instances using the large language model BERT. This led to the discovery of 77,118 sheaf-contextual and 36,938,948 CbD contextual instances. We proved that the contextual instances came from semantically similar words, by deriving an equation between degrees of contextuality and Euclidean distances of BERT's embedding vectors. A regression model further reveals that Euclidean distance is indeed the best statistical predictor of contextuality. Our linguistic schema is a variant of the co-reference resolution challenge. These results are an indication that quantum methods may be advantageous in language tasks.
Key facts. Cited by 4 papers in the map (data through 14 Oct 2026). Builds on 13 of its 38 references that are in the map. First posted on arXiv 21 Dec 2024.
Builds on
13 of 38 references.
References · 13
- 2017Attention Is All You Needcited by 60,361
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
- 2013Efficient Estimation of Word Representations in Vector Spacecited by 4,375
- 2022Neural Sheaf Diffusion: A Topological Perspective on Heterophily and Oversmoothing in GNNscited by 214
- 2021An enriched category theory of language: from syntax to semanticscited by 22
- 2024Prospects for inconsistency detection using large language models and sheavescited by 10
- 2021On the Quantum-like Contextuality of Ambiguous Phrasescited by 6
- 2021Sheaves as a Framework for Understanding and Interpreting Model Fitcited by 5
- 2015On Contextuality in Behavioral Datacited by 4
- 2023Generalised Winograd Schema and its Contextualitycited by 4
- 2022A Model of Anaphoric Ambiguities using Sheaf Theoretic Quantum-like Contextuality and BERTcited by 3
- 2014On monogamy of non-locality and macroscopic averages: examples and preliminary resultscited by 1
1 more
Built on by
Citing papers per year: 2026: 4.
4 papers.
- 2026The production of meaning in the processing of natural languagecited by 1
- 2026Auditing Question-Order Effects in Large Language Models with the QQ Equality: Mechanism Characterization and a Saturation Caveatcited by 1
- 2026Algebraic Quantum Intelligence: A New Framework for Reproducible Machine Creativitycited by 0
- 2026Phase-Associative Memory: Sequence Modeling in Complex Hilbert Spacecited by 0
- 2026Auditing Question-Order Effects in Large Language Models with the QQ Equality: Mechanism Characterization and a Saturation Caveat19 Jul 2026
- 2026Phase-Associative Memory: Sequence Modeling in Complex Hilbert Space6 Apr 2026
- 2026The production of meaning in the processing of natural language20 Mar 2026
- 2026Algebraic Quantum Intelligence: A New Framework for Reproducible Machine Creativity15 Feb 2026