Norm-Based Curriculum Learning for Neural Machine Translation

Xuebo Liu, Houtim Lai, Derek F. Wong, Lidia S. Chao

Introduction

Training state-of-the-art Neural Machine Translation (NMT) models is computationally expensive and time-consuming. Curriculum Learning (CL)—the strategy of presenting training data in increasing order of difficulty—offers a potential solution for accelerating convergence. However, traditional CL methods often rely on heuristic linguistic rules (e.g., sentence length) or computationally heavy auxiliary models to determine difficulty and scheduling. This paper introduces Norm-Based Curriculum Learning (NBCL), a fully automated framework that leverages the L2 norm of word embeddings to quantify sentence difficulty and monitor model competence dynamically.

Methodology

The NBCL framework is built upon three core components that utilize the mathematical magnitude (L2 norm) of embedding vectors:

1. Norm-Based Sentence Difficulty

The authors leverage the observation that in word embedding spaces, frequent words tend to have smaller norms, while rare, information-dense words have larger norms. By aggregating the norms of individual word embeddings within a sentence, a difficulty score is derived that accounts for both sentence length and lexical complexity.

2. Norm-Based Model Competence

A critical challenge in CL is determining the "competence" schedule—when the model is ready for more complex data. The researchers discovered a strong correlation between the growth of the NMT model's internal embedding matrix norm and its translation performance (BLEU score). This allows the model to self-regulate its learning pace without manual tuning.

Correlation between embedding norm growth and BLEU score during training.

3. Norm-Based Sentence Weighting

To optimize the training signal, a weighting mechanism is applied to the loss function. This prioritizes sentences within the model's current "frontier" of competence, preventing the model from over-fitting on simple, already-mastered examples while avoiding the noise of overly difficult ones.

Experimental Setup

The proposed method was evaluated on two standard benchmarks:

  • WMT’14 English–German (En-De): A medium-scale dataset (~4.5M pairs).
  • WMT’17 Chinese–English (Zh-En): A large-scale dataset (~20M pairs).

The baseline for comparison was the standard Transformer architecture.

Results and Analysis

NBCL demonstrates significant improvements in both efficiency and final translation quality.

  • Training Acceleration: NBCL achieved a 2.22x speedup on En-De and a 3.33x speedup on Zh-En to reach baseline performance levels.
  • Translation Quality: The method yielded gains of +1.17 BLEU (En-De) and +1.56 BLEU (Zh-En) over the vanilla Transformer.
  • Generalization: The same hyperparameters proved effective across different language pairs and dataset scales, highlighting the robustness of the norm-based approach.
Performance comparison of NBCL against baselines across different sentence categories (Length, Frequency, and Norm).

The success of NBCL stems from the "norm" acting as an effective proxy for information. Common tokens are pulled in various directions by diverse contexts, resulting in centered, low-norm vectors. In contrast, specific, high-information tokens maintain distinct, high-norm positions. By using the model's own state to track progress, NBCL provides a "plug-and-play" curriculum that adapts to the specific learning dynamics of the task.

Conclusion

Norm-Based Curriculum Learning offers a mathematically elegant and computationally efficient way to implement curriculum learning in NMT. By replacing manual heuristics with internal model metrics, it achieves substantial speedups and quality improvements. Future research may extend this principle to other sequence-to-sequence tasks like summarization or explore its application in low-resource settings.

Summary updated

BibTeX
@inproceedings{liu2020norm,
  author = {Xuebo Liu and Houtim Lai and Derek F. Wong and Lidia S. Chao},
  title = {{Norm-Based Curriculum Learning for Neural Machine Translation}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2020},
  doi = {10.18653/v1/2020.acl-main.41},
}
Figure