A Scaled-Up Empirical Study of Syntactic Language Models

Pengcheng Wang, Zhexuan Zhang, Chao Lou, Kewei Tu
10/12/2026
cs.CLcs.AI

Official code: qlwpc/TG-Interpolation (5 stars, Python, Apache-2.0, last commit 2026-10-21).

Abstract

Syntactic language models (SLMs) that generate sentences along with their syntactic tree structures have shown promise in both syntactic generalization and downstream tasks. Prior studies, however, have mostly evaluated smaller models trained on less pretraining data and tested on narrower task suites.

Show full abstract

In addition, the design space of tree linearization and attention masks remains underexplored. We conduct a large-scale empirical study of 12 controlled configurations---one terminal baseline and 11 SLM variants spanning different linearizations and masks---at scales up to 1B parameters and 100B training tokens, evaluated across 11 downstream tasks and two syntactic benchmarks. The experimental results show that SLMs with standard causal attention match or exceed structural-mask variants across downstream and syntactic benchmarks. They require no architectural modifications and remain compatible with FlashAttention. We also observe that when scaling up to the 1B-parameter scale, the top-performing SLM variant no longer shows a clear advantage over a compute-matched non-structural baseline, suggesting that SLMs may become less competitive with scale. Our code is available at https://github.com/qlwpc/TG-Interpolation.

View on arXivView PDF

Code Implementations(1)

Apache-2.0
50Python, ShellJul 17, 20251 months agoApache-2.0

Similar Papers

Cite this paper

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

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2610.16837.svg)](https://codeofpaper.com/paper/2610.16837)

Discussion