NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Linguistically inspired morphological inflection with a sequence to sequence model

Eleni Metheniti, Guenter Neumann, Josef van GenabitharXiv 2020

Abstract

Inflection is an essential part of every human language's morphology, yet little effort has been made to unify linguistic theory and computational methods in recent years. Methods of string manipulation are used to infer inflectional changes; our research question is whether a neural network would be capable of learning inflectional morphemes for inflection production in a similar way to a human in early stages of language acquisition. We are using an inflectional corpus (Metheniti and Neumann, 2020) and a single layer seq2seq model to test this hypothesis, in which the inflectional affixes are learned and predicted as a block and the word stem is modelled as a character sequence to account for infixation. Our character-morpheme-based model creates inflection by predicting the stem character-to-character and the inflectional affixes as character blocks. We conducted three experiments on creating an inflected form of a word given the lemma and a set of input and target features, comparing our architecture to a mainstream character-based model with the same hyperparameters, training and test sets. Overall for 17 languages, we noticed small improvements on inflecting known lemmas (+0.68%) but steadily better performance of our model in predicting inflected forms of unknown words (+3.7%) and small improvements on predicting in a low-resource scenario (+1.09%).

Introduction

Morphological inflection is the process of modifying a word's form to express grammatical categories such as tense, case, or number (e.g., transforming "walk" to "walked"). While modern neural networks excel at this task, they typically treat words as simple strings of characters, ignoring the underlying linguistic structure of morphemes—the smallest units of meaning. This paper investigates a hybrid approach that emulates human language acquisition, specifically the "morpheme awareness" seen in children (e.g., the "Wug Test"), to improve model generalization.

Methodology

The researchers proposed a "character-morpheme-based" sequence-to-sequence (seq2seq) architecture. The model utilizes a single-layer encoder-decoder with Gated Recurrent Units (GRUs) and dot-product attention.

The proposed hybrid seq2seq architecture showing the character-based stem and block-based affixes.

The novelty lies in the data representation:

  • The Stem: Represented as a sequence of individual characters to handle internal changes like infixation (e.g., "sing" to "sang").
  • The Affixes: Represented as atomic "blocks" or tokens (e.g., the suffix -nen is treated as one unit).
  • Alignment: A "zero morpheme" (∅) acts as a placeholder for empty prefix or suffix positions, helping the model learn the structural position of affixes.

Datasets

The study utilized a multilingual dataset covering 17 languages, including both agglutinative (e.g., Finnish, Hungarian) and fusional (e.g., Latin, German) types. Data was sourced from Wikinflection and cross-referenced with UniMorph 3.0 to ensure high-quality feature tags and gold-standard morpheme boundaries.

Key Insights and Results

By treating complex affixes as single blocks, the decoder's search space is reduced, leading to cleaner attention alignments. The model's primary advantage was observed in the "Wug Test" scenario—inflecting unseen lemmas. Because the model learns a direct mapping between grammatical features and specific morpheme blocks, it generalizes better than character-based models that may struggle with suffix spelling.

Attention heatmaps for Estonian (est) showing alignments between input features and output character/morpheme sequences.

Experimental results across three scenarios confirmed the model's efficacy:

  1. Seen Lemmas: A marginal improvement of +0.68% (96%+ baseline accuracy).
  2. Unseen Lemmas: A significant average accuracy increase of +3.7%, outperforming the baseline in 15 of 17 languages.
  3. Low Resource: When trained on only 3,000 words, the morpheme-based model maintained a +1.09% lead.

Conclusion

Explicitly providing a model with morpheme boundaries significantly improves its ability to generalize to new vocabulary. While the model mastered affixes, most remaining errors occurred within the stem (allomorphy), suggesting that future research should focus on neural architectures that can better handle internal root changes and operate without gold-standard segmentation data.

Summary updated

BibTeX
@misc{metheniti2020linguistically,
  author = {Eleni Metheniti and Guenter Neumann and Josef van Genabith},
  title = {{Linguistically inspired morphological inflection with a sequence to sequence model}},
  year = {2020},
  eprint = {2009.02073},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2009.02073},
}
Figure