Introduction
Continuous space language models (CSLMs) represent a significant advancement over traditional $n$-gram models by mapping words into a continuous vector space. This approach allows the model to capture semantic relationships—recognizing that "cat" and "kitten" are related—rather than treating every word as a discrete, isolated index. However, the computational cost of training these neural networks is a major barrier, often requiring weeks of processing time on large corpora.
This paper investigates the underlying causes of slow convergence in CSLMs and proposes several initialization and training strategies to accelerate the process while improving final model accuracy.
The Learning Asymmetry
A core insight of this research is the identification of a "learning imbalance" between the two primary components of a CSLM: the context space (input embeddings) and the prediction space (output weights).
In a standard neural language model, the prediction layer is updated by every single training sample. In contrast, a specific word's context embedding is only updated when that word appears in the history. This leads to an asymmetry where the prediction space learns much faster than the context space. For rare words, the context embeddings often remain near their random initialization, failing to capture meaningful semantic properties.
Proposed Training Strategies
To address this imbalance and speed up convergence, the authors propose several novel training regimes:
- One Vector Initialization: Instead of starting with random noise, all words in the context space are initialized to the same vector. This prevents rare words from being scattered randomly and forces the model to move them only when there is sufficient statistical evidence.
- Re-initialization: The authors suggest training a model to convergence, then using its well-developed prediction weights to re-initialize the context weights of a new model. This "knowledge transfer" helps the second model escape local optima.
- Iterative Re-initialization: A more aggressive variant where the context space is re-initialized with the prediction space's parameters after every epoch, ensuring the two spaces remain synchronized throughout training.
- Log-Bilinear (LBL) Reformulation: The authors demonstrate that the LBL model can be viewed as a version of the standard model where context and prediction spaces are "tied" (sharing weights), naturally solving the asymmetry problem.
Experimental Results
The researchers evaluated these methods on a large monolingual English corpus (176 million words). The results demonstrated significant improvements in both efficiency and quality.
Key Findings:
- Efficiency: The "one vector initialization" reached convergence in just 9 epochs, compared to 14 for the standard model, representing a 33% reduction in training time.
- Perplexity: Re-initialization techniques reduced model perplexity by approximately 10%.
- Translation Quality: In an Arabic-to-English translation task, these schemes yielded a 0.9 BLEU point increase over a strong $n$-gram baseline.
Conclusion
By recognizing the learning dynamics between context and prediction spaces, researchers can significantly optimize CSLM training. Strategies like re-initialization and one-vector starting points provide a practical roadmap for building more accurate language models with substantially fewer computational resources. Future work remains to adapt these techniques for models using "short-lists" or restricted vocabularies where direct weight-sharing is more complex.
Summary updated