CLLGApr 9, 2020

On Optimal Transformer Depth for Low-Resource Language Translation

arXiv:2004.04418v231 citations
AI Analysis

This work addresses the challenge of making neural machine translation more accessible and efficient for low-resource language communities, who often lack computational resources, by demonstrating that smaller models can be optimal, though it is incremental as it builds on prior observations.

The paper tackles the problem of optimizing transformer depth for low-resource language translation, finding that using very large models harms performance and that moderate depths often yield the best results, with specific gains observed in translation quality metrics.

Transformers have shown great promise as an approach to Neural Machine Translation (NMT) for low-resource languages. However, at the same time, transformer models remain difficult to optimize and require careful tuning of hyper-parameters to be useful in this setting. Many NMT toolkits come with a set of default hyper-parameters, which researchers and practitioners often adopt for the sake of convenience and avoiding tuning. These configurations, however, have been optimized for large-scale machine translation data sets with several millions of parallel sentences for European languages like English and French. In this work, we find that the current trend in the field to use very large models is detrimental for low-resource languages, since it makes training more difficult and hurts overall performance, confirming previous observations. We see our work as complementary to the Masakhane project ("Masakhane" means "We Build Together" in isiZulu.) In this spirit, low-resource NMT systems are now being built by the community who needs them the most. However, many in the community still have very limited access to the type of computational resources required for building extremely large models promoted by industrial research. Therefore, by showing that transformer models perform well (and often best) at low-to-moderate depth, we hope to convince fellow researchers to devote less computational resources, as well as time, to exploring overly large models during the development of these systems.

Code Implementations1 repo
Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes