[Paper Review] Exploring Hyper-Parameter Optimization for Neural Machine Translation on GPU Architectures
This paper investigates hyper-parameter optimization for neural machine translation (NMT) on GPU architectures using Marian NMT, evaluating learning rate, activation cell (GRU vs. LSTM), dropout, and optimization strategies across P100 and V100 GPUs. Key findings show that lower learning rates and minimal dropout improve convergence and BLEU scores, while V100 GPUs outperform P100 in words per second, and LSTMs achieve higher accuracy than GRUs despite longer training times per epoch.
Neural machine translation (NMT) has been accelerated by deep learning neural networks over statistical-based approaches, due to the plethora and programmability of commodity heterogeneous computing architectures such as FPGAs and GPUs and the massive amount of training corpuses generated from news outlets, government agencies and social media. Training a learning classifier for neural networks entails tuning hyper-parameters that would yield the best performance. Unfortunately, the number of parameters for machine translation include discrete categories as well as continuous options, which makes for a combinatorial explosive problem. This research explores optimizing hyper-parameters when training deep learning neural networks for machine translation. Specifically, our work investigates training a language model with Marian NMT. Results compare NMT under various hyper-parameter settings across a variety of modern GPU architecture generations in single node and multi-node settings, revealing insights on which hyper-parameters matter most in terms of performance, such as words processed per second, convergence rates, and translation accuracy, and provides insights on how to best achieve high-performing NMT systems.
Motivation & Objective
- To identify which hyper-parameters most significantly affect NMT training performance, convergence speed, and translation accuracy.
- To evaluate the impact of learning rate, activation cell (GRU vs. LSTM), dropout, and optimization strategy on training efficiency and model stability.
- To compare training performance across modern GPU architectures (P100 vs. V100) in single and multi-node settings.
- To link system-level execution performance (e.g., words per second) with hyper-parameter choices in a production-ready NMT framework.
- To provide actionable insights for designing high-performing, stable, and efficient NMT systems through systematic hyper-parameter tuning.
Proposed method
- Trained NMT models using the Marian NMT framework on four translation directions from the WMT 2016 dataset (en→ro, ro→en, de→en, en→de).
- Systematically varied hyper-parameters: learning rate (1e-4, 1e-3, 5e-3), activation cell (GRU, LSTM), dropout rate, and optimization strategy (Adam, SGD, mixed).
- Measured performance across multiple GPU architectures (NVIDIA P100 and V100) in both single-node and multi-node configurations.
- Collected metrics including words processed per second, training convergence speed (epochs), BLEU scores, and training time per iteration with standard deviation.
- Analyzed the correlation between hardware performance (e.g., tensor core utilization on V100) and hyper-parameter choices.
- Used statistical reporting of mean and standard deviation across multiple runs to assess stability and reproducibility.
Experimental results
Research questions
- RQ1Which hyper-parameters—learning rate, activation cell, dropout, or optimizer—most significantly influence NMT convergence speed and translation accuracy?
- RQ2How do different GPU architectures (P100 vs. V100) affect training throughput (words per second) and training time across varying hyper-parameter settings?
- RQ3What is the trade-off between training speed and model accuracy when using GRUs versus LSTMs in NMT systems?
- RQ4How does the choice of learning rate impact model stability, overfitting, and final BLEU score in NMT training?
- RQ5To what extent does minimal dropout prevent overfitting while maintaining high translation accuracy across different hyper-parameter configurations?
Key findings
- Lower learning rates (1e-4) consistently achieved the best BLEU scores and fastest convergence, outperforming 1e-3 and 5e-3 learning rates across all translation directions.
- The V100 GPU processed significantly more words per second than the P100 GPU in all configurations, with improvements up to 30% in throughput due to tensor core acceleration.
- LSTM cells outperformed GRUs in translation accuracy across all language pairs and hyper-parameter settings, though they required longer training time per epoch.
- Minimal dropout (0.2) effectively prevented overfitting and contributed to higher BLEU scores, especially in high-capacity models.
- Training time per iteration increased with higher learning rates due to a greater number of epochs required for convergence, despite fixed time per epoch.
- The combination of Adam optimizer with learning rate decay and minimal dropout yielded the most stable and accurate training trajectories.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.