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

子词正则化的分布性质

Distributional Properties of Subword Regularization

Tokyo Institute of Technology(东京工业大学);ETH Zürich(苏黎世联邦理工学院)

Marco Cognetta, Vilém Zouhar, Naoaki Okazaki

AI总结:

本文分析了BPE和MaxMatch等子词正则化随机变体的分布偏向问题,提出一种均匀采样分词的算法作为现有分词器的替代方案,有效提升了机器翻译质量。

摘要:

子词正则化在NLP中被广泛使用,通过减少对精确分词的依赖、增强训练语料库以及在训练期间让模型接触更多独特上下文来提升模型性能。BPE和MaxMatch是两种流行的子词分词方案,它们具有随机丢弃正则化变体。然而,目前尚未对这些变体形成的分布进行分析。我们表明,这些随机变体严重偏向于每个单词的一小部分分词方式。如果子词正则化的益处如前所述,我们假设这种偏向性人为地限制了这些方案的有效性。因此,我们提出了一种均匀采样分词的算法,将其作为现有分词器随机部分的直接替代,并发现它提升了机器翻译质量。

英文摘要:

Subword regularization, used widely in NLP, improves model performance by reducing the dependency on exact tokenizations, augmenting the training corpus, and exposing the model to more unique contexts during training. BPE and MaxMatch, two popular subword tokenization schemes, have stochastic dropout regularization variants. However, there has not been an analysis of the distributions formed by them. We show that these stochastic variants are heavily biased towards a small set of tokenizations per word. If the benefits of subword regularization are as mentioned, we hypothesize that biasedness artificially limits the effectiveness of these schemes. Thus, we propose an algorithm to uniformly sample tokenizations that we use as a drop-in replacement for the stochastic aspects of existing tokenizers, and find that it improves machine translation quality.

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

↑