SYNTHESIS NOTE
Model Architecture and Internals Training, RL, and Test-Time Scaling Reasoning, Retrieval, and Evaluation

What formal languages actually help transformers learn natural language?

Not all formal languages are equally useful for pre-pretraining. This explores which formal languages transfer well to natural language and why—combining structural requirements with what transformers can actually learn.

Synthesis note · 2026-02-21 · sourced from Linguistics, NLP, NLU
Where exactly do LLMs break down with language structure? How should researchers navigate LLM reasoning research?

Pre-pretraining on formal languages improves natural language acquisition, but not all formal languages produce equal transfer. Between Circuits and Chomsky (2025) proposes a two-constraint model:

Constraint 1 (Chomsky hierarchy): The formal language must capture hierarchical dependency structures present in natural language. Within the Chomsky hierarchy, context-sensitive languages transfer best to natural language (Papadimitriou & Jurafsky 2023). Simpler formal languages — regular, context-free — transfer poorly because they don't capture the hierarchical dependencies that natural language syntax requires.

Constraint 2 (circuit complexity): The formal language must be learnable by transformers with length generalization. Transformers cannot learn all context-sensitive languages — both in theory and in practice. Many formal languages within the Chomsky hierarchy are either impossible for transformers to learn or can only be learned without length generalization. Pre-pretraining on formal languages that fall outside transformer computational limits may fail to transfer even if those languages are structurally appropriate.

The optimal transfer zone is the intersection of these two constraints: formal languages expressive enough to capture hierarchical dependencies (Chomsky), and learnable by transformers with length generalization (circuit complexity). The paper formalizes this using C-RASP, a restricted programming language whose functions allow length generalization.

Empirical support: formal languages satisfying both constraints achieve equal or better transfer than matched natural language training. Formal languages satisfying only constraint 1 (hierarchical but not in C-RASP) show equivalent or slightly worse performance on some evaluations.

The broader principle: architectural computational limits are not just engineering constraints — they determine what inductive biases can actually be learned. The Chomsky hierarchy describes what structures are grammatically relevant; the circuit complexity hierarchy describes what structures are architecturally learnable. Effective pre-pretraining requires both.

Inquiring lines that use this note as a source 5

This note is a source for these synthesized inquiries. Follow a line forward into its question, or open it to trace back to all of its sources.

Related concepts in this collection 5

This note in its neighbourhood — explore the map, then jump to a related concept in the list below.

Concept map
14 direct connections · 138 in 2-hop network ·dense cluster Open in graph ↗

Click a node to walk · click center to open · click Open in graph to see this note in the full knowledge graph

your link semantically near linked from elsewhere

Related papers in this collection 8

Papers most semantically related to this note, ranked by cosine similarity in the embedding space.

Original note title

effective formal language pre-pretraining requires matching formal language complexity to transformer computational limits