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

超越英语:多语言大语言模型中提示词翻译策略在不同语言和任务中的影响

Beyond English: The Impact of Prompt Translation Strategies across Languages and Tasks in Multilingual LLMs

Bar-Ilan University(巴伊兰大学)

Itai Mondshine, Tzuf Paz-Argaman, Reut Tsarfaty

AI总结:

针对多语言大语言模型预翻译策略缺乏系统性研究的问题,本研究将提示词拆分为四个模块化部分,在35种语言和四类任务中评估预翻译策略,揭示影响性能的关键因素并提出实用指南。

摘要:

尽管大语言模型(LLMs)在各类任务中的多语言能力取得了进展,但英语仍是LLM研究与开发的主导语言。因此,在处理其他语言时,预翻译——即在推理前将任务提示词翻译成英语——成为广泛实践。选择性预翻译是一种更精准的方法,专注于翻译提示词的特定组件,但其目前应用零散且缺乏系统性研究基础。因此,针对不同多语言场景和任务的最优预翻译策略尚不明确。本研究通过系统性评估预翻译的使用,旨在揭示其最优设置。具体而言,我们将提示词视为模块化实体,由指令、上下文、示例和输出四个功能部分组成,每个部分均可选择翻译或不翻译。我们在涵盖低资源和高资源语言的35种语言上,针对问答(QA)、自然语言推理(NLI)、命名实体识别(NER)和抽象摘要等各类任务评估预翻译策略。实验结果显示,与英语的相似性、翻译质量和预训练数据规模等因素会影响预翻译后的模型性能。我们为不同多语言场景下选择最优策略提出了实用指南。

英文摘要:

Despite advances in the multilingual capabilities of Large Language Models (LLMs) across diverse tasks, English remains the dominant language for LLM research and development. So, when working with a different language, this has led to the widespread practice of pre-translation, i.e., translating the task prompt into English before inference. Selective pre-translation, a more surgical approach, focuses on translating specific prompt components. However, its current use is sporagic and lacks a systematic research foundation. Consequently, the optimal pre-translation strategy for various multilingual settings and tasks remains unclear. In this work, we aim to uncover the optimal setup for pre-translation by systematically assessing its use. Specifically, we view the prompt as a modular entity, composed of four functional parts: instruction, context, examples, and output, either of which could be translated or not. We evaluate pre-translation strategies across 35 languages covering both low and high-resource languages, on various tasks including Question Answering (QA), Natural Language Inference (NLI), Named Entity Recognition (NER), and Abstractive Summarization. Our experiments show the impact of factors as similarity to English, translation quality and the size of pre-trained data, on the model performance with pre-translation. We suggest practical guidelines for choosing optimal strategies in various multilingual settings.

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

↑