[Paper Review] Towards Neural Phrase-based Machine Translation
This paper proposes Neural Phrase-based Machine Translation (NPMT), a sequence-to-sequence model that explicitly models phrase structures in the target language using Sleep-Wake Networks (SWAN) and a novel soft local reordering layer to relax monotonic alignment constraints. NPMT achieves state-of-the-art BLEU scores on IWSLT 2014 and IWSLT 2015 translation tasks without using attention mechanisms, demonstrating that phrase-level modeling improves translation quality and enables linear-time decoding.
In this paper, we present Neural Phrase-based Machine Translation (NPMT). Our method explicitly models the phrase structures in output sequences using Sleep-WAke Networks (SWAN), a recently proposed segmentation-based sequence modeling method. To mitigate the monotonic alignment requirement of SWAN, we introduce a new layer to perform (soft) local reordering of input sequences. Different from existing neural machine translation (NMT) approaches, NPMT does not use attention-based decoding mechanisms. Instead, it directly outputs phrases in a sequential order and can decode in linear time. Our experiments show that NPMT achieves superior performances on IWSLT 2014 German-English/English-German and IWSLT 2015 English-Vietnamese machine translation tasks compared with strong NMT baselines. We also observe that our method produces meaningful phrases in output languages.
Motivation & Objective
- To develop a neural machine translation system that explicitly models phrase structures in the target language, inspired by the success of phrase-based SMT.
- To address the monotonic alignment limitation of SWAN by introducing a soft local reordering layer for input sequences.
- To design a decoder-free architecture that directly outputs phrases in sequence, enabling linear-time inference.
- To evaluate whether automatic phrase discovery and segmentation improve translation performance compared to standard attention-based NMT.
- To demonstrate that phrase-level modeling enhances translation quality and produces meaningful, reusable phrases in the output.
Proposed method
- NPMT uses a soft reordering layer with a window size of 7 to perform (soft) local reordering of input sequences before feeding them into a bi-directional LSTM encoder.
- The reordering layer mitigates the monotonic alignment assumption inherent in SWAN by allowing non-monotonic input-to-output alignments.
- A bi-directional LSTM encoder with 512 hidden units processes the reordered input representations.
- The output is fed into a SWAN layer that models segmentations of the target sequence and learns to predict phrases directly, without attention mechanisms.
- The model uses greedy decoding and beam search with a beam size of 10, and incorporates a 4th-order language model (KenLM) for further BLEU improvement on Vietnamese.
- Hyperparameters include a batch size of 48 per GPU, Adam optimization with an initial learning rate of 0.001, and dropout with rate 0.4.
Experimental results
Research questions
- RQ1Can explicit phrase modeling in the target language improve neural machine translation performance compared to standard attention-based models?
- RQ2Does relaxing the monotonic alignment constraint in SWAN through a soft reordering layer lead to better translation quality and more flexible alignments?
- RQ3Can a phrase-based decoding mechanism achieve competitive BLEU scores without using attention mechanisms?
- RQ4To what extent do automatically discovered phrases in the target language improve translation fluency and semantic coherence?
- RQ5Can NPMT generalize to diverse language pairs, including low-resource ones like English-Vietnamese?
Key findings
- NPMT achieves a BLEU score of 27.69 on the IWSLT 2015 English-Vietnamese tst2013 test set using beam search, outperforming the baseline sequence-to-sequence model with attention by 1.59 BLEU points.
- With a language model, NPMT further improves to 28.07 BLEU, demonstrating the effectiveness of combining structural modeling with n-gram language modeling.
- On IWSLT 2014 German-English and English-German tasks, NPMT achieves superior BLEU scores compared to strong attention-based NMT baselines.
- The model produces meaningful, coherent phrases in the output, as evidenced by qualitative examples showing correct segmentation and translation of multi-word units.
- NPMT decodes in linear time, as it avoids attention mechanisms and directly generates phrases in sequence, making it computationally efficient.
- The soft reordering layer effectively mitigates the monotonic alignment constraint of SWAN, enabling better performance on non-monotonic language pairs.
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.