A Comprehensive Comparison of Neural Networks as Cognitive Models of Inflection

Adam Wiemerslage, Shiran Dudy, Katharina Kann · OpenReview

Abstract

Neural networks have long been at the center of a debate around the cognitive mechanism by which humans process inflectional morphology. This debate has gravitated into NLP by way of the question: Are neural networks a feasible account for human behavior in morphological inflection? We address that question by measuring the correlation between human judgments and neural network probabilities for unknown word inflections. We test a larger range of architectures than previously studied on two important tasks for the cognitive processing debate: English past tense, and German number inflection. We find evidence that the Transformer may be a better account of human behavior than LSTMs on these datasets, and that LSTM features known to increase inflection accuracy do not always result in more human-like behavior.

Introduction

The "Past Tense Debate" has historically divided linguists into two camps: those who favor a dual-route system (rules for regulars, a lexicon for exceptions) and those who argue for a single-route system (a unified neural mechanism). As neural networks become the standard in NLP, the question shifts: do these models generalize in the same way humans do?

While a model might achieve near-perfect accuracy on standard benchmarks, it may rely on statistical shortcuts that diverge from human linguistic intuition. To investigate this, we use "wug tests"—evaluating models on nonce words (e.g., fleep → fleept) to see if their generalization patterns mirror human behavior.

Methodology

We compared several architectures to assess their cognitive plausibility:

  • LSTMs: Four variants were tested, exploring the impact of directionality (unidirectional vs. bidirectional) and attention mechanisms.
  • Transformers: A character-level sequence-to-sequence Transformer.
  • Minimal Generalization Learner (MGL): A rule-based baseline representing traditional linguistic modeling.

Models were evaluated by calculating a Model Rating—a length-normalized probability score for various inflections. We then measured the Spearman’s ρ correlation between these model ratings and human acceptability ratings from established psychological studies.

Results: English Past Tense

In English, the primary challenge is deciding between the dominant "add -ed" rule and various irregular patterns. Our results indicate that the Transformer is significantly more human-like than recurrent models.

Table 1: Performance and human correlation (Spearman's ρ) for English past-tense inflection.

Crucially, we observed that accuracy does not equate to cognitive plausibility. As shown in Table 1, while the BiLSTM with attention achieves high test accuracy (97.48% on regulars), its correlation with human ratings for regular verbs is remarkably low (ρ = 0.16). In contrast, the Transformer achieves a correlation of ρ = 0.58 for both regular and irregular forms, surpassing even the rule-based MGL baseline.

Results: German Noun Plurals

German presents a more complex "stress test" because it lacks a single dominant regular rule, instead featuring multiple productive minority classes.

Table 2: Correlation with human ratings across German noun plural classes.

The Transformer again demonstrated superior performance, showing strong positive correlations across almost all inflection classes, such as the /-s/ plural (ρ = 0.71). LSTMs often exhibited "overconfidence," assigning excessive probability to the most frequent rules, whereas the Transformer better captured the distribution of uncertainty seen in human judgments.

Discussion and Conclusion

Our findings suggest that the Transformer’s self-attention mechanism may capture linguistic patterns in a way that is more aligned with human cognition than the recurrent bottleneck of LSTMs. Furthermore, the decoupling of raw accuracy and human-like behavior highlights a potential pitfall in NLP: optimizing for performance alone may lead to models that generalize using non-human logic.

Future work should expand this analysis to morphologically richer languages and investigate the role of phonological features and multi-syllabic word structures in shaping these models' inductive biases.

Summary updated

BibTeX
@misc{wiemerslage2022comprehensive,
  author = {Adam Wiemerslage and Shiran Dudy and Katharina Kann},
  title = {{A Comprehensive Comparison of Neural Networks as Cognitive Models of Inflection}},
  year = {2022},
  eprint = {2210.12321},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2210.12321},
}
Figure