arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 1910.02688cs.SE
收藏

机器翻译的自动测试与改进

Automatic Testing and Improvement of Machine Translation

Zeyu Sun, Jie M. Zhang, Mark Harman, Mike Papadakis, Lu Zhang

摘要:

本文介绍了TransRepair,一个全自动的方法来测试和修复的一致性机器翻译系统。TransRepair将突变与变形测试相结合,以检测不一致的错误(无需访问人类神谕)。然后采用概率参照或交叉参照的方法对译文进行后处理,以灰盒或黑盒的方式对不一致进行修正。我们对两个最先进的翻译器Google Translate和Transformer的评估表明,TransRepair在生成具有一致翻译的输入对方面具有很高的精度(99%)。通过这些测试,使用自动一致性指标和手动评估,我们发现Google翻译和Transformer有大约36%和40%的不一致性错误。黑盒修复平均修复了Google翻译和Transformer 28%和19%的错误。灰箱修复平均为Transformer修复30%的错误。手动检查表明,我们的方法修复的翻译在87%的情况下提高了一致性(2%的情况下降低了一致性),并且我们的修复在27%的情况下具有更好的翻译可接受性(8%的情况下较差)。

英文摘要:

This paper presents TransRepair, a fully automatic approach for testing and repairing the consistency of machine translation systems. TransRepair combines mutation with metamorphic testing to detect inconsistency bugs (without access to human oracles). It then adopts probability-reference or cross-reference to post-process the translations, in a grey-box or black-box manner, to repair the inconsistencies. Our evaluation on two state-of-the-art translators, Google Translate and Transformer, indicates that TransRepair has a high precision (99%) on generating input pairs with consistent translations. With these tests, using automatic consistency metrics and manual assessment, we find that Google Translate and Transformer have approximately 36% and 40% inconsistency bugs. Black-box repair fixes 28% and 19% bugs on average for Google Translate and Transformer. Grey-box repair fixes 30% bugs on average for Transformer. Manual inspection indicates that the translations repaired by our approach improve consistency in 87% of cases (degrading it in 2%), and that our repairs have better translation acceptability in 27% of the cases (worse in 8%).

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