立即打开
人工智能助力古代语言翻译——天堑变通途

人工智能助力古代语言翻译——天堑变通途

Rachel Shin 2023-07-10
我们即将迎来由AI赋能的计算语言学新时代。

目前仍然有许多阿卡德语(古代西亚两河流域阿卡德人的语言,属闪含语系)资料尚待翻译。图片来源:ZAID AL-OBEIDI—AFP VIA GETTY IMAGES

众所周知,“死语言”(Dead languages)的破译难度极大。破译罗塞塔石碑(Rosetta Stone)上的埃及象形文字用了23年,破译玛雅石刻(Mayan Glyphs)用了近两个世纪,破译希腊语的最早形式——线形文字B(Linear B)更是用了足足3,000多年。在谈及AI的颠覆性潜力时,技术乐观主义者(techno-optimist)经常会提到这样的难题,而且即便对于那些已经得到破译的语言来说,挑战也依然存在。阿卡德楔形文字就是一个很好的例子,作为全球最古老的书面语言之一,能够阅读这种灭绝语言的人寥寥无几,导致至今仍然有近百万篇阿卡德语文本尚未得到翻译,但现在,AI工具只需要几秒就可以完成这些文本的翻译工作。

今年5月,一个由计算机科学和历史研究人员组成的跨学科小组发表了一篇期刊文章,介绍了他们开发的一种能够对古代象形字符进行即时翻译的AI模型。该小组由谷歌(Google)的软件工程师和阿里尔大学(Ariel University)的亚述学专家领导,使用与谷歌翻译(Google Translate)相同的底层技术和现有楔形文字翻译资料对该模型进行的训练。

照亮漫漫译路的灯塔

在翻译死语言,特别是那些没有后代语言(descendant languages)的语言时,由于没有丰富的文化背景,推敲词义的工作就像一场漫无目的的旅行。阿卡德语就是如此。公元前24世纪至22世纪,阿卡德语通行于阿卡德帝国(Akkadian Empire,位于今伊拉克),既有语言,也有文字,其楔形文字系统使用的是一种由彼此相交的尖锐三角形符号组成的字母。阿卡德人通常用芦苇的楔形末端在泥板上写字(“cuneiform”在拉丁文中就是“楔形”的意思)。由于这种材料结实耐用,即便经过千年风雨的洗礼之后,现在仍然有数十万块载有楔形文字的石板存世,在各所大学和博物馆的大厅中展出,供后人瞻仰。

外界常常误以为翻译就是对外语单词或短语进行一对一的“解码”。但受细微文化差别和语言结构差异的影响,一种语言在另一种语言中往往并没有准确或直白的对应表达。要想做出高质量的翻译,译者必须对两种语言的结构、相关文化以及支撑文化的历史有深刻的了解。要想在翻译时保留原文原有的语气、节奏,甚至幽默感,必须有高超的技巧,而如果我们对源语言的文化背景知之甚少,这项工作就将难如登天。

现存的楔形文字语料浩如烟海,但可以翻译阿卡德语的语言学家却寥寥无几。这意味着有关这个重要早期文明(有时被认为是史上第一个帝国)的知识宝库完全没有得到开发。目前,现存石板的数量和考古学家挖掘出新石板的速度远远超出了语言学家的翻译能力。但在AI技术应用于楔形文字翻译工作后,这种情况或将改变。

该团队写道:“记载着古代美索不达米亚政治、社会、经济和科学历史的楔形文字泥板数以万计。但由于这些资料数量庞大,而能够读懂的专家又很少,因此大多尚未得到翻译,自然也就无法加以利用。”

该团队开发的AI工具可以进行两种翻译工作:一是将楔形文字翻译成英语,二是对楔形文字进行音译(标注出该文字的读音)。根据最佳双语替换评测4(Best Bilingual Evaluation Understudy 4,用于衡量翻译质量),该AI工具在执行上述两种翻译任务时分别能够得到36.52和37.47的高分,均高于团队目标,并且已经达到高质量翻译的标准。最佳双语替换评测4的分值区间为0到100(或0到1),70分是专业人类译员实际可以达到的最高分。

普林斯顿大学(Princeton University)的计算语言学家汤姆·麦考伊说,几十年来,机翻的结果都不够稳定,质量也不高。过去的翻译程序只能根据内置语法规则机械地工作,往往无法理解游离于正规语法之外的成语和有言外之意的表达的丰富内涵。但近期出现的AI 翻译工具(比如这款楔形文字翻译工具)已经可以深入语言的这种“模糊”领域。这预示着我们即将迎来由AI赋能的计算语言学新时代,想想都令人激动不已。

麦考伊说:“新近推出的AI程序引入了统计处理这样一个重要的新工具。统计处理依然是一种数学工具,只是不像大家过去用的数学工具那么死板。统计学的应用让我们在某种程度上克服了传统方案的缺陷。我们现在用的是机器学习和深度学习。机器能够学习所有的习语、成语和特殊表达,而这正是前代AI所不具备的能力。”

“永远不能盲目相信机翻结果”

该楔形文字AI翻译工具仍然会犯错,而且和其他AI工具一样,也会出现“幻觉”。举个例子,该工具曾经把“为什么我们(也)要在一个来自利比阿利的人面前进行诉讼?”译成了“他们在内城的内城”。

尽管时有错误,但该工具却仍然可以在文本初步处理方面为我们节省大量的人力和时间。

在谈及使用AI技术进行翻译时,麦考伊说:“AI技术令人赞叹,只是目前仍然不十分可靠。虽然时有亮眼表现,但我们永远不能盲目相信它输出的结果。也就是说,最适合交给AI处理的是那些需要耗费大量劳动,同时人类很难完成的工作。不过在AI输出结果后,只需进行人工审核即可,这就简单多了。”

该模型在翻译短句和公式化文本(例如公文记录)时准确度最高。出乎研究人员意料的是,其还能在译文中重现特定体裁的细微差别。研究人员写道,未来,随着可以用于AI训练的翻译样本越来越多,其准确性将进一步提高。

该模型目前能够用于协助研究人员完成初译,再交由人工对译文进行校对、润色。

“未来,该模型将可以向用户展示其译文所依据的材料列表,这一功能对学术研究而言可能尤为实用。”研究人员写道。(财富中文网)

译者:梁宇

审校:夏林

众所周知,“死语言”(Dead languages)的破译难度极大。破译罗塞塔石碑(Rosetta Stone)上的埃及象形文字用了23年,破译玛雅石刻(Mayan Glyphs)用了近两个世纪,破译希腊语的最早形式——线形文字B(Linear B)更是用了足足3,000多年。在谈及AI的颠覆性潜力时,技术乐观主义者(techno-optimist)经常会提到这样的难题,而且即便对于那些已经得到破译的语言来说,挑战也依然存在。阿卡德楔形文字就是一个很好的例子,作为全球最古老的书面语言之一,能够阅读这种灭绝语言的人寥寥无几,导致至今仍然有近百万篇阿卡德语文本尚未得到翻译,但现在,AI工具只需要几秒就可以完成这些文本的翻译工作。

今年5月,一个由计算机科学和历史研究人员组成的跨学科小组发表了一篇期刊文章,介绍了他们开发的一种能够对古代象形字符进行即时翻译的AI模型。该小组由谷歌(Google)的软件工程师和阿里尔大学(Ariel University)的亚述学专家领导,使用与谷歌翻译(Google Translate)相同的底层技术和现有楔形文字翻译资料对该模型进行的训练。

照亮漫漫译路的灯塔

在翻译死语言,特别是那些没有后代语言(descendant languages)的语言时,由于没有丰富的文化背景,推敲词义的工作就像一场漫无目的的旅行。阿卡德语就是如此。公元前24世纪至22世纪,阿卡德语通行于阿卡德帝国(Akkadian Empire,位于今伊拉克),既有语言,也有文字,其楔形文字系统使用的是一种由彼此相交的尖锐三角形符号组成的字母。阿卡德人通常用芦苇的楔形末端在泥板上写字(“cuneiform”在拉丁文中就是“楔形”的意思)。由于这种材料结实耐用,即便经过千年风雨的洗礼之后,现在仍然有数十万块载有楔形文字的石板存世,在各所大学和博物馆的大厅中展出,供后人瞻仰。

外界常常误以为翻译就是对外语单词或短语进行一对一的“解码”。但受细微文化差别和语言结构差异的影响,一种语言在另一种语言中往往并没有准确或直白的对应表达。要想做出高质量的翻译,译者必须对两种语言的结构、相关文化以及支撑文化的历史有深刻的了解。要想在翻译时保留原文原有的语气、节奏,甚至幽默感,必须有高超的技巧,而如果我们对源语言的文化背景知之甚少,这项工作就将难如登天。

