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

CTQScorer:结合多种特征用于机器翻译的上下文示例选择

CTQScorer: Combining Multiple Features for In-context Example Selection for Machine Translation

IIT Madras(印度理工学院马德拉斯分校);Microsoft(微软);Institute for Infocomm Research (IR)(资讯通信研究院);AI4Bharat(AI4Bharat(印度人工智能研究机构));National Institute of Information Communications Technology(日本国立信息通信技术研究所)

Aswanth Kumar, Ratish Puduppully, Raj Dabre, Anoop Kunchukuttan

AI总结:

本文提出CTQ Scorer框架,通过回归模型结合多种特征优化机器翻译的上下文示例选择,显著超越随机选择和单因素基线,并在多语言对上实现平均2.5 COMET点提升。

摘要:

大型语言模型已展现出在输入提示包含少量示例(上下文学习)时执行机器翻译的能力。翻译质量取决于所选示例的多种特征,如其质量和相关性,但以往的研究主要孤立地关注单一特征。在本文中,我们提出了一个结合影响示例选择的不同特征的通用框架。我们学习了一个回归模型,CTQ Scorer(上下文翻译质量),它基于多个特征选择示例以最大化翻译质量。在多个语言对和语言模型上,我们表明CTQ Scorer显著优于随机选择以及文献中报道的强单因素基线。我们还看到,相对于强BM25检索基线,平均改进超过2.5个COMET点。

英文摘要:

Large language models have demonstrated the capability to perform on machine translation when the input is prompted with a few examples (in-context learning). Translation quality depends on various features of the selected examples, such as their quality and relevance, but previous work has predominantly focused on individual features in isolation. In this paper, we propose a general framework for combining different features influencing example selection. We learn a regression model, CTQ Scorer (Contextual Translation Quality), that selects examples based on multiple features in order to maximize the translation quality. On multiple language pairs and language models, we show that CTQ Scorer helps significantly outperform random selection as well as strong single-factor baselines reported in the literature. We also see an improvement of over 2.5 COMET points on average with respect to a strong BM25 retrieval-based baseline.

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

↑