[Paper Review] An EM Approach to Non-autoregressive Conditional Sequence Generation
This paper proposes a novel Expectation-Maximization (EM) framework that jointly optimizes autoregressive (AR) and non-autoregressive (NAR) models to address the multi-modality problem in NAR sequence generation. By iteratively refining the NAR model using posterior approximations from an AR teacher model and updating training data based on model performance, the method achieves competitive translation accuracy with significantly reduced inference latency, outperforming existing NAR models in both speed and quality.
Autoregressive (AR) models have been the dominating approach to conditional sequence generation, but are suffering from the issue of high inference latency. Non-autoregressive (NAR) models have been recently proposed to reduce the latency by generating all output tokens in parallel but could only achieve inferior accuracy compared to their autoregressive counterparts, primarily due to a difficulty in dealing with the multi-modality in sequence generation. This paper proposes a new approach that jointly optimizes both AR and NAR models in a unified Expectation-Maximization (EM) framework. In the E-step, an AR model learns to approximate the regularized posterior of the NAR model. In the M-step, the NAR model is updated on the new posterior and selects the training examples for the next AR model. This iterative process can effectively guide the system to remove the multi-modality in the output sequences. To our knowledge, this is the first EM approach to NAR sequence generation. We evaluate our method on the task of machine translation. Experimental results on benchmark data sets show that the proposed approach achieves competitive, if not better, performance with existing NAR models and significantly reduces the inference latency.
Motivation & Objective
- To address the performance gap between autoregressive (AR) and non-autoregressive (NAR) models in conditional sequence generation, particularly due to multi-modality in output distributions.
- To overcome the limitations of single-pass knowledge distillation in NAR training, where a pre-trained AR model generates fixed training targets that may not optimally represent multi-modal outputs.
- To develop a joint optimization framework that enables iterative improvement of both AR and NAR models in a closed loop, improving generalization and reducing inference latency.
- To design a principled, plug-and-play decoding method for effective word duplication removal in NAR model outputs.
Proposed method
- The method employs an EM-style iterative framework: in the E-step, an AR model approximates the regularized posterior of the NAR model using current parameters.
- In the M-step, the NAR model is retrained on a dynamically updated training set derived from the AR model’s predictions, with examples selected based on model quality and multi-modality reduction.
- The posterior distribution is amortized using a parametric AR model, enabling efficient and scalable inference during the E-step.
- A novel optimal de-duplicated decoding (ODD) method is introduced to systematically remove word repetitions in NAR outputs, outperforming heuristic post-processing.
- The framework alternates between E-step and M-step updates, with convergence guaranteed under mild assumptions, and includes early stopping based on validation performance.
- The approach is applied to machine translation, using BLEU and Normalized Corpus-level Multi-modality (NCM) as evaluation metrics.
Experimental results
Research questions
- RQ1Can an iterative EM framework jointly optimize AR and NAR models to better handle multi-modal output distributions in sequence generation?
- RQ2Does replacing static knowledge distillation with an iterative, feedback-driven training loop improve NAR model performance compared to single-pass distillation?
- RQ3Can amortized inference using a teacher AR model improve the quality and stability of NAR model training?
- RQ4How effective is the proposed optimal de-duplicated decoding (ODD) method in reducing word repetition compared to heuristic post-processing?
- RQ5Does the EM-based method achieve faster inference with competitive or superior translation accuracy compared to state-of-the-art NAR models?
Key findings
- The proposed EM-based method achieves a test BLEU score of 25.75 on WMT14 En-De translation, outperforming existing NAR models and approaching AR model performance while reducing inference latency.
- The Normalized Corpus-level Multi-modality (NCM) metric decreased monotonically during training, indicating effective reduction of multi-modality in the output distribution.
- The ODD decoding method achieved a 0.89 BLEU point improvement over post-de-duplication on WMT14 En-De, demonstrating its superiority in handling word repetitions.
- The method converged in fewer than 10 iterations, showing efficient optimization with early stopping based on validation performance.
- Amortized inference using the AR model in the E-step improved NAR performance by 0.49 BLEU points on average compared to non-amortized training, confirming its effectiveness.
- The framework achieved a significant speedup in inference, with the NAR model generating sequences in parallel, unlike autoregressive models that decode token-by-token.
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.