现存的楔形文字语料浩如烟海,但可以翻译阿卡德语的语言学家却寥寥无几。这意味着有关这个重要早期文明(有时被认为是史上第一个帝国)的知识宝库完全没有得到开发。目前,现存石板的数量和考古学家挖掘出新石板的速度远远超出了语言学家的翻译能力。但在AI技术应用于楔形文字翻译工作后,这种情况或将改变。

该团队写道:“记载着古代美索不达米亚政治、社会、经济和科学历史的楔形文字泥板数以万计。但由于这些资料数量庞大,而能够读懂的专家又很少,因此大多尚未得到翻译,自然也就无法加以利用。”

该团队开发的AI工具可以进行两种翻译工作:一是将楔形文字翻译成英语,二是对楔形文字进行音译(标注出该文字的读音)。根据最佳双语替换评测4(Best Bilingual Evaluation Understudy 4,用于衡量翻译质量),该AI工具在执行上述两种翻译任务时分别能够得到36.52和37.47的高分,均高于团队目标,并且已经达到高质量翻译的标准。最佳双语替换评测4的分值区间为0到100(或0到1),70分是专业人类译员实际可以达到的最高分。

普林斯顿大学(Princeton University)的计算语言学家汤姆·麦考伊说,几十年来,机翻的结果都不够稳定,质量也不高。过去的翻译程序只能根据内置语法规则机械地工作,往往无法理解游离于正规语法之外的成语和有言外之意的表达的丰富内涵。但近期出现的AI 翻译工具(比如这款楔形文字翻译工具)已经可以深入语言的这种“模糊”领域。这预示着我们即将迎来由AI赋能的计算语言学新时代,想想都令人激动不已。

麦考伊说:“新近推出的AI程序引入了统计处理这样一个重要的新工具。统计处理依然是一种数学工具,只是不像大家过去用的数学工具那么死板。统计学的应用让我们在某种程度上克服了传统方案的缺陷。我们现在用的是机器学习和深度学习。机器能够学习所有的习语、成语和特殊表达,而这正是前代AI所不具备的能力。”

“永远不能盲目相信机翻结果”

该楔形文字AI翻译工具仍然会犯错,而且和其他AI工具一样,也会出现“幻觉”。举个例子,该工具曾经把“为什么我们(也)要在一个来自利比阿利的人面前进行诉讼?”译成了“他们在内城的内城”。

尽管时有错误,但该工具却仍然可以在文本初步处理方面为我们节省大量的人力和时间。

在谈及使用AI技术进行翻译时,麦考伊说:“AI技术令人赞叹,只是目前仍然不十分可靠。虽然时有亮眼表现,但我们永远不能盲目相信它输出的结果。也就是说,最适合交给AI处理的是那些需要耗费大量劳动,同时人类很难完成的工作。不过在AI输出结果后,只需进行人工审核即可,这就简单多了。”

该模型在翻译短句和公式化文本(例如公文记录)时准确度最高。出乎研究人员意料的是,其还能在译文中重现特定体裁的细微差别。研究人员写道,未来,随着可以用于AI训练的翻译样本越来越多,其准确性将进一步提高。

该模型目前能够用于协助研究人员完成初译,再交由人工对译文进行校对、润色。

“未来,该模型将可以向用户展示其译文所依据的材料列表,这一功能对学术研究而言可能尤为实用。”研究人员写道。(财富中文网)

译者:梁宇

审校:夏林

Dead languages are famously hard to decipher. It took 23 years to crack the Egyptian hieroglyphics on the Rosetta Stone. It took nearly two centuries to understand Mayan glyphs. And it took over 3,000 years to reveal Linear B, the earliest form of Greek. When techno-optimists talk about the game-changing potential of A.I., they cite difficult problems like this, and even for languages that have already been translated, challenges remain. Consider Akkadian cuneiform, one of the world’s oldest written languages. There are so few people who can read the extinct language that nearly a million Akkadian texts still haven’t been translated to date—but now an A.I. tool can decode them within seconds.

An interdisciplinary group of computer science and history researchers published a journal article in May describing how they had created an A.I. model to instantly translate the ancient glyphs. The team, led by a Google software engineer and an Assyriologist from Ariel University, trained the model on existing cuneiform translations using the same technology that powers Google Translate.

