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

面向机器翻译的大语言模型构造及实例研究

Prompting Large Language Model for Machine Translation: A Case Study

University of Edinburgh(爱丁堡大学)

Biao Zhang, Barry Haddow, Alexandra Birch

摘要:

关于激励的研究表明,在许多任务中,很少或甚至没有监督训练的情况下表现出色。然而,机器翻译的提示在文献中仍然是探索不足。本文通过对翻译提示策略的系统研究、对提示模板的各种影响因素的考察以及对例证的选择,填补了这一空白。我们进一步探讨了单语数据的使用以及跨语言、跨领域和文档到文档迁移学习在提示中的可行性。使用GLM-130 B的广泛实验(Zeng等人,2022)的实验结果表明:(1)提示性实例的数量和质量都很重要,使用次优实例会降低翻译质量;(2)提示性实例的语义相似度等特征与其提示性表现出显著的Spearman相关性,但相关性都不够强; 3)使用通过zero-shot提示从单语数据构建的伪并行提示示例可以改进翻译;以及4)通过从在其他设置中选择的提示示例转移知识可以实现改进的性能。最后对模型的输出结果进行了分析,并讨论了激励中存在的几个问题。

英文摘要:

Research on prompting has shown excellent performance with little or even no supervised training across many tasks. However, prompting for machine translation is still under-explored in the literature. We fill this gap by offering a systematic study on prompting strategies for translation, examining various factors for prompt template and demonstration example selection. We further explore the use of monolingual data and the feasibility of cross-lingual, cross-domain, and sentence-to-document transfer learning in prompting. Extensive experiments with GLM-130B (Zeng et al., 2022) as the testbed show that 1) the number and the quality of prompt examples matter, where using suboptimal examples degenerates translation; 2) several features of prompt examples, such as semantic similarity, show significant Spearman correlation with their prompting performance; yet, none of the correlations are strong enough; 3) using pseudo parallel prompt examples constructed from monolingual data via zero-shot prompting could improve translation; and 4) improved performance is achievable by transferring knowledge from prompt examples selected in other settings. We finally provide an analysis on the model outputs and discuss several problems that prompting still suffers from.

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

↑