arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2209.08738cs.CL
收藏

面向最近邻神经机器翻译的解耦检索表示学习

Learning Decoupled Retrieval Representation for Nearest Neighbour Neural Machine Translation

Zhejiang University(浙江大学);RoyalFlush AI Research Institute(同花顺人工智能研究院);Soochow University(苏州大学)

Qiang Wang, Rongxiang Weng, Ming Chen

AI总结:

针对kNN-MT中翻译与检索表示耦合导致细粒度检索效果不佳的问题,本文提出利用监督对比学习解耦并学习专门的检索表示,同时设计快速困难负样本构建方法,在五个领域上提升了检索准确率与BLEU分数。

摘要:

K近邻神经机器翻译(kNN-MT)通过在测试时检索词级表示,成功地融合了外部语料库。通常,kNN-MT借用翻译任务中现成的上下文表示(例如最后一个解码器层的输出)作为检索任务的查询向量。在这项工作中,我们强调将这两个任务的表示耦合在一起对于细粒度检索而言是次优的。为了缓解这一问题,我们利用监督对比学习来学习从原始上下文表示中派生出的具有区分性的检索表示。我们还提出了一种快速有效的方法来构建困难负样本。在五个领域上的实验结果表明,与原始kNN-MT相比,我们的方法提高了检索准确率和BLEU分数。

英文摘要:

K-Nearest Neighbor Neural Machine Translation (kNN-MT) successfully incorporates external corpus by retrieving word-level representations at test time. Generally, kNN-MT borrows the off-the-shelf context representation in the translation task, e.g., the output of the last decoder layer, as the query vector of the retrieval task. In this work, we highlight that coupling the representations of these two tasks is sub-optimal for fine-grained retrieval. To alleviate it, we leverage supervised contrastive learning to learn the distinctive retrieval representation derived from the original context representation. We also propose a fast and effective approach to constructing hard negative samples. Experimental results on five domains show that our approach improves the retrieval accuracy and BLEU score compared to vanilla kNN-MT.

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

↑