Abstract
The KUIS AI team secured first place in the 2022 Shared Task on Multilingual Clause-level Morphology by combining two distinct strategies: training character-based Transformers from scratch with "hallucinated" data augmentation for generation tasks, and using prefix-tuning on a pre-trained mGPT model for morphological analysis. Their results demonstrate that while large language models are powerful for analysis, specialized data-augmented architectures still lead the way in complex morphological generation.
Introduction: The Challenge of Clause-Level Morphology
Most research in computational morphology focuses on the word level (e.g., changing "walk" to "walked"). However, morphological processes often extend to the clause level, where phonetic, syntactic, and semantic relations interact across multiple words in a phrase.
The authors tackle the "1st Shared Task on Multilingual Clause-level Morphology" (MRL 2022), which requires systems to handle three complex sub-tasks across eight typologically diverse languages.
- Inflection: Generating a full clause from a lemma and a set of features (e.g., "give" + features $\rightarrow$ "I will give him to her").
- Reinflection: Transforming one inflected clause into another based on new target features.
- Analysis: Predicting the underlying lemma and morphological tags from a given clause.
The challenge lies in the "low-data" nature of some languages and the structural complexity of moving from single words to entire phrases.
Methods
The authors found that no single model ruled them all; instead, they tailored their approach to the specific requirements of each task:
- Vanilla Transformers with Data Augmentation (Tasks 1 & 2): For the generation tasks (Inflection and Reinflection), they used a modified vanilla Transformer (4 layers, 4 heads). To overcome data scarcity, they employed "Data Hallucination." They aligned characters of lemmas and inflected forms, then substituted the stem parts with random characters from the validation and test sets. This forced the model to learn the rules of morphology rather than just memorizing specific vocabulary.
- Prefix-Tuning with mGPT (Task 3): For the Analysis task, they pivoted to transfer learning. Instead of fine-tuning all parameters of a massive multilingual GPT (mGPT) model—which is computationally expensive—they used prefix-tuning. This involves keeping the large model frozen and only optimizing a small set of continuous, task-specific vectors (prefixes). This allowed the model to leverage its pre-existing linguistic knowledge to map clauses back to their roots and tags.
Datasets
The study utilized the MRL 2022 shared task dataset, covering eight languages with varying morphological complexity: English, French, German, Hebrew (vocalized and unvocalized), Russian, Spanish, Swahili, and Turkish. Each language provided 10,000 training instances, with 1,000 samples each for development and testing. Swahili and Spanish were "surprise" languages introduced late in the competition.
Key Insights
- Task-Specific Specialization: The most significant insight is the "split" in performance. Data augmentation was the "silver bullet" for generation tasks, helping the model generalize across rare forms. Conversely, prefix-tuning on a pre-trained LLM was superior for analysis, likely because the LLM already "understands" the structural relationships required to deconstruct a sentence.
- The Power of Hallucination: By creating "fake" words that follow real grammatical rules, the authors significantly improved performance in low-resource settings. This suggests that for morphology, the pattern is more important than the lexicon.
- LLM Limitations in Morphology: While mGPT was excellent for analysis, it struggled with Hebrew-unvocalized. The authors attribute this to a low ratio of Hebrew samples in the original mGPT pre-training data, highlighting that LLM-based approaches are still sensitive to the "pre-training balance" of languages.
Key Results
The KUIS AI systems achieved 1st place in all three categories of the MRL 2022 competition.
- Inflection/Reinflection: Their system achieved an average Edit Distance (ED) of 0.292 for inflection and 0.705 for reinflection, significantly outperforming the mT5 baseline (which scored 2.577 and 2.826, respectively).
- Analysis: Their prefix-tuned model reached an F1 score of 94.17, compared to the Transformer baseline of 80.00.
- Language Highlights: Performance on Swahili was nearly perfect (ED of 0.019 for inflection), while Russian proved to be the most challenging for exact match scores.
Limitations and Future Work
Success in data augmentation depends heavily on the hyperparameter $N$ (the amount of hallucinated data), which must be tuned specifically for each language's complexity. Furthermore, the relatively poor performance on unvocalized Hebrew suggests that prefix-tuning is only as good as the underlying LLM's exposure to that specific language/script during pre-training. Future work will investigate more sophisticated ways to integrate source clause features in the reinflection task and explore why certain languages like Russian remain resistant to exact match improvements.
Summary updated