Can Language Models Induce Grammatical Knowledge from Indirect Evidence?

Miyu Oba, Yohei Oseki, Akiyo Fukatsu, Akari Haga, Hiroki Ouchi, Taro Watanabe, Saku Sugawara

Abstract

Human language acquisition is characterized by high data efficiency, often attributed to the ability to leverage indirect evidence—inferring grammatical properties from sentences that do not explicitly demonstrate a specific target structure. This study investigates whether modern language models (LMs) possess a similar capacity. Using the Wug InDirect Evidence Test (WIDET), we evaluate a model's ability to induce grammatical rules for novel words from direct, lexically indirect, and syntactically indirect evidence. Our results indicate that while LMs excel at learning from direct evidence, they struggle significantly with indirect evidence, particularly when syntactic structures vary. This suggests a fundamental divergence between LM learning mechanisms and human linguistic induction.

Introduction

A central puzzle in linguistics is how children acquire complex grammatical knowledge from relatively sparse input. Unlike Large Language Models (LLMs) that require trillions of tokens, humans learn from a fraction of that data. A key hypothesis is that humans utilize indirect evidence: the ability to generalize a word's properties (e.g., gender or transitivity) across different syntactic environments. For instance, hearing a novel noun in a reflexive construction ("The wug is helping himself") allows a human to correctly use it in a simple transitive sentence ("The wug loves himself"). This paper explores whether LMs can perform such cross-structural induction or if they are bound by surface-level pattern matching.

Methodology: The WIDET Benchmark

To rigorously test this, we introduced the Wug InDirect Evidence Test (WIDET). The benchmark utilizes "wug words" (e.g., <wug#124>)—nonsense tokens with no prior semantic or grammatical associations—to isolate the model's inductive capabilities.

We trained BabyBERTa, a small-scale transformer model, on varying amounts of "wug" sentences (1 to 100 instances) and evaluated its performance on seven linguistic phenomena adapted from the BLiMP suite. The training data provided three distinct levels of evidence: Direct Evidence (DE), Lexically Indirect Evidence (LexIE), and Syntactically Indirect Evidence (SynIE).

Experimental setup illustrating the transition from direct to indirect evidence in the WIDET benchmark.

Results

The experimental results reveal a sharp decline in model performance as the evidence becomes more indirect.

Learning from Direct vs. Indirect Evidence

As shown in the performance plots across various linguistic tasks, LMs are highly efficient at learning from direct evidence (DE). Accuracy typically scales with the number of observations, reaching near-perfect scores for many tasks with 100 examples. However, this efficiency is not maintained for indirect evidence.

Performance scores across seven linguistic phenomena as a function of the number of observations for Direct (DE), Lexically Indirect (LexIE), and Syntactically Indirect (SynIE) evidence.

The Failure of Syntactic Induction

The most significant finding is the near-total failure of the model to generalize from Syntactically Indirect Evidence (SynIE). In tasks like "Anaphor gender agreement" and "Subject-verb agreement (N)", the SynIE condition often results in performance near chance levels, regardless of the amount of data provided. Most strikingly, in the "Transitive" task, performance actually decreased as more SynIE was added, suggesting the model induces incorrect "shortcuts" or linear heuristics rather than the intended grammatical rule.

Discussion and Conclusion

The results suggest that LMs primarily rely on linear heuristics—predicting tokens based on local context and surface patterns—rather than inducing the hierarchical, rule-based structures characteristic of human grammar. While LMs can generalize across lexical variations (LexIE) to some extent, the "syntactic blindness" observed in the SynIE condition highlights a major gap in their inductive reasoning.

Simply scaling data volume may not bridge this gap. Instead, future research should focus on architectural innovations that introduce latent inductive biases, encouraging models to represent language as a system of underlying rules rather than just a sequence of tokens.

Summary updated

BibTeX
@inproceedings{oba2024can,
  author = {Miyu Oba and Yohei Oseki and Akiyo Fukatsu and Akari Haga and Hiroki Ouchi and Taro Watanabe and Saku Sugawara},
  title = {{Can Language Models Induce Grammatical Knowledge from Indirect Evidence?}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2024},
  doi = {10.18653/v1/2024.emnlp-main.1146},
}
Figure