Abstract
This paper describes two systems for the second subtask of CoNLL-SIGMORPHON 2018 shared task on universal morphological reinflection submitted by the University of Colorado Boulder team. Both systems are implementations of RNN encoder-decoder models with soft attention. The first system is similar to the baseline system with minor differences in architecture and parameters, and is implemented using PyTorch. It works for both track 1 and track 2 of the subtask and generally outperforms the baseline at low data settings in both tracks. The second system predicts the morphosyntactic description (MSD) of the lemma to be inflected using an MSD prediction model. The data for subtask 2 is processed and reformatted to subtask 1 data format to train an inflection model. Then the inflection model predicts the inflected form for the target lemma given the predicted MSD. This system achieves higher accuracies than the first system when the training data is the most limited, though it does not perform better when the training data is abundant.
Introduction
Morphological reinflection is the linguistic process of transforming a base word (lemma) into a specific form based on grammatical requirements. While isolated reinflection—given a lemma and a target tag—is a well-studied task, reinflection in context presents a significantly higher challenge. In this setting, the model must infer the correct grammatical features (tense, number, gender, etc.) from the surrounding sentence structure to produce the correct word form.
The CoNLL-SIGMORPHON 2018 Shared Task (Subtask 2) focused on this contextual inflection across seven languages: German (DE), English (EN), Spanish (ES), Finnish (FI), French (FR), Russian (RU), and Swedish (SV). The CU Boulder team explored two distinct neural architectures to address this problem, particularly focusing on performance under varying data availability.
Methodology
The researchers developed two primary systems based on Recurrent Neural Network (RNN) encoder-decoder architectures with soft attention.
System 1: The Direct Contextual Model
System 1 treats context as an integrated input feature. It utilizes character embeddings for the target lemma and concatenates them with "context embeddings" derived from the surrounding words and their grammatical tags. A Gated Recurrent Unit (GRU) encodes this combined representation, which is then decoded into the target inflected string. This approach allows the model to learn a direct mapping from context and lemma to the final form.
System 2: The Pipeline Approach
System 2 adopts a two-stage pipeline. First, it explicitly predicts the Morphosyntactic Description (MSD) of the target lemma using three separate LSTMs that process the left context, right context, and the lemma's characters. Second, this predicted MSD is used as a label for a standard inflection model (trained on reformatted Subtask 1 data) to generate the final word form. This "bottleneck" approach forces the model to resolve grammatical ambiguity before attempting character-level generation.
Results and Analysis
The systems were evaluated across three data regimes: Low (<100 sentences), Medium (<900 sentences), and High (<8,000 sentences).
As shown in the results table, several key trends emerged:
- Data Scarcity and the MSD Advantage: In the "Low" data setting, System 2 (SYS 2) consistently outperformed System 1 (SYS 1). For example, the average accuracy for System 2 was 29.86% compared to 23.16% for System 1. This suggests that explicitly predicting grammatical tags is a more robust strategy when examples are too few to learn direct context-to-character mappings.
- The "Copy" Baseline: In extremely low-data environments, simply copying the lemma (the "Copy" baseline) often outperformed neural models, particularly in languages with high morphological complexity like German.
- Scaling with Data: As training data increased to the "High" setting, System 1's direct approach became more effective, reaching an average accuracy of 59.73%.
Discussion and Conclusion
The CU Boulder team's participation in the CoNLL-SIGMORPHON 2018 shared task highlights the importance of architectural choice relative to data availability. While direct contextual models (System 1) scale better with large datasets, pipeline models that explicitly predict grammatical features (System 2) provide a significant advantage in low-resource scenarios.
Future work should address the high ambiguity found in languages like German and Finnish, where a single form can correspond to dozens of grammatical readings. Improving the integration of linguistic priors could help neural models overcome the "cold start" problem observed in the lowest data settings.
Summary updated