本文介绍了翻译链提示(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.
ProMap: Effective Bilingual Lexicon Induction via Language Model Prompting
College of Computing, Mohammed VI Polytechnic University(穆罕默德六世理工大学计算学院);Deep Learning & Natural Language Processing Group, The University of British Columbia(不列颠哥伦比亚大学深度学习与自然语言处理组);Department of Natural Language Processing & Department of Machine Learning, MBZUAI(穆罕默德·本·扎耶德人工智能大学自然语言处理系与机器学习系);Department of Electrical & Computer Engineering, University of Sherbrooke(舍布鲁克大学电气与计算机工程系)
No One Fits All: From Fixed Prompting to Learned Routing in Multilingual LLMs
Department of Computer Science and Information Engineering, National Taiwan University, Taiwan(国立台湾大学计算机科学与资讯工程学系);Institute of Information Science, Academia Sinica, Taiwan(台湾“中央研究院”信息科学研究所);AI Research Center (AINTU), National Taiwan University, Taiwan(国立台湾大学人工智能研究中心)
MSP: Multi-Stage Prompting for Making Pre-trained Language Models Better Translators
Tsinghua University(清华大学);Beijing National Research Center for Information Science and Technology(北京信息科学与技术国家研究中心);Kuaishou Tech, Co.(快手科技有限公司);Institute for AI Industry Research, Tsinghua University(清华大学智能产业研究院);International Innovation Center of Tsinghua University(清华大学上海国际创新中心)
Revisiting Direct Speech-to-Text Translation with Speech LLMs: Better Scaling than CoT Prompting?
Barcelona Supercomputing Center, Spain(巴塞罗那超级计算中心,西班牙);Universitat Politècnica de Catalunya, Spain(加泰罗尼亚理工大学,西班牙);DFKI GmbH, Saarland Informatics Campus, Saarbrücken, Germany(德意志联邦计算机研究中心(DFKI) GmbH,萨尔布吕肯,德国)
Error Analysis Prompting Enables Human-Like Translation Evaluation in Large Language Models
Southeast University(东南大学);Nanjing University(南京大学);The University of Sydney(悉尼大学);Shenzhen Research Institute(深圳研究院);Microsoft(微软公司);Nanyang Technological University(南洋理工大学)
Dual-branch Prompting for Multimodal Machine Translation
School of Computing and Artificial Intelligence, Southwest Jiaotong University(西南交通大学计算机与人工智能学院);School of Computer and Software Engineering, Xihua University(西华大学计算机与软件工程学院);School of Intelligent Medicine, Chengdu University of Traditional Chinese Medicine(成都中医药大学针灸推拿学院)
Bidirectional Language Models Are Also Few-shot Learners
University of Pennsylvania(宾夕法尼亚大学);Microsoft(微软);Google Research(谷歌研究院);UNC Chapel Hill(北卡罗来纳大学教堂山分校)
大语言模型,例如GPT-3(Brown等人,2020)可以执行任意任务,而无需在仅使用几个标记示例进行提示后进行微调。一个任意的任务可以被重新表述为一个自然语言提示,一个语言模型可以被要求生成完成,间接地执行任务的范式称为基于语义的学习。到目前为止,基于突现的学习能力主要是针对单向语言模型来证明的。然而,在去噪目标上预训练的双向语言模型(例如掩蔽语言建模)为迁移学习产生更强的学习表示。这激发了促进双向模式的可能性,但它们的预培训目标使它们在很大程度上与现有的激励范式不相容。我们提出了SAP(顺序自回归拟合),一种技术,使双向模型的提示。利用机器翻译任务作为案例研究,我们提出了双向mT5模型(Xue et al.,2021)与SAP进行比较,并证明其Few-Shot和zero-shot转换优于单向模型(如GPT-3和XGLM)的Few-Shot转换(Lin et al.,2021),尽管mT5的参数减少了约50%。我们进一步表明SAP在问答和摘要方面是有效的。这是第一次,我们的研究结果表明,基于语义的学习是一个更广泛的一类语言模型,而不仅仅是单向模型的新兴属性。
What do Large Language Models Need for Machine Translation Evaluation?
Centre for Translation Studies, University of Surrey(萨里大学翻译研究中心);Institute for People-Centred AI, University of Surrey(萨里大学以人为本人工智能研究所);Lancaster University(兰卡斯特大学);Tilburg University(蒂尔堡大学)
Leveraging Large Language Models for Automated Causal Loop Diagram Generation: Enhancing System Dynamics Modeling through Curated Prompting Techniques
MGH Institute for Technology Assessment, Harvard Medical School(哈佛医学院MGH技术评估研究所);Melbourne Business School, University of Melbourne(墨尔本大学墨尔本商学院);Sloan School of Management, Massachusetts Institute of Technology(麻省理工学院斯隆管理学院)
Optimising ChatGPT for creativity in literary translation: A case study from English into Dutch, Chinese, Catalan and Spanish
Centre for Language and Cognition, University of Groningen(语言与认知中心,格罗宁根大学);Departament de Llenguatges i Sistemes Informàtics, Universitat d’Alacant(语言与信息系统部门,阿尔阿罕特大学);Departament de Traducció i Comunicació, Universitat Jaume I(翻译与传播部门, Jaime I 大学)
On Conditional and Compositional Language Model Differentiable Prompting
Mila - Québec AI Institute(米拉-魁北克人工智能研究所);Polytechnique Montréal(蒙特利尔理工学院);Amazon Alexa(亚马逊Alexa);University of North Carolina at Chapel Hill(北卡罗来纳大学教堂山分校)