HyperAIHyperAI

Command Palette

Search for a command to run...

3 months ago

BPE-Dropout: Simple and Effective Subword Regularization

Ivan Provilkov Dmitrii Emelianenko Elena Voita

BPE-Dropout: Simple and Effective Subword Regularization

Abstract

Subword segmentation is widely used to address the open vocabulary problem in machine translation. The dominant approach to subword segmentation is Byte Pair Encoding (BPE), which keeps the most frequent words intact while splitting the rare ones into multiple tokens. While multiple segmentations are possible even with the same vocabulary, BPE splits words into unique sequences; this may prevent a model from better learning the compositionality of words and being robust to segmentation errors. So far, the only way to overcome this BPE imperfection, its deterministic nature, was to create another subword segmentation algorithm (Kudo, 2018). In contrast, we show that BPE itself incorporates the ability to produce multiple segmentations of the same word. We introduce BPE-dropout - simple and effective subword regularization method based on and compatible with conventional BPE. It stochastically corrupts the segmentation procedure of BPE, which leads to producing multiple segmentations within the same fixed BPE framework. Using BPE-dropout during training and the standard BPE during inference improves translation quality up to 3 BLEU compared to BPE and up to 0.9 BLEU compared to the previous subword regularization.

Code Repositories

VKCOM/YouTokenToMe
Mentioned in GitHub
mozilla/subword-nmt
Mentioned in GitHub
rsennrich/subword-nmt
Mentioned in GitHub
kh-mo/QA_wikisql
Mentioned in GitHub
google/sentencepiece
tf
Mentioned in GitHub

Benchmarks

BenchmarkMethodologyMetrics
machine-translation-on-iwslt2015-english-1Transformer+BPE-dropout
BLEU: 33.27
machine-translation-on-iwslt2017-arabicTransformer base + BPE-Dropout
Cased sacreBLEU: 33.0
machine-translation-on-iwslt2017-englishTransformer base + BPE-Dropout
Cased sacreBLEU: 39.83
machine-translation-on-iwslt2017-english-1Transformer base + BPE-Dropout
Cased sacreBLEU: 15.2
machine-translation-on-iwslt2017-frenchTransformer base + BPE-Dropout
Cased sacreBLEU: 38.6

Build AI with AI

From idea to launch — accelerate your AI development with free AI co-coding, out-of-the-box environment and best price of GPUs.

AI Co-coding
Ready-to-use GPUs
Best Pricing
Get Started

Hyper Newsletters

Subscribe to our latest updates
We will deliver the latest updates of the week to your inbox at nine o'clock every Monday morning
Powered by MailChimp