Modes of Sequence Models and Learning Coefficients
Zhongtian Chen, Daniel Murfet
TL;DR
This work introduces a geometric framework for sequence models by embedding conditional sequence distributions in a Hilbert space and extracting principal data patterns via tensor decompositions. It defines an effective true distribution $q^{(\chi)}$ through mode truncation of the fundamental tensor, thereby providing a principled coarse-graining of the data distribution. The authors prove that Local Learning Coefficient (LLC) estimates obtained via SGLD are insensitive to higher modes beyond a data-dependent threshold, meaning LLC reflects the geometry of the truncated, effective distribution rather than the full distribution. They also discuss how the inverse temperature in SGLD acts as a resolution dial on landscape structure, with practical implications for interpreting LLC measurements in transformer models and guiding future work on more expressive mode decompositions.
Abstract
We develop a geometric account of sequence modelling that links patterns in the data to measurable properties of the loss landscape in transformer networks. First, we cast conditional sequence distributions into a Hilbert-space framework and apply tensor decompositions to identify their principal modes. Truncating the small-amplitude modes yields an effective data distribution that preserves dominant structure while discarding statistical detail. Second, we show theoretically that Local Learning Coefficient (LLC) estimates are insensitive to modes below a data-dependent threshold. Consequently, the LLC calculated in practice characterises the geometry of the effective rather than the true distribution. This insight clarifies why reliable LLC estimates can be obtained even when a network parameter is not a strict minimiser of the population loss, and it highlights how the inverse temperature in SGLD acts as a resolution dial on the landscape structure.
