Title (French): Modèles de langue neuronaux: une comparaison de plusieurs stratégies d'apprentissage
Abstract
The training of neural language models (NLMs) is often hindered by the sensitivity of convergence to the initial learning rate. This paper investigates various scheduling strategies to automate and stabilize the learning process. We introduce Bloc-AdaGrad and Down-Bloc-AdaGrad, adaptive methods that group parameters into blocks to reduce computational overhead while maintaining the benefits of per-parameter adaptation. Our results on large-scale English-to-Spanish translation tasks show that these strategies significantly improve robustness to initial hyper-parameters and accelerate convergence, achieving competitive BLEU scores with minimal manual intervention.
Introduction
Neural language models have demonstrated superior performance over traditional $n$-gram models due to their ability to represent words in continuous vector spaces. However, the computational cost and the difficulty of tuning hyper-parameters—specifically the learning rate ($\eta$)—remain significant barriers. A learning rate that is too high leads to divergence, while one that is too low results in prohibitively slow training. This study seeks to identify robust scheduling strategies that minimize the need for manual tuning, moving away from the "dark art" of trial-and-error hyper-parameter selection.
Methodology: The SOUL Architecture
The study utilizes the Structured OUtput Layer (SOUL) architecture. SOUL addresses the challenge of large vocabularies (often hundreds of thousands of words) by employing a hierarchical tree structure. In this framework, the probability of a word is decomposed into a series of decisions, making the computation of the output layer feasible for massive datasets.
Proposed Methods: Bloc-AdaGrad
We evaluate standard strategies such as Fixed and Power scheduling, as well as heuristic-based "Down" and "Adjust" methods that halve the learning rate when validation performance stalls. Furthermore, we propose Bloc-AdaGrad.
While standard AdaGrad tracks gradients for every individual parameter—a process that is computationally expensive for models with hundreds of millions of parameters—Bloc-AdaGrad groups parameters (such as an entire word embedding or a weight matrix) into blocks. All parameters within a block share the same adaptive learning rate. This allows for the use of optimized BLAS (Basic Linear Algebra Subprograms) libraries and significantly reduces memory requirements. The Down-Bloc-AdaGrad variant combines this block-based adaptation with a global decay heuristic triggered by validation performance for maximum stability.
Experimental Results
Models were trained on 1.5 billion words from the WMT 2013 Spanish monolingual corpora. Validation was performed on Newstest2008 to monitor perplexity and trigger learning rate adjustments.
Robustness to Initial Settings
A primary finding is the remarkable robustness of the "Down" and "Adjust" strategies. As illustrated in the perplexity curves below, these methods allow models to converge to similar performance levels regardless of the initial learning rate, effectively "self-correcting" during the training process.
The "Rare Word" Advantage
Bloc-AdaGrad showed a distinct advantage in long-term training, particularly for rare words. Because it adapts based on gradient history, rare words—which are updated infrequently—maintain a higher effective learning rate for a longer duration. This allows them to be learned more effectively than with global decay strategies.
Machine Translation Performance
In English-to-Spanish translation experiments, Down-Bloc-AdaGrad achieved a BLEU score of 30.06 on the Newstest2013 set after only 8 iterations. This represents a clear improvement over the baseline system (29.79 BLEU) and rivals models trained for much longer using traditional scheduling methods.
Conclusion
Adaptive block-based scheduling strategies offer a practical solution to the complexities of NLM training. By reducing sensitivity to initial settings and improving computational efficiency, Bloc-AdaGrad and its variants enable the training of massive language models on large-scale data with greater reliability and speed. Future work may involve applying these adaptive strategies to the earlier stages of model pre-training to further reduce total training time.
Summary updated