arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2410.20941cs.CLcs.AI
收藏

文档级机器翻译的细粒度多维度评估指标

Fine-Grained and Multi-Dimensional Metrics for Document-Level Machine Translation

Digital Twin Institute, Eastern Institute of Technology, Ningbo, China(数字孪生研究所,东部技术研究所,宁波,中国);Saarland University(萨尔兰州大学);Department of Computing, The Hong Kong Polytechnic University(计算系,香港理工大学);The Hong Kong University of Science and Technology (Guangzhou)(香港科技大学(广州))

Yirong Sun, Dawei Zhu, Yanjun Chen, Erjia Xiao, Xinghao Chen, Xiaoyu Shen

AI总结:

本研究评估指令微调LLMs直接翻译整个文档的能力,发现该方法优于逐句翻译,但BLEU分数无法反映优势,故提出用GPT-4作为裁判进行细粒度评估。

摘要:

大型语言模型(LLMs)在各种自然语言处理任务中表现出色,包括机器翻译(MT),但大多数研究集中于句子级翻译。本研究探讨了指令微调LLMs在文档级翻译(docMT)中的固有能力。与需要专门技术的先前方法不同,我们通过直接提示LLMs一次性翻译整个文档来评估它们。我们的结果表明,与逐句翻译相比,这种方法提高了翻译质量,即使没有文档级微调。然而,这一优势并未体现在BLEU分数中,BLEU分数往往偏向基于句子的翻译。我们提出使用LLM-as-a-judge范式进行评估,其中GPT-4被用于以比基于n-gram的指标更细致的方式评估文档连贯性、准确性和流畅性。总体而言,我们的工作表明,指令微调的LLMs能够有效利用文档上下文进行翻译。然而,我们告诫不要使用BLEU分数评估docMT,因为它们常常提供误导性的结果,无法捕捉文档级翻译的质量。代码和GPT4-as-a-judge的输出可在https://github.com/EIT-NLP/BLEUless_DocMT获取。

英文摘要:

Large language models (LLMs) have excelled in various NLP tasks, including machine translation (MT), yet most studies focus on sentence-level translation. This work investigates the inherent capability of instruction-tuned LLMs for document-level translation (docMT). Unlike prior approaches that require specialized techniques, we evaluate LLMs by directly prompting them to translate entire documents in a single pass. Our results show that this method improves translation quality compared to translating sentences separately, even without document-level fine-tuning. However, this advantage is not reflected in BLEU scores, which often favor sentence-based translations. We propose using the LLM-as-a-judge paradigm for evaluation, where GPT-4 is used to assess document coherence, accuracy, and fluency in a more nuanced way than n-gram-based metrics. Overall, our work demonstrates that instruction-tuned LLMs can effectively leverage document context for translation. However, we caution against using BLEU scores for evaluating docMT, as they often provide misleading outcomes, failing to capture the quality of document-level translation. Code and the outputs from GPT4-as-a-judge are available at https://github.com/EIT-NLP/BLEUless_DocMT

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

↑