[Paper Review] Hint-Based Training for Non-Autoregressive Machine Translation
This paper proposes a hint-based training method for non-autoregressive neural machine translation (NART) that improves translation quality by leveraging hidden state similarities and attention distributions from a pre-trained autoregressive teacher model. The approach significantly boosts NART performance—achieving BLEU scores comparable to strong LSTM-based autoregressive models—while maintaining a 30.2× speedup in inference over autoregressive baselines, without adding computationally expensive components.
Due to the unparallelizable nature of the autoregressive factorization, AutoRegressive Translation (ART) models have to generate tokens sequentially during decoding and thus suffer from high inference latency. Non-AutoRegressive Translation (NART) models were proposed to reduce the inference time, but could only achieve inferior translation accuracy. In this paper, we proposed a novel approach to leveraging the hints from hidden states and word alignments to help the training of NART models. The results achieve significant improvement over previous NART models for the WMT14 En-De and De-En datasets and are even comparable to a strong LSTM-based ART baseline but one order of magnitude faster in inference.
Motivation & Objective
- To address the poor translation quality of non-autoregressive translation (NART) models, which suffer from inconsistent outputs due to lack of autoregressive dependencies.
- To improve NART performance without sacrificing inference speed by avoiding complex architectural modifications.
- To investigate whether hidden state correlations and attention distributions from autoregressive models can serve as effective supervision signals for NART training.
- To achieve NART performance comparable to strong autoregressive baselines while maintaining orders-of-magnitude faster inference.
Proposed method
- The method uses a pre-trained autoregressive model (ART) as a teacher to extract hidden state representations and attention distributions for supervision.
- It introduces two types of hints: (1) hidden state similarity regularization to reduce redundant, repetitive outputs, and (2) alignment-based attention distillation to improve attention distribution quality.
- The NART model is trained with a multi-task loss combining negative log-likelihood (NLL), alignment loss, and hidden state similarity loss.
- The hidden state similarity loss minimizes cosine similarity between decoder hidden states at different positions to discourage repetitive predictions.
- The alignment loss encourages the NART model’s encoder-decoder attention to match the attention patterns of the ART teacher model.
- The method is applied to Transformer-based NART models with a copy of the source sentence as input and no autoregressive mask in self-attention layers.
Experimental results
Research questions
- RQ1Can hidden state representations from an autoregressive model improve the training of non-autoregressive translation models?
- RQ2Does distilling attention distributions from an autoregressive model reduce ambiguity and improve alignment in NART outputs?
- RQ3Can hint-based training close the performance gap between NART and autoregressive models without adding computational overhead?
- RQ4To what extent do hidden state similarity and attention distillation reduce repetitive or incoherent phrase generation in NART models?
Key findings
- The proposed hint-based NART model achieves a BLEU score of 25.55 on WMT14 De-En, outperforming the best prior NART model (LT with rescoring) by 3.0 BLEU points.
- On WMT14 En-De, the model reaches 21.11 BLEU, surpassing the previous SOTA NART model (LT with rescoring) by 1.9 BLEU points.
- The model achieves a 30.2× speedup in inference over the autoregressive Transformer baseline, with a latency of only 26ms per sentence.
- The percentage of repetitive words in translations drops from 8.3% to 6.5% on IWSLT14 De-En, indicating improved output consistency.
- Ablation studies show that alignment hints contribute 1.6 BLEU points and hidden state hints contribute 0.8 BLEU points to overall performance.
- On long sentences (length ≥40), the model improves BLEU by 3.15 points (20.63 vs. 17.48) over the baseline, demonstrating strong generalization.
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.