cs.CLMar 30, 2026

Categorical Perception in Large Language Model Hidden States: Structural Warping at Digit-Count Boundaries

Authors: Jon-Paul Cacioli

Organizations: Independent Researcher, Melbourne, Australia

Abstract

Categorical perception (CP) -- enhanced discriminability at category boundaries -- is among the most studied phenomena in perceptual psychology. This paper reports that analogous geometric warping occurs in the hidden-state representations of large language models (LLMs) processing Arabic numerals. Using representational similarity analysis across six models from five architecture families, the study finds that a CP-additive model (log-distance plus a boundary boost) fits the representational geometry better than a purely continuous model at 100% of primary layers in every model tested. The effect is specific to structurally defined boundaries (digit-count transitions at 10 and 100), absent at non-boundary control positions, and absent in the temperature domain where linguistic categories (hot/cold) lack a tokenisation discontinuity. Two qualitatively distinct signatures emerge: "classic CP" (Gemma, Qwen), where models both categorise explicitly and show geometric warping, and "structural CP" (Llama, Mistral, Phi), where geometry warps at the boundary but models cannot report the category distinction. This dissociation is stable across boundaries and is a property of the architecture, not the stimulus. Structural input-format discontinuities are sufficient to produce categorical perception geometry in LLMs, independently of explicit semantic category knowledge.

Figures & tables

Explore similar work

CardsList
  1. The Geometric Price of Discrete Logic: Context-driven Manifold Dynamics of Number Representations

    Mar 24, 2026Long Zhang, Dai-jun Lin, Wei-neng ChenRepresentation Geometry in Language ModelsLLM Interpretability

  2. Geometry of Human Perceptual Domains Emerges Transiently in LLM Representations

    May 27, 2026Simardeep Singh, Paras ChopraNeural Representation GeometryLLM Interpretability

  3. Large language models reorganize representational geometry during in-context learning

    May 16, 2026Hua-Dong Xiong, Li Ji-An, Robert C. Wilson +2Neural Representation GeometryRepresentation Disentanglement