BPE-Dropout: Simple and Effective Subword Regularization
About
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.
Related benchmarks
| Task | Dataset | Result | Rank | |
|---|---|---|---|---|
| Machine Translation | WMT En-De 2014 (test) | BLEU28.01 | 379 | |
| Machine Translation | IWSLT De-En 2014 (test) | BLEU35.1 | 146 | |
| Machine Translation | IWSLT En-De 2014 (test) | BLEU28.63 | 92 | |
| Machine Translation | WMT De-En 14 (test) | BLEU34.19 | 59 | |
| Machine Translation | IWSLT17 En-Fr (test) | BLEU40.02 | 18 | |
| Machine Translation | IWSLT En-Vi 2015 (test) | BLEU33.27 | 17 | |
| Machine Translation | IWSLT Fr-En 2017 (test) | BLEU39.39 | 14 | |
| Machine Translation | IWSLT de-en (test) | BLEU36.54 | 13 | |
| Taxonomic Classification | CAMI II metagenome 2017 | Taxa F1 Score87.8 | 9 | |
| Variant Calling | GIAB HG002 truth set (test) | F1 Score (Variant)84.1 | 9 |