paper-with-me

홈 › Papers

The structure of the token space for large language models

2024-10-11 · Michael Robinson, Sourya Dey, Shauna Sweet

Large language models encode the correlational structure present in natural language by fitting segments of utterances (tokens) into a high dimensional ambient latent space upon which the models then operate. We assert that in order to develop a foundational, first-principles understanding of the behavior and limitations of large language models, it is crucial to understand the topological and geometric structure of this token subspace. In this article, we present estimators for the dimension and Ricci scalar curvature of the token subspace, and apply it to three open source large language models of moderate size: GPT2, LLEMMA7B, and MISTRAL7B. In all three models, using these measurements, we find that the token subspace is not a manifold, but is instead a stratified manifold, where on each of the individual strata, the Ricci curvature is significantly negative. We additionally find that the dimension and curvature correlate with generative fluency of the models, which suggest that these findings have implications for model behavior.

📄 PDF Abstract BibTeX arXiv:2410.08993

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

The cell as a token: high-dimensional geometry in language models and cell embeddings

2025-03-26 · William Gilpin

Single-cell sequencing technology maps cells to a high-dimensional space encoding their internal activity. This process mirrors parallel developments in machine learning, where large language models ingest unstructured t…

Language ModelingLanguage Modelling

Grounding Everything in Tokens for Multimodal Large Language Models

2025-12-11 · Xiangxuan Ren, Zhongdao Wang, Liping Hou, Pin Tang 외 arxiv

Multimodal large language models (MLLMs) have made significant advancements in vision understanding and reasoning. However, the autoregressive Transformer architecture used by MLLMs requries tokenization on input images,…

Reinforcement Learning

Lost in Space: Optimizing Tokens for Grammar-Constrained Decoding

2025-02-20 · Sil Hamilton, David Mimno

General-purpose language models are trained to produce varied natural language outputs, but for some tasks like annotation or classification we need more specific output formats. LLM systems increasingly support structur…

LRCP: Low-Rank Compressibility Guided Visual Token Pruning for Efficient LVLMs

2026-05-15 · Hongyu Lu, Feng Zhang, Wenwei Jin, Huanling Hu 외 arxiv

Large vision-language models (LVLMs) achieve strong multimodal understanding, but their inference cost grows rapidly with the number of visual tokens, especially for high-resolution images and long videos. Existing atten…

On the Geometric Structure of Layer Updates in Deep Language Models

2026-04-02 · Jun-Sik Yoo arxiv

We study the geometric structure of layer updates in deep language models. Rather than analyzing what information is encoded in intermediate representations, we ask how representations change from one layer to the next. …