NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

On the Transferability of Neural Models of Morphological Analogies

Safa Alsaidi, Amandine Decker, Puthineath Lay, Esteban Marquer, Pierre-Alexandre Murena, Miguel CouceiroPKDD/ECML Workshops 2021

TL;DR

This paper introduces a deep learning model for detecting morphological analogies (e.g., "apple is to tree as apples is to trees") and investigates how well this model can transfer its knowledge across different languages. They found that while models trained on one language can perform reasonably well on others, building a single multilingual model shows promise for more consistent performance.

What Problem Does This Paper Address?

Analogical proportions, often expressed as "A is to B as C is to D," are fundamental to human reasoning and have found applications in various AI tasks, including natural language processing (NLP). While semantic analogies (based on meaning) have been extensively studied, morphological analogies (based on word structure and form) present unique challenges, especially across different languages. Existing approaches often rely on formal linguistic rules or pre-trained word embeddings that may not capture the nuances of morphology. This paper aims to address the challenge of building robust models for morphological analogies that can generalize across languages, tackling the problem of limited data and linguistic diversity.

Methods

The authors adapt a deep learning architecture previously used for semantic analogies, specifically a Convolutional Neural Network (CNN) classifier. A key innovation is the development of custom character-level word embedding models trained jointly with the classifier. This approach allows the model to handle words not seen during training and to better capture morphological patterns, which is crucial for languages lacking pre-trained embeddings. They explore two main transferability settings: "full transfer" (transferring both the embedding and classification models) and "partial transfer" (transferring only the classifier, using the target language's embeddings). They also investigate data augmentation techniques to increase the training data for analogies.

Datasets

The primary dataset used is from the SIGMORPHON 2016 shared task, which includes data for 10 languages (Spanish, German, Finnish, Russian, Turkish, Georgian, Navajo, Arabic (Romanized), Hungarian, and Maltese). They also incorporate data from the JAPANESE BIGGER ANALOGY TEST SET. The SIGMORPHON data is primarily used for the inflection task, providing triples of (source lemma, features, inflected form). For the Japanese dataset, they extract pairs of linguistically related words and generate analogies.

Key Insights and Ideas

  • Character-level embeddings are crucial for morphology: Standard word embeddings like GloVe proved insufficient for morphological analogies, often producing tensors of zeros. Custom character-level embeddings are essential for capturing the structural nuances of word formation.
  • Transferability is promising but imperfect: Models trained on one language can indeed transfer their knowledge to others, achieving decent accuracy. However, performance varies significantly, especially when languages have very different alphabets or morphological structures.
  • Alphabet differences are a major hurdle for full transfer: When the target language's alphabet is not well-represented in the source language's character embeddings, the model struggles, leading to near-zero accuracy in some cases. Partial transfer mitigates this by using target-language embeddings.
  • Hungarian's rich morphology aids transfer: Models trained on Hungarian tend to transfer well to other languages, possibly due to Hungarian's complex morphological system, which might encode more generalizable linguistic patterns.
  • Multilingual models offer consistency: While bilingual models sometimes achieve higher peak performance, multilingual models (trained on multiple languages simultaneously) offer more consistent results across a wider range of language pairs, suggesting better generalization.

Key Results

  • Full Transfer: Achieved accuracies generally above 50-80% for most language pairs, but dropped significantly (close to 0%) when transferring between languages with vastly different alphabets (e.g., Turkish to Japanese).
  • Partial Transfer: Showed improvement over full transfer, especially for negative (invalid) analogies, by using language-specific embeddings. Accuracy remained above 10% for most pairs, with many cases exceeding 25%.
  • Bilingual Models: Hungarian-Finnish and Hungarian-Turkish models showed good transferability, particularly when applied to languages within similar families.
  • Multilingual Models: Models trained on all 11 languages (with and without Japanese) showed comparable results to bilingual models, with the model including Japanese achieving particularly high accuracy on Japanese invalid analogies (91%).

Limitations and Future Work

  • Alphabet Mismatch: The significant performance drop in full transfer due to alphabet differences is a key limitation. Future work could explore more robust cross-lingual character mapping or sub-word unit representations.
  • Data Imbalance: The paper notes that using a large number of invalid analogies (24) compared to valid ones (8) led to worse results. Future work suggests training on balanced datasets.
  • Family Hierarchy vs. Empirical Results: The observed transferability patterns did not consistently align with established language family hierarchies, suggesting that other linguistic properties or empirical data characteristics might play a larger role.
  • Multilingual Model Potential: The authors suggest that increasing the training data for multilingual models could further improve their generalization capacity. They also propose exploring different multilingual model architectures.

Summary updated

BibTeX
@inproceedings{alsaidi2021transferability,
  author = {Safa Alsaidi and Amandine Decker and Puthineath Lay and Esteban Marquer and Pierre-Alexandre Murena and Miguel Couceiro},
  title = {{On the Transferability of Neural Models of Morphological Analogies}},
  booktitle = {PKDD/ECML Workshops},
  year = {2021},
  url = {https://openreview.net/forum?id=p3c4tMwBLif},
}
Figure