一句话:提出成分不变性准则并实现 CIT 工具,用句法成分解析和数据增强自动检测机器翻译错误。
机器翻译已广泛使用,但其作为软件同样存在缺陷,错误翻译可能造成误解甚至危机。本文从句法结构分析出发提出 constituency invariance(成分不变性),用其刻画简单句与由其派生句在结构上的相似性,以此测试机器翻译器。作者实现自动化工具 CIT:利用成分句法树表示句子结构,并通过高效数据增强从单个句子派生多个新句子,再检查原句与派生句翻译结果是否满足成分不变性,从而定位翻译错误。使用 600 个种子句子对 Bing Microsoft Translator、Google Translate 和 Youdao Translator 进行评估,分别检测出 2212、1910、1590 个翻译错误,精确率约 77%;提交后三家分别修复了 15.4%、32.0%、14.3% 的报告错误。
With the development of deep neural networks, machine translation has achieved significant progress and integrated with people’s daily lives to assist in various tasks. However, machine translators, which are essentially one kind of software, also suffer from software defects. Translation errors might cause misunderstanding or even lead to marketing blunders, and political crisis. Thus, almost all translation service providers have feedback channels of incorrect translations to collect training data and improve product performance. Inspired by the syntax structure analysis, we introduce the constituency invariance, which reflects the structural similarity between a simple sentence and sentences derived from it, to test machine translators. We implement it into an automated tool CIT to detect translation errors by checking the constituency invariance relation between the translation results. CIT adopts constituency parse trees to represent the syntactic structures of sentences and employs an efficient data augmentation method to derive multiple new sentences based on one sentence. To validate CIT, we experiment with three widely-used machine translators, i.e., Bing Microsoft Translator, Google Translate, and Youdao Translator. With 600 seed sentences as input, CIT detects 2212, 1910, and 1590 translation errors with around 77% precision. We have submitted detected errors to the development teams. Until we submit this paper, Google, Bing, and Youdao have fixed 15.4%, 32.0%, 14.3% of reported errors, respectively.
DOI 原文 ·
@inproceedings{paperbot6567,
title = {Automated Testing for Machine Translation via Constituency Invariance},
author = {Pin Ji and Yang Feng and Jia Liu and Zhihong Zhao and Baowen Xu},
booktitle = {ASE},
year = {2021},
doi = {10.1109/ase51524.2021.9678715}
}