# 谷歌神经机器翻译

**谷歌神经机器翻译**（Google Neural Machine Translation，GNMT）是谷歌为取代谷歌翻译中基于短语的机器翻译而开发的深度学习翻译系统，于2016年9月27日公布，并由吴永辉（Yonghui Wu）、迈克·舒斯特（Mike Schuster）等32位谷歌研究员撰写技术报告加以描述。<sup>[1](https://arxiv.org/abs/1609.08144)</sup><sup> • </sup><sup>[2](https://research.google/blog/a-neural-network-for-machine-translation-at-production-scale/?hl=in)</sup> 它是一个端到端的神经机器系统，也就是说，由单一网络学习把源语句直接映射为目标语句，而不是把分别调校的短语翻译与语序重排组件组合起来。<sup>[1](https://arxiv.org/abs/1609.08144)</sup>

| 关键事实 | 详情 |
|---|---|
| 公布时间 | 2016年9月27日，同时在中译英方向投入生产使用<sup>[2](https://research.google/blog/a-neural-network-for-machine-translation-at-production-scale/?hl=in)</sup> |
| 架构 | 深层长短期记忆（LSTM）网络，含8层编码器与8层解码器，采用注意力机制与残差连接<sup>[1](https://arxiv.org/abs/1609.08144)</sup> |
| 罕见词处理 | 输入与输出两端都把词语切分为一组有限的常见子词单元（“词片”）<sup>[1](https://arxiv.org/abs/1609.08144)</sup> |
| 报告的质量提升 | 在人工并排评估中，相较谷歌基于短语的生产系统，平均减少60%的翻译错误<sup>[1](https://arxiv.org/abs/1609.08144)</sup> |
| 基准测试 | 在WMT'14英译法与英译德任务上与当时最先进水平相当<sup>[1](https://arxiv.org/abs/1609.08144)</sup> |
| 上线时的生产规模 | 每天约1800万次中译英翻译，运行于TensorFlow与张量处理单元（TPU）之上<sup>[2](https://research.google/blog/a-neural-network-for-machine-translation-at-production-scale/?hl=in)</sup> |
| 多语扩展 | 2016年11月22日：单一多语GNMT系统服务多组语言对，实现训练中从未见过的语言对之间的“零样本”翻译<sup>[3](https://research.google/blog/zero-shot-translation-with-googles-multilingual-neural-machine-translation-system/?m=1)</sup> |

## 背景

[谷歌翻译](https://www.edgepedia.org/zh/google-translate)自2006年上线以来一直运行在基于短语的机器翻译之上。到2016年，该服务已支持103种语言，每天翻译超过1400亿词，这意味着任何替代系统都必须在生产规模上同时满足准确性与速度要求。<sup>[3](https://research.google/blog/zero-shot-translation-with-googles-multilingual-neural-machine-translation-system/?m=1)</sup> [神经机器翻译](https://www.edgepedia.org/zh/neural-machine-translation)在研究上已显出潜力，但存在两个已知障碍：训练与推理的计算开销都很大；而且多数神经系统的罕见词处理能力很差。这些问题阻碍了实际部署。<sup>[1](https://arxiv.org/abs/1609.08144)</sup>

GNMT的设计正是为了解决这两点。谷歌的公告称，它取得了当时机器翻译质量有史以来最大的提升。<sup>[2](https://research.google/blog/a-neural-network-for-machine-translation-at-production-scale/?hl=in)</sup>

## 架构

该模型是一个深层长短期记忆（LSTM）循环网络，含8层编码器与8层解码器，以端到端方式训练，并采用注意力机制与残差连接。<sup>[1](https://arxiv.org/abs/1609.08144)</sup> 编码器把源语句读入为一串表示；解码器在关注这些表示的同时生成目标语句。为提高并行度从而缩短训练时间，注意力机制把解码器的底层与编码器的顶层相连，而不是逐层两两连接。<sup>[1](https://arxiv.org/abs/1609.08144)</sup>

**罕见词。** GNMT不翻译整词，而是把文本切分为一组有限的常见子词单元，称为“词片”，输入与输出两端皆然。论文称这种做法在字符级模型的灵活性与词级模型的效率之间取得了平衡，并指出它能自然地处理罕见词的翻译，同时提升整体准确率。<sup>[1](https://arxiv.org/abs/1609.08144)</sup>

**解码。** 翻译时系统采用束搜索，这一过程同时保留若干候选输出语句，而不是只认定最可能的单个下一个词。GNMT的束搜索采用长度归一化程序与覆盖惩罚，后者促使输出语句倾向于覆盖源语句中的所有词。<sup>[1](https://arxiv.org/abs/1609.08144)</sup>

**速度。** 为加快最终翻译速度，系统在推理计算中使用低精度算术，降低算术的数值精度，而不会造成不可接受的质量损失。<sup>[1](https://arxiv.org/abs/1609.08144)</sup>

## 生产部署

GNMT在公布当天即在中译英语言对上投入生产，承担该方向100%的机器翻译，每天约1800万次翻译。此次部署依赖谷歌的TensorFlow机器学习工具包与张量处理单元（TPU）——这种定制硬件提供了足够的算力，以满足翻译产品的延迟要求。<sup>[2](https://research.google/blog/a-neural-network-for-machine-translation-at-production-scale/?hl=in)</sup> 当时谷歌翻译支持一万多组语言对，中译英只是其中之一，谷歌表示将在未来数月内把GNMT推广到更多语言对。<sup>[2](https://research.google/blog/a-neural-network-for-machine-translation-at-production-scale/?hl=in)</sup>

2016年11月，谷歌翻译面向用户切换到神经系统，先从英语、法语、德语、西班牙语和中文开始，并表示有意将其扩展到全部103种受支持语言。<sup>[4](https://time.com/4572942/google-translate-app-update-2016/)</sup> 据谷歌翻译产品负责人巴拉克·图罗夫斯基（Barak Turovsky）介绍，新系统一次理解整句而非逐短语拼接，利用更广的上下文生成更接近人类自然语法的译文。<sup>[4](https://time.com/4572942/google-translate-app-update-2016/)</sup>

云翻译API把神经系统带给了付费客户：该服务于2017年4月6日正式开放使用，谷歌报告在若干正式开放的语言对上错误率降低55%至85%，并在原有八组语言对之外，新增了对英语与俄语、印地语、越南语、波兰语、阿拉伯语、希伯来语和泰语互译的支持。<sup>[5](https://cloud.google.com/blog/products/gcp/cloud-translation-api-adds-more-languages-and-neural-machine-translation-enters-ga/)</sup>

## 多语GNMT与零样本翻译

若为每一组语言对都单独扩展一个GNMT模型，就意味着要以可观的算力成本构建和维护大量系统。2016年11月，谷歌描述了一种扩展方案：由单一系统——规模与单个GNMT模型相同——共享其参数，在多组语言对之间进行翻译。该架构无需改动基础GNMT系统；只需在输入语句开头加一个额外的“标记”，指明所需的目标语言。<sup>[3](https://research.google/blog/zero-shot-translation-with-googles-multilingual-neural-machine-translation-system/?m=1)</sup>

用日英、韩英等样例训练这样一个系统，可以把“翻译知识”跨语言对迁移。谷歌报告称，该系统即便从未见过韩日样例，也能生成合理的韩日翻译；公司称这种能力为“零样本”翻译，并称据其所知，这是这类迁移学习首次在机器翻译中奏效。<sup>[3](https://research.google/blog/zero-shot-translation-with-googles-multilingual-neural-machine-translation-system/?m=1)</sup> 把网络对日语、韩语和英语中同义语句的内部表示可视化后，可以看到按意义而非按语言形成的清晰聚类，谷歌将其解读为存在“中间语”的迹象，即一种共享的语义表示。<sup>[3](https://research.google/blog/zero-shot-translation-with-googles-multilingual-neural-machine-translation-system/?m=1)</sup>

在该公告发布时，多语系统已在生产环境中服务最近上线的16组语言对中的10组。<sup>[3](https://research.google/blog/zero-shot-translation-with-googles-multilingual-neural-machine-translation-system/?m=1)</sup>

## 评估与局限

在WMT'14英译法与英译德基准上，GNMT取得了与当时最先进水平相当的结果；在针对孤立简单句子的人工并排评估中，相较谷歌基于短语的生产系统，平均减少60%的翻译错误。<sup>[1](https://arxiv.org/abs/1609.08144)</sup> 谷歌自己的公告明确指出机器翻译问题并未解决：GNMT仍可能犯下人类译者不会犯的明显错误，例如漏词、误译专有名词或罕见术语，以及在缺乏段落或页面上下文的情况下孤立地翻译句子。<sup>[2](https://research.google/blog/a-neural-network-for-machine-translation-at-production-scale/?hl=in)</sup>

后续研究进一步指出了GNMT式架构的一些典型失效模式。关于神经机器翻译“幻觉”的研究即以GNMT为典型模型，考察系统产出流畅、置信度高却大错特错的译文的情形。<sup>[6](https://arxiv.org/abs/2104.06683)</sup>

**性别偏见。** 由于神经系统从训练数据中学习模式，GNMT时代的谷歌翻译被证明会复制社会性别刻板印象。2018年的一项研究通过谷歌翻译API，把“他/她是一名工程师”这类句子从12种无语法性别的语言译入英语，发现存在强烈的男性默认倾向，在STEM类职位等性别分布失衡的领域尤为明显；护士对应女性代词、工程师或CEO对应男性代词这类刻板搭配出现概率很高。<sup>[7](https://arxiv.org/abs/1809.02208)</sup> 2019年的一篇ACL论文提出了机器翻译性别偏见的首个挑战集与评估协议，发现包括谷歌翻译在内的四款流行工业系统，在全部八种测试的有语法性别目标语言中都明显容易出现性别偏见性翻译错误。<sup>[8](https://aclanthology.org/P19-1164/)</sup> 2023年对谷歌翻译、DeepL与Modern MT在英西、英意、英法三组语言对上的比较发现，性别翻译存在显著差异，各系统尽管整体翻译质量尚可，却表现出不同程度的偏见。<sup>[9](https://arxiv.org/abs/2306.05882)</sup>

## 遗产

GNMT标志着谷歌翻译的核心技术转向神经方法；谷歌云翻译的文档至今仍称其标准NMT模型是从2016年11月引入的神经网络翻译系统演变而来，此后已有诸多改进。<sup>[10](https://docs.cloud.google.com/translate/docs/advanced/nmt-model)</sup> 谷歌研究院后来将在100多种语言上实现的大幅质量提升归功于2016年推出的GNMT模型，同时指出在最专门的翻译任务之外，最先进的系统仍显著落后于人类表现。<sup>[11](https://research.google/blog/recent-advances-in-google-translate/)</sup>

GNMT之后，技术栈继续演变。2022年，谷歌借助零样本机器翻译新增24种语言；2024年6月，又借助PaLM 2大语言模型新增110种语言，是截至当时规模最大的一次扩展。<sup>[12](https://blog.google/products-and-platforms/products/translate/google-translate-new-languages-2024/)</sup> 到2025年12月，谷歌翻译已在使用Gemini模型进行文本翻译，并通过耳机提供测试版的实时语音到语音翻译。<sup>[13](https://blog.google/products-and-platforms/products/search/gemini-capabilities-translation-upgrades/)</sup> 而GNMT引入的多语单模型思路——一个系统以共享参数服务多组语言对——仍是这些后继系统的组织原则。

## References

1. [Yonghui Wu, Mike Schuster, et al. (2016). Google's Neural Machine Translation System: Bridging the Gap between Human and Machine Translation. arXiv:1609.08144.](https://arxiv.org/abs/1609.08144)
2. [Quoc V. Le & Mike Schuster (September 27, 2016). A Neural Network for Machine Translation, at Production Scale. Google Research Blog.](https://research.google/blog/a-neural-network-for-machine-translation-at-production-scale/?hl=in)
3. [Mike Schuster, Melvin Johnson & Nikhil Thorat (November 22, 2016). Zero-Shot Translation with Google's Multilingual Neural Machine Translation System. Google Research Blog.](https://research.google/blog/zero-shot-translation-with-googles-multilingual-neural-machine-translation-system/?m=1)
4. [Google's Translation App Is About To Get Much Better. Time, November 16, 2016.](https://time.com/4572942/google-translate-app-update-2016/)
5. [Cloud Translation API Neural Machine Translation enters GA and adds more languages. Google Cloud Blog, April 6, 2017.](https://cloud.google.com/blog/products/gcp/cloud-translation-api-adds-more-languages-and-neural-machine-translation-enters-ga/)
6. [The Curious Case of Hallucinations in Neural Machine Translation. arXiv:2104.06683.](https://arxiv.org/abs/2104.06683)
7. [Marcelo O. R. Prates, Pedro H. C. Avelar & Luis Lamb (2018). Assessing Gender Bias in Machine Translation -- A Case Study with Google Translate. arXiv:1809.02208.](https://arxiv.org/abs/1809.02208)
8. [Gabriel Stanovsky, Noah A. Smith & Luke Zettlemoyer (2019). Evaluating Gender Bias in Machine Translation. Proceedings of ACL 2019, pages 1679–1684.](https://aclanthology.org/P19-1164/)
9. [Silvia Alma Piazzolla, Beatrice Savoldi & Luisa Bentivogli (2023). Good, but not always Fair: An Evaluation of Gender Bias for three commercial Machine Translation Systems. arXiv:2306.05882.](https://arxiv.org/abs/2306.05882)
10. [Neural Machine Translation (NMT) model. Google Cloud Documentation.](https://docs.cloud.google.com/translate/docs/advanced/nmt-model)
11. [Recent Advances in Google Translate. Google Research Blog.](https://research.google/blog/recent-advances-in-google-translate/)
12. [Isaac Caswell (June 27, 2024). 110 new languages are coming to Google Translate. Google Blog.](https://blog.google/products-and-platforms/products/translate/google-translate-new-languages-2024/)
13. [Bringing state-of-the-art Gemini translation capabilities to Google Translate. Google Blog, December 12, 2025.](https://blog.google/products-and-platforms/products/search/gemini-capabilities-translation-upgrades/)

---
*Initially written Sep 17, 2026 · Reviewed: Oct 15, 2026 · Edited: Oct 15, 2026 · Last review: Oct 15, 2026*

Topic: 技术与人造世界 › 计算技术与数字系统 › 人工智能与数据 › Language and vision AI › Natural language processing › NLP tasks and methods › Machine translation

Copyright 2026 Edgepedia

License: Edgepedia Community License 1.0, https://www.edgepedia.org/edgepedia/license

Source: https://www.edgepedia.org/zh/google-neural-machine-translation

English original: https://www.edgepedia.org/google-neural-machine-translation
