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

基于大语言模型的自适应机器翻译

Adaptive Machine Translation with Large Language Models

ADAPT Centre(ADAPT中心);Dublin City University(都柏林城市大学);South East Technological University(东南理工大学);Technological University Dublin(都柏林理工大学)

Yasmin Moslem, Rejwanul Haque, John D. Kelleher, Andy Way

AI总结:

本研究利用大语言模型的上下文学习能力实现实时自适应机器翻译,通过少量领域翻译对和术语提示提升翻译质量,在多个语言对上超越传统编码器-解码器系统,并探索结合模糊匹配进一步优化。

摘要:

一致性是高质量翻译的关键要求。在特定领域的项目中,遵循预先批准的术语并适应修正后的翻译尤为重要。机器翻译(MT)在领域适应方面已取得显著进展,然而实时适应仍然具有挑战性。大规模语言模型(LLMs)近期展现出有趣的上下文学习能力,即无需进一步微调即可学习复制特定的输入-输出文本生成模式。通过在推理时向LLM提供由一组翻译对组成的提示,它可以模拟领域和风格特征。本工作旨在研究如何利用上下文学习来改进实时自适应机器翻译。我们的大量实验在翻译时显示出有前景的结果。例如,LLMs在翻译新句子的同时能够适应一组领域内的句子对和/或术语。我们观察到,少样本上下文学习的翻译质量可以超越强大的编码器-解码器机器翻译系统,尤其是对于高资源语言。此外,我们研究了是否可以将来自强大编码器-解码器模型的机器翻译与模糊匹配相结合,这可以进一步提高翻译质量,特别是对于支持较少的语言。我们在五个不同的语言对上进行实验,即英语到阿拉伯语(EN-AR)、英语到中文(EN-ZH)、英语到法语(EN-FR)、英语到基尼亚卢旺达语(EN-RW)和英语到西班牙语(EN-ES)。

英文摘要:

Consistency is a key requirement of high-quality translation. It is especially important to adhere to pre-approved terminology and adapt to corrected translations in domain-specific projects. Machine translation (MT) has achieved significant progress in the area of domain adaptation. However, real-time adaptation remains challenging. Large-scale language models (LLMs) have recently shown interesting capabilities of in-context learning, where they learn to replicate certain input-output text generation patterns, without further fine-tuning. By feeding an LLM at inference time with a prompt that consists of a list of translation pairs, it can then simulate the domain and style characteristics. This work aims to investigate how we can utilize in-context learning to improve real-time adaptive MT. Our extensive experiments show promising results at translation time. For example, LLMs can adapt to a set of in-domain sentence pairs and/or terminology while translating a new sentence. We observe that the translation quality with few-shot in-context learning can surpass that of strong encoder-decoder MT systems, especially for high-resource languages. Moreover, we investigate whether we can combine MT from strong encoder-decoder models with fuzzy matches, which can further improve translation quality, especially for less supported languages. We conduct our experiments across five diverse language pairs, namely English-to-Arabic (EN-AR), English-to-Chinese (EN-ZH), English-to-French (EN-FR), English-to-Kinyarwanda (EN-RW), and English-to-Spanish (EN-ES).

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

↑