What Works and Doesn't Work, A Deep Decoder for Neural Machine Translation

Zuchao Li, Yiran Wang, Masao Utiyama, Eiichiro Sumita, Hai Zhao, Taro Watanabe

Introduction: The Asymmetry of NMT Architectures

In Neural Machine Translation (NMT), architectural scaling has been largely one-sided. While researchers have successfully deployed models with 48 or even 100 encoder layers, the decoder has remained stubbornly shallow, typically limited to 6 layers. Attempts to deepen the decoder often result in a phenomenon known as Deep Decoder Collapse.

The Deep Decoder Collapse

Deep Decoder Collapse occurs when a model, as it gains depth, becomes an exceptionally proficient language model at the expense of its translation capabilities. Instead of utilizing the source text, the decoder begins to rely solely on previously generated target tokens. This "short-circuiting" leads to a dramatic drop in translation quality, often resulting in near-zero BLEU scores despite low training perplexity.

Figure 1: Visualization of Deep Decoder Collapse. As decoder depth increases beyond a certain threshold (approx. 12 layers), BLEU scores (blue) collapse while perplexity (pink) spikes, indicating the model has failed to integrate source information.

Proposed Solutions: CAD and CRT

To mitigate this collapse, the authors propose a two-pronged approach involving structural changes and novel training objectives:

  1. Cross-attention Drop (CAD): Inspired by Dropout and Stochastic Depth, CAD randomly "drops" the cross-attention sublayer in specific decoder layers during training. By intermittently depriving the decoder of source information, CAD prevents the model from over-fitting on the complex cross-attention operations of a deep stack, making the optimization landscape more manageable.
  2. Collapse Reducing Training (CRT): This framework introduces two novel loss functions:
  3. Decoder Dropout Regularization (DDR): Based on the "R-drop" technique, this forces two different dropout passes of the same input to produce consistent output distributions using KL divergence, stabilizing the optimization of the deep stack.
  4. Anti-LM-degradation (ALD): A contrastive learning objective that forces the decoder to distinguish between a full source input and a corrupted version (where tokens are replaced by [UNK]). This ensures the decoder remains "grounded" in the source text rather than becoming an unconditional generator.

Experimental Results

The proposed methods were evaluated on the WMT14 English-to-German (En→De) and English-to-French (En→Fr) benchmarks. The results demonstrate that deep decoders, when properly regularized, can significantly outperform traditional shallow-decoder architectures.

Figure 4: Comparative performance of NMT systems. The 'DEEP+CAD+CRT' models successfully recover from the collapse seen in standard 'DEEP' models, achieving state-of-the-art BLEU scores across different model sizes and datasets.

As shown in the results table, a standard 27-layer decoder collapses to a nearly useless 0.31 BLEU on En→De. However, with the application of CAD and CRT, the same architecture achieves 30.31 BLEU, surpassing previous deep-encoder/shallow-decoder baselines like the 48-layer DeepE models. The improvements were even more pronounced on the larger English-to-French dataset, suggesting that deep decoders are particularly capable of utilizing large amounts of training data.

Conclusion and Future Directions

This research challenges the prevailing wisdom that NMT decoders should remain shallow. By addressing the root cause of collapse—the tendency of deep decoders to ignore source context—the authors show that a balanced encoder-decoder split (e.g., 15-15 or 27-27) is often superior to asymmetric designs. While deep decoders introduce higher computational costs during inference, their superior performance makes them a promising direction for high-performance translation systems. Future work may extend these techniques to other sequence-to-sequence tasks like summarization or dialogue generation.

Summary updated

BibTeX
@inproceedings{li2022what,
  author = {Zuchao Li and Yiran Wang and Masao Utiyama and Eiichiro Sumita and Hai Zhao and Taro Watanabe},
  title = {{What Works and Doesn't Work, A Deep Decoder for Neural Machine Translation}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2022},
  doi = {10.18653/v1/2022.findings-acl.39},
}
Figure