Introduction
While mainstream Large Language Models (LLMs) typically process text as flat sequences of tokens, human language is fundamentally hierarchical. Structural dependencies, such as nested clauses and long-distance subject-verb agreement, suggest that models might benefit from an explicit structural bias. Structure-inducing Language Models (SiLMs) attempt to address this by inducing tree or graph structures as a byproduct of language modeling. This paper provides a comprehensive "health check" of these architectures, evaluating their robustness, consistency, and ability to generalize across natural and synthetic languages.
Architectures and Methodologies
The study evaluates three primary SiLM "philosophies," each representing a different approach to unsupervised structure induction:
- Structformer (SF): Integrates a Transformer encoder with a CNN-based parser. It constrains self-attention using projective dependency graphs.
- UDGN (Unsupervised Dependency Graph Network): Utilizes a bi-LSTM parser to induce non-projective dependency graphs, which guide a gated multi-head attention mechanism.
- GPST (Generative Pretrained Structured Transformer): Employs an "inside-outside" autoencoder to induce binary constituency trees, which then inform a generative transformer predicting shift-reduce operations.
These models were compared against standard "flat" baselines, such as RoBERTa and GPT-2, to determine if structural inductive biases offer a tangible advantage in syntactic learning.
Experimental Framework
The evaluation spans both natural and formal languages to isolate structural learning capabilities:
- Natural Languages: Subsets of English (EN), German (DE), and Chinese (ZH) (approx. 100M tokens).
- Formal Languages: The mathematically pure Dyck-$k$ (nested brackets) and a new benchmark, Dyck-u.
- Dyck-u Benchmark: Introduced to mimic natural language features like underspecified agreement, Dyck-u requires models to track hierarchical states more explicitly.
To assess grammatical sensitivity, the researchers used Minimal Pair benchmarks (e.g., BLiMP for English), requiring models to distinguish between grammatically correct and incorrect sentence pairs.
Key Findings: The Consistency Crisis
A primary discovery of this research is the inherent instability of unsupervised structure induction. SiLMs exhibit a "consistency crisis": training the same architecture on the same data with different random seeds often results in significantly different induced syntactic structures.
Structural Robustness and Generalization
- GPST as the Structural Leader: GPST emerged as the most consistent model, particularly effective at capturing long-distance dependencies in the Dyck-u tasks. Its "inside-outside" autoencoder approach appears to provide a more robust structural bias than the attention-masking techniques used in Structformer or UDGN.
- The Synthetic Stress Test: While performance on natural language benchmarks often appeared similar across models, the Dyck-u data revealed critical failures. Structformer and UDGN frequently failed to generalize to longer sequences than those seen during training, often falling back on "trivial" structures (e.g., pointing only to adjacent words).
- Grammaticality vs. Structure: On the English BLiMP benchmark, standard "flat" Masked Language Models (MLMs) actually outperformed SiLMs in 7 out of 12 categories. However, GPST maintained an edge in specific structural tasks like subject-verb agreement.
Conclusion and Future Directions
The research highlights that robustness and scalability remain the primary hurdles for SiLMs. For induced structures to be useful for downstream tasks or linguistic inquiry, they must be stable across training iterations. Furthermore, the computational complexity of the most successful models (like GPST) limits their application to larger datasets. Future work must focus on refining these structural biases to be both more efficient and more stable, acknowledging that the inherent ambiguity of natural language may make a single "correct" unsupervised structure an elusive goal.
Summary updated