Abstract
Neural language models (NLMs) typically rely on fixed vocabularies, which limits their effectiveness for morphologically rich languages and creates an "out-of-vocabulary" (OOV) bottleneck. This paper introduces a model that generates word representations dynamically from characters using a convolutional neural network (CNN). By integrating these character-derived embeddings with Noise-Contrastive Estimation (NCE), the authors develop an open-vocabulary architecture. Experimental results on English-to-Czech translation demonstrate that while fully open-vocabulary outputs remain challenging to stabilize, a hybrid model utilizing character-level inputs achieves a significant +0.7 BLEU point improvement over standard word-level baselines.
Introduction
Traditional NLMs represent words as indices in a fixed vocabulary $\mathcal{V}$, mapping each to a vector in a lookup table. This approach fails to capture the internal structure of words, which is crucial for morphologically complex languages like Czech or German where word forms are numerous and often rare. Furthermore, any word outside $\mathcal{V}$ is reduced to a generic <UNK> token. This work explores a character-level approach to build a truly "open vocabulary" model by looking directly at the characters that make up a word.
Methodology
The core innovation is the Character-level Word Embedding (CWE) module. Instead of a static lookup, a word is processed as a sequence of character embeddings.
As shown in Figure 1, the model can combine direct word projections (WE) with representations derived from characters (CE). The character-to-word CNN uses a sliding window (width $n_c=5$) to extract local features, followed by average-pooling to produce a fixed-length vector for the word.
To achieve an open vocabulary at the output, the authors propose using the same CNN logic to generate target word representations on the fly. This allows the model to calculate a score for any sequence of characters.
Training such a model is computationally intensive due to the potentially infinite vocabulary. The authors employ Noise-Contrastive Estimation (NCE), as illustrated in Figure 2, to transform the prediction task into a binary classification between real data and noise samples. This allows the model to train efficiently without needing to sum over a full vocabulary.
Experimental Setup
The model was evaluated on the IWSLT-2016 English-to-Czech translation task. The training data comprised approximately 89M phrases from TED Talks, QED, and Europarl corpora. Evaluation was performed via $N$-best reranking ($N=300$), where the NLM re-scores hypotheses generated by a traditional translation system to determine if the "open" understanding picks a better translation.
Results and Analysis
- BLEU Gains: The hybrid CWE model (character-level inputs with fixed-vocabulary outputs) performed best, achieving a +0.7 BLEU gain over the baseline and outperforming standard word-based embeddings (WE).
- The Output Challenge: The fully open-vocabulary model (CWE-CWE, where both input and output are character-based) performed slightly worse than the baseline (-0.2 BLEU), highlighting the difficulty of training character-based output layers.
- Perplexity: Character-derived representations consistently lowered the model's perplexity on validation sets, proving the model successfully captures morphological regularities that word-level models miss.
Discussion and Limitations
A key finding was the "Padding Trap": initially, heavy padding was used, but the authors discovered that short, frequent words shared padded windows with many others, "poisoning" the filters. Switching to minimal padding was essential for stability. Additionally, the instability of the CWE-CWE output layer suggests that the NCE noise distribution needs to be more sophisticated—perhaps including morphologically plausible "fake" words—to better train the model on the full character space.
Conclusion
Character-level representations provide a powerful mechanism for handling OOV words and morphological complexity in NLMs. While open-vocabulary output remains an area for further optimization, the input-side gains demonstrate the clear value of looking beyond fixed word-level vocabularies to improve translation quality in complex languages.
Summary updated