Viterbi Decoding of Directed Acyclic Transformer for Non-Autoregressive Machine Translation
Shao, Chenze, Ma, Zhengrui, Feng, Yang
–arXiv.org Artificial Intelligence
Non-autoregressive models achieve significant decoding speedup in neural machine translation but lack the ability to capture sequential dependency. Directed Acyclic Transformer (DA-Transformer) was recently proposed to model sequential dependency with a directed acyclic graph. Consequently, it has to apply a sequential decision process at inference time, which harms the global translation accuracy. In this paper, we present a Viterbi decoding framework for DA-Transformer, which guarantees to find the joint optimal solution for the translation and decoding path under any length constraint. Experimental results demonstrate that our approach consistently improves the performance of DA-Transformer while maintaining a similar decoding speedup.
arXiv.org Artificial Intelligence
Mar-2-2023
- Country:
- North America
- Dominican Republic (0.04)
- United States
- Texas (0.04)
- Pennsylvania (0.04)
- Washington > King County
- Seattle (0.04)
- Europe
- Asia > China
- Hong Kong (0.04)
- North America
- Genre:
- Research Report > New Finding (0.34)
- Technology: