A geometric relation of the error introduced by sampling a language model's output distribution to its internal state

Albert F. Modenbach
5/6/2026
cs.LG

No confident code implementation found for this paper.

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.

Show full abstract

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.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{modenbach2026geometric,
  title  = {A geometric relation of the error introduced by sampling a language model's output distribution to its internal state},
  author = {Albert F. Modenbach},
  year   = {2026},
  eprint = {2605.04899},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2605.04899v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2605.04899.svg)](https://codeofpaper.com/paper/2605.04899)

Discussion