Retrieving Sequential Information for Non-Autoregressive Neural Machine Translation

Chenze Shao, Yang Feng, Jinchao Zhang, Fandong Meng, Xilin Chen, Jie Zhou

Introduction

Non-autoregressive translation (NAT) models offer significant speed advantages over traditional autoregressive (AR) models by generating all target words in parallel. However, this independence assumption often leads to a lack of sequential information, resulting in common errors such as over-translation (repeated words) and under-translation (missing words). This paper addresses these issues through two primary contributions: Reinforce-NAT, a stabilized reinforcement learning framework, and the FS-decoder, a hybrid architecture designed to fuse sequential context into parallel decoding.

Methods for Sequential Information Retrieval

Reinforce-NAT: Sequence-Level Training

Standard NAT training uses word-level cross-entropy loss, which fails to capture sentence-level coherence. Reinforcement Learning (RL) can optimize for sequence-level metrics like BLEU, but it is typically unstable due to high gradient variance. The authors introduce a stabilized RL algorithm that calculates exact gradients for the top-$k$ most probable words at each position while using sampling for the remaining probability mass. This approach significantly reduces noise, making RL a viable training strategy for NAT.

The FS-decoder Architecture

The Fused Sequential (FS) decoder is a structural innovation that balances speed and sequential awareness. Unlike a fully parallel NAT decoder, the FS-decoder consists of:

  • Bottom Layers: Multiple parallel layers that extract features from the source and target embeddings.
  • Fusion Layer: A component that integrates parallel features with target word information.
  • Top Layer: A single autoregressive layer that processes the fused information sequentially to ensure local coherence.
Architecture of the Encoder and FS-Decoder, showing the hybrid parallel-sequential structure.

Experimental Results

The proposed methods were evaluated on three standard benchmarks: IWSLT’16 En-De, WMT’16 En-Ro, and WMT’14 En-De.

Quantitative Performance

The combination of Reinforce-NAT and the FS-decoder significantly bridges the quality gap between NAT and AR models. As shown in the results table, the FS-decoder achieves BLEU scores competitive with AR baselines while maintaining substantial speedups.

Main results comparing AR, NAT baselines, and the proposed models across three translation tasks.

Key findings include:

  • Quality Gains: Reinforce-NAT improved the baseline NAT system by over 3.0 BLEU points on the WMT’14 En-De task.
  • Efficiency: The FS-decoder (with beam size $b=1$) achieved a speedup of approximately 4.06x to 4.79x compared to the AR Transformer, with only a minor decrease in translation quality.
  • Robustness: The methods are particularly effective for longer sentences, where standard NAT models typically struggle.

Qualitatively, the models effectively eliminated word repetitions. For instance, in a case study involving a complex sentence about Oxford University, the FS-decoder produced a coherent translation where the baseline NAT model had failed with repetitive phrases.

Discussion and Conclusion

By retrieving sequential information through both training objectives and architectural design, this work demonstrates that the speed of non-autoregressive models can be harnessed without sacrificing the linguistic coherence of the output. While the FS-decoder introduces a minor $O(N)$ bottleneck in its top layer, the overall efficiency gains remain significant. Future work may explore further reducing training time for Reinforce-NAT and investigating alternative sequence-level loss functions.

Summary updated

BibTeX
@inproceedings{shao2019retrieving,
  author = {Chenze Shao and Yang Feng and Jinchao Zhang and Fandong Meng and Xilin Chen and Jie Zhou},
  title = {{Retrieving Sequential Information for Non-Autoregressive Neural Machine Translation}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2019},
  doi = {10.18653/v1/p19-1288},
}
Figure