语言统计的对称性决定了模型内部表示的几何结构。
Symmetry in language statistics shapes the geometry of model representations
- 从语言统计中的平移对称性出发,推导出嵌入空间的几何形态。
- 月、年、经纬度等在模型中形成圆环、线性流形等结构,与预测一致。
- 即使统计被扰动,结构仍稳定,适合研究语言表征的可解释性。
语言模型的内部表示始终展现出显著的几何结构:月份按圆周排列,历史年份构成光滑的一维流形,城市经纬度可通过线性探测器解码。为解释这种神经编码,我们首先发现语言统计具有平移对称性(例如,任意两月共现频率仅取决于时间间隔)。我们证明这一对称性控制了高维词嵌入模型中的几何结构,并解析推导出词表示的流形几何。这些预测与大规模文本嵌入模型和大语言模型的实证结果高度吻合。此外,当相关统计被扰动(如删除两月共现的所有句子)时,表示几何仍保持稳健。我们证明,当共现统计受潜在变量控制时,这种鲁棒性自然出现。结果表明,这些表征流形源于自然语言的统计对称性。
原文摘要 · Abstract (English)
The internal representations learned by language models consistently exhibit striking geometric structure: calendar months organize into a circle, historical years form a smooth one-dimensional manifold, and cities' latitudes and longitudes can be decoded using a linear probe. To explain this neural code, we first show that language statistics exhibit translation symmetry (for example, the frequency with which any two months co-occur in text depends only on the time interval between them). We prove that this symmetry governs these geometric structures in high-dimensional word embedding models, and we analytically derive the manifold geometry of word representations. These predictions empirically match large text embedding models and large language models. Moreover, the representational geometry persists at moderate embedding dimension even when the relevant statistics are perturbed (e.g., by removing all sentences in which two months co-occur). We prove that this robustness emerges naturally when the co-occurrence statistics are controlled by an underlying latent variable. Our results indicate that these representational manifolds originate in the statistical symmetries of natural language.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。