[论文解读] Dictionary-based Phrase-level Prompting of Large Language Models for Machine Translation
DiPMT 将基于字典的词级提示注入到基于提示的机器翻译中,通过为特定单词提供翻译选项来引导大型语言模型,从而改善低资源和领域外翻译。
Large language models (LLMs) demonstrate remarkable machine translation (MT) abilities via prompting, even though they were not explicitly trained for this task. However, even given the incredible quantities of data they are trained on, LLMs can struggle to translate inputs with rare words, which are common in low resource or domain transfer scenarios. We show that LLM prompting can provide an effective solution for rare words as well, by using prior knowledge from bilingual dictionaries to provide control hints in the prompts. We propose a novel method, DiPMT, that provides a set of possible translations for a subset of the input words, thereby enabling fine-grained phrase-level prompted control of the LLM. Extensive experiments show that DiPMT outperforms the baseline both in low-resource MT, as well as for out-of-domain MT. We further provide a qualitative analysis of the benefits and limitations of this approach, including the overall level of controllability that is achieved.
研究动机与目标
- 促使通过提示提升低资源和领域迁移场景下的机器翻译。
- 利用双语词典在提示中提供受控的词级翻译提示。
- 证明在不进行模型训练的情况下,带字典提示的零-shot 提示可以超越基线。
- 分析字典引导提示在机器翻译中的可控性及局限性。
提出的方法
- 构建包含三部分的提示:源句、基于字典的词汇翻译、以及目标语言的翻译请求。
- 使用带有四个上下文示例的演示式提示设置。
- 将源句中单词的确切字典匹配(考虑词形作为词干)作为提示,最多每个单词提供三种翻译。
- 在 Flores-101 的域内数据和 De-En 的域外数据上,用 OPT-175B 与 Bloom-176B 进行评估,使用真实词典或域特定词典。
- 对于域外数据,通过 SimAlign 与 Shi 等人 2021 方法生成域词典,并将 DiPMT 与基线、RePP 和 kNN-MT 进行比较。
- 分析词典覆盖效应,开展金标准提示的 Oracle 实验,并通过衡量提示使用量与基线的对比来评估可控性。

实验结果
研究问题
- RQ1与不使用字典提示的提示相比,基于字典的提示(DiPMT)是否能在低资源语言对上提高机器翻译质量?
- RQ2在推理阶段提供域相关的字典提示,DiPMT 是否能提升域外翻译?
- RQ3词典覆盖率如何影响 BLEU 增益,金标准提示的上限是多少?
- RQ4语言模型在多大程度上遵循提示,在不同提示策略下最终翻译的可控性是多少?
- RQ5在提示中使用词级字典提示时有哪些局限性和失败模式?
主要发现
- DiPMT 在低资源方向上平均 BLEU 增益为 0.9 点(OPT)和 1.1 点(Bloom)。
- 在域外的德英翻译中,DiPMT 相对于基线平均提升 BLEU 9.4 点,相对于 RePP 提升 3.3 点。
- 词典覆盖率与 BLEU 提升呈正相关,在类型覆盖率达到 20%(Ind→Eng)或其他方向 5–10% 时出现提升。
- 金标准提示(oracle 翻译)对 OPT 的 BLEU 提升约为 1.1 点。
- DiPMT 展现出显著的可控性,提示使用量越高,翻译的影响越大;而错误提示影响较小。
- 异常情况表明提示可能有帮助也可能误导,取决于提示质量以及所期望的翻译是否在提供的选项中。

阅读本论文
在 Nubint 阅读器中打开原文,边读边就任意段落提问。
在 Nubint 中阅读本论文本解读由 AI 根据论文原文生成,引用前请核对原文。