arXiv:2610.02040cs.CLOct 2026

Manuscript Offprint

arXiv:2610.02040

Typological Alignment of Stack-Based Language Models on Mildly Context-Sensitive Artificial Languages

Nadine El-Naggar, Tatsuki Kuribayashi, Ted Briscoe

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Some properties of languages, e.g., subject-object-verb (SOV) word order, are more prevalent than others among the thousands of attested natural languages (NLs). Such typological commonality is often attributed to learning biases. Computational simulations, recently with language models (LMs), have facilitated the exploration of this theory. In this paper, we extend existing analyses of the relationship between LMs' learning biases and typological commonality on both data and model sides, focusing on: (i) cross-serial dependencies, the upper limit of attested syntactic complexity, and (ii) stack-based LMs (SLMs), potentially facilitating learning of hierarchical patterns. We first evaluate generalization of SLMs on cross-serial dependencies across diverse artificial languages and confirm that they struggle with such constructions. However, SLMs with limited working memory generalize better suggesting a possible basis for such inductive bias and thus the typological commonality of some word order configurations.

1 Introduction

Attested natural languages (NLs) exhibit both typological commonalities and considerable diversity. NLs are widely believed to be mildly context-sensitive (Shieber, 1985; Li et al., 2024), yet they vary along numerous dimensions, including word order. Such features are not randomly distributed; for example, Subject-Object-Verb (SOV) base word order is substantially more common than Object-Subject-Verb (OSV) order, reflecting skewed typological tendencies.

Linguists have argued that such skewed typological distributions could be attributed to learning bias (Kirby et al., 2008; Culbertson, 2012): grammars that are easier to learn are more likely to survive successive (re-)learning. Although learning bias here refers to human learners, language models (LMs) have been used to evaluate and refine this theory. Recent work, for example, has used LMs, as a tool, to isolate the contribution of domain-general learning biases in simulations of typological patterns (Xu et al., 2025). More broadly, LMs and computational simulations enable controlled manipulations of language learning conditions that would be ethically or practically infeasible in human experiments (Warstadt and Bowman, 2022), thereby providing a proof-of-concept for linguistic hypotheses that have not been quantitatively tested (Kallini et al., 2024; Kuribayashi et al., 2024; El-Naggar et al., 2025b; Yang et al., 2025; Hunter, 2025).

Most LM-driven research on typological word-order distributions, like El-Naggar et al. (2025b) and Kuribayashi et al. (2024), has used artificial languages (ALs). Such ALs are simplified (Someya et al., 2024) and lack the full attested complexity of NLs (El-Naggar et al., 2025a; Xu et al., 2025), such as cross-serial dependency (CSD) constructions. CSDs are mildly context-sensitive constructions attested in some NLs (Shieber, 1985; Maclachlan and Rambow, 2002) and generally taken to reflect the upper bound of syntactic complexity. CSDs are exemplified with ‘Swiss-German’ sentences, such as We Hans the house helped paint, where the dependencies cross (as indicated by coloring).

Certain stack-based language models (SLMs) are theoretically capable of learning some mildly context-sensitive languages and all context-free grammars (DuSell and Chiang, 2023), roughly matching the structural complexity observed in NLs. SLMs have also been shown to exhibit greater data efficiency (DuSell and Chiang, 2024) and hierarchical generalization (DuSell and Cotterell, 2025). But this research does not address whether SLMs can empirically generalize to CSDs in more realistic ALs rather than on a binary mirror language {ww′∣w∈{0,1}∗}\{ww' \mid w \in \{0,1\}^*\} (DuSell and Chiang, 2023), and, if so, what detailed inductive biases they exhibit.

In this study, we extend existing LM-driven research on typological word-order distributions (Kuribayashi et al., 2024; El-Naggar et al., 2025b) to address three main research questions: first, how do different LM architectures and stack representations affect LM generalization to increasingly complex cross-serial dependencies (CSD) constructions? Second, how does the interaction between the underlying LM architecture and stack representation affect generalization? Finally, how do the learning biases of these models over word-order configurations align with the typological distributions observed for natural languages?