Mathematical Formalism and Physical Models for Generative Artificial Intelligence
This paper presents a mathematical formalism for generative artificial intelligence (GAI). Our starting point is an observation that a “histories” approach to physical systems agrees with the compositional nature of deep neural networks. Mathematically, we define a GAI system as a family of sequential joint probabilities associated with input texts and temporal sequences of tokens (as physical event histories). From a physical perspective on modern chips, we then construct physical models realizing GAI systems as open quantum systems. Finally, as an illustration, we construct physical models realizing large language models based on a transformer architecture as open quantum systems in the Fock space over the Hilbert space of tokens. Our physical models underlie the transformer architecture for large language models.
Authors
- Zeqian Chen (ORCID: https://orcid.org/0000-0002-8292-456X)
Institutions
- Chinese Academy of Sciences (CN)
- Wuhan Institute of Physics and Mathematics (CN)
Publication Details
- Journal
- Foundations
- Published
- 2025-06-24
- DOI
- https://doi.org/10.3390/foundations5030023
- Primary Topic
- Computability, Logic, AI Algorithms
- Type
- article
- Field-Weighted Citation Impact
- 0.00