[Paper Review] High Quality ELMo Embeddings for Seven Less-Resourced Languages
This paper presents high-quality, precomputed ELMo contextual embeddings for seven less-resourced, morphologically rich European languages—Croatian, Estonian, Finnish, Latvian, Lithuanian, Slovenian, and Swedish—trained on larger monolingual corpora than prior public models. The authors demonstrate that larger training data significantly improves embedding quality, showing substantial gains over both non-contextual fastText embeddings and existing ELMoForManyLangs (EFML) models on analogy and named entity recognition (NER) tasks.
Recent results show that deep neural networks using contextual embeddings significantly outperform non-contextual embeddings on a majority of text classification task. We offer precomputed embeddings from popular contextual ELMo model for seven languages: Croatian, Estonian, Finnish, Latvian, Lithuanian, Slovenian, and Swedish. We demonstrate that the quality of embeddings strongly depends on the size of training set and show that existing publicly available ELMo embeddings for listed languages shall be improved. We train new ELMo embeddings on much larger training sets and show their advantage over baseline non-contextual FastText embeddings. In evaluation, we use two benchmarks, the analogy task and the NER task.
Motivation & Objective
- To improve contextual word embeddings for seven less-resourced, morphologically rich European languages with limited NLP resources.
- To address the limitation of existing public ELMo embeddings, which are trained on smaller corpora and thus yield suboptimal performance.
- To evaluate the impact of training data size on embedding quality using standardized benchmarks.
- To provide publicly available, high-quality ELMo embeddings to support downstream NLP tasks in low-resource settings.
- To compare the new embeddings against non-contextual fastText and existing ELMoForManyLangs (EFML) models on analogy and NER tasks.
Proposed method
- Trained ELMo models using a three-layer architecture: a character-level CNN followed by two bidirectional LSTMs (biLMs), with contextual representations derived from weighted averages of layer outputs.
- Used larger monolingual text corpora for each target language to improve embedding quality, addressing the data scarcity issue in low-resource settings.
- Preprocessed raw text with tokenization, sentence segmentation, and subword normalization to ensure robustness and consistency across languages.
- Generated ELMo embeddings using the trained models on the full corpora, with vocabulary construction focused on high-frequency tokens for efficiency.
- Evaluated embeddings using two standard benchmarks: word analogy and named entity recognition (NER), with macro F1 scores reported.
- Compared performance against non-contextual fastText embeddings and the ELMoForManyLangs (EFML) model using identical downstream neural network architectures and five random seeds per model to ensure statistical reliability.
Experimental results
Research questions
- RQ1Does increasing the size of the training corpus significantly improve the quality of ELMo embeddings for less-resourced languages?
- RQ2How do the newly trained ELMo embeddings compare to non-contextual fastText embeddings on downstream NLP tasks like NER and word analogy?
- RQ3How do the new ELMo embeddings perform relative to the existing ELMoForManyLangs (EFML) model across different languages and tasks?
- RQ4Is there a measurable correlation between dataset size or label density and the performance gain of ELMo embeddings on NER tasks?
- RQ5To what extent do contextual embeddings mitigate polysemy issues compared to non-contextual embeddings in morphologically rich, low-resource languages?
Key findings
- The new EMBEDDIA ELMo embeddings significantly outperform non-contextual fastText embeddings on both the analogy and NER tasks across all seven languages.
- On the NER task, the EMBEDDIA ELMo model achieved a macro F1 score of 0.82 for Croatian, 0.91 for Estonian, 0.92 for Finnish, 0.83 for Latvian, 0.74 for Lithuanian, 0.85 for Slovenian, and 0.88 for Swedish—surpassing both fastText and EFML baselines.
- On the word analogy task, the EMBEDDIA ELMo embeddings showed a substantial improvement over EFML embeddings, particularly in Croatian and Finnish, indicating better semantic capture.
- The performance gain of EMBEDDIA ELMo over fastText was most pronounced in languages with lower baseline performance, such as Lithuanian (F1: 0.44 for fastText vs. 0.74 for EMBEDDIA).
- No significant correlation was found between dataset size or label density and performance gain on the NER task, suggesting that data size is a key but not the sole determinant of embedding quality.
- The EMBEDDIA ELMo model outperformed EFML on NER in several languages (e.g., Croatian, Finnish, Swedish), despite EFML having been previously released as a state-of-the-art model for these languages.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.