Abstract
This paper investigates whether traditional linguistic pre-processing, specifically lemmatization, remains relevant for modern neural architectures like ELMo. While deep learning models with character-level inputs are often assumed to handle morphology implicitly, our results show a significant performance boost for morphologically rich languages like Russian in Word Sense Disambiguation (WSD) tasks, whereas the benefit for English is negligible.
Introduction
In contemporary NLP, the prevailing "just add more layers" philosophy suggests that minimal pre-processing is optimal. Advanced architectures like ELMo use character-level convolutional neural networks (CNNs) to theoretically learn morphology and spelling variations directly from raw text. However, much of this evidence stems from English, a language with relatively simple inflectional systems. This study challenges the universality of the "no pre-processing" rule by comparing ELMo's performance on English versus Russian, a morphologically complex language.
Methodology
The researchers trained ELMo models from scratch under two distinct conditions:
- Token-based: Training on raw, tokenized text.
- Lemma-based: Training on text where words were replaced by their dictionary forms (lemmas).
To evaluate these models, they used a Word Sense Disambiguation (WSD) task, comparing ELMo against traditional Skip-Gram with Negative Sampling (SGNS) baselines. Word representations were extracted from ELMo's top layer and used as features for a simple logistic regression classifier.
Datasets
The training corpora consisted of a February 2017 Wikipedia dump for English (~2 billion tokens) and a combination of Wikipedia and the Russian National Corpus for Russian (~1 billion tokens). Evaluation was conducted using Senseval-3 for English (20 noun targets) and RUSSE’18 for Russian (18 noun targets). Lemmatization was performed using UDPipe, achieving 96-97% accuracy.
Results and Analysis
The primary metric for evaluation was the averaged macro-F1 score. The results indicate a clear divergence between the two languages.
| Model (Target Word) | English (F1) | Russian (F1) |
|---|---|---|
| ELMo (Tokens) | 0.463 | 0.875 |
| ELMo (Lemmas) | 0.452 | 0.907 |
For English, the difference between token-based and lemma-based models was negligible. English nouns typically have only two forms (singular and plural), making the "cognitive load" of learning morphology low enough for the model to handle without explicit normalization.
In contrast, Russian nouns can have up to 12 distinct forms. Lemmatization yielded a statistically significant improvement (from 0.875 to 0.907). By simplifying the input, the model is relieved of the burden of learning complex morphological variations, allowing it to dedicate more capacity to lexical-semantic structures.
Discussion
The benefit of lemmatization appears directly tied to a language's morphological richness. Even with character-level inputs designed to capture subword information, ELMo performs better on Russian when morphology is explicitly simplified. This suggests that pre-processing acts as a valuable form of feature engineering that deep learning has not yet rendered obsolete for all languages.
Interestingly, lemmatization occasionally hindered performance for "borrowed" words in Russian that do not inflect (e.g., домино / domino). In these cases, the model lost useful contextual clues provided by the inflections of surrounding words that were removed during normalization.
Conclusion and Future Work
This study demonstrates that while lemmatization is unnecessary for English, it remains a powerful tool for morphologically rich languages. Future research should extend these findings to highly agglutinative languages like Turkish or Finnish. Additionally, it remains to be seen if Transformer-based models (e.g., BERT) using subword tokenization exhibit similar sensitivity to lemmatization.
Summary updated