中文

Phase structure of the Random Language Model

无序系统与神经网络 2026-06-26 v1 统计力学

摘要

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 ϵ~d0\tilde{\epsilon}_d \to 0 and the number of hidden symbols NN \to \infty at fixed x=ϵ~dlogNx = \tilde{\epsilon}_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.

引用

@article{arxiv.2606.28103,
  title  = {Phase structure of the Random Language Model},
  author = {Alessio Giorlandino and Eric De Giuli and Sebastian Goldt},
  journal= {arXiv preprint arXiv:2606.28103},
  year   = {2026}
}