Google Neural Machine Translation

(Redirected from GNMT (translation))

Google Neural Machine Translation (GNMT) was a neural machine translation (NMT) system developed by Google and introduced in November 2016 that used an artificial neural network to increase fluency and accuracy in Google Translate.[1][2][3][4] The neural network consisted of two main blocks, an encoder and a decoder, both of LSTM architecture with 8 1024-wide layers each and a simple 1-layer 1024-wide feedforward attention mechanism connecting them.[4][5] The total number of parameters has been variously described as over 160 million,[6] approximately 210 million,[7] 278 million[8] or 380 million.[9] It used WordPiece tokenizer, and beam search decoding strategy. It ran on Tensor Processing Units.

By 2020, the system had been replaced by another deep learning system based on a Transformer encoder and an RNN decoder.[10]

GNMT improved on the quality of translation by applying an example-based (EBMT) machine translation method in which the system learns from millions of examples of language translation.[2] GNMT's proposed architecture of system learning was first tested on over a hundred languages supported by Google Translate.[2] With the large end-to-end framework, the system learns over time to create better, more natural translations.[1] GNMT attempts to translate whole sentences at a time, rather than just piece by piece.[1] The GNMT network can undertake interlingual machine translation by encoding the semantics of the sentence, rather than by memorizing phrase-to-phrase translations.[2][11]

History

edit

The Google Brain project was established in 2011 in the "secretive Google X research lab"[12] by Google Fellow Jeff Dean, Google Researcher Greg Corrado, and Stanford University Computer Science professor Andrew Ng.[13][14][15] Ng's work has led to some of the biggest breakthroughs at Google and Stanford.[12]

In November 2016, Google Neural Machine Translation system (GNMT) was introduced. Since then, Google Translate began using neural machine translation (NMT) in preference to its previous statistical methods (SMT)[1][16][17][18] which had been used since October 2007, with its proprietary, in-house SMT technology.[19][20]

Training GNMT was a big effort at the time and took, by a 2021 OpenAI estimate, on the order of 100 PFLOP/s*day (up to 1022 FLOPs) of compute which was 1.5 orders of magnitude larger than Seq2seq model of 2014[21] (but about 2x smaller than GPT-J-6B in 2021[22]).

Google Translate's NMT system uses a large artificial neural network capable of deep learning.[1][2][3] By using millions of examples, GNMT improves the quality of translation,[2] using broader context to deduce the most relevant translation. The result is then rearranged and adapted to approach grammatically based human language.[1] GNMT's proposed architecture of system learning was first tested on over a hundred languages supported by Google Translate.[2] GNMT did not create its own universal interlingua but rather aimed at finding the commonality between many languages using insights from psychology and linguistics.[23] The new translation engine was first enabled for eight languages: to and from English and French, German, Spanish, Portuguese, Chinese, Japanese, Korean and Turkish in November 2016.[24] In March 2017, three additional languages were enabled: Russian, Hindi and Vietnamese along with Thai for which support was added later.[25][26] Support for Hebrew and Arabic was also added with help from the Google Translate Community in the same month.[27] In mid April 2017 Google Netherlands announced support for Dutch and other European languages related to English.[28] Further support was added for nine Indian languages: Hindi, Bengali, Marathi, Gujarati, Punjabi, Tamil, Telugu, Malayalam and Kannada at the end of April 2017.[29]

By 2020, Google had changed methodology to use a different neural network system based on transformers, and had phased out NMT.[30]

Evaluation

edit

The GNMT system was said to represent an improvement over the former Google Translate in that it will be able to handle "zero-shot translation", that is it directly translates one language into another. For example, it might be trained just for Japanese-English and Korean-English translation, but can perform Japanese-Korean translation. The system appears to have learned to produce a language-independent intermediate representation of language (an "interlingua"), which allows it to perform zero-shot translation by converting from and to the interlingua.[2] Google Translate previously first translated the source language into English and then translated the English into the target language rather than translating directly from one language to another.[11]

A July 2019 study in Annals of Internal Medicine found that "Google Translate is a viable, accurate tool for translating non–English-language trials". Only one disagreement between reviewers reading machine-translated trials was due to a translation error. Since many medical studies are excluded from systematic reviews because the reviewers do not understand the language, GNMT has the potential to reduce bias and improve accuracy in such reviews.[31]

Languages supported by GNMT

edit

As of December 2021, all of the languages of Google Translate support GNMT, with Latin being the most recent addition.

See also

edit

References

