Profile

Settings

Loading…

← Papers

Help

FAQ

Which features require signing in?

You can read the commentary, paper info, Model Structure and related papers of public papers without signing in. Sign in to manage your account or contact us about your inquiries.

Can I upload a PDF file?

Upload papers with an arXiv or DOI link; the commentary is public to everyone. Papers whose source and terms of use can't be verified, so the commentary can't be made public, can't be uploaded. Uploading PDF files and keeping papers private are for subscribers only, and a paper uploaded as a file is saved as private only. Searching for official info by title runs only when you press the button.

Are the figures and AI commentary accurate?

Figures come only from the original paper, and only those whose terms of use are verified are shown. The commentary is written by AI and may be wrong. Check important claims, numbers and figure context against the evidence in the original paper.

I want to report a copyright issue.

Terms of use and the source of the original paper are on the Paper info tab. If there's a problem, choose "Paper content, figures and copyright" under Contact us and send the paper link, the part in question, and evidence that you hold the rights. Receiving your report doesn't confirm any rights or remove anything right away. You can see the result of the review under My inquiries.

I forgot my password.

If you signed up with email, use Forgot password in the sign-in window to reset it with your verified email. If you signed up with Google, Naver or Kakao, change your password with that service.

What should I include in an inquiry?

Tell us which screen you were on and what you were doing when the problem happened, along with the paper link. Don't include personal information such as passwords, API keys, verification codes or phone numbers. Inquiries and replies are stored in Refivu and you can see them under My inquiries.

How do I delete my account?

In Settings, under My account, press Delete account. Review what will be deleted and complete identity verification to delete your account. For other requests, choose "Account" under Contact us.

Paper commentary

Google's Neural Machine Translation System: Bridging the Gap between Human and Machine Translation

GNMT uses wordpieces and low-precision inference to translate faster

  • Problem Neural machine translation has potential but is computationally expensive to train and run. Most NMT systems also struggle with rare words, which limits practical deployment.
  • Method GNMT is a deep 8-layer LSTM encoder-decoder with residual connections. It splits words into wordpieces and runs inference with 8-bit integer arithmetic.
  • Results On a human side-by-side test, GNMT cut translation errors by 60% compared to the phrase-based production system.

Why NMT stalled in production

Neural machine translation learns the mapping from source text to target text end to end, which avoids many brittle design choices of phrase-based systems. Training on a large dataset takes a long time and a lot of compute, which slows the experiment cycle. At inference, the large number of parameters makes NMT generally slower than phrase-based decoding.

Rare words are a second weakness, because copy models and attention-based copying depend on alignments that are unreliable at scale. Output can also skip parts of the source sentence, which produces surprising translations. These gaps matter because the system must serve live traffic, where accuracy and speed both count.

A deep LSTM stack with residual links

The core idea is to make the encoder and decoder deep, and to add residual links so that the extra layers still train. In the authors' experience, plain LSTM stacks worked well up to 4 layers, barely at 6, and very poorly beyond 8. A residual link adds the input of a layer to its output before the next layer reads it, which improves gradient flow in the backward pass.

GNMT uses 8 LSTM layers, and the authors expect residual connections could train substantially deeper networks.

Only the bottom encoder layer is bi-directional, because bi-directional layers higher up would make each layer wait for both directions below it. The attention takes the bottom decoder layer's output and attends to the top encoder layer, so the remaining decoder layers keep their parallelism. Aligning the top decoder layer instead would, in the authors' view, remove that parallelism.

For rare words, GNMT breaks words into wordpieces, so 'Jet' becomes '_J' and 'et'. A single shared wordpiece model covers both languages, so an identical string segments the same way on each side, which helps the model copy names and numbers. The vocabulary is kept between 8k and 32k wordpieces, which gave good BLEU and fast decoding across the language pairs tried.

Refining with a sentence-level reward

Maximum-likelihood training never sees the model's own mistakes and doesn't optimize the BLEU reward directly. The authors therefore refine a converged model with an expected reward, where the per-sentence reward is the GLEU score.

The mean reward over 15 sampled outputs is subtracted from each reward to stabilize training. \[ O_{Mixed}(\theta)=\alpha\, O_{ML}(\theta)+O_{RL}(\theta) \] Refinement runs until development BLEU stops improving, and the authors describe it as optional.

Quantized inference and its speed

During training the model keeps full-precision floats, but the RNN accumulators are clipped to a range of minus delta to delta and the softmax logits to minus gamma to gamma. At inference the weight matrices are rounded to 8-bit integers, and the accumulators are held in 16-bit integers.

TPU decoding lost 0.0072 in log perplexity, which the authors say matches earlier findings on quantized convolutional networks. Decoding on CPU was 2.3 times faster than on GPU, which the authors attribute partly to host-GPU transfer during beam search. Decoding on TPU was 3.4 times faster than on CPU.

Quantization-aware training reached a log perplexity slightly below normal training, and the authors conjecture the clipping acts as regularization. Training with Adam first and then SGD also matters for the same ML stage, since Adam alone converged to a worse point.

