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

面向原住民语言的“从错误中学习”提示方法

Learning-From-Mistakes Prompting for Indigenous Language Translation

National Chung Hsing University(国立中兴大学)

You-Cheng Liao, Chen-Jui Yu, Chi-Yi Lin, He-Feng Yun, Yen-Hsiang Wang, Hsiao-Min Li, Yao-Chung Fan

AI总结:

本文提出从错误中学习提示等方法,利用大语言模型和少量平行语料及词典,有效提升极低资源原住民语言的翻译性能。

摘要:

本文利用大语言模型,提出了改进极低资源原住民语言翻译的技术。我们的方法基于以下三点:(1)存在一个由有限数量的平行翻译示例组成的数据存储;(2)GPT-3.5等大语言模型的内在能力;(3)词级翻译词典。我们在此类设置中利用大语言模型和上下文学习技术的潜力,将大语言模型用作极低资源语言的通用翻译器。我们的方法关键在于将大语言模型用作选定语言对的“语言编译器”,假设它们能够内化句法结构以促进准确翻译。我们引入了三种技术:基于检索提示上下文的KNN提示、思维链提示和从错误中学习提示,其中最后一种方法处理过去的错误。评估结果表明,即使语料库有限,大语言模型在配合适当的提示时,也能有效翻译极低资源语言。

英文摘要:

Using large language models, this paper presents techniques to improve extremely low-resourced indigenous language translations. Our approaches are grounded in the use of (1) the presence of a datastore consisting of a limited number of parallel translation examples, (2) the inherent capabilities of LLMs like GPT-3.5, and (3) a word-level translation dictionary. We harness the potential of LLMs and in-context learning techniques in such a setting for using LLMs as universal translators for extremely low-resourced languages. Our methodology hinges on utilizing LLMs as language compilers for selected language pairs, hypothesizing that they could internalize syntactic structures to facilitate accurate translation. We introduce three techniques: KNNPrompting with Retrieved Prompting Context, Chain-of-Thought Prompting and Learningfrom-Mistakes Prompting, with the last method addressing past errors. The evaluation results suggest that, even with limited corpora, LLMs can effectively translate extremely low-resource languages when paired with proper prompting.

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

↑