arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2305.15904cs.CLcs.AIcs.LG
收藏

MTCue:通过利用神经机器翻译中的非结构化上下文学习文本外属性的零样本控制

MTCue: Learning Zero-Shot Control of Extra-Textual Attributes by Leveraging Unstructured Context in Neural Machine Translation

University of Sheffield(谢菲尔德大学)

Sebastian Vincent, Robert Flynn, Carolina Scarton

AI总结:

本文提出MTCue框架,将所有上下文统一视为文本并学习其抽象表示,在对话翻译中实现文本外属性的零样本控制,显著优于非上下文和标记基线。

摘要:

高效利用文本内和文本外上下文仍然是机器翻译与人类翻译之间的关键差距之一。现有研究主要侧重于在翻译中提供单个、定义明确的上下文类型,例如周围文本或离散的外部变量(如说话者性别)。本文提出了MTCue,这是一种新颖的神经机器翻译(NMT)框架,它将所有上下文(包括离散变量)都解释为文本。MTCue学习上下文的抽象表示,从而能够在不同数据设置之间实现可迁移性,并在低资源场景中利用相似属性。我们以对话领域为重点,并能够访问文档和元数据上下文,在四个语言对的两个翻译方向上对MTCue进行了广泛评估。与参数匹配的非上下文基线相比,我们的框架在翻译质量上取得了显著提升,BLEU提高了0.88,Comet提高了1.58。此外,在翻译英语文本时,MTCue显著优于“标记”基线。分析表明,MTCue的上下文编码器学习到的表示空间能够根据特定属性(如正式程度)来组织上下文,从而实现有效的零样本控制。与“标记”基线相比,在上下文嵌入上进行预训练还提高了MTCue的少样本性能。最后,针对模型组件和上下文变量进行的消融研究进一步支持了MTCue在基于上下文的NMT中的鲁棒性。

英文摘要:

Efficient utilisation of both intra- and extra-textual context remains one of the critical gaps between machine and human translation. Existing research has primarily focused on providing individual, well-defined types of context in translation, such as the surrounding text or discrete external variables like the speaker's gender. This work introduces MTCue, a novel neural machine translation (NMT) framework that interprets all context (including discrete variables) as text. MTCue learns an abstract representation of context, enabling transferability across different data settings and leveraging similar attributes in low-resource scenarios. With a focus on a dialogue domain with access to document and metadata context, we extensively evaluate MTCue in four language pairs in both translation directions. Our framework demonstrates significant improvements in translation quality over a parameter-matched non-contextual baseline, as measured by BLEU (+0.88) and Comet (+1.58). Moreover, MTCue significantly outperforms a "tagging" baseline at translating English text. Analysis reveals that the context encoder of MTCue learns a representation space that organises context based on specific attributes, such as formality, enabling effective zero-shot control. Pre-training on context embeddings also improves MTCue's few-shot performance compared to the "tagging" baseline. Finally, an ablation study conducted on model components and contextual variables further supports the robustness of MTCue for context-based NMT.

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

↑