NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Multitask Learning For Different Subword Segmentations In Neural Machine Translation

Tejas Srinivasan, Ramon Sanabria, Florian Metze

Introduction

In Neural Machine Translation (NMT), the choice of subword segmentation—such as Byte-Pair Encoding (BPE)—is critical. It allows models to handle rare and out-of-vocabulary (OOV) terms by breaking words into smaller units. However, researchers face a "Goldilocks" problem: small subwords (like characters) are flexible but lose semantic context in long sequences, while large subwords carry rich meaning but struggle with unseen words. Finding the optimal vocabulary size is typically a manual, iterative process.

This paper introduces Block Multitask Learning (BMTL), an architecture designed to bypass this manual search. Instead of training for a single granularity, BMTL trains a model to predict multiple subword segmentations simultaneously, resulting in more robust representations and improved translation performance.

The BMTL Architecture

The core of the BMTL approach is a shared representation layer that serves multiple decoding tasks.

The Block Multitask Learning (BMTL) architecture featuring a shared encoder and multiple task-specific decoders.

As shown in Figure 1, the architecture consists of:

  1. Shared Encoder: A single bidirectional LSTM (BiLSTM) that processes the input sentence to create a universal representation.
  2. Multiple Decoders: Independent decoders (UniLSTM) branch off the shared encoder. Each is specialized for a specific subword granularity (e.g., BPE-300, BPE-1k, and BPE-10k).
  3. Joint Training: The model is trained by summing the length-normalized losses from all decoders. This multi-objective optimization forces the encoder to learn features that are useful across all levels of granularity, acting as a powerful regularizer.
  4. Multi-Engine Combination (MEMT): At inference, the model generates hypotheses from each decoder. These are combined using a post-processing system (MEMT) to produce the final translation.

Experimental Results

The researchers evaluated BMTL on several IWSLT datasets, including English-to-French, English-to-Vietnamese, and English-to-Czech.

Faster Convergence and Higher Accuracy

A key finding was that BMTL decoders consistently outperformed their single-task baseline counterparts. Not only did they achieve higher final BLEU scores, but they also converged significantly faster.

Validation BLEU scores over training iterations for BPE300, BPE1k, and BPE10k decoders, comparing BMTL against single-task baselines.

Figure 5 illustrates this trend across three different granularities. The BMTL decoders (blue lines) reach higher performance levels earlier in the training process compared to the baselines (red lines). This suggests that the multitask setup helps the model find better optima more efficiently.

Efficiency and Robustness

By sharing the encoder—the most parameter-heavy component—BMTL achieves the benefits of a model ensemble with significantly lower overhead. The authors report that BMTL outperforms traditional ensembles while using approximately 20-25% fewer parameters. The gains were most pronounced in morphologically rich languages like Czech, where subword segmentation is particularly challenging.

Conclusion and Future Work

Block Multitask Learning offers a promising path toward more robust and efficient NMT systems by eliminating the need for exhaustive subword vocabulary searches. While this study focused on RNN-based architectures and target-side multitask learning, future research could extend these principles to Transformer models and explore multitask learning on the source side. Additionally, dynamic loss weighting could further optimize how the model balances different granularities during training.

Summary updated

BibTeX
@inproceedings{srinivasan2019multitask,
  author = {Tejas Srinivasan and Ramon Sanabria and Florian Metze},
  title = {{Multitask Learning For Different Subword Segmentations In Neural Machine Translation}},
  booktitle = {IWSLT},
  year = {2019},
  url = {https://openreview.net/forum?id=Qb0YWjeK_J},
}
Figure