[Paper Review] Subword Regularization: Improving Neural Network Translation Models with Multiple Subword Candidates
This paper introduces subword regularization, a simple yet effective method that improves neural machine translation (NMT) robustness by training with multiple subword segmentations sampled from a unigram language model during training. The approach significantly boosts performance—especially on low-resource and out-of-domain settings—by leveraging segmentation ambiguity as a form of data augmentation.
Subword units are an effective way to alleviate the open vocabulary problems in neural machine translation (NMT). While sentences are usually converted into unique subword sequences, subword segmentation is potentially ambiguous and multiple segmentations are possible even with the same vocabulary. The question addressed in this paper is whether it is possible to harness the segmentation ambiguity as a noise to improve the robustness of NMT. We present a simple regularization method, subword regularization, which trains the model with multiple subword segmentations probabilistically sampled during training. In addition, for better subword sampling, we propose a new subword segmentation algorithm based on a unigram language model. We experiment with multiple corpora and report consistent improvements especially on low resource and out-of-domain settings.
Motivation & Objective
- Address the open-vocabulary problem in neural machine translation (NMT) by mitigating the impact of unknown words through subword units.
- Exploit the inherent ambiguity in subword segmentation—where a single word can be split in multiple valid ways—as a form of data augmentation to improve model generalization.
- Develop a new subword segmentation algorithm based on a unigram language model to generate probabilistic, diverse subword candidates for regularization.
- Improve model robustness and performance, particularly in low-resource and out-of-domain translation settings, without modifying the NMT architecture.
Proposed method
- Propose on-the-fly subword sampling during training, where multiple subword sequences are probabilistically sampled from a segmentation distribution for each input sentence.
- Use a marginalized likelihood objective (Equation 3) that averages over multiple subword segmentations to train the NMT model, approximated via Monte Carlo sampling with k candidates.
- Introduce a new subword segmentation algorithm based on a unigram language model, which assigns probabilities to different segmentation sequences and enables biased sampling toward more plausible segmentations.
- Apply the method to both source and target sentences independently, allowing for flexible regularization on either encoder or decoder side.
- Use hyperparameters l (number of sampled candidates) and α (smoothing constant) to control the diversity and quality of sampled segmentations.
- Implement the method as a lightweight, architecture-agnostic regularization technique that requires no changes to the underlying NMT model.
Experimental results
Research questions
- RQ1Can leveraging multiple subword segmentations during NMT training improve model robustness and translation quality?
- RQ2Does using a language model-based subword segmentation algorithm yield better sampling diversity and performance than standard BPE?
- RQ3How does subword regularization affect performance in low-resource and out-of-domain translation settings?
- RQ4Is the regularization effect stronger when applied to both source and target sequences, or does one side contribute more?
- RQ5What is the optimal configuration of sampling hyperparameters (l and α) for consistent performance gains?
Key findings
- Subword regularization achieves a 2.18 BLEU point improvement on IWSLT15 (en→vi) compared to the baseline, with a final score of 27.68 when both source and target are regularized.
- On the IWSLT17 (en→vi) dataset, the method improves BLEU from 25.49 (baseline) to 27.68 with full regularization, demonstrating consistent gains across domains.
- The unigram language model with subword regularization achieves the highest BLEU score of 25.04 on WMT14 (en→de), outperforming BPE (24.53) and other subword methods.
- Single-side regularization (on source or target only) still yields measurable gains—e.g., 26.10 BLEU on en→vi—indicating that the method benefits both encoder and decoder components.
- The smoothing hyperparameter α is critical: setting α=0.0 leads to performance degradation, especially with large l, showing that biased sampling based on language model probabilities is essential.
- The method is most effective in low-resource settings, such as IWSLT15, where the gains are most pronounced, suggesting strong regularization effects in data-scarce scenarios.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.