A Scaled-Up Empirical Study of Syntactic Language Models

Pengcheng Wang, Zhexuan Zhang, Chao Lou, Kewei TuarXiv 2026

TL;DR

This paper scales Syntactic Language Models (SLMs)—models that explicitly generate parse trees alongside text—to 1 billion parameters and 100 billion tokens. The authors find that while SLMs excel at syntactic benchmarks, their performance advantage on downstream tasks largely disappears when compared to simple "pause token" baselines that use an equivalent amount of extra computation.

What Problem Does This Paper Address?

Standard language models treat text as flat sequences, leaving the hierarchical structure of language (like how phrases nest within sentences) implicit. Syntactic Language Models (SLMs) try to fix this by injecting "syntactic bias," forcing the model to predict tree structures.

However, previous SLM research was limited to small scales (under 300M parameters) and often coupled the tree format with complex, specialized attention mechanisms. This paper investigates whether the benefits of SLMs hold up at the 1B-parameter scale and seeks to "disentangle" whether the gains come from the tree structure itself or the specialized attention masks used to process them.

Methods

The researchers conducted a massive empirical study across 12 different model configurations. These variants explored two main design axes:

  1. Tree Linearization: How a 2D tree is turned into a 1D sequence of tokens. They tested several formats, including standard brackets (LIN1) and formats with extra closing tokens (LIN2, LIN3).
  2. Attention Mechanisms: They compared standard Causal Attention (where every token can see all previous tokens) against Structural Attention (like the "STACK/COMPOSE" masks used in Transformer Grammars) and Hybrid Attention (mixing different mask types across heads).

To ensure fair comparisons, they introduced Pause-token baselines. Since SLMs generate extra "structural" tokens (like (VP or S)), they have a larger "token budget" for computation than standard models. The pause baselines insert dummy <PAUSE> tokens to give a non-syntactic model the same amount of extra "thinking time."

Overview of tree linearization variants and non-structural controls.

Datasets

  • BBC News: Used for initial experiments at 100M and 500M parameter scales.
  • FineWeb-Edu: A high-quality 100B-token subset of web data used for the 1B-parameter scaling experiments.
  • Evaluation Suites: The models were tested on 11 downstream tasks (the OLMES suite, including HellaSwag and MMLU) and two syntactic benchmarks: SG (Syntactic Generalization) and BLiMP (Benchmark of Linguistic Minimal Pairs).

Key Insights and Ideas

  • Causal Attention is Enough: One of the most surprising findings is that specialized structural attention masks often underperform or barely match standard causal attention. Simply linearizing the tree and letting the model learn the structure through standard attention works remarkably well.
  • The "Thinking Time" Hypothesis: The authors propose an "Adaptive Computation" hypothesis. Because trees have more structural tokens at complex phrase boundaries, they might be providing the model with more computation exactly where language is most difficult to predict.
  • The Scaling Wall: As models grow to 1B parameters, the gap between SLMs and standard models on downstream tasks narrows significantly.
  • Syntax vs. Reasoning: While SLMs lose their edge in general tasks at scale, they remain significantly better at purely syntactic tests (like identifying grammatical vs. ungrammatical sentence pairs). Explicit structure still teaches the model something about the "rules" of language that flat models struggle to capture.

Key Results

The study provides a comprehensive look at how these design choices play out across scales.

The 12 controlled configurations tested in the study.
  • At 500M (BBC News): The TGTree variant (using LIN2 linearization and causal attention) outperformed the terminal baseline on summarization (XSum) and syntactic benchmarks.
  • At 1B (FineWeb-Edu): TGTree achieved an average downstream accuracy of 55.88%, significantly beating the standard Terminal baseline (53.20%). However, the Pause-2 baseline—which just uses dummy tokens—reached 55.80%.
  • Syntactic Edge: On the BLiMP benchmark at 1B scale, the Tree model scored 81.79, compared to 79.65 for the Terminal baseline and 80.36 for the Pause-2 baseline.
Performance results for the BBC 100M and 500M experiments.

Limitations and Future Work

  • Parser Dependency: SLMs require a high-quality parser to create training data. Errors in the parser can propagate into the language model.
  • English-Centric: The study only looked at English. Syntactic structures vary wildly across languages, and the benefits of SLMs might be different for morphologically rich languages.
  • Compute Efficiency: While SLMs are compatible with efficient kernels like FlashAttention, the extra tokens increase the sequence length, leading to higher inference costs.
  • Future Direction: The authors suggest investigating where these structural tokens are placed. If the benefit is indeed "adaptive computation," we might be able to achieve SLM-level performance by strategically placing pause tokens without needing a full syntactic parser.

Summary updated

BibTeX
@misc{wang2026scaled,
  author = {Pengcheng Wang and Zhexuan Zhang and Chao Lou and Kewei Tu},
  title = {{A Scaled-Up Empirical Study of Syntactic Language Models}},
  year = {2026},
  eprint = {2610.16837},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2610.16837},
}
Figure