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

SelfSeg:一种用于神经机器翻译的自监督子词分割方法

SelfSeg: A Self-supervised Sub-word Segmentation Method for Neural Machine Translation

Kyoto University(京都大学);National Institute of Information and Communications Technology(国立信息与通信技术研究所)

Haiyue Song, Raj Dabre, Chenhui Chu, Sadao Kurohashi, Eiichiro Sumita

AI总结:

本文提出自监督子词分割方法SelfSeg,仅需单语词典并通过动态规划优化词生成概率,在低资源等场景下显著提升了机器翻译的BLEU分数。

摘要:

子词分割是神经机器翻译(NMT)的一个基本预处理步骤。现有工作表明,神经子词分割器优于Byte-Pair Encoding(BPE),然而它们效率低下,因为需要平行语料库、数天的训练时间以及数小时的解码时间。本文提出了SelfSeg,这是一种自监督神经子词分割方法,其训练/解码速度要快得多,并且只需要单语词典而不是平行语料库。SelfSeg将部分掩码的字符序列形式的单词作为输入,优化单词生成概率,并使用动态规划算法计算出的最大后验概率来生成分割。SelfSeg的训练时间取决于词频,我们探索了几种词频归一化策略来加速训练阶段。此外,我们提出了一种正则化机制,允许分割器为一个单词生成多种分割。为了展示我们方法的有效性,我们在低、中、高资源场景下进行了机器翻译实验,比较了使用不同分割方法的性能。实验结果表明,在低资源ALT数据集上,与BPE和SentencePiece相比,我们的方法实现了超过1.2个BLEU分数的提升,并且平均比Dynamic Programming Encoding(DPE)和Vocabulary Learning via Optimal Transport(VOLT)提升了1.1分。该正则化方法比BPE实现了约4.3个BLEU分数的提升,比BPE-dropout(BPE的正则化版本)提升了1.2个BLEU分数。我们还在IWSLT15 Vi->En、WMT16 Ro->En和WMT15 Fi->En数据集上观察到了显著提升,并在WMT14 De->En和WMT14 Fr->En数据集上取得了有竞争力的结果。

英文摘要:

Sub-word segmentation is an essential pre-processing step for Neural Machine Translation (NMT). Existing work has shown that neural sub-word segmenters are better than Byte-Pair Encoding (BPE), however, they are inefficient as they require parallel corpora, days to train and hours to decode. This paper introduces SelfSeg, a self-supervised neural sub-word segmentation method that is much faster to train/decode and requires only monolingual dictionaries instead of parallel corpora. SelfSeg takes as input a word in the form of a partially masked character sequence, optimizes the word generation probability and generates the segmentation with the maximum posterior probability, which is calculated using a dynamic programming algorithm. The training time of SelfSeg depends on word frequencies, and we explore several word frequency normalization strategies to accelerate the training phase. Additionally, we propose a regularization mechanism that allows the segmenter to generate various segmentations for one word. To show the effectiveness of our approach, we conduct MT experiments in low-, middle- and high-resource scenarios, where we compare the performance of using different segmentation methods. The experimental results demonstrate that on the low-resource ALT dataset, our method achieves more than 1.2 BLEU score improvement compared with BPE and SentencePiece, and a 1.1 score improvement over Dynamic Programming Encoding (DPE) and Vocabulary Learning via Optimal Transport (VOLT) on average. The regularization method achieves approximately a 4.3 BLEU score improvement over BPE and a 1.2 BLEU score improvement over BPE-dropout, the regularized version of BPE. We also observed significant improvements on IWSLT15 Vi->En, WMT16 Ro->En and WMT15 Fi->En datasets, and competitive results on the WMT14 De->En and WMT14 Fr->En datasets.

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

↑