Manuscript Offprint

arXiv:2608.27760

Informational Antilocality and the Locality Bias in LLMs

Andrew McInnerney, Shane Storks, Steven Abney, Richard L. Lewis

Abstract

We consider the ability of transformer-based language models (LLMs) to learn what we call k-antilocal languages, i.e., languages that have no mutual information across any span of k contiguous symbols. We construct such languages with increasing k, finding that LLMs trained on them achieve comparable cross-entropy loss regardless of antilocality, but converge more slowly on more antilocal languages. Our findings support the idea that non-local dependencies are more difficult to learn, but the evidence for this bias comes from learning speed rather than learning success.

1 Introduction

In recent years, Large Language Models (LLMs) have attracted significant scientific interest due to their ability to use natural language in remarkably humanlike ways. Prominent in the cognitive science of LLMs is the question to what extent the mechanisms underlying this linguistic behavior are similar (at the appropriate level of analysis) to those of humans. The literature attests a range of positions in this area, with some authors claiming that linguistic cognition in humans and LLMs are completely disanalogous (e.g., Chomsky et al., 2023), while others contend that LLMs represent a major step forward in modeling linguistic cognition (e.g., Sartori and Orrù, 2023; Piantadosi, 2024).

An important argument in this discussion concerns humans’ and LLMs’ limitations with respect to the classes of language they can learn. In theoretical linguistics (particularly in the generative tradition following Chomsky 1965), it has long been assumed that human language acquisition is constrained by a set of innate learning biases (“Universal Grammar”) such that languages with certain unnatural properties are harder or impossible for humans to learn via developmentally typical mechanisms (e.g., Lenneberg, 1967; Chomsky, 2000;

Figure

Figure 1: Difference in GPT-2 validation cross-entropy loss while training on antilocal vs. control (i.e., simple trigram) languages (antilocal – control). Languages with higher values of k are more antilocal (see Section 3), hence exhibit less information locality than the corresponding control languages. GPT-2 eventually achieves optimal performance on all languages.

Moro, 2016; Friederici et al., 2017). Much skepticism towards LLMs as models of human linguistic cognition centers around the supposition that LLMs are subject to radically different linguistic biases than humans; it is argued that such differences undermine claims of deep mechanistic analogies between these two linguistic systems (Chomsky et al., 2023; Moro et al., 2023; Bowers, 2026).

Studies have found that LLMs can learn “impossible languages” of different kinds as easily as they learn natural languages (Yang et al., 2025; Ziv et al., 2026; Bowers and Mitchell, 2026), where the metric for learning success is typically based on cross-entropy loss or KL divergence. However, one constraint that LLMs and humans have been argued to share is information locality: languages with less local statistical structure are harder to learn (Kallini et al., 2024; Someya et al., 2025).

This bias has a natural source in humans (i.e., human memory degrades over time; see, e.g., Futrell

∗^{*} Authors contributed equally to this work.

2017, p52), but we find it surprising in LLMs. Unlike humans, transformers enjoy simultaneous access to all tokens in their input. Furthermore, attention is entirely parallel; linear distance between tokens (i.e., relative locality) must be learned from artificially injected positional encodings. The source of the locality bias in LLMs is therefore not obvious. The possibility remains that the findings of Kallini et al. and Someya et al. can be explained by inductive biases in LLMs that correlate with information locality but are ultimately dissociable from it (compare Someya et al., 2025, p28003).

In this paper, we define a discrete measure of information (anti-)locality, construct a set of simple languages with variable levels of antilocality, and train LLMs on them. We find that our notion of antilocality does not limit achieved cross-entropy loss for the simple languages we consider, though it does have a marked effect on speed of convergence. We conclude by speculating that LLMs' locality bias may depend specifically on autoregression, because it appears to disappear in a masked LLM.

References (6)