arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2109.06684cs.CLcs.SDeess.AS
收藏

用于自动语音识别的非自回归Transformer与统一双向解码器

Non-autoregressive Transformer with Unified Bidirectional Decoder for Automatic Speech Recognition

University of Science and Technology Beijing(北京科技大学);Key Laboratory of Knowledge Automation for Industrial Processes of Ministry of Education(教育部工业过程知识自动化重点实验室);EEasy Technology Company Ltd.(易捷科技有限公司)

Chuan-Fei Zhang, Yan Liu, Tian-Hao Zhang, Song-Lu Chen, Feng Chen, Xu-Cheng Yin

摘要:

非自回归(NAR)Transformer模型在自动语音识别(ASR)中得到了广泛的研究,而NAR Transformer模型的一个重要部分就是使用因果掩码来限制标记依赖。然而,因果掩码是针对非并行自回归(AR)Transformer的从左到右解码过程而设计的,这对于并行NAR Transformer是不合适的,因为它忽略了从右到左的上下文。一些模型被提出来利用具有额外解码器的从右到左上下文,但是这些方法增加了模型复杂度。为了解决上述问题,我们提出了一种新的非自回归Transformer与统一的双向解码器(NAT-UBD),它可以同时利用从左到右和从右到左的上下文。然而,直接使用双向上下文会导致信息泄漏,这意味着解码器的输出会受到来自相同位置输入的字符信息的影响。为了避免信息泄漏,我们提出了一种新的注意力掩码和修改香草查询,键和值矩阵的NAT-UBD。实验结果表明,NAT-UBD可以实现5.0%/5.5%的字符出错率(CER)的Aishell 1开发/测试集,优于所有以前的NAR Transformer模型。此外,当在单步的中解码时,NAT-UBD可以比AR Transformer基线快49.8倍。

英文摘要:

Non-autoregressive (NAR) transformer models have been studied intensively in automatic speech recognition (ASR), and a substantial part of NAR transformer models is to use the casual mask to limit token dependencies. However, the casual mask is designed for the left-to-right decoding process of the non-parallel autoregressive (AR) transformer, which is inappropriate for the parallel NAR transformer since it ignores the right-to-left contexts. Some models are proposed to utilize right-to-left contexts with an extra decoder, but these methods increase the model complexity. To tackle the above problems, we propose a new non-autoregressive transformer with a unified bidirectional decoder (NAT-UBD), which can simultaneously utilize left-to-right and right-to-left contexts. However, direct use of bidirectional contexts will cause information leakage, which means the decoder output can be affected by the character information from the input of the same position. To avoid information leakage, we propose a novel attention mask and modify vanilla queries, keys, and values matrices for NAT-UBD. Experimental results verify that NAT-UBD can achieve character error rates (CERs) of 5.0%/5.5% on the Aishell1 dev/test sets, outperforming all previous NAR transformer models. Moreover, NAT-UBD can run 49.8x faster than the AR transformer baseline when decoding in a single step.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