GrammaMT:通过语法知情的上下文学习改进机器翻译
GrammaMT: Improving Machine Translation with Grammar-Informed In-Context Learning
AI总结:
GrammaMT利用跨行注释文本提出三种无需训练的提示策略,显著提升开源LLM在多语言基准上的机器翻译性能,消融研究显示准确生成注释可带来超过17 BLEU点的提升。
摘要:
我们介绍了GrammaMT,一种语法感知的机器翻译提示方法,使用跨行注释文本(IGT),这是一种常见的语言描述形式,为源句子提供形态和词汇注释。GrammaMT提出了三种提示策略:gloss-shot、chain-gloss和model-gloss。所有策略均无需训练,仅需少量易于收集的示例,使其非常适合低资源场景。实验表明,GrammaMT在三个基准上提升了开源指令微调LLM在多种低至高资源语言上的翻译性能:(1)最大的IGT语料库,(2)针对濒危语言的2023年SIGMORPHON共享任务数据,以及(3)在FLORES的域外设置中。此外,消融研究表明,如果LLM能准确生成或访问输入句子注释,利用注释资源可显著提升MT性能(超过17个BLEU点)。
英文摘要:
We introduce GrammaMT, a grammatically-aware prompting approach for machine translation that uses Interlinear Glossed Text (IGT), a common form of linguistic description providing morphological and lexical annotations for source sentences. GrammaMT proposes three prompting strategies: gloss-shot, chain-gloss and model-gloss. All are training-free, requiring only a few examples that involve minimal effort to collect, and making them well-suited for low-resource setups. Experiments show that GrammaMT enhances translation performance on open-source instruction-tuned LLMs for various low- to high-resource languages across three benchmarks: (1) the largest IGT corpus, (2) the challenging 2023 SIGMORPHON Shared Task data over endangered languages, and (3) even in an out-of-domain setting with FLORES. Moreover, ablation studies reveal that leveraging gloss resources could substantially boost MT performance (by over 17 BLEU points) if LLMs accurately generate or access input sentence glosses.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。