[Paper Review] Multitask Learning For Different Subword Segmentations In Neural Machine Translation
This paper proposes Block Multitask Learning (BMTL), a neural machine translation architecture that jointly predicts translations at multiple subword granularities—such as word, subword, and character levels—without requiring manual selection of an optimal segmentation. By training a single model to generate hypotheses at different levels, BMTL achieves up to 1.7 BLEU point gains over single-task baselines with the same parameter count and enables improved translation through post-processing combination of multi-granularity outputs.
In Neural Machine Translation (NMT) the usage of subwords and characters as source and target units offers a simple and flexible solution for translation of rare and unseen words. However, selecting the optimal subword segmentation involves a trade-off between expressiveness and flexibility, and is language and dataset-dependent. We present Block Multitask Learning (BMTL), a novel NMT architecture that predicts multiple targets of different granularities simultaneously, removing the need to search for the optimal segmentation strategy. Our multi-task model exhibits improvements of up to 1.7 BLEU points on each decoder over single-task baseline models with the same number of parameters on datasets from two language pairs of IWSLT15 and one from IWSLT19. The multiple hypotheses generated at different granularities can be combined as a post-processing step to give better translations, which improves over hypothesis combination from baseline models while using substantially fewer parameters.
Motivation & Objective
- To eliminate the need for manual hyperparameter tuning in subword segmentation by learning multiple granularities simultaneously.
- To address the trade-off between expressiveness and flexibility in subword segmentation strategies across different languages and datasets.
- To improve translation quality by combining hypotheses from multiple granularities in a post-processing step.
- To maintain model efficiency by sharing parameters across multiple prediction heads while achieving gains over single-task models.
Proposed method
- Designing a multitask NMT framework that predicts outputs at multiple subword granularities—such as word-level, subword-level, and character-level—within a single encoder-decoder architecture.
- Using a shared encoder with multiple parallel decoder heads, each tailored to generate translations at a specific granularity.
- Training all heads jointly using a shared loss function that combines cross-entropy losses from each granularity level.
- Applying a post-processing strategy that combines the multiple hypotheses generated at different granularities to produce a final translation.
- Ensuring parameter efficiency by sharing the encoder and most decoder components across all granularity heads.
- Optimizing the model end-to-end to balance performance across all granularities without requiring separate training for each segmentation strategy.
Experimental results
Research questions
- RQ1Can a single NMT model jointly predict translations at multiple subword granularities without compromising performance or parameter efficiency?
- RQ2Does learning multiple granularities simultaneously lead to better translation quality than optimizing for a single segmentation strategy?
- RQ3Can post-processing combination of multi-granularity hypotheses outperform standard ensemble methods while using fewer parameters?
- RQ4How does the proposed BMTL model compare to single-task models with the same number of parameters in terms of BLEU score and robustness across language pairs?
Key findings
- BMTL achieves up to 1.7 BLEU point improvement over single-task baselines on IWSLT15 and IWSLT19 datasets with the same number of parameters.
- The model maintains strong performance across all granularities without requiring separate training or hyperparameter tuning for each segmentation level.
- Post-processing combination of hypotheses from different granularities yields better translations than similar combinations from single-task models.
- The approach reduces the need for extensive search over subword segmentation strategies, which are typically language- and dataset-dependent.
- The multi-granularity predictions are generated efficiently within a single model, demonstrating parameter efficiency and scalability.
- The method shows consistent gains across two language pairs from IWSLT15 and one from IWSLT19, indicating broad applicability.
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.