Evaluation of Greek Word Embeddings

Stamatis Outsios, Christos Karatsalos, Konstantinos Skianis, Michalis Vazirgiannis

Abstract

This paper presents the first comprehensive intrinsic evaluation framework for Greek word embeddings. We introduce a massive analogy dataset containing over 39,000 questions across 24 semantic and syntactic categories. We evaluate seven state-of-the-art models trained on a 3-billion-token Greek web corpus. Our results highlight the impact of Greek's rich morphology and polysemy on vector representations, identifying cc.el.300 as the top performer for analogies and gr_def for word similarity.

Introduction

Word embeddings are fundamental to modern Natural Language Processing (NLP), yet benchmarking has historically focused on English. Greek presents unique challenges as a morphologically rich language where a single root can produce dozens of forms based on gender, case, and tense. This study addresses the lack of standardized, large-scale resources for measuring how well Greek word vectors capture these complex linguistic relationships.

Methodology

We evaluated seven word embedding models using two primary architectures:

  • Word2vec (Skip-gram and CBOW): Predicts words based on local context.
  • fastText: Incorporates sub-word information (character n-grams), theoretically improving performance for morphologically rich languages.

Evaluation was conducted through two intrinsic methods:

  1. Word Analogy: Solving "a is to b as c is to d" using the 3CosAdd and 3CosMul formulas.
  2. Word Similarity: Correlating model-generated similarity scores against human-annotated rankings using a translated and verified version of the WordSim353 dataset.

Datasets

The study leverages a massive Greek Web Corpus consisting of 3 billion tokens crawled from 20 million URLs. A core contribution of this work is the Greek Word Analogy Test Set, which contains 39,174 questions. This benchmark is significantly larger than standard English sets and includes specific Greek categories such as "present participle passive" and gendered nationality adjectives.

The Greek Word Analogy Test Set includes 9 semantic and 15 syntactic categories, totaling over 39,000 tuples.

Key Results and Discussion

Analogy Performance

The cc.el.300 model—a fastText model trained on Common Crawl and Wikipedia—emerged as the overall leader in analogy tasks, achieving an accuracy of 68.97% in the "no out-of-vocabulary" (no oov) test. Interestingly, models trained on smaller, cleaner datasets often outperformed those trained on the massive 50GB web corpus, suggesting that data quality and specific training parameters (like position weights) are critical.

Accuracy results for the analogy task using the 3CosAdd formula across semantic and syntactic categories.

Linguistic Insights

  • Morphological Imbalance: Models performed better on masculine nationality adjectives than feminine ones, indicating that gendered morphology creates data imbalances that standard models struggle to resolve.
  • The Privative Alpha: Models were highly effective at identifying opposites created by the "privative alpha" prefix (similar to "un-" in English), likely due to the high structural similarity between the word pairs.
  • Polysemy Hurdles: Categories such as "currency-country" showed lower performance. The word "Euro," for instance, appears in many contexts (Greece, Spain, France), which dilutes its vector representation.
  • Sub-word Importance: Models lacking sub-word information (standard Word2vec) struggled with the high variance of Greek word endings, confirming that character-level features are essential for this language.

Word Similarity

In the similarity task, the gr_def model (a fastText skip-gram model trained on the large web corpus) achieved the highest performance with a 0.6042 Pearson correlation with human judgments. This suggests that while cleaner data helps with structured analogies, larger corpora may better capture general semantic closeness.

Conclusion

This research provides a robust foundation for Greek NLP by introducing a massive analogy benchmark and identifying the strengths of sub-word-aware models. Future work will focus on extrinsic evaluation, testing these embeddings in downstream tasks like sentiment analysis and part-of-speech tagging to determine if intrinsic improvements translate to real-world performance.

Summary updated

BibTeX
@inproceedings{outsios2020evaluation,
  author = {Stamatis Outsios and Christos Karatsalos and Konstantinos Skianis and Michalis Vazirgiannis},
  title = {{Evaluation of Greek Word Embeddings}},
  booktitle = {LREC},
  year = {2020},
  url = {https://openreview.net/forum?id=XWRo8ktpSW},
}
Figure