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

超越词匹配:句法改进机器翻译的上下文示例选择

Going Beyond Word Matching: Syntax Improves In-context Example Selection for Machine Translation

Chenming Tang, Zhixiang Wang, Yunfang Wu

AI总结:

本文提出一种基于句法的机器翻译上下文示例选择方法,利用多项式距离计算依存树相似度,并结合词级与句法级集成策略,在12个翻译方向中11个取得最高COMET分数。

摘要:

上下文学习(ICL)是大语言模型(LLM)时代的主流提示策略,通过展示少量示例来激发LLM在给定任务上的能力。如何选择信息量大的示例仍是一个开放问题。以往关于机器翻译(MT)上下文示例选择的研究集中于表层词级特征,忽略了深层句法知识。本文提出一种基于句法的MT上下文示例选择方法,通过多项式距离计算依存树之间的句法相似度。此外,我们提出一种集成策略,结合词级和句法级标准选择的示例。英语与6种常见语言间的实验结果表明,句法能有效增强MT的ICL,在12个翻译方向中的11个获得了最高COMET分数。

英文摘要:

In-context learning (ICL) is the trending prompting strategy in the era of large language models (LLMs), where a few examples are demonstrated to evoke LLMs' power for a given task. How to select informative examples remains an open issue. Previous works on in-context example selection for machine translation (MT) focus on superficial word-level features while ignoring deep syntax-level knowledge. In this paper, we propose a syntax-based in-context example selection method for MT, by computing the syntactic similarity between dependency trees using Polynomial Distance. In addition, we propose an ensemble strategy combining examples selected by both word-level and syntax-level criteria. Experimental results between English and 6 common languages indicate that syntax can effectively enhancing ICL for MT, obtaining the highest COMET scores on 11 out of 12 translation directions.

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

↑