[Paper Review] Retrieving Sequential Information for Non-Autoregressive Neural Machine Translation
This paper proposes two methods to enhance non-autoregressive neural machine translation (NAT) by retrieving target sequential information: (1) Reinforce-NAT, a sequence-level training method using a variance-reduced reinforcement algorithm, and (2) FS-decoder, a novel Transformer decoder that fuses sequential information at the top layer. Both approaches significantly improve translation quality—especially on long sentences—without sacrificing the fast decoding speed of NAT models.
Non-Autoregressive Transformer (NAT) aims to accelerate the Transformer model through discarding the autoregressive mechanism and generating target words independently, which fails to exploit the target sequential information. Over-translation and under-translation errors often occur for the above reason, especially in the long sentence translation scenario. In this paper, we propose two approaches to retrieve the target sequential information for NAT to enhance its translation ability while preserving the fast-decoding property. Firstly, we propose a sequence-level training method based on a novel reinforcement algorithm for NAT (Reinforce-NAT) to reduce the variance and stabilize the training procedure. Secondly, we propose an innovative Transformer decoder named FS-decoder to fuse the target sequential information into the top layer of the decoder. Experimental results on three translation tasks show that the Reinforce-NAT surpasses the baseline NAT system by a significant margin on BLEU without decelerating the decoding speed and the FS-decoder achieves comparable translation performance to the autoregressive Transformer with considerable speedup.
Motivation & Objective
- Address the poor performance of non-autoregressive Transformers (NAT) on long sentences due to lack of target sequential information.
- Reduce training variance and stabilize sequence-level training in NAT models, which often suffer from high variance in reinforcement learning.
- Preserve the fast decoding speed of NAT while improving translation quality by integrating sequential knowledge into the decoder architecture.
- Achieve translation quality comparable to autoregressive Transformers with substantial speedup, particularly on long-sequence translation tasks.
Proposed method
- Propose Reinforce-NAT, a sequence-level training method based on a modified reinforcement learning algorithm that reduces variance by using a k-step baseline in policy gradient estimation.
- Introduce the FS-decoder, a hybrid Transformer decoder where lower layers process tokens in parallel for speed, while the top layer attends to sequential dependencies to guide word generation.
- Use sequence-level objectives such as BLEU, GLEU, and TER as the reward signal during training to optimize for fluent, accurate sentence generation instead of per-token accuracy.
- Apply a k-step baseline in the policy gradient update to stabilize training and reduce variance in the reinforcement learning signal.
- Train the NAT model using a combination of cross-entropy and sequence-level rewards, enabling better generalization and reduced over-translation/under-translation errors.
- Integrate sequential information into the top layer of the decoder via self-attention that attends to previously generated tokens, allowing context-aware generation without sequential decoding.
Experimental results
Research questions
- RQ1Can sequence-level reinforcement learning with variance reduction improve the training stability and performance of non-autoregressive NMT models?
- RQ2Can a hybrid decoder architecture that preserves parallel decoding while incorporating sequential information achieve performance close to autoregressive models?
- RQ3How does the proposed method perform on long sentences, where NAT models typically underperform due to lack of sequential context?
- RQ4Does the integration of sequential information via the FS-decoder lead to a significant reduction in over-translation and under-translation errors?
- RQ5Can the proposed methods maintain the fast inference speed of NAT models while improving translation quality?
Key findings
- Reinforce-NAT improves BLEU scores by over 3 points on the WMT14 En→De dataset, with a significant improvement on long sentences (length >40 tokens), where NAT-Base performance drops sharply.
- On the IWSLT16 En→De dataset, Reinforce-NAT achieves a 1.0 BLEU point improvement, indicating that the method is more effective on longer, news-domain sentences.
- The FS-decoder achieves translation performance comparable to the autoregressive Transformer (AR-Base) while maintaining a substantial speedup, with beam size 1, on both WMT14 En→De and WMT16 En→Ro tasks.
- Case studies show that NAT-Base produces repeated words (e.g., 'more more more') and misses key terms (e.g., 'tragic'), while both Reinforce-NAT and FS-decoder significantly reduce these errors.
- The training curve analysis shows that k=5 in Reinforce-NAT provides the best trade-off between stability and performance, outperforming k=0 (high variance) and k=10 (no further gain).
- The BLEU scores of NAT-Base drop significantly beyond 40 tokens, while models with sequential information (Reinforce-NAT and FS-decoder) maintain strong performance across all length buckets.
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.