SUT:面向转译器模型的主动缺陷探测
SUT: Active Defects Probing for Transcompiler Models
AI总结:
本文提出新型主动缺陷探测套件SUT及配套评估框架,用于检测程序翻译模型在目标语言缺失源语言语法元素时的基本语法错误,实验表明ChatGPT通过率下降26.15%。
摘要:
自动程序翻译具有巨大的应用价值,因此引起了AI研究人员的极大兴趣。然而,我们观察到当前的程序翻译模型仍然会犯基本的语法错误,特别是当目标语言中没有源语言的语法元素时。像BLUE、CodeBLUE和计算准确率这样的指标可能无法暴露这些问题。在本文中,我们引入了一种用于编程语言翻译的新指标,这些指标解决了这些基本语法错误。我们开发了一套名为Syntactic Unit Tests (SUT)的新型主动缺陷探测套件,其中包括一个高度可解释的准确率和测试评分评估框架。实验表明,即使是像ChatGPT这样强大的模型在这些基本单元测试中仍然会犯错。具体而言,与之前的程序翻译任务评估数据集相比,它在我们单元测试中的通过率下降了26.15%。此外,我们的评估框架揭示了这些模型存在缺陷的语法元素错误。
英文摘要:
Automatic Program translation has enormous application value and hence has been attracting significant interest from AI researchers. However, we observe that current program translation models still make elementary syntax errors, particularly, when the target language does not have syntax elements in the source language. Metrics like BLUE, CodeBLUE and computation accuracy may not expose these issues. In this paper we introduce a new metrics for programming language translation and these metrics address these basic syntax errors. We develop a novel active defects probing suite called Syntactic Unit Tests (SUT) which includes a highly interpretable evaluation harness for accuracy and test scoring. Experiments have shown that even powerful models like ChatGPT still make mistakes on these basic unit tests. Specifically, compared to previous program translation task evaluation dataset, its pass rate on our unit tests has decreased by 26.15%. Further our evaluation harness reveal syntactic element errors in which these models exhibit deficiencies.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。