Skip to content
DraconiticResearch
Search Sources API
276,906 studies31 sourcesUpdated 18 min ago
PreprintCC BY 4.0arXiv

Dancing Tokens on the Vocabulary Network from LLM Generation

Abstract

Large language models (LLMs) generate text one token at a time, yet how a particular generation relates to the geometry learned in pre-training remains unclear. The fundamental explainability of LLMs is elusive. Here, we build a similarity network from the input embeddings of six open LLMs and map generation onto it. The token-embedding network is scale-free while heavy-tailed, as are random embeddings with matched covariance, but far more fragmented. Distillation barely changes this topology because input embeddings are largely inherited. The knowledge space is thus deterministic from pre-training. Consecutive generated tokens are rarely graph neighbours and, in most models, no more often than in shuffled order, so generation is not a walk on the predefined network, although the tokens it visits are concentrated within it. Through the logit lens in a layer- wise manner, tokens settle late in depth in most models, and repetitive models remain confined to small domain-specific sub-graphs. These observables could serve as inference-time monitors of degeneration. We thus provide a fresh perspective on understanding LLM generation in the microscopic way from node or link prediction by graph learning.

Related

  1. Scaling Collider Event Generation with Residual-Quantized Tokens
    Dan Godi, Dmitrii Kobylianskii, Eilam Gross
    arXivPreprintCC BY 4.0Full textComputational physicsHigh-energy & particle physicsarXiv
  2. Dancing dervishes, spinning skirts and whirling waves
    Paul R. Kaneelil, Sifan Yin, L. Mahadevan
    arXivPreprintCC BY-NC-ND 4.0Full textCondensed matterarXiv
  3. 'Dancing' two-dimensional patterns in nematics above the flexoelectric instability threshold
    E. S. Pikina
    arXivPreprintCC BY-NC-ND 4.0Full textCondensed matterarXiv
  4. Where the Tokens Go: Heat, Entropy and Error in Agentic Coding
    Alán Aspuru-Guzik, Varinia Bernales
    arXivPreprintCC BY-NC-ND 4.0Full textStatistical & nonlinear physicsarXiv
  5. Generalization properties of the token perceptron: the role of embedding and vocabulary
    Dario Bocchi, Matteo Negri, Flavio Nicoletti +1
    arXivPreprintCC BY-SA 4.0Full textStatisticsCondensed matterarXiv
BibTeX
@misc{hu2026dancing,
  title = {{Dancing Tokens on the Vocabulary Network from LLM Generation}},
  author = {Yuan-Chao Hu},
  howpublished = {arXiv},
  year = {2026},
  month = nov,
  doi = {10.48550/arxiv.2611.18248},
  eprint = {2611.18248},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.18248},
  note = {CC BY 4.0},
}
RIS
TY  - UNPB
TI  - Dancing Tokens on the Vocabulary Network from LLM Generation
AU  - Yuan-Chao Hu
PY  - 2026
DA  - 2026/11/13
PB  - arXiv
DO  - 10.48550/arxiv.2611.18248
UR  - https://arxiv.org/abs/2611.18248
AB  - Large language models (LLMs) generate text one token at a time, yet how a particular generation relates to the geometry learned in pre-training remains unclear. The fundamental explainability of LLMs is elusive. Here, we build a similarity network from the input embeddings of six open LLMs and map generation onto it. The token-embedding network is scale-free while heavy-tailed, as are random embeddings with matched covariance, but far more fragmented. Distillation barely changes this topology because input embeddings are largely inherited. The knowledge space is thus deterministic from pre-training. Consecutive generated tokens are rarely graph neighbours and, in most models, no more often than in shuffled order, so generation is not a walk on the predefined network, although the tokens it visits are concentrated within it. Through the logit lens in a layer- wise manner, tokens settle late in depth in most models, and repetitive models remain confined to small domain-specific sub-graphs. These observables could serve as inference-time monitors of degeneration. We thus provide a fresh perspective on understanding LLM generation in the microscopic way from node or link prediction by graph learning.
ER  -