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

TransAlign:机器翻译编码器也是强大的词对齐器

TransAlign: Machine Translation Encoders are Strong Word Aligners, Too

University of Würzburg Center for Artificial Intelligence and Data Science (CAIDAS)(乌尔姆大学人工智能与数据科学中心(CAIDAS))

Benedikt Ebing, Christian Goldschmied, Goran Glavaš

AI总结:

提出TransAlign,利用多语言机器翻译模型编码器进行词对齐,在跨语言迁移的词元分类任务中大幅优于现有词对齐器及非词对齐标签投影方法。

摘要:

由于大多数世界语言和NLP任务缺乏大规模训练数据,基于翻译的策略(如translate-test——在从目标语言翻译而来的带噪源语言数据上进行评估——以及translate-train——在从源语言翻译而来的带噪目标语言数据上进行训练)已成为跨语言迁移(XLT)的竞争性方法。对于词元分类任务,这些策略需要标签投影:将标签从原句中的每个词元映射到翻译中的对应词元。为此,通常利用源自mBERT或LaBSE等编码器语言模型的多语言词对齐器(WA)。尽管机器翻译(MT)与WA之间存在明显的关联,但使用MT模型提取对齐的研究主要局限于利用编码器-解码器架构中的交叉注意力,导致WA效果不佳。相反,在这项工作中,我们提出了TransAlign,一种利用大规模多语言MT模型编码器的新型词对齐器。我们表明,TransAlign不仅实现了强大的WA性能,而且在基于MT的XLT词元分类中,大幅优于流行的WA和最先进的非WA标签投影方法。

英文摘要:

In the absence of sizable training data for most world languages and NLP tasks, translation-based strategies such as translate-test -- evaluating on noisy source language data translated from the target language -- and translate-train -- training on noisy target language data translated from the source language -- have been established as competitive approaches for cross-lingual transfer (XLT). For token classification tasks, these strategies require label projection: mapping the labels from each token in the original sentence to its counterpart(s) in the translation. To this end, it is common to leverage multilingual word aligners (WAs) derived from encoder language models such as mBERT or LaBSE. Despite obvious associations between machine translation (MT) and WA, research on extracting alignments with MT models is largely limited to exploiting cross-attention in encoder-decoder architectures, yielding poor WA results. In this work, in contrast, we propose TransAlign, a novel word aligner that utilizes the encoder of a massively multilingual MT model. We show that TransAlign not only achieves strong WA performance but substantially outperforms popular WA and state-of-the-art non-WA-based label projection methods in MT-based XLT for token classification.

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

↑