English

Revisiting Checkpoint Averaging for Neural Machine Translation

Computation and Language 2022-10-24 v1 Artificial Intelligence Machine Learning

Abstract

Checkpoint averaging is a simple and effective method to boost the performance of converged neural machine translation models. The calculation is cheap to perform and the fact that the translation improvement almost comes for free, makes it widely adopted in neural machine translation research. Despite the popularity, the method itself simply takes the mean of the model parameters from several checkpoints, the selection of which is mostly based on empirical recipes without many justifications. In this work, we revisit the concept of checkpoint averaging and consider several extensions. Specifically, we experiment with ideas such as using different checkpoint selection strategies, calculating weighted average instead of simple mean, making use of gradient information and fine-tuning the interpolation weights on development data. Our results confirm the necessity of applying checkpoint averaging for optimal performance, but also suggest that the landscape between the converged checkpoints is rather flat and not much further improvement compared to simple averaging is to be obtained.

Keywords

Cite

@article{arxiv.2210.11803,
  title  = {Revisiting Checkpoint Averaging for Neural Machine Translation},
  author = {Yingbo Gao and Christian Herold and Zijian Yang and Hermann Ney},
  journal= {arXiv preprint arXiv:2210.11803},
  year   = {2022}
}

Comments

accepted at AACL2022

R2 v1 2026-06-28T04:09:36.040Z