edit
  1. ^ a b c d e f Barak Turovsky (November 15, 2016), "Found in translation: More accurate, fluent sentences in Google Translate", Google Blog, retrieved January 11, 2017
  2. ^ a b c d e f g h Mike Schuster; Melvin Johnson; Nikhil Thorat (November 22, 2016), "Zero-Shot Translation with Google's Multilingual Neural Machine Translation System", Google Research Blog, retrieved January 11, 2017
  3. ^ a b Gil Fewster (January 5, 2017), "The mind-blowing AI announcement from Google that you probably missed", freeCodeCamp, retrieved January 11, 2017
  4. ^ a b Wu, Yonghui; Schuster, Mike; Chen, Zhifeng; Le, Quoc V.; Norouzi, Mohammad (2016). "Google's neural machine translation system: Bridging the gap between human and machine translation". arXiv:1609.08144. Bibcode:2016arXiv160908144W. {{cite journal}}: Cite journal requires |journal= (help)
  5. ^ "Peeking into the neural network architecture used for Google's Neural Machine Translation".
  6. ^ Qin, Minghai; Zhang, Tianyun; Sun, Fei; Chen, Yen-Kuang; Fardad, Makan; Wang, Yanzhi; Xie, Yuan (2021). "Compact Multi-level Sparse Neural Networks with Input Independent Dynamic Rerouting". arXiv:2112.10930 [cs.NE].
  7. ^ "Compression of Google Neural Machine Translation Model – NLP Architect by Intel® AI Lab 0.5.5 documentation".
  8. ^ Langroudi, Hamed F.; Karia, Vedant; Pandit, Tej; Kudithipudi, Dhireesha (2021). "TENT: Efficient Quantization of Neural Networks on the tiny Edge with Tapered FixEd PoiNT". arXiv:2104.02233 [cs.LG].
  9. ^ "Data Augmentation | How to use Deep Learning when you have Limited Data". May 19, 2021.
  10. ^ "Recent Advances in Google Translate". research.google. Retrieved May 8, 2024.
  11. ^ a b Boitet, Christian; Blanchon, Hervé; Seligman, Mark; Bellynck, Valérie (2010). "MT on and for the Web" (PDF). Archived from the original (PDF) on March 29, 2017. Retrieved December 1, 2016.
  12. ^ a b Robert D. Hof (August 14, 2014). "A Chinese Internet Giant Starts to Dream: Baidu is a fixture of online life in China, but it wants to become a global power. Can one of the world's leading artificial intelligence researchers help it challenge Silicon Valley's biggest companies?". Technology Review. Retrieved January 11, 2017.
  13. ^ Jeff Dean and Andrew Ng (June 26, 2012). "Using large-scale brain simulations for machine learning and A.I." Official Google Blog. Retrieved January 26, 2015.
  14. ^ "Google's Large Scale Deep Neural Networks Project". YouTube. Retrieved October 25, 2015.
  15. ^ Markoff, John (June 25, 2012). "How Many Computers to Identify a Cat? 16,000". New York Times. Retrieved February 11, 2014.
  16. ^ Katyanna Quach (November 17, 2016), "Google's neural network learns to translate languages it hasn't been trained on: First time machine translation has used true transfer learning", The Register, retrieved January 11, 2017
  17. ^ Lewis-Kraus, Gideon (December 14, 2016). "The Great A.I. Awakening". The New York Times. Retrieved January 11, 2017.
  18. ^ Le, Quoc; Schuster, Mike (September 27, 2016). "A Neural Network for Machine Translation, at Production Scale". Google Research Blog. Retrieved December 1, 2016.
  19. ^ Google Switches to its Own Translation System, October 22, 2007
  20. ^ Barry Schwartz (October 23, 2007). "Google Translate Drops SYSTRAN for Home-Brewed Translation". Search Engine Land.
  21. ^ "AI and compute".
  22. ^ "Table of contents". GitHub.
  23. ^ Chris McDonald (January 7, 2017), Commenting on Gil Fewster's January 5th article in the Atlantic, retrieved January 11, 2017
  24. ^ Turovsky, Barak (November 15, 2016). "Found in translation: More accurate, fluent sentences in Google Translate". The Keyword Google Blog. Retrieved December 1, 2016.
  25. ^ Perez, Sarah (March 6, 2017). "Google's smarter, A.I.-powered translation system expands to more languages". TechCrunch. Oath Inc.
  26. ^ Turovsky, Barak (March 6, 2017). "Higher quality neural translations for a bunch more languages". The Keyword Google Blog. Retrieved March 6, 2017.
  27. ^ Novet, Jordan (March 30, 2017). "Google now provides AI-powered translations for Arabic and Hebrew". VentureBeat.
  28. ^ Finge, Rachid (April 19, 2017). "Grote verbetering voor het Nederlands in Google Translate" [Big improvement for Dutch in Google Translate]. Google Netherlands Blog (in Dutch).
  29. ^ Turovsky, Barak (April 25, 2017). "Making the internet more inclusive in India". The Keyword.
  30. ^ "Recent Advances in Google Translate". research.google. Retrieved May 8, 2024.
  31. ^ Jackson, Jeffrey L; Kuriyama, Akira; Anton, Andreea; Choi, April; Fournier, Jean-Pascal; Geier, Anne-Kathrin; Jacquerioz, Frederique; Kogan, Dmitry; Scholcoff, Cecilia; Sun, Rao (July 30, 2019). "The Accuracy of Google Translate for Abstracting Data From Non–English-Language Trials for Systematic Reviews". Annals of Internal Medicine. 171 (9): 678. doi:10.7326/M19-0891. ISSN 0570-183X. PMID 31357212. S2CID 198980789.
edit