arXiv:2506.00507cs.CL2025-06ACL被引 1

无需人工标注,自动生成翻译示例提升低资源语言效果

Exploring In-context Example Generation for Machine Translation

  • 基于相关性与多样性生成翻译示例,不依赖外部数据
  • 在低资源语言上优于基线模型,显著提升翻译质量
  • 支持测试时动态积累示例,适合资源匮乏场景

大型语言模型在多种任务中表现出色,得益于其仅需少量示例即可实现的上下文学习能力。然而,现有研究多假设存在人工标注的示例池,难以应用于低资源语言。为此,本文提出一种无需外部资源的翻译示例生成方法DAT(Demonstration Augmentation for Translation),基于先前研究中提出的相关性与多样性两个关键标准生成示例对。在人类标注对稀缺的低资源语言上进行实验,结果表明DAT显著优于基线方法。此外,我们探索了在测试过程中逐步累积生成示例并复用该示例池的潜力。代码已开源:https://github.com/aiclaudev/DAT。

原文摘要 · Abstract (English)

Large language models (LLMs) have demonstrated strong performance across various tasks, leveraging their exceptional in-context learning ability with only a few examples. Accordingly, the selection of optimal in-context examples has been actively studied in the field of machine translation. However, these studies presuppose the presence of a demonstration pool with human-annotated pairs, making them less applicable to low-resource languages where such an assumption is challenging to meet. To overcome this limitation, this paper explores the research direction of in-context example generation for machine translation. Specifically, we propose Demonstration Augmentation for Translation (DAT), a simple yet effective approach that generates example pairs without relying on any external resources. This method builds upon two prior criteria, relevance and diversity, which have been highlighted in previous work as key factors for in-context example selection. Through experiments and analysis on low-resource languages where human-annotated pairs are scarce, we show that DAT achieves superior translation quality compared to the baselines. Furthermore, we investigate the potential of progressively accumulating generated pairs during test time to build and reuse a demonstration pool. Our implementation is publicly available at https://github.com/aiclaudev/DAT.

机器翻译上下文学习低资源

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。