The Geometry of Semantic Space: A Continuous Geometric Framework for the Transformer Architecture
Not on the map. Why?
Abstract (arXiv)
We present a continuous geometric framework that models the discrete algebraic operations of the Transformer architecture as an integro-differential equation (IDE) on a semantic fiber bundle calE = calM × Rd. Beginning from a single geometric axiom -- that the token sequence forms a discrete 1-manifold equipped with a canonical measure lattice -- we translate every core component of the modern Transformer (RMSNorm, RoPE, Softmax Attention, FFN, Residual Stream, SGD, Weight Decay) into a cohesive vocabulary of differential geometry, measure theory, and stochastic calculus. The resulting framework yields quantitative predictions spanning entropic optimal transport (Attention as a Schr"odinger bridge) and non-equilibrium thermodynamics (SGD as Ito diffusion violating detailed balance). We conduct a six-part experimental campaign across five architectures (Qwen3, LLaMAnobreakdash-3.1, Gemmanobreakdash-3, GPT-2, Mistral) spanning 124M to 8B parameters. The empirical observables are quantitatively consistent with the geometric predictions: the ε-1/2 Lipschitz scaling calibration at machine precision (R2 = 1.000), the Lie--Trotter operator-splitting torsion, the symmetric ablation instability confirming the Dual-Law of Topological Stability, the calO(1/√k) thermodynamic suppression of Poincar'e recurrence on the RoPE torus, the thermodynamic context-limit phase transition, and the Non-Equilibrium Steady State parameter vortex -- verified across two optimizers (AdamW and Pure SGD) to exclude momentum artifacts. The results demonstrate that analyzing Transformers through the lens of continuous stochastic differential geometry provides a predictive descriptive vocabulary for the stability limits, context bounds, and optimization dynamics of Large Language Models.
Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 22 of its 38 references that are in the map. First posted on arXiv 19 Jul 2026.
Builds on
22 of 38 references.
References · 22
- 2017Attention Is All You Needcited by 60,361
- 2015Deep Residual Learning for Image Recognitioncited by 52,096
- 2024The Llama 3 Herd of Modelscited by 14,715
- 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,599
- 2021RoFormer: Enhanced Transformer with Rotary Position Embeddingcited by 4,703
- 2018Neural Ordinary Differential Equationscited by 3,779
- 2016Gaussian Error Linear Units (GELUs)cited by 3,502
- 2016Pointer Sentinel Mixture Modelscited by 3,096
- 2023Efficient Streaming Language Models with Attention Sinkscited by 2,186
- 2020GLU Variants Improve Transformercited by 1,804
- 2019Root Mean Square Layer Normalizationcited by 1,480
- 2021Train Short, Test Long: Attention with Linear Biases Enables Input Length Extrapolationcited by 1,103
10 more
- 2017Sigmoid-Weighted Linear Units for Neural Network Function Approximation in Reinforcement Learningcited by 950
- 2024Gemma: Open Models Based on Gemini Research and Technologycited by 916
- 2023YaRN: Efficient Context Window Extension of Large Language Modelscited by 601
- 2016Entropy-SGD: Biasing Gradient Descent Into Wide Valleyscited by 359
- 2017Stochastic Gradient Descent as Approximate Bayesian Inferencecited by 300
- 2013A survey of the Schr"odinger problem and some of its connections with optimal transportcited by 292
- 2019Representation Degeneration Problem in Training Natural Language Generation Modelscited by 255
- 2021Sinkformers: Transformers with Doubly Stochastic Attentioncited by 138
- 2019Understanding and Improving Transformer From a Multi-Particle Dynamic System Point of Viewcited by 113
- 2018PCA of high dimensional random walks with comparison to neural network trainingcited by 11
Built on by
Not cited yet.