Next Article in Journal
Fisher Information in Helmholtz–Boltzmann Thermodynamics of Mechanical Systems
Previous Article in Journal
Cross-Analysis of Magnetic and Current Density Field Topologies in a Quiescent High Confinement Mode Tokamak Discharge
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Mathematical Formalism and Physical Models for Generative Artificial Intelligence

Wuhan Institute of Physics and Mathematics, IAPM, Chinese Academy of Sciences, 30 West District, Xiao-Hong-Shan, Wuhan 430071, China
Foundations 2025, 5(3), 23; https://doi.org/10.3390/foundations5030023
Submission received: 13 May 2025 / Revised: 9 June 2025 / Accepted: 16 June 2025 / Published: 24 June 2025
(This article belongs to the Section Physical Sciences)

Abstract

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.
Keywords: generative artificial intelligence; attention mechanism; large language model; sequential joint probability; event histories; open quantum system; Kraus operator; Fock space generative artificial intelligence; attention mechanism; large language model; sequential joint probability; event histories; open quantum system; Kraus operator; Fock space

Share and Cite

MDPI and ACS Style

Chen, Z. Mathematical Formalism and Physical Models for Generative Artificial Intelligence. Foundations 2025, 5, 23. https://doi.org/10.3390/foundations5030023

AMA Style

Chen Z. Mathematical Formalism and Physical Models for Generative Artificial Intelligence. Foundations. 2025; 5(3):23. https://doi.org/10.3390/foundations5030023

Chicago/Turabian Style

Chen, Zeqian. 2025. "Mathematical Formalism and Physical Models for Generative Artificial Intelligence" Foundations 5, no. 3: 23. https://doi.org/10.3390/foundations5030023

APA Style

Chen, Z. (2025). Mathematical Formalism and Physical Models for Generative Artificial Intelligence. Foundations, 5(3), 23. https://doi.org/10.3390/foundations5030023

Article Metrics

Back to TopTop