arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2310.13362cs.CLcs.AIcs.LGcs.SE
收藏

通过机器翻译中的行为测试迈向通用错误诊断

Towards General Error Diagnosis via Behavioral Testing in Machine Translation

The Hong Kong University of Science and Technology(香港科技大学);Tencent AI Lab(腾讯人工智能实验室)

Junjie Wu, Lemao Liu, Dit-Yan Yeung

AI总结:

本文提出了一种基于双语翻译对生成的行为测试(BTPGBT)框架,通过自动化构建高质量测试用例及伪参考,解决了机器翻译系统行为测试中依赖人工参考的问题,实现了对通用错误的全面准确诊断。

摘要:

行为测试为诊断语言错误和评估NLP模型的性能提供了关键手段。然而,将行为测试应用于机器翻译(MT)系统具有挑战性,因为它通常需要人工为这些系统在新生成的测试用例上的翻译质量评估构建参考。现有关于MT系统行为测试的研究通过在无参考的情况下评估翻译质量来规避这一问题,但这将诊断限制在特定类型的错误上,例如单个数字或货币单词的错误翻译。为了诊断通用错误,本文提出了一种新的基于双语翻译对生成的行为测试(BTPGBT)框架,用于对MT系统进行行为测试。BTPGBT的核心思想是采用一种新颖的双语翻译对生成(BTPG)方法,该方法能够自动化构建高质量测试用例及其伪参考。在各种MT系统上的实验结果表明,BTPGBT能够为通用错误诊断提供全面且准确的行为测试结果,这进一步带来了若干具有启发性的发现。我们的代码和数据可在 https: //github.com/wujunjie1998/BTPGBT 获取。

英文摘要:

Behavioral testing offers a crucial means of diagnosing linguistic errors and assessing capabilities of NLP models. However, applying behavioral testing to machine translation (MT) systems is challenging as it generally requires human efforts to craft references for evaluating the translation quality of such systems on newly generated test cases. Existing works in behavioral testing of MT systems circumvent this by evaluating translation quality without references, but this restricts diagnosis to specific types of errors, such as incorrect translation of single numeric or currency words. In order to diagnose general errors, this paper proposes a new Bilingual Translation Pair Generation based Behavior Testing (BTPGBT) framework for conducting behavioral testing of MT systems. The core idea of BTPGBT is to employ a novel bilingual translation pair generation (BTPG) approach that automates the construction of high-quality test cases and their pseudoreferences. Experimental results on various MT systems demonstrate that BTPGBT could provide comprehensive and accurate behavioral testing results for general error diagnosis, which further leads to several insightful findings. Our code and data are available at https: //github.com/wujunjie1998/BTPGBT.

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

↑