arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2404.04809cs.CL
收藏

通过检索增强的LLM提示进行低资源机器翻译:以Mambai语言为例的研究

Low-Resource Machine Translation through Retrieval-Augmented LLM Prompting: A Study on the Mambai Language

Catalpa International(卡特帕国际);The University of Melbourne(墨尔本大学);Timorlink(帝汶链接);Seminario Menor Balide Dili(帝力巴利德神学院)

Raphaël Merx, Aso Mahmudi, Katrina Langford, Leo Alberto de Araujo, Ekaterina Vylomova

AI总结:

本研究探索利用少样本LLM提示结合TF-IDF、语义嵌入检索的平行句子和词典条目,进行英语到低资源Mambai语的机器翻译,发现该方法显著提升翻译质量,并揭示了测试集差异对评估的影响。

摘要:

本研究探索了使用大语言模型(LLMs)将英语翻译为Mambai语——一种东帝汶约20万母语者使用的低资源南岛语系语言。利用源自Mambai语言手册及母语者翻译的额外句子构建的新语料库,我们检验了在此低资源语境下,少样本LLM提示用于机器翻译(MT)的有效性。我们的方法涉及为提示进行平行句子和词典条目的策略性选择,旨在提升翻译准确度,使用了开源和专有LLMs(LlaMa 2 70b、Mixtral 8x7B、GPT-4)。我们发现,在提示中包含词典条目以及通过TF-IDF和语义嵌入检索的混合句子,显著提升了翻译质量。然而,我们的发现揭示了不同测试集之间翻译表现的巨大差异:在语言手册材料上BLEU分数高达21.2,相比之下在母语者提供的测试集上最高仅为4.4。这些结果突显了多样且具代表性的语料库在评估低资源语言MT中的重要性。我们的研究为低资源MT的少样本LLM提示提供了见解,并提供了Mambai语言的初始语料库。

英文摘要:

This study explores the use of large language models (LLMs) for translating English into Mambai, a low-resource Austronesian language spoken in Timor-Leste, with approximately 200,000 native speakers. Leveraging a novel corpus derived from a Mambai language manual and additional sentences translated by a native speaker, we examine the efficacy of few-shot LLM prompting for machine translation (MT) in this low-resource context. Our methodology involves the strategic selection of parallel sentences and dictionary entries for prompting, aiming to enhance translation accuracy, using open-source and proprietary LLMs (LlaMa 2 70b, Mixtral 8x7B, GPT-4). We find that including dictionary entries in prompts and a mix of sentences retrieved through TF-IDF and semantic embeddings significantly improves translation quality. However, our findings reveal stark disparities in translation performance across test sets, with BLEU scores reaching as high as 21.2 on materials from the language manual, in contrast to a maximum of 4.4 on a test set provided by a native speaker. These results underscore the importance of diverse and representative corpora in assessing MT for low-resource languages. Our research provides insights into few-shot LLM prompting for low-resource MT, and makes available an initial corpus for the Mambai language.

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

↑