{"id":166360,"topic":"ai","source":"arxiv","title":"Grammar Sparsity Sets How Transformers Learn Random Languages","url":"https://arxiv.org/abs/2611.29692","url_hash":"989ddf223d6c7f5b2ffc09941b9a552a1b52463e","author":"Edgar Andres Hernandez Moreno, Francesco Cagnetta","summary":"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.","content":null,"image_url":null,"lang":"","published_at":"2026-11-22T18:54:54+00:00","fetched_at":"2026-11-24T04:05:04+00:00","status":"read","starred":0,"extract_state":"ok","summary_auto":null,"cluster_id":null,"extract_retries":0,"extract_error":null,"item_type":"paper","ref_id":"10.48550/arxiv.2611.29692","refs_json":"{\"authors\": [\"Edgar Andres Hernandez Moreno\", \"Francesco Cagnetta\"]}","doi":"10.48550/arxiv.2611.29692","arxiv_id":"2611.29692","paper_version":"v1","sources_json":"[{\"name\": \"arxiv\"}]","relevance_score":0.2,"relevance_method":"keyword","cited_by":null,"contract_version":"news_item.v1","format_contract_version":"news_item_formats.v1","dedup_url":"https://arxiv.org/abs/2611.29692","quality_profile":{"profile_version":"extraction_quality.v2","bucket":"medium","confidence":0.5,"failure_kind":"none","retryable":false,"retry_after_attempts":0,"reason":"Medium confidence: summary fallback used without full text.","operator_guidance":{"severity":"warning","recommended_action":"use_summary_with_caveat","next_step":"Use the available summary only with a visible quality caveat.","operator_label":"Use summary with caveat","can_retry":false,"can_use_summary":true,"diagnostics_required":false},"content_depth":{"contract_version":"content_depth.v1","category":"summary_only","label":"Summary only","has_full_text":false,"has_summary":true,"content_length":0,"summary_length":816,"usable_text_length":816,"source_field":"summary"},"legacy_collapsed":false,"signals":{"extract_state":"ok","extract_error":null,"extract_retries":0,"content_length":0,"summary_length":816}},"news_item":{"id":166360,"canonical_url":"https://arxiv.org/abs/2611.29692","source_url":"https://arxiv.org/abs/2611.29692","title":"Grammar Sparsity Sets How Transformers Learn Random Languages","source_name":"arxiv","author":"Edgar Andres Hernandez Moreno, Francesco Cagnetta","published_at":"2026-11-22T18:54:54+00:00","locale":null,"topic":"ai","tags":[],"rss_summary":"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.","full_text":null,"excerpt":"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.","extraction":{"state":"ok","confidence":0.5,"error":null,"explanation":"Medium confidence: summary fallback used without full text.","diagnostics_url":"/api/diagnose?url=https%3A//arxiv.org/abs/2611.29692","quality_profile":{"profile_version":"extraction_quality.v2","bucket":"medium","confidence":0.5,"failure_kind":"none","retryable":false,"retry_after_attempts":0,"reason":"Medium confidence: summary fallback used without full text.","operator_guidance":{"severity":"warning","recommended_action":"use_summary_with_caveat","next_step":"Use the available summary only with a visible quality caveat.","operator_label":"Use summary with caveat","can_retry":false,"can_use_summary":true,"diagnostics_required":false},"content_depth":{"contract_version":"content_depth.v1","category":"summary_only","label":"Summary only","has_full_text":false,"has_summary":true,"content_length":0,"summary_length":816,"usable_text_length":816,"source_field":"summary"},"legacy_collapsed":false,"signals":{"extract_state":"ok","extract_error":null,"extract_retries":0,"content_length":0,"summary_length":816}}},"display_formats":["compact","card","full","digest_section","json"]},"daily_stack_record":{"title":"Grammar Sparsity Sets How Transformers Learn Random Languages","url":"https://arxiv.org/abs/2611.29692","summary":"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.","source":"arxiv","date":"2026-11-22T18:54:54+00:00","content":"","confidence":0.5,"diagnostics_url":"/api/diagnose?url=https%3A//arxiv.org/abs/2611.29692","quality_bucket":"medium","failure_kind":"none","retryable":false,"quality_reason":"Medium confidence: summary fallback used without full text.","quality_profile":{"profile_version":"extraction_quality.v2","bucket":"medium","confidence":0.5,"failure_kind":"none","retryable":false,"retry_after_attempts":0,"reason":"Medium confidence: summary fallback used without full text.","operator_guidance":{"severity":"warning","recommended_action":"use_summary_with_caveat","next_step":"Use the available summary only with a visible quality caveat.","operator_label":"Use summary with caveat","can_retry":false,"can_use_summary":true,"diagnostics_required":false},"content_depth":{"contract_version":"content_depth.v1","category":"summary_only","label":"Summary only","has_full_text":false,"has_summary":true,"content_length":0,"summary_length":816,"usable_text_length":816,"source_field":"summary"},"legacy_collapsed":false,"signals":{"extract_state":"ok","extract_error":null,"extract_retries":0,"content_length":0,"summary_length":816}},"tags":[]},"fallback_formats":["markdown","json","html"],"actions":{"read":"/item/166360","export_markdown":"/api/items/166360/export?format=markdown","export_json":"/api/items/166360/export?format=json","diagnose":"/api/diagnose?url=https%3A//arxiv.org/abs/2611.29692"},"formats":{"full":{"id":166360,"title":"Grammar Sparsity Sets How Transformers Learn Random Languages","url":"https://arxiv.org/abs/2611.29692","source":"arxiv","author":"Edgar Andres Hernandez Moreno, Francesco Cagnetta","published_at":"2026-11-22T18:54:54+00:00","locale":null,"topic":"ai","tags":[],"excerpt":"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.","full_text":null,"reading_time_min":1,"extraction":{"state":"ok","confidence":0.5,"error":null,"explanation":"Medium confidence: summary fallback used without full text.","diagnostics_url":"/api/diagnose?url=https%3A//arxiv.org/abs/2611.29692","quality_profile":{"profile_version":"extraction_quality.v2","bucket":"medium","confidence":0.5,"failure_kind":"none","retryable":false,"retry_after_attempts":0,"reason":"Medium confidence: summary fallback used without full text.","operator_guidance":{"severity":"warning","recommended_action":"use_summary_with_caveat","next_step":"Use the available summary only with a visible quality caveat.","operator_label":"Use summary with caveat","can_retry":false,"can_use_summary":true,"diagnostics_required":false},"content_depth":{"contract_version":"content_depth.v1","category":"summary_only","label":"Summary only","has_full_text":false,"has_summary":true,"content_length":0,"summary_length":816,"usable_text_length":816,"source_field":"summary"},"legacy_collapsed":false,"signals":{"extract_state":"ok","extract_error":null,"extract_retries":0,"content_length":0,"summary_length":816}}},"quality_profile":{"profile_version":"extraction_quality.v2","bucket":"medium","confidence":0.5,"failure_kind":"none","retryable":false,"retry_after_attempts":0,"reason":"Medium confidence: summary fallback used without full text.","operator_guidance":{"severity":"warning","recommended_action":"use_summary_with_caveat","next_step":"Use the available summary only with a visible quality caveat.","operator_label":"Use summary with caveat","can_retry":false,"can_use_summary":true,"diagnostics_required":false},"content_depth":{"contract_version":"content_depth.v1","category":"summary_only","label":"Summary only","has_full_text":false,"has_summary":true,"content_length":0,"summary_length":816,"usable_text_length":816,"source_field":"summary"},"legacy_collapsed":false,"signals":{"extract_state":"ok","extract_error":null,"extract_retries":0,"content_length":0,"summary_length":816}},"actions":{"read":"/item/166360","export_markdown":"/api/items/166360/export?format=markdown","export_json":"/api/items/166360/export?format=json","diagnose":"/api/diagnose?url=https%3A//arxiv.org/abs/2611.29692"}},"digest":{"id":166360,"title":"Grammar Sparsity Sets How Transformers Learn Random Languages","url":"https://arxiv.org/abs/2611.29692","source":"arxiv","topic":"ai","published_at":"2026-11-22T18:54:54+00:00","excerpt":"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…","quality_bucket":"medium","quality_reason":"Medium confidence: summary fallback used without full text.","reading_time_min":1,"cluster_id":null},"card":{"display_title":"Grammar Sparsity Sets How Transformers Learn Random Languages","subtitle":"arxiv · 2026-11-22","summary":"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…","badges":["quality:medium"],"links":{"read":"/item/166360","original":"https://arxiv.org/abs/2611.29692","diagnose":"/api/diagnose?url=https%3A//arxiv.org/abs/2611.29692"},"quality_warning":null},"export":{"title":"Grammar Sparsity Sets How Transformers Learn Random Languages","url":"https://arxiv.org/abs/2611.29692","summary":"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.","source":"arxiv","date":"2026-11-22T18:54:54+00:00","content":"","confidence":0.5,"diagnostics_url":"/api/diagnose?url=https%3A//arxiv.org/abs/2611.29692","quality_bucket":"medium","failure_kind":"none","retryable":false,"quality_reason":"Medium confidence: summary fallback used without full text.","quality_profile":{"profile_version":"extraction_quality.v2","bucket":"medium","confidence":0.5,"failure_kind":"none","retryable":false,"retry_after_attempts":0,"reason":"Medium confidence: summary fallback used without full text.","operator_guidance":{"severity":"warning","recommended_action":"use_summary_with_caveat","next_step":"Use the available summary only with a visible quality caveat.","operator_label":"Use summary with caveat","can_retry":false,"can_use_summary":true,"diagnostics_required":false},"content_depth":{"contract_version":"content_depth.v1","category":"summary_only","label":"Summary only","has_full_text":false,"has_summary":true,"content_length":0,"summary_length":816,"usable_text_length":816,"source_field":"summary"},"legacy_collapsed":false,"signals":{"extract_state":"ok","extract_error":null,"extract_retries":0,"content_length":0,"summary_length":816}},"tags":[],"format_contract_version":"news_item_formats.v1"}}}