摘要
The Non-Autoregressive Transformer, due to its low inference latency, has attracted much attention from researchers. Although, the performance of the non-autoregressive transformer has been significantly improved in recent years, there is still a gap between the non-autoregressive transformer and the autoregressive transformer. Considering the success of localness on the autoregressive transformer, in this work, we consider incorporating localness into the non-autoregressive transformer. Specifically, we design a dynamic mask matrix according to the query tokens, key tokens, and relative distance, and unify the localness module for self-attention and cross-attention module. We conduct experiments on several benchmark tasks, and the results show that our model can significantly improve the performance of the non-autoregressive transformer.
源语言 | 英语 |
---|---|
文章编号 | 125 |
期刊 | ACM Transactions on Asian and Low-Resource Language Information Processing |
卷 | 22 |
期 | 5 |
DOI | |
出版状态 | 已出版 - 8 5月 2023 |