Abstract
Morphological inflection generation—the process of transforming a root lemma into a specific inflected form based on grammatical features—is a critical challenge in natural language processing for morphologically rich languages. Traditional approaches often rely on complex, hand-coded rules or explicit character alignment. This paper presents a character-level sequence-to-sequence model using Long Short-Term Memory (LSTM) units that treats inflection as a translation task. The proposed architecture achieves state-of-the-art performance across six languages, demonstrating a robust ability to handle complex linguistic phenomena like internal stem changes and long-range dependencies without manual feature engineering.
Introduction
In many languages, a single dictionary form (lemma) can manifest in numerous shapes depending on tense, number, gender, or case. For instance, the German noun Kalb (calf) inflects to Kälber in the plural nominative. This morphological variety often leads to data sparsity in NLP systems that treat every unique spelling as a distinct entity.
Historically, solving this required Finite State Transducers (FSTs) built by expert linguists or automated systems that extracted string-transformation rules. However, these methods often struggled with "ablaut" (internal vowel shifts) or long-distance dependencies like vowel harmony. This paper addresses these issues by framing inflection as a character-level translation problem, bypassing the need for explicit alignment or hand-crafted linguistic rules.
Methodology
The core of the proposed approach is a Character Sequence-to-Sequence model based on LSTMs. Unlike standard translation models, this architecture incorporates several key innovations tailored for morphological tasks.
Model Innovations
- Modified Decoder: To ensure the model retains a strong "memory" of the root word's spelling, the original input characters are fed directly into the decoder at every time step, supplementing the encoder's hidden state.
- Inflection-Specific Transformation: The model specifies the target inflection (e.g., "plural nominative") by applying a learned affine transformation to the encoded representation before it reaches the decoder.
- Training Strategies: The authors explored both "Factored" training (separate models for each inflection type) and "Joint" training (shared encoder across all types). Joint training proved particularly effective for low-resource scenarios.
- Semi-Supervised Reranking: A character-level language model trained on large unlabeled corpora was used to rerank the generator's outputs, further boosting accuracy.
Experimental Setup
The model was evaluated on seven datasets covering six morphologically complex languages: German (nouns and verbs), Spanish (verbs), Finnish (nouns/adjectives and verbs), Dutch (verbs), and French (verbs). These languages were selected for their diverse morphological features, including prefixes, suffixes, and internal stem changes.
Results and Discussion
The sequence-to-sequence approach achieved an average accuracy of 96.2% across all datasets, matching or exceeding the performance of previous state-of-the-art systems.
Key Insights
- Handling Long-Range Dependencies: The model successfully captured Finnish vowel harmony—where suffix vowels must match root vowels—demonstrating the LSTM's ability to manage long-distance linguistic constraints better than n-gram-based models.
- Performance on Long Words: As shown in the results, the model significantly outperformed previous methods (such as DDN13) on words exceeding 15 characters. This suggests that the gated memory of LSTMs is highly effective for complex, multi-morphemic words.
- End-to-End Learning: By learning to "spell" the inflected form character-by-character, the model discovers linguistic patterns like suffixes and prefixes directly from data, eliminating the need for pre-processing steps like character alignment.
Conclusion
This work demonstrates that character-level sequence-to-sequence models are highly effective for morphological inflection generation. By treating the problem as a translation task, the model achieves high accuracy and handles complex linguistic phenomena end-to-end. Future work may involve incorporating attention mechanisms to further enhance the model's ability to focus on specific parts of the root lemma during generation.
Summary updated