arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2410.11006cs.CL
收藏

利用大语言模型进行无监督机器翻译的上下文示例有效自挖掘

Effective Self-Mining of In-Context Examples for Unsupervised Machine Translation with LLMs

The University of British Columbia(不列颠哥伦比亚大学);MBZUAI(穆罕默德·本·扎耶德人工智能大学);Invertible AI(可逆人工智能公司)

Abdellah El Mekki, Muhammad Abdul-Mageed

AI总结:

针对低资源及多语言场景缺乏上下文示例的问题,提出词级到句级挖掘并过滤平行句对的无监督方法,在FLORES-200的288个方向上取得优于或接近人工标注示例、并领先现有UMT方法平均7 BLEU的效果。

摘要:

大语言模型(LLM)主要通过上下文学习(ICL)在广泛的自然语言处理(NLP)任务上展现了令人瞩目的性能。在ICL中,会向LLM提供代表给定任务的示例,使其学习为测试输入生成答案。然而,尤其对于低资源或大规模多语言任务,无法保证能够获得这些上下文示例。在本工作中,我们提出了一种无监督方法来挖掘机器翻译(MT)的上下文示例,从而实现跨不同语言的无监督MT(UMT)。我们的方法从词级挖掘开始,以获取单词翻译,随后将其用于执行句级挖掘。由于挖掘出的平行句对可能因噪声或错误而质量并非最优,我们引入了一种过滤准则,以从无监督平行句子池中选择最优的上下文示例。我们在FLORES-200数据集的288个翻译方向上使用两个多语言LLM评估了我们的方法,并分析了各种语言特征对性能的影响。我们的研究结果证明了这种无监督方法在挖掘MT上下文示例方面的有效性:与使用常规上下文样本(从人工标注数据中提取)进行翻译相比,它能够带来更好或相当的翻译性能,同时还比其他最先进的UMT方法平均高出7个BLEU点。

英文摘要:

Large Language Models (LLMs) have demonstrated impressive performance on a wide range of natural language processing (NLP) tasks, primarily through in-context learning (ICL). In ICL, the LLM is provided with examples that represent a given task such that it learns to generate answers for test inputs. However, access to these in-context examples is not guaranteed especially for low-resource or massively multilingual tasks. In this work, we propose an unsupervised approach to mine in-context examples for machine translation (MT), enabling unsupervised MT (UMT) across different languages. Our approach begins with word-level mining to acquire word translations that are then used to perform sentence-level mining. As the quality of mined parallel pairs may not be optimal due to noise or mistakes, we introduce a filtering criterion to select the optimal in-context examples from a pool of unsupervised parallel sentences. We evaluate our approach using two multilingual LLMs on 288 directions from the FLORES-200 dataset and analyze the impact of various linguistic features on performance. Our findings demonstrate the effectiveness of our unsupervised approach in mining in-context examples for MT, leading to better or comparable translation performance as translation with regular in-context samples (extracted from human-annotated data), while also outperforming the other state-of-the-art UMT methods by an average of $7$ BLEU points.

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

↑