A geometric relation of the error introduced by sampling a language model's output distribution to its internal state
- URL: http://arxiv.org/abs/2605.04899v2
- Date: Sat, 09 May 2026 14:24:36 GMT
- Title: A geometric relation of the error introduced by sampling a language model's output distribution to its internal state
- Abstract summary: GPT-style language models are sensitive to single-token changes at generation points where the predicted probability distribution is spread across multiple tokens.<n>Our findings suggest that token space geometry directly reflects how models internally represent problems.
- Score: 0.0
- License: http://creativecommons.org/licenses/by-sa/4.0/
- Abstract: GPT-style language models are sensitive to single-token changes at generation points where the predicted probability distribution is spread across multiple tokens. Viewing this sensitivity as a geometric property, we derive an $\mathfrak{so}(n)$-valued 1-form that depends only on the geometry of the token embeddings. Despite this purely geometric origin, we show that its curvature is semantically meaningful: On chess reasoning tasks, the curvature couples to the world model of an off-the-shelf instruction-tuned model, with transformations clustering by board region and respecting piece importance. Our findings suggest that token space geometry directly reflects how models internally represent problems.
Related papers
- The Shape of Addition: Geometric Structures of Arithmetic in Large Language Models [11.106770083374288]
Large Language Models exhibit paradoxical hallucination in fundamental arithmetic, implying a disconnect between internal computation and discrete output.<n>We propose the Noisy Quantization Model to explain this geometry, framing arithmetic errors as Geometric Slippages caused by internal neural noise pushing a continuous, latent Carry Potential across quantization thresholds.<n>We validate these insights through a geometric consistency check method that effectively detects and corrects these quantization failures during inference.
arXiv Detail & Related papers (2026-05-29T10:55:50Z) - Learning Point Cloud Geometry as a Statistical Manifold: Theory and Practice [11.695017334165287]
LiDAR-acquired point clouds are inherently sparse and non-uniform.<n>Existing approaches attempt to compensate for these limitations by estimating local geometry.<n>We introduce Point-to-Ellipsoid (POLI), a deep neural estimator that predicts per-point Gaussian geometry.
arXiv Detail & Related papers (2026-05-11T12:27:25Z) - SpatialEvo: Self-Evolving Spatial Intelligence via Deterministic Geometric Environments [75.60795462502949]
SpatialEvo is a self-evolving framework for 3D spatial reasoning.<n>It formalizes 16 spatial reasoning task categories under explicit geometric validation rules.<n>It converts unannotated 3D scenes into zero-noise interactive oracles, replacing model consensus with objective physical feedback.
arXiv Detail & Related papers (2026-04-15T17:59:12Z) - Latent Semantic Manifolds in Large Language Models [0.0]
We develop a mathematical framework that interprets Large Language Models hidden states as points on a latent semantic manifold.<n>We prove two theorems: a rate-distortion lower bound on distortion for any finite vocabulary, and a linear volume scaling law for the expressibility gap.<n>We discuss implications for architecture design, model compression, decoding strategies, and scaling laws.
arXiv Detail & Related papers (2026-03-17T13:05:56Z) - TokenBlowUp: Resolving Representational Singularities in LLM Token Spaces via Monoidal Transformations [0.9179857807576733]
Recent work has provided compelling evidence challenging the foundational manifold hypothesis for the token embedding spaces of Large Language Models.<n>We formalize this problem in the language of scheme theory and propose a rigorous resolution by applying the scheme-theoretic blow-up at each singular point.<n>We prove a formal theorem guaranteeing the geometric regularization of this new space, showing that the original pathologies are resolved.
arXiv Detail & Related papers (2025-07-26T02:39:54Z) - Geometric Inductive Biases of Deep Networks: The Role of Data and Architecture [22.225213114532533]
We investigate a simple $textitgeometric invariant (GIH) hypothesis.<n>We find that the input space curvature of a neural network remains $textitgeometric invariant.
arXiv Detail & Related papers (2024-10-15T19:46:09Z) - SpaceMesh: A Continuous Representation for Learning Manifold Surface Meshes [61.110517195874074]
We present a scheme to directly generate manifold, polygonal meshes of complex connectivity as the output of a neural network.<n>Our key innovation is to define a continuous latent connectivity space at each mesh, which implies the discrete mesh.<n>In applications, this approach not only yields high-quality outputs from generative models, but also enables directly learning challenging geometry processing tasks such as mesh repair.
arXiv Detail & Related papers (2024-09-30T17:59:03Z) - Relative Representations: Topological and Geometric Perspectives [50.85040046976025]
Relative representations are an established approach to zero-shot model stitching.<n>We introduce a normalization procedure in the relative transformation, resulting in invariance to non-isotropic rescalings and permutations.<n>Second, we propose to deploy topological densification when fine-tuning relative representations, a topological regularization loss encouraging clustering within classes.
arXiv Detail & Related papers (2024-09-17T08:09:22Z) - Disentangled Representation Learning with the Gromov-Monge Gap [65.73194652234848]
Learning disentangled representations from unlabelled data is a fundamental challenge in machine learning.<n>We introduce a novel approach to disentangled representation learning based on quadratic optimal transport.<n>We demonstrate the effectiveness of our approach for quantifying disentanglement across four standard benchmarks.
arXiv Detail & Related papers (2024-07-10T16:51:32Z) - Geometric Neural Diffusion Processes [55.891428654434634]
We extend the framework of diffusion models to incorporate a series of geometric priors in infinite-dimension modelling.
We show that with these conditions, the generative functional model admits the same symmetry.
arXiv Detail & Related papers (2023-07-11T16:51:38Z) - Towards a mathematical understanding of learning from few examples with
nonlinear feature maps [68.8204255655161]
We consider the problem of data classification where the training set consists of just a few data points.
We reveal key relationships between the geometry of an AI model's feature space, the structure of the underlying data distributions, and the model's generalisation capabilities.
arXiv Detail & Related papers (2022-11-07T14:52:58Z)
This list is automatically generated from the titles and abstracts of the papers in this site.
This site does not guarantee the quality of this site (including all information) and is not responsible for any consequences.