Grammar Sparsity Sets How Transformers Learn Random Languages
Not on the map. Why?
Abstract (arXiv)
We study language acquisition by transformers trained on the Random Language Model: a synthetic hierarchical grammar with random production rules, whose sparsity is controlled by a single parameter and whose conditional entropies are known exactly. On depth-two grammars, we find that sparsity sets both the order and the speed of learning. Dense grammars are learnt one level at a time: a token is predicted from its sibling after tpropto V steps and from the full context only after tpropto V3, so the two stages are separated by a plateau that widens with V. Sparse grammars are learnt all at once, at tpropto√ V, with a smaller exponent than even the first stage of a dense one. The exponents 1 and 1/2 already appear at depth one, where we derive them for a linear model trained with Adam.
Key facts. No citing papers in the map yet (data through 24 Nov 2026). Builds on 10 of its 20 references that are in the map. Submitted 22 Nov 2026, announced 24 Nov 2026.
Builds on
10 of 20 references.
References · 10
- 2019BERT Rediscovers the Classical NLP Pipelinecited by 1,106
- 2023Physics of Language Models: Part 1, Learning Hierarchical Language Structurescited by 96
- 2023How Deep Neural Networks Learn Compositional Data: The Random Hierarchy Modelcited by 84
- 2023Do Transformers Parse while Predicting the Masked Word?cited by 52
- 2024Towards a theory of how the structure of language is acquired by deep neural networkscited by 50
- 2018A Provably Correct Algorithm for Deep Learning that Actually Workscited by 23
- 2019Emergence of order in random languagescited by 7
- 2026Deep networks learn to parse uniform-depth context-free languages from local statisticscited by 7
- 2026Learn from your own latents and not from tokens: A sample-complexity theorycited by 4
- 2025Language models as tools for investigating the distinction between possible and impossible natural languagescited by 1
Built on by
Not cited yet.