Abstract
This paper describes the submissions of the Department of Computational Linguistics, University of Zurich (CLUZH), to the SIGMORPHON 2022 Shared Tasks on Morpheme Segmentation and Inflection Generation. Our submissions utilize a character-level neural transducer operating over traditional edit actions. While historically effective in low-resource settings, these models have been difficult to scale due to the challenges of mini-batching transition-based systems. We present a PyTorch implementation featuring true mini-batch training, enabling significant GPU acceleration. Our approach achieved competitive results, including first-place rankings in sentence-level morpheme segmentation and inflection generation for large training sets and low-resource acquisition trajectories.
Introduction
The SIGMORPHON 2022 shared tasks focus on two core linguistic challenges: Morpheme Segmentation (decomposing words into meaningful units) and Morphological Inflection (generating specific grammatical forms from a base lemma). Transition-based neural transducers have long been the state-of-the-art for low-resource morphological tasks because they mimic human editing (insert, delete, copy). However, their sequential nature makes them notoriously difficult to parallelize on GPUs, as each input requires a unique sequence of edit actions. This study addresses this bottleneck, scaling the transducer to high-resource datasets common in modern NLP.
Technical Implementation: Scaling the Neural Transducer
To overcome the scaling limitations of previous implementations, we introduced two primary technical upgrades:
- True Mini-Batch Training: By porting the model to PyTorch and utilizing an oracle aligner to precompute "gold action sequences," we enabled the model to process data in large batches. This allows the system to fully leverage GPU parallelization.
- Contextual Features: For sentence-level segmentation, we reduced the problem to a word-level task supplemented by Part-of-Speech (POS) tags. This "sidecar" information helps resolve ambiguities where a word's segmentation depends on its grammatical role.
As shown in the performance analysis, the move to true mini-batching was transformative. At a batch size of 512, training on a GPU was over 250 times faster than the baseline, reducing epoch times from over 30 seconds to just 0.12 seconds.
Experimental Results
The CLUZH system was evaluated across multiple languages and dataset sizes. In the Morpheme Segmentation task, our system shared first place in the sentence-level challenge (Part 2). In Inflection Generation, we achieved the overall best results for large training sets in Part 1 and dominated the low-resource learning trajectories in Part 2.
Our results demonstrate that ensembling—combining the outputs of 5 to 10 models via majority voting—consistently improves accuracy across all languages and dataset sizes, typically providing a boost of 0.5% to 1.4%.
Discussion and Analysis
While the model performed exceptionally well, we identified specific areas for improvement. The system excels when the base lemma has been seen during training but struggles with "unseen lemmas," suggesting the model may over-rely on grammatical features rather than learning generalized structural patterns.
Furthermore, while POS tags improved accuracy for morphologically complex languages like Mongolian (where ~22% of words are ambiguous), they had negligible impact on languages with low segmentation ambiguity like English. We also observed that 2-layer stacked LSTM encoders consistently outperformed Transformer-based architectures for these specific character-level tasks, a finding we intend to investigate further in future work.
Conclusion
By modernizing the neural transducer with PyTorch and efficient mini-batching, the CLUZH team successfully bridged the gap between low-resource specialization and high-resource scalability. Our results at SIGMORPHON 2022 confirm that transition-based models, when properly optimized for modern hardware, remain highly competitive across a wide range of morphological tasks and data scales.
Summary updated