arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2606.28103cond-mat.dis-nncond-mat.stat-mech
收藏

随机语言模型的相结构

Phase structure of the Random Language Model

International School of Advanced Studies(高级研究所);Toronto Metropolitan University(多伦多都会大学)

Alessio Giorlandino, Eric De Giuli, Sebastian Goldt

AI总结:

通过双标度极限分析,揭示随机语言模型存在一系列相变,包括符号关联涌现、单符号边缘分布非均匀化以及规则使用的玻璃态冻结,并导出与大型语言模型一致的标度律。

摘要:

上下文无关文法是人类语言层次结构的最小模型,通过递归产生式规则生成结构化文本。随机语言模型(RLM)[De Giuli, PRL 2019] 是此类文法的一个系综,具有随机规则权重,其输出随“温度”变化从胡言乱语过渡到结构化文本,但该转变的位置和性质此前尚不明确。本文表明,在双标度极限下,即文法温度 $\tilde{\epsilon}_d \to 0$ 且隐藏符号数 $N \to \infty$ 且固定 $x = \tilde{\epsilon}_d \log N$ 时,RLM 呈现出一系列相变:符号间关联涌现、单符号边缘分布变得非均匀,以及规则使用在玻璃态中冻结。通过识别 RLM 与随机能量模型的关系,我们发现了这些相变。半退火近似给出了规则使用、熵和能量的非平凡标度律,与大型语言模型中观察到的 Heaps 定律和上下文长度标度一致。

英文摘要:

Context-free grammars are minimal models of hierarchical structure in human language, generating structured text from recursive production rules. The Random Language Model (RLM) [De Giuli, PRL 2019], an ensemble of such grammars with random rule weights, exhibits a cross-over from gibberish-like output to structured text as a function of a "temperature", but the location and nature of this transition remained unclear. Here, we show that the RLM exhibits a hierarchy of phase transitions in a double-scaling limit where the grammar temperature $\tildeε_d \to 0$ and the number of hidden symbols $N \to \infty$ at fixed $x = \tildeε_d \log N$. By identifying the relation between RLM and the Random Energy Model, we identify a series of transitions where correlations between symbols emerge, single-symbol marginals become non-uniform, and rule use freezes in a glassy phase. A semi-annealed approximation yields nontrivial scaling laws for rule usage, entropy, and energy, consistent with Heaps' law and context-length scaling observed in large language models.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