---
title: "Grammar Sparsity Sets How Transformers Learn Random Languages"
source: "arXiv AI/CL/LG（论文）"
source_tier: "t2"
url: "https://arxiv.org/abs/2611.29692v1"
permalink: "https://feed.astralor.com/items/itm_03cfe809fe9791902db8c14d"
published: "2026-11-22T18:54:54.000Z"
score: 53
channel: "finance"
tags: ["Grammar Sparsity Sets","How Transformers Learn","Random Languages","Random Language Model","Dense","Sparse"]
---

# Grammar Sparsity Sets How Transformers Learn Random Languages

## 速览

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…

## 关键点

- 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…
- 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 $t\propto V$ steps and from the full context only after $t\propto V^{3}$, so the two stages are separated by a plateau that wide…

## 全文

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 $t\propto V$ steps and from the full context only after $t\propto V^{3}$, so the two stages are separated by a plateau that widens with $V$. Sparse grammars are learnt all at once, at $t\propto\sqrt 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.

---

引用前请核对原文;本文由星际流动整理:https://feed.astralor.com/items/itm_03cfe809fe9791902db8c14d
