Weird Inflects but OK: Making Sense of Morphological Generation Errors

Kyle Gorman, Arya D. McCarthy, Ryan Cotterell, Ekaterina Vylomova, Miikka Silfverberg, Magdalena MarkowskaCoNLL 2019

TL;DR

This paper introduces a novel error taxonomy to analyze morphological generation errors in natural language processing systems. By applying this taxonomy to top-performing systems on the CoNLL-SIGMORPHON 2017 Shared Task, the authors reveal that many "errors" are actually due to issues in the gold data itself, and that systems struggle with inherently unpredictable linguistic phenomena.

What Problem Does This Paper Address?

Natural language processing (NLP) systems are increasingly tasked with generating complex linguistic forms, particularly in morphologically rich languages where words change form based on grammatical function (e.g., tense, case, number). The CoNLL-SIGMORPHON 2017 Shared Task focused on "morphological reinflection," where systems are given a word's base form (lemma) and grammatical features, and must produce the correct inflected form. While top systems achieve high accuracy, understanding why they fail is crucial for improvement. This paper addresses the gap in understanding the nature and causes of these generation errors, moving beyond simple accuracy metrics to a deeper linguistic analysis.

Methods

The core contribution of this paper is a novel error taxonomy designed to categorize morphological generation errors. This taxonomy is inspired by similar work in grammatical error correction and machine translation. It categorizes errors into four main types, applied sequentially:

  1. Target Errors: Cases where the provided "gold standard" data is incorrect or incomplete.
  2. Silly Errors: "Bizarre" errors that defy simple linguistic explanation.
  3. Allomorphy Errors: Misapplication of existing, attested patterns of word variation.
  4. Spelling Errors: Inflected forms that violate orthographic conventions but are otherwise linguistically correct.

The authors then performed a manual error analysis on the outputs of the two top-performing systems from the CoNLL-SIGMORPHON 2017 Shared Task across twelve languages, using this taxonomy.

Datasets

The primary dataset used for training and evaluation is derived from UniMorph, a free morphological database. UniMorph data is automatically extracted from Wiktionary and consists of triples of lemma, inflectional bundle (grammatical features), and inflected form. For the CoNLL-SIGMORPHON 2017 Shared Task, this data was sampled from Wikipedia to mimic the frequency of inflected forms encountered by language learners. The study specifically focuses on the "high-data condition" of the shared task, which used 10,000 triples per language.

Key Insights and Ideas

  • Gold Data is Imperfect: A significant portion of the errors identified were not actual system failures, but rather inaccuracies or incompleteness in the gold standard data itself. This highlights the challenge of creating high-quality linguistic datasets.
  • "Silly" Errors are Rare: Contrary to some prior assumptions, truly "bizarre" or inexplicable errors were less common than errors related to linguistic patterns.
  • Allomorphy is a Major Hurdle: The most prevalent error category was "allomorphy errors," indicating that systems struggle with the predictable, yet often complex, variations in word forms (e.g., different suffixes for the same grammatical function).
  • Unpredictability is Key: Many errors stem from phenomena that are inherently unpredictable or require memorization rather than rule-based generalization, such as Germanic ablaut, Finnish consonant gradation, and animacy-based case marking in Slavic languages.
  • Linguistic Nuance Matters: The analysis reveals that systems often fail on subtle but crucial linguistic distinctions, like stem-final vowel alternations, linking vowels in Hungarian, and the behavior of "fleeting vowels" (yers) in Polish.

Key Results

  • The manual error analysis covered twelve languages and the top two systems from the CoNLL-SIGMORPHON 2017 Shared Task.
  • Target errors (errors in the gold data) accounted for a substantial portion of the overall errors, particularly impacting languages like Hungarian, Latin, and Romanian. The paper estimates a lower bound for target errors.
  • Allomorphy errors were the largest category of system-induced errors, significantly outnumbering "silly" errors.
  • Spelling errors were relatively rare.
  • The study found that systems struggle with phenomena that are difficult to predict from the lemma alone, suggesting that memorization plays a crucial role in human language acquisition and is a challenge for current NLP models.

Limitations and Future Work

  • Limited Language Scope: The analysis was restricted to twelve languages, primarily from Indo-European and Uralic families, due to the availability of data and linguistic expertise. This limits the generalizability of findings to other language families.
  • Manual Annotation: The error classification relied on manual annotation by computational linguists, which is time-consuming and can be subjective.
  • Future Work: The authors suggest automating error classification for faster development cycles. They also propose enriching input representations with more linguistic information (e.g., compound structure, inherent grammatical features) to improve system performance. Leveraging finite-state morphological analyzers and lexicons for high-resource languages is another avenue for future research. The paper also notes that some morphological patterns are inherently unpredictable and may require memorization, posing a fundamental challenge for purely generative models.

Summary updated

BibTeX
@inproceedings{gorman2019weird,
  author = {Kyle Gorman and Arya D. McCarthy and Ryan Cotterell and Ekaterina Vylomova and Miikka Silfverberg and Magdalena Markowska},
  title = {{Weird Inflects but OK: Making Sense of Morphological Generation Errors}},
  booktitle = {CoNLL},
  year = {2019},
  url = {https://openreview.net/forum?id=N8zeBm-6Qhn},
}
Figure