[Paper Review] Novel Applications of Factored Neural Machine Translation
This paper introduces novel applications of factored neural machine translation (FNMT) by using target-side factors to predict word case, subword segmentation, and special tokens in operation sequence NMT (OSNMT). The approach improves decoding efficiency and handles out-of-vocabulary words without sacrificing translation quality, achieving significant BLEU gains in OSNMT due to reduced sequence length, while maintaining speed and performance on English-to-German and English-to-Turkish translation tasks.
In this work, we explore the usefulness of target factors in neural machine translation (NMT) beyond their original purpose of predicting word lemmas and their inflections, as proposed by Garcìa-Martìnez et al., 2016. For this, we introduce three novel applications of the factored output architecture: In the first one, we use a factor to explicitly predict the word case separately from the target word itself. This allows for information to be shared between different casing variants of a word. In a second task, we use a factor to predict when two consecutive subwords have to be joined, eliminating the need for target subword joining markers. The third task is the prediction of special tokens of the operation sequence NMT model (OSNMT) of Stahlberg et al., 2018. Automatic evaluation on English-to-German and English-to-Turkish tasks showed that integration of such auxiliary prediction tasks into NMT is at least as good as the standard NMT approach. For the OSNMT, we observed a significant improvement in BLEU over the baseline OSNMT implementation due to a reduced output sequence length that resulted from the introduction of the target factors.
Motivation & Objective
- To extend factored NMT beyond lemma and morphological tagging to solve auxiliary prediction tasks in neural machine translation.
- To reduce decoding sequence length and improve inference speed by predicting multiple target tokens per step using target factors.
- To mitigate data sparsity in low-resource settings by explicitly sharing information across word casing variants.
- To improve the operation sequence NMT (OSNMT) model by factoring out special control tokens, reducing sequence length and boosting performance.
Proposed method
- A factored decoder architecture generates two outputs per decoding step: the main target token and a factor for auxiliary predictions such as case or segmentation.
- The factor for word case predicts uppercase/lowercase variants using a separate softmax layer conditioned on the decoder state and the main token embedding.
- The segmentation factor predicts whether two consecutive subwords should be joined, eliminating the need for joining markers like '@@' in subword tokenization.
- For OSNMT, a factor predicts special operation tokens (e.g., SRC_POP), enabling multiple operations per step and reducing the number of decoding steps.
- The model is trained end-to-end with joint cross-entropy loss on both the main output and the factor, with beam search adapted to consider both outputs simultaneously.
- The approach is evaluated on English-to-German and English-to-Turkish translation tasks using BLEU, TER, and decoding speed metrics.
Experimental results
Research questions
- RQ1Can target-side factors be effectively used to predict word case, improving generalization without increasing inference cost?
- RQ2Does using a factor to predict subword joining decisions improve translation of compound words, especially unseen ones?
- RQ3Can factored NMT reduce the sequence length in OSNMT by predicting multiple operations per step, leading to faster decoding and better performance?
- RQ4How does factored NMT compare to standard NMT and truecasing in low-resource settings for word casing prediction?
- RQ5Does integrating auxiliary prediction tasks via factoring improve translation quality or only sequence efficiency?
Key findings
- The casing factor achieved BLEU scores of 37.9% on English-to-German newstest2019, matching the baseline with truecased subwords, indicating no degradation in translation quality.
- The segmentation factor significantly improved translation of unseen compound words—e.g., 'show-jumping stadium' and 'technology legend'—which the baseline copied verbatim.
- The factored OSNMT model reduced output sequence length and achieved a significant BLEU improvement over the non-factored baseline, demonstrating the benefit of joint prediction of control tokens.
- Decoding speed remained nearly unchanged with factorization, as the second factor’s small output space and reduced main vocabulary offset computational cost.
- In low-resource settings, the casing factor showed measurable improvements over the baseline, suggesting better handling of data sparsity through shared representations.
- The model maintained consistent performance across both language pairs, confirming that auxiliary factorization does not compromise translation quality while enabling structural improvements.
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.