[Paper Review] Fine-Tuning by Curriculum Learning for Non-Autoregressive Neural Machine Translation
This paper proposes a curriculum learning-based fine-tuning method to improve non-autoregressive neural machine translation (NAT) by progressively transferring knowledge from a pre-trained autoregressive translation (AT) model. By gradually switching from autoregressive to non-autoregressive decoding through controlled curriculum scheduling of decoder input and attention masks, the method achieves significant gains in translation accuracy—over 1 BLEU on multiple benchmarks—while maintaining inference speedups exceeding 10x compared to AT models.
Non-autoregressive translation (NAT) models remove the dependence on previous target tokens and generate all target tokens in parallel, resulting in significant inference speedup but at the cost of inferior translation accuracy compared to autoregressive translation (AT) models. Considering that AT models have higher accuracy and are easier to train than NAT models, and both of them share the same model configurations, a natural idea to improve the accuracy of NAT models is to transfer a well-trained AT model to an NAT model through fine-tuning. However, since AT and NAT models differ greatly in training strategy, straightforward fine-tuning does not work well. In this work, we introduce curriculum learning into fine-tuning for NAT. Specifically, we design a curriculum in the fine-tuning process to progressively switch the training from autoregressive generation to non-autoregressive generation. Experiments on four benchmark translation datasets show that the proposed method achieves good improvement (more than $1$ BLEU score) over previous NAT baselines in terms of translation accuracy, and greatly speed up (more than $10$ times) the inference process over AT baselines.
Motivation & Objective
- To address the accuracy gap between non-autoregressive (NAT) and autoregressive (AT) neural machine translation models.
- To enable effective knowledge transfer from a well-trained AT model to an NAT model despite their differing training strategies.
- To improve NAT model performance by introducing a progressive curriculum that gradually shifts from AT to NAT generation.
- To reduce the degradation in translation quality caused by the loss of target context in NAT models.
- To achieve a better trade-off between inference speed and translation accuracy through structured knowledge distillation.
Proposed method
- A curriculum is designed to progressively substitute the AT decoder input (previous target tokens) with NAT decoder input (source copy or other target-independent signals) during fine-tuning.
- The attention mask is transitioned from AT-style (left-to-right) to NAT-style (full self-attention) in a stepwise manner, starting from AT and switching fully to NAT after a predefined step.
- The substitution rate for decoder input increases monotonically over training steps, using a logarithmic pacing function for optimal performance.
- Two substitution strategies are evaluated: token-level (per-token replacement) and sentence-level (entire sentence replacement), with the former showing superior results.
- The method leverages intermediate states during the transition to preserve knowledge from the AT model while adapting to the NAT setting.
- The approach is applied to fine-tune a pre-trained AT model, using a hybrid training regime that starts with AT and gradually shifts to NAT.
Experimental results
Research questions
- RQ1Can a well-trained autoregressive model be effectively fine-tuned to improve non-autoregressive translation accuracy?
- RQ2How can curriculum learning be applied to bridge the gap between autoregressive and non-autoregressive training strategies?
- RQ3What is the optimal pacing function for transitioning from autoregressive to non-autoregressive generation during fine-tuning?
- RQ4Does token-level or sentence-level substitution of decoder inputs lead to better performance in NAT fine-tuning?
- RQ5To what extent does the proposed method reduce repetitive token generation in NAT outputs without explicit regularization?
Key findings
- The proposed method improves translation accuracy by 1.87 BLEU on the IWSLT14 German-English task and 1.14 BLEU on the WMT14 English-German task over the best NAT baseline.
- The model achieves over 1 BLEU improvement on all four benchmark datasets compared to previous NAT baselines.
- The logarithmic pacing function for curriculum scheduling outperforms both linear and ladder-like functions, indicating a benefit from longer exposure to higher substitution rates.
- The token-level substitution strategy significantly outperforms the sentence-level strategy, highlighting the importance of intermediate state utilization during knowledge transfer.
- The model reduces the average number of consecutive repetitive tokens per sentence by 57% compared to the baseline NAT model, even without explicit regularization.
- Inference speed is more than 10 times faster than autoregressive baselines, while maintaining competitive translation quality.
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.