[Paper Review] Is Neural Machine Translation Ready for Deployment? A Case Study on 30 Translation Directions
This paper compares phrase-based SMT, hierarchical PB-SMT, and neural MT (NMT) across 30 translation directions using the UN Parallel Corpus, and introduces AmuNMT for efficient decoding and deployment considerations.
In this paper we provide the largest published comparison of translation quality for phrase-based SMT and neural machine translation across 30 translation directions. For ten directions we also include hierarchical phrase-based MT. Experiments are performed for the recently published United Nations Parallel Corpus v1.0 and its large six-way sentence-aligned subcorpus. In the second part of the paper we investigate aspects of translation speed, introducing AmuNMT, our efficient neural machine translation decoder. We demonstrate that current neural machine translation could already be used for in-production systems when comparing words-per-second ratios.
Motivation & Objective
- Assess how neural machine translation performs relative to phrase-based SMT and Hiero across 30 translation directions from the UN Parallel Corpus v1.0.
- Evaluate in-production deployment aspects including decoding speed, latency, and efficiency.
- Introduce and evaluate AmuNMT as an efficient NMT decoder for practical deployment.
Proposed method
- Train NMT models using an attentional encoder-decoder (Nematus) with 30k subword units (BPE) across 6 UN languages.
- Compare NMT against PB-SMT and Hiero using the UN 6-language fully aligned subcorpus and a 4,000-sentence development set and 4,000-sentence test set per direction.
- Evaluate BLEU on the full 30-direction matrix and for English-involving pairs with Hiero plus extended NMT training (up to 2.4M iterations).
- Use preprocessing including Moses tokenizer, Jieba for Chinese segmentation, and BPE segmentation; apply subword units to mitigate large-vocabulary issues.
- Develop and assess AmuNMT, an efficient C++ beam-search decoder with multi-GPU/CPU support, vocabulary selection, and subword integration.
Experimental results
Research questions
- RQ1Is NMT competitive with or superior to PB-SMT across all 30 UN translation directions in an in-domain, large-scale setting?
- RQ2What are the BLEU gains of NMT over PB-SMT, particularly for language pairs involving Chinese and Arabic?
- RQ3Does Hiero offer additional gains over PB-SMT and how does extended NMT training affect performance?
- RQ4Can AmuNMT provide production-ready decoding speed and latency compared to Moses and Nematus?
Key findings
- NMT is on par with or better than PB-SMT for all 30 directions, with substantial BLEU gains for Chinese-containing directions and Arabic directions.
- NMT yields improvements of 7–9 BLEU points over PB-SMT when Chinese is involved in the language pair.
- Hiero outperforms PB-SMT for Chinese-English but does not reach the improvement level of NMT; extended NMT training (up to 2M iterations) yields additional gains (0.3–1.3 BLEU) for some pairs.
- AmuNMT provides competitive or superior decoding speed, especially on GPU, and can achieve 865–1,192 words per second with a single GPU and vocabulary selection; it substantially reduces latency in per-sentence translation scenarios.
- An average of last-four-checkpoint ensemble improves BLEU by up to ~2 points, while averaging eight checkpoints yields similar results in some settings.
- CPU-only AmuNMT and single-GPU configurations can be viable deployment options, with AmuNMT starting up in under 10 seconds and CPU-based translation being feasible for production in certain throughput scenarios.
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.