Semantic Wave Functions: Exploring Meaning in Large Language Models Through Quantum Formalism
Not on the map. Why?
Abstract (arXiv)
Large Language Models (LLMs) encode semantic relationships in high-dimensional vector embeddings. This paper explores the analogy between LLM embedding spaces and quantum mechanics, positing that LLMs operate within a quantized semantic space where words and phrases behave as quantum states. To capture nuanced semantic interference effects, we extend the standard real-valued embedding space to the complex domain, drawing parallels to the double-slit experiment. We introduce a "semantic wave function" to formalize this quantum-derived representation and utilize potential landscapes, such as the double-well potential, to model semantic ambiguity. Furthermore, we propose a complex-valued similarity measure that incorporates both magnitude and phase information, enabling a more sensitive comparison of semantic representations. We develop a path integral formalism, based on a nonlinear Schr"odinger equation with a gauge field and Mexican hat potential, to model the dynamic evolution of LLM behavior. This interdisciplinary approach offers a new theoretical framework for understanding and potentially manipulating LLMs, with the goal of advancing both artificial and natural language understanding.
Key facts. Cited by 2 papers in the map (data through 13 Oct 2026). Builds on 7 of its 33 references that are in the map. First posted on arXiv 9 Mar 2025.
Builds on
7 of 33 references.
References · 7
- 2017Attention Is All You Needcited by 60,106
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,304
- 2020Language Models are Few-Shot Learnerscited by 32,320
- 2019What do you learn from context? Probing for sentence structure in contextualized word representationscited by 437
- 2016Linear Algebraic Structure of Word Senses, with Applications to Polysemycited by 165
- 2013Introduction to the Special Issue on Quantum Cognitioncited by 4
- 2021Should Semantic Vector Composition be Explicit? Can it be Linear?cited by 3
Built on by
Citing papers per year: 2025: 2.
2 papers.
Similar, not cited
Close in wording, no citation either way
- 2025A quantum semantic framework for natural language processing
- 2025Quantum Visual Word Sense Disambiguation: Unraveling Ambiguities Through Quantum Inference Model
- 2026Aligning Quantum Operators with Large Language Models
- 2026On the Representational Limits of Quantum-Inspired 1024-D Document Embeddings: An Experimental Evaluation Framework
- 2022A Planck Radiation and Quantization Scheme for Human Cognition and Language
- 2026Entanglement as Memory: Mechanistic Interpretability of Quantum Language Models
- 2025Large Language Model Scaling Laws for Neural Quantum States in Quantum Chemistry
- 2026Grading the Unspoken: Evaluating Tacit Reasoning in Quantum Field Theory and String Theory with LLMs