Abstract
Traditional Curriculum Learning (CL) in Neural Machine Translation (NMT) often relies on human-defined heuristics, such as sentence length or word rarity, to determine the training order. However, these static metrics frequently fail to align with the actual learning progress of neural models. This paper proposes a Self-Paced Learning (SPL) framework that enables NMT models to autonomously determine the difficulty of training samples. By utilizing Monte Carlo dropout to estimate model confidence at both the sentence and token levels, the framework dynamically weights the training loss. Experimental results across multiple benchmarks demonstrate that SPL not only improves translation quality by approximately 1.0 BLEU point but also accelerates convergence by an average of 1.46x.
Introduction
Training state-of-the-art NMT models is computationally expensive and highly sensitive to data presentation order. Curriculum Learning (CL) has emerged as a popular strategy to mitigate these costs by introducing "easy" examples before "hard" ones. Despite its success, CL suffers from a fundamental limitation: human-designed difficulty schedules are inflexible and often decoupled from the model's internal state. A short sentence containing a rare idiom might be significantly more challenging for a model than a long, repetitive sequence, yet traditional CL would categorize the former as "easy."
Methodology: The SPL Framework
The proposed SPL framework allows the NMT model to "govern its own learning" by dynamically adjusting the importance of each training sample based on its current competence.
Confidence Estimation via MC Dropout
To quantify difficulty without external heuristics, the model employs Monte Carlo (MC) dropout. During training, each input is passed through the network multiple times ($M=5$) with different dropout masks. The variance among these outputs serves as a proxy for confidence: low variance indicates high confidence (easy samples), while high variance suggests the model is "hesitant" (hard samples).
Multi-Granularity Weighting
The framework operates at two levels of granularity:
- Sentence-Level Confidence (SLC): Assigns a weight ($\alpha$) to the entire sentence loss.
- Token-Level Confidence (TLC): Assigns weights ($\beta$) to individual tokens, allowing the model to isolate and focus on specific difficult words within otherwise simple sentences.
Dynamic Loss Weighting
These confidence scores are normalized and used to weight the training loss. Early in training, the model prioritizes high-confidence samples to establish a stable foundation. As the model matures, it naturally increases the weight of complex samples, ensuring a smooth transition across the data distribution without the risk of "catastrophic forgetting" associated with hard data filtering.
Key Results and Discussion
The researchers evaluated SPL on three standard benchmarks: IWSLT15 (En-Vi), WMT14 (En-De), and WMT17 (Zh-En).
Performance and Convergence
SPL consistently outperformed both the standard Transformer baseline and traditional CL methods (based on sentence length or word rarity). On average, the model achieved a 1.0 BLEU point improvement across all tasks. More importantly, SPL reached the baseline's peak performance 1.46x faster.
Insights into Model Difficulty
A key finding of this work is that the model's internal perception of difficulty is dynamic. While it initially favors short sentences, its preferences shift unpredictably as training progresses. For instance, a model might become confident in both very short and very long sentences while continuing to struggle with medium-length ones. This confirms that static, human-defined curricula are inherently suboptimal.
Conclusion
Self-Paced Learning represents a significant step toward more autonomous and efficient NMT training. By replacing human intuition with model-driven confidence, SPL achieves better translation quality with fewer iterations. While the method introduces a slight computational overhead per step due to MC dropout, the overall reduction in training time and the gain in robustness—particularly regarding data bucketing—make it a compelling alternative to traditional curriculum learning. Future work may explore integrating SPL with Reinforcement Learning or applying it to low-resource translation scenarios.
Summary updated