Symmetry in language statistics shapes the geometry of model representations
Dhruva Karkada, Daniel J. Korchinski, Andres Nava, Matthieu Wyart, Yasaman Bahri
TL;DR
This work proposes that translation symmetry in language co-occurrence statistics fundamentally shapes neural representations. By linking the co-occurrence matrix ${\bm{M}}^ op$ to embedding geometry, the authors derive Fourier-like embedding structures for periodic and open semantic continua, predicting Lissajous projections and robust linear decodability from sparse coordinates. They demonstrate these predictions across word embeddings, text embeddings, and large language models, and further show that a collective latent-variable mechanism yields circulant PMI structures robust to perturbations. The results provide a unifying, symmetry-based explanation for spatial, temporal, and circular manifolds in language representations, with implications for understanding model cognition and guiding robust representation learning.
Abstract
Although learned representations underlie neural networks' success, their fundamental properties remain poorly understood. A striking example is the emergence of simple geometric structures in LLM representations: for example, calendar months organize into a circle, years form a smooth one-dimensional manifold, and cities' latitudes and longitudes can be decoded by a linear probe. We show that the statistics of language exhibit a translation symmetry -- e.g., the co-occurrence probability of two months depends only on the time interval between them -- and we prove that the latter governs the aforementioned geometric structures in high-dimensional word embedding models. Moreover, we find that these structures persist even when the co-occurrence statistics are strongly perturbed (for example, by removing all sentences in which two months appear together) and at moderate embedding dimension. We show that this robustness naturally emerges if the co-occurrence statistics are collectively controlled by an underlying continuous latent variable. We empirically validate this theoretical framework in word embedding models, text embedding models, and large language models.
