[Paper Review] Non-autoregressive Transformer by Position Learning
This paper proposes PNAT, a non-autoregressive Transformer that explicitly models word positions as latent variables to improve generation quality. By using heuristic search and max sampling to guide position learning, PNAT achieves state-of-the-art results on machine translation and surpasses autoregressive models in paraphrase generation, significantly closing the performance gap with autoregressive Transformers.
Non-autoregressive models are promising on various text generation tasks. Previous work hardly considers to explicitly model the positions of generated words. However, position modeling is an essential problem in non-autoregressive text generation. In this study, we propose PNAT, which incorporates positions as a latent variable into the text generative process. Experimental results show that PNAT achieves top results on machine translation and paraphrase generation tasks, outperforming several strong baselines.
Motivation & Objective
- To address the performance gap between non-autoregressive (NAT) and autoregressive (AT) Transformers by explicitly modeling word positions in the generation process.
- To improve NAT generation quality by incorporating position information as a latent variable, reducing reordering issues in output sequences.
- To enable controllable generation by manipulating position latent variables, opening new possibilities for sequence control.
- To demonstrate that position prediction accuracy directly correlates with generation performance, suggesting a promising direction for future NAT improvements.
Proposed method
- Introduces word positions as latent variables in the non-autoregressive generation process, allowing the model to learn optimal output order.
- Employs a heuristic search process to generate training targets for position prediction, improving supervision during training.
- Uses max sampling during inference to decode the most likely sequence based on predicted positions and decoder outputs.
- Leverages relative self-attention to maintain robustness even when position predictions are imperfect.
- Trains the model using Monte Carlo (MC) algorithms to optimize the joint likelihood of positions and generated tokens.
- Adapts the standard NAT factorization by conditioning each token prediction on both source encoding and predicted position.
Experimental results
Research questions
- RQ1Can explicit modeling of word positions in non-autoregressive generation improve performance on sequence generation tasks?
- RQ2How does position prediction accuracy affect the quality of generated sequences in NAT models?
- RQ3Can position modeling enable better performance than autoregressive models in certain generation tasks?
- RQ4Does incorporating position as a latent variable allow for controllable generation, such as enforcing specific word order?
- RQ5How does the proposed method compare to strong baselines in terms of BLEU score and inference speed?
Key findings
- PNAT achieves state-of-the-art performance on WMT14 German-English machine translation, outperforming multiple strong non-autoregressive and autoregressive baselines.
- On the paraphrase generation task, PNAT surpasses autoregressive Transformer models, indicating that position modeling can enable superior generation beyond autoregressive constraints.
- Experiments show a strong positive correlation between position prediction accuracy and generation quality—higher position accuracy leads to significantly better results.
- Case studies demonstrate that translations generated with heuristic-searched positions are highly consistent with references, and even with imperfect predictions, the model produces plausible outputs due to relative self-attention.
- The model maintains high generation efficiency due to non-autoregressive decoding while achieving competitive or superior performance.
- The results suggest that explicit position modeling is a promising direction for future non-autoregressive sequence generation.
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.