A beacon to weary translation travelers

In translating dead languages, especially those with no descendant languages, piecing together meaning without a wealth of cultural context can be like traveling without a North Star. Akkadian is just such a language. The tongue of the Akkadian Empire, located in present-day Iraq during the 24th to 22nd centuries BCE, Akkadian existed as both a spoken and written language. Its cuneiform writing system used an alphabet of sharp, intersecting triangular figures. Akkadians typically wrote by marking a clay tablet with the wedge-shaped end of a reed (cuneiform literally means “wedge shaped” in Latin). Hundreds of thousands of these tablets, due to the durability of their material, have weathered the centuries and now populate the halls of various universities and museums.

Translation is often misunderstood as a one-to-one decryption of a foreign word or phrase. But many times, a statement in one language doesn’t have an exact or easy equivalent in another, accounting for cultural nuance and difference in the languages’ construction. High-quality translation requires a deep knowledge of both languages’ structures, their surrounding cultures, and the histories that anchor those cultures. Translating a text while preserving its original tone, cadence, and even humor is a delicate craft—and an incredibly difficult one when the language’s culture is largely unknown.

The number of existing cuneiform texts is overwhelming compared to the small number of linguists who are able to translate Akkadian. This means that troves of knowledge on the significant early civilization, sometimes considered the first empire in history, are completely untapped. Right now, the number of existing tablets and the rate of new tablets being excavated by archaeologists outpace linguists’ translation efforts. But that could change with the integration of A.I. into the cuneiform interpretation process.

“Hundreds of thousands of clay tablets inscribed in the cuneiform script document the political, social, economic, and scientific history of ancient Mesopotamia,” the team wrote. “Yet, most of these documents remain untranslated and inaccessible due to their sheer number and limited quantity of experts able to read them.”

The A.I. can perform two types of translation—translating cuneiform to English, and transliterating cuneiform (rewriting it phonetically). The A.I.’s skill at the two translation types of translation scored 36.52 and 37.47, respectively, on the Best Bilingual Evaluation Understudy 4 (BLEU4), a measure of translation quality. These scores were above the team’s target, and are both high enough to be considered high-quality translations. BLEU4 scores on a scale of 0 to 100 (or 0 to 1) with 70 being the highest that could be realistically achieved by a very skilled human translator.

For decades, computer-generated translations were brittle and unreliable, Tom McCoy, a computational linguist at Princeton University, said. Translation programs embedded with grammatical rules always missed the richness of meaning in idioms and nonliteral language that slip through the cracks of formal grammar. But recently, A.I. programs like the cuneiform translator have been able to get at the “fuzzier” areas of language. It heralds an exciting new period of A.I.-propelled computational linguistics.

“In recent A.I., the big new thing is statistical processing, which is another type of math but not the sort of rigid rules that people were working with before,” McCoy said. “Statistics got us kind of over the hump of previous methods. We’re now working with machine learning and deep learning. Machines are able to learn all these idiosyncrasies, idioms, and exceptions to rules, which is what was missing in the previous generation of A.I.”

“You can never really trust the output”

The cuneiform A.I.’s translations still had mistakes—and had “hallucinations” as is common with A.I. In one example, it translated “Why should we (also) conduct the lawsuit before a man from Libbi-Ali?” as “They are in the Inner City in the Inner City.”

Despite occasional errors, the tool still saved huge amounts of time and human labor in its initial processing of the texts.

“A.I. currently is remarkable but unreliable. So it can do really amazing things, but you can never really trust the output it produces,” McCoy said of using A.I. for translation. “This means that the best case for using A.I. is something where it’s very labor intensive, hard for humans to do, but once A.I. has given you some output, it’s easy for humans to verify it.”

The model was most accurate when translating shorter sentences and formulaic texts like administrative records. It was also—surprisingly to the researchers—able to reproduce genre-specific nuances in translation. In the future, the A.I. will be trained on larger and larger samples of translations to further improve its accuracy, the researchers wrote.

For now, it can assist researchers by producing preliminary translations that humans can then check for accuracy and refine in nuance.

“A promising future scenario would have the [model] show the user a list of sources on which they based their translations, which would also be particularly useful for scholarly purposes,” the researchers wrote.

热读文章
热门视频
扫描二维码下载财富APP