Beam search scoring

The authors rank complete hypotheses by a normalized log probability plus a coverage term. \[ s(Y,X)=\frac{\log P(Y\mid X)}{lp(Y)}+cp(X;Y) \] The length term lp(Y) divides the log probability by (5+|Y|) raised to alpha over (5+1) raised to alpha, and the coverage term sums log of the capped attention mass per source symbol, scaled by beta.

For the ML-only model, alpha and beta at zero gave 30.3 BLEU on the development set. Slightly larger alpha and beta, such as 0.2 and 0.2, raised it to 31.4. With RL refinement, the same parameters move BLEU very little, which fits the idea that refined models already attend to the full source.

WMT and production results

On WMT En to Fr, the WPM-32K single model averaged 38.95 BLEU over 8 models, and its best single run reached 39.37. The word model scored 37.90 and the character model 38.01, so the wordpiece model led on accuracy. On WMT En to De, the WPM-32K model averaged 24.61 BLEU over 8 runs, compared to 23.12 for the word model.

For En to De, the refined model scored 24.60 against 24.67 without refinement, so it slightly hurt test BLEU.

In a four-way human side-by-side test, the reference translations scored 4.82 and the NMT model before RL scored 4.46. The NMT model after RL scored 4.44, and the phrase-based system scored 3.87, so RL barely changed human judgement. On production data, GNMT cut translation errors by 60% compared to the phrase-based system across several language pairs.

Limitations

Only 500 examples were used for the side-by-side test, so small human gains may go undetected. The text calls WPM-32K the fastest model, but Table 4 gives WPM-8K 0.1919 seconds per sentence against 0.2118 for WPM-32K. Table 6 gives 24.67 for the En to De log-likelihood model, while Table 5 gives 24.61 for WPM-32K, so the two tables differ on this result.

Production human evaluation covers English-French, English-Spanish and English-Chinese, without ensembling. Decoding speed was measured on one machine with two Intel Haswell CPUs and one GPU or TPU.

Paper info

Authors
Yonghui Wu, Mike Schuster, Zhifeng Chen, Quoc V. Le, Mohammad Norouzi, Wolfgang Macherey, Maxim Krikun, Yuan Cao, Qin Gao, Klaus Macherey, Jeff Klingner, Apurva Shah, Melvin Johnson, Xiaobing Liu, Łukasz Kaiser, Stephan Gouws, Yoshikiyo Kato, Taku Kudo, Hideto Kazawa, Keith Stevens, George Kurian, Nishant Patil, Wei Wang, Cliff Young, Jason Smith, Jason Riesa, Alex Rudnick, Oriol Vinyals, Greg Corrado, Macduff Hughes, Jeffrey Dean
Venue
arXiv · Preprint
First published
2016-9-26
Added
2026-11-11
Updated
2016-10-8
Version
v2
arXiv
1609.08144
Category
cs.CL · cs.AI · cs.LG
Original paper terms
arXiv non-exclusive 1.0
What we show
Paper info and commentary

AI commentary is a separate explanation from the original paper and may contain errors. The original paper and figures follow each source's terms of use and any rights noted separately.

Quote from the paper

Yonghui Wu, Mike Schuster, Zhifeng Chen, Quoc V. Le, Mohammad Norouzi, Wolfgang Macherey, Maxim Krikun, Yuan Cao, Qin Gao, Klaus Macherey, Jeff Klingner, Apurva Shah, Melvin Johnson, Xiaobing Liu, Łukasz Kaiser, Stephan Gouws, Yoshikiyo Kato, Taku Kudo, Hideto Kazawa, Keith Stevens et al. (2016). Google's Neural Machine Translation System: Bridging the Gap between Human and Machine Translation. arXiv:1609.08144v2. https://arxiv.org/abs/1609.08144v2

BibTeX
@misc{wu2016google,
  title = {{Google's Neural Machine Translation System: Bridging the Gap between Human and Machine Translation}},
  author = {Yonghui Wu and Mike Schuster and Zhifeng Chen and Quoc V. Le and Mohammad Norouzi and Wolfgang Macherey and Maxim Krikun and Yuan Cao and Qin Gao and Klaus Macherey and Jeff Klingner and Apurva Shah and Melvin Johnson and Xiaobing Liu and Łukasz Kaiser and Stephan Gouws and Yoshikiyo Kato and Taku Kudo and Hideto Kazawa and Keith Stevens and George Kurian and Nishant Patil and Wei Wang and Cliff Young and Jason Smith and Jason Riesa and Alex Rudnick and Oriol Vinyals and Greg Corrado and Macduff Hughes and Jeffrey Dean},
  year = {2016},
  eprint = {1609.08144},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1609.08144v2}
}

See related papersBrowse other papers

Paper preview
Account security

Connect Google account

If you connect a Google account, you can sign in with it too.

Refivu

Delete account

Refivu
Refivu

Sign up