请用英语:利用大型语言模型评估多语言缺陷报告的机器翻译
English Please: Evaluating Machine Translation with Large Language Models for Multilingual Bug Reports
AI总结:
本研究首次系统评估了 DeepL、AWS Translate 及多种大型语言模型在多语言缺陷报告翻译和源语言识别上的表现,发现不同系统各有所长,强调了领域适配和任务特定评估的重要性。
摘要:
缺陷报告的准确翻译对于全球软件开发中的高效协作至关重要。在本研究中,我们首次对缺陷报告上的机器翻译(MT)性能进行了全面评估,利用来自 Visual Studio Code GitHub 仓库的数据,分析了 DeepL、AWS Translate 以及 ChatGPT、Claude、Gemini、LLaMA 和 Mistral 等大型语言模型的能力,特别关注带有 english-please 标签的报告。为了同时评估翻译质量和源语言识别准确性,我们采用了一系列 MT 评估指标——包括 BLEU、BERTScore、COMET、METEOR 和 ROUGE——以及准确率、精确率、召回率和 F1-score 等分类指标。我们的研究结果表明,虽然 ChatGPT(gpt-4o)在语义和词汇翻译质量方面表现出色,但它在源语言识别方面并不领先。Claude 和 Mistral 取得了最高的 F1-score(分别为 0.7182 和 0.7142),Gemini 记录了最佳精确率(0.7414)。AWS Translate 在识别源语言方面显示出最高的准确率(0.4717)。这些结果突出表明,没有任何单一系统能在所有任务中占据主导地位,这强化了针对特定任务进行评估的重要性。本研究强调了在翻译技术内容时进行领域适配的必要性,并为将机器翻译集成到缺陷分诊工作流中提供了可操作的见解。本文的代码和数据集可在 GitHub 获取——https://github.com/av9ash/English-Please。
英文摘要:
Accurate translation of bug reports is critical for efficient collaboration in global software development. In this study, we conduct the first comprehensive evaluation of machine translation (MT) performance on bug reports, analyzing the capabilities of DeepL, AWS Translate, and large language models such as ChatGPT, Claude, Gemini, LLaMA, and Mistral using data from the Visual Studio Code GitHub repository, specifically focusing on reports labeled with the english-please tag. To assess both translation quality and source language identification accuracy, we employ a range of MT evaluation metrics-including BLEU, BERTScore, COMET, METEOR, and ROUGE-alongside classification metrics such as accuracy, precision, recall, and F1-score. Our findings reveal that while ChatGPT (gpt-4o) excels in semantic and lexical translation quality, it does not lead in source language identification. Claude and Mistral achieve the highest F1-scores (0.7182 and 0.7142, respectively), and Gemini records the best precision (0.7414). AWS Translate shows the highest accuracy (0.4717) in identifying source languages. These results highlight that no single system dominates across all tasks, reinforcing the importance of task-specific evaluations. This study underscores the need for domain adaptation when translating technical content and provides actionable insights for integrating MT into bug-triaging workflows. The code and dataset for this paper are available at GitHub-https://github.com/av9ash/English-Please
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。