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

翻译链提示(CoTR):一种面向低资源语言的新型提示技术

Chain-of-Translation Prompting (CoTR): A Novel Prompting Technique for Low Resource Languages

Pune Institute of Computer Technology(浦那计算机技术学院);Indian Institute of Technology Madras(马德拉斯印度理工学院);L3Cube Labs(L3Cube实验室)

Tejas Deshpande, Nidhi Kowtal, Raviraj Joshi

AI总结:

本文提出翻译链提示(CoTR)技术,通过先将低资源语言输入翻译为英语再执行任务,并在马拉地语多任务实验中验证其显著提升多语言大模型性能,尤其在仇恨言论检测上准确率提升最高。

摘要:

本文介绍了翻译链提示(Chain of Translation Prompting, CoTR),这是一种旨在提升语言模型在低资源语言中表现的新型策略。CoTR 重构提示,首先将输入上下文从低资源语言翻译成资源更丰富的语言(如英语),然后在翻译后的文本上执行指定任务,例如生成、分类或任何其他自然语言处理功能,并在需要时选择将输出翻译回原始语言。所有这些步骤都在单个提示中指定。我们通过对低资源印度语言马拉地语的案例研究证明了该方法的有效性。我们将 CoTR 策略应用于多种任务,包括情感分析、仇恨言论分类、主题分类和文本生成,并通过与常规提示方法进行比较来展示其效果。我们的结果强调了基于翻译的提示策略在显著提升低资源语言多语言大语言模型性能方面的潜力,为未来研究和应用提供了有价值的见解。我们特别观察到仇恨言论检测任务的准确率提升最高。该技术还有可能提高使用大语言模型为代表性不足的语言生成合成数据的质量。

英文摘要:

This paper introduces Chain of Translation Prompting (CoTR), a novel strategy designed to enhance the performance of language models in low-resource languages. CoTR restructures prompts to first translate the input context from a low-resource language into a higher-resource language, such as English. The specified task like generation, classification, or any other NLP function is then performed on the translated text, with the option to translate the output back to the original language if needed. All these steps are specified in a single prompt. We demonstrate the effectiveness of this method through a case study on the low-resource Indic language Marathi. The CoTR strategy is applied to various tasks, including sentiment analysis, hate speech classification, subject classification and text generation, and its efficacy is showcased by comparing it with regular prompting methods. Our results underscore the potential of translation-based prompting strategies to significantly improve multilingual LLM performance in low-resource languages, offering valuable insights for future research and applications. We specifically see the highest accuracy improvements with the hate speech detection task. The technique also has the potential to enhance the quality of synthetic data generation for underrepresented languages using LLMs.

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

↑