Abstract
Bidirectional long short-term memory (bi-LSTM) networks have recently proven successful for various NLP sequence modeling tasks, but little is known about their reliance to input representations, target languages, data set size, and label noise. We address these issues and evaluate bi-LSTMs with word, character, and unicode byte embeddings for POS tagging. We compare bi-LSTMs to traditional POS taggers across languages and data sizes. We also present a novel bi-LSTM model, which combines the POS tagging loss function with an auxiliary loss function that accounts for rare words. The model obtains state-of-the-art performance across 22 languages, and works especially well for morphologically complex languages. Our analysis suggests that bi-LSTMs are less sensitive to training data size and label corruptions (at small noise levels) than previously assumed.
Introduction
Part-of-Speech (POS) tagging is a foundational task in Natural Language Processing (NLP), yet it faces significant challenges due to linguistic diversity and data scarcity. While deep learning models like Bidirectional LSTMs (bi-LSTMs) have excelled in English, their robustness across morphologically rich languages and their performance in low-resource settings remained under-explored. This research demonstrates that bi-LSTMs are highly effective across 22 diverse languages and introduces a novel multi-task learning objective—predicting a word's frequency alongside its POS tag—to significantly improve accuracy for rare and out-of-vocabulary (OOV) words.
Methodology
The core architecture is a bi-LSTM that processes sequences in both forward and backward directions to capture comprehensive context. To handle linguistic variety, the model employs hierarchical representations, utilizing a lower-level bi-LSTM to generate embeddings from characters or unicode bytes. These are concatenated with traditional word embeddings, allowing the model to infer tags for unknown words based on sub-token patterns.
The most significant innovation is the introduction of an auxiliary loss function, termed LOGFREQ. By treating POS tagging as a multi-task learning problem, the model is trained to simultaneously predict the POS tag and the log-frequency of the word in the training data. This auxiliary task acts as a regularizer, forcing the model to develop more nuanced representations that do not over-rely on common word patterns.
Results and Discussion
The multi-task model, referred to as FREQBIN, achieved state-of-the-art performance on 12 out of 22 languages in the Universal Dependencies (UD) v1.2 benchmark. A key finding is that sub-token information is essential for morphologically complex languages, such as Slavic or Nordic families.
The auxiliary LOGFREQ task proved particularly beneficial for rare and OOV words. As shown in Figure 4, the absolute improvement in accuracy is most pronounced for words with low log-frequency. This suggests that the model learns to better generalize for infrequent tokens by explicitly accounting for their rarity during training. Furthermore, the study debunked the myth that deep learning requires massive datasets for POS tagging; bi-LSTMs outperformed traditional Conditional Random Fields (CRFs) with as few as 500 training sentences.
Conclusion
This work establishes bi-LSTMs as a robust and versatile tool for multilingual POS tagging. By leveraging sub-token embeddings and a novel frequency-based auxiliary loss, the proposed model achieves superior performance, especially for morphologically rich languages and rare words. While the model shows some sensitivity to extreme label noise (above 30%), its overall resilience and scalability make it a powerful alternative to traditional tagging methods. Future work may explore more complex auxiliary signals or refined byte-level modeling to further enhance performance.
Summary updated