Morphological Skip-Gram: Using morphological knowledge to improve word representation

Flávio Arthur O. Santos, Hendrik T. Macedo, Thiago Dias Bispo, Cleber ZanchettinarXiv 2020

Introduction

Traditional word embedding models like Word2Vec and GloVe treat words as atomic units, failing to capture the internal linguistic structure that links related words like "playing" and "played." While the FastText model addressed this by using character n-grams, it often introduces semantic noise by generating meaningless sub-word strings. Morphological Skip-Gram (MSG) offers a more linguistically informed alternative by representing words as collections of their actual morphemes—the smallest units of meaning.

Methodology: The MSG Architecture

The core innovation of MSG lies in its use of morphological analysis to identify meaningful building blocks rather than arbitrary character sequences. By focusing on radicals, affixes, and markers, MSG reduces the number of tokens learned per word compared to FastText, leading to a more efficient and semantically grounded model.

The Morphological Skip-Gram (MSG) architecture, representing words as the sum of their constituent morpheme vectors.

The process involves three main steps:

  1. Morphological Segmentation: Using the Morfessor toolkit, words are decomposed into morphemes (e.g., "federativas" into "federa," "tiva," and "s").
  2. Vector Representation: Each word is represented as the sum of its individual morpheme vectors ($n_1, n_2, \dots, n_t$).
  3. Training: The model employs a Skip-Gram architecture with Negative Sampling, aiming to predict context words based on the summed morpheme representation of the center word.

Experimental Setup

The model was trained on the "1 Billion Word Language Model Benchmark." Evaluation spanned 15 datasets across three primary categories: Similarity (e.g., SimLex999, Rare Words), Analogy (e.g., Google Analogy, MSR), and Categorization (e.g., AP, BLESS).

Results and Discussion

MSG demonstrates significant improvements in both computational efficiency and linguistic accuracy, particularly in analogy tasks.

Efficiency and Speed

By utilizing linguistic expertise to filter out sub-word noise, MSG achieves a training speed approximately 40% faster than FastText. For instance, at 300 dimensions, MSG completed training in roughly 541 minutes, compared to 853 minutes for FastText. This efficiency stems from the reduced vocabulary size; where FastText might learn 16 different n-gram representations for a single word, MSG may only need to learn four.

Performance Benchmarks

The most striking advantage of MSG is found in analogy tasks, where morphemes better capture the functional rules of language (such as gender or tense shifts) than arbitrary character strings.

Analogy task performance comparison between FastText (ft) and Morphological Skip-Gram (msg) across different embedding dimensions.

As shown in the results, MSG consistently outperforms FastText in analogy accuracy. At 300 dimensions, MSG reached a score of 0.332 on the Google Analogy dataset, more than doubling FastText's score of 0.128. In similarity and categorization tasks, MSG remains highly competitive, though FastText retains a slight advantage in handling "Rare Words" (RW) due to its robust n-gram approach to unseen strings and typos.

Conclusion

Morphological Skip-Gram proves that incorporating linguistic knowledge into word embeddings can yield both faster training and superior semantic representations. While currently dependent on the accuracy of morphological segmentation tools like Morfessor, MSG sets a strong precedent for moving beyond brute-force sub-word modeling toward more intelligent, structure-aware NLP architectures.

Summary updated

BibTeX
@misc{santos2020morphological,
  author = {Flávio Arthur O. Santos and Hendrik T. Macedo and Thiago Dias Bispo and Cleber Zanchettin},
  title = {{Morphological Skip-Gram: Using morphological knowledge to improve word representation}},
  year = {2020},
  eprint = {2007.10055},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2007.10055},
}
Figure