Introduction
Character-aware neural language models (CNLMs) have emerged as a powerful solution for handling rare words and morphologically rich languages, such as Finnish or Turkish. Unlike standard models that rely on a fixed vocabulary of word embeddings, CNLMs use character encoders to construct word representations from individual letters. However, these models often suffer from orthographic bias: they tend to prioritize spelling similarities (e.g., "his" vs. "hhs") over semantic relationships (e.g., "his" vs. "my"). This paper introduces a novel "warm-up" phase using a Skip-gram architecture to force character encoders to align with semantic word-level meanings before the primary language modeling task begins.
Methodology: The Skip-gram Warm-up
The authors propose a two-stage training process designed to break orthographic bias without requiring additional training data or increasing inference complexity.
Stage 1: The Warm-up Phase
In this initial stage, the character encoder—specifically a Bidirectional LSTM (BiLSTM) operating over character trigrams—is trained within a Skip-gram framework. The encoder generates an embedding for a target word, which is then used to predict the surrounding context words.
Crucially, while the input word is constructed from characters, the target context words are represented by standard, word-based embeddings. This "Secret Sauce" forces the character encoder to map character sequences into a semantic space that mirrors how whole words are understood in context.
Stage 2: Language Modeling
Once the warm-up is complete, the weights from the character encoder are used to initialize a standard CNLM (such as an AWD-LSTM). The model is then trained to predict the next word in a sequence. By starting with a semantically grounded encoder, the model avoids the pitfall of over-relying on surface-level spelling patterns.
Experimental Setup
The method was evaluated across two distinct scenarios:
- 14 Typologically Diverse Languages: Including Chinese, Japanese, Arabic, Russian, and Kannada. These datasets are challenging due to high volumes of low-frequency and unseen words in test sets.
- 5 Common Benchmarks: Standard European languages (Czech, German, Spanish, French, Russian) where unknown words are typically handled via an
<UNK>token.
Key Results and Insights
The "Warmed-up" models consistently outperformed baseline character-aware models and strong word-level baselines across all tested languages.
Perplexity and Semantic Alignment
On the 14-language dataset, the warmed-up models showed significant improvements in perplexity (a measure where lower values indicate better prediction). In English, perplexity dropped from 302 to 278. Furthermore, word similarity tests (using benchmarks like SimLex-999) confirmed that the warmed-up encoder captured semantic features far more effectively than standard encoders.
Rare Word Mastery
Analysis revealed that the most dramatic gains occurred in the "Rare" word category. Because the model possesses a superior "semantic map" of how characters form meanings, it can make significantly more accurate predictions for words encountered only a few times during training.
Conclusion
By using the Skip-gram objective as a regularizer during a warm-up phase, the authors successfully "pre-program" character encoders to prioritize context over orthography. While this study focused on LSTM-based architectures, the success of this semantic alignment suggests a promising path for future research into character-aware Transformer models and downstream tasks like machine translation.
Summary updated