arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2211.01438eess.AScs.CLcs.SD
收藏

用于可配置 Transformer Transducer 语音识别的可变注意力掩码

Variable Attention Masking for Configurable Transformer Transducer Speech Recognition

Apple(苹果公司)
Pawel Swietojanski, Stefan Braun, Dogan Can, Thiago Fraga da Silva, Arnab Ghoshal, Takaaki Hori, Roger Hsiao, Henry Mason, Erik McDermott, Honza Silovsky, Ruchi… 展开作者

Pawel Swietojanski, Stefan Braun, Dogan Can, Thiago Fraga da Silva, Arnab Ghoshal, Takaaki Hori, Roger Hsiao, Henry Mason, Erik McDermott, Honza Silovsky, Ruchir Travadi, Xiaodan Zhuang

AI总结:

本文提出在 Transformer Transducer 中采用训练时从目标分布采样的可变注意力掩码,构建单一可配置模型,以支持流式识别与声学重打分,并改善准确率-延迟权衡。

摘要:

本工作研究了在基于 transformer transducer 的语音识别中使用注意力掩码,以构建一个适用于不同部署场景的单一可配置模型。我们提出了一组全面的实验,从识别准确率和延迟方面比较了固定掩码与分块掩码:在固定掩码中,每一帧都应用相同的注意力掩码;而在分块掩码中,每帧的注意力掩码由块边界决定。随后,我们探索使用可变掩码来构建能够在不同配置下工作的模型,其中注意力掩码在训练时从目标分布中采样。最后,我们研究如何使用单一可配置模型同时执行第一遍流式识别和第二遍声学重打分。实验表明,无论是否使用 FastEmit,分块掩码都比固定掩码实现了更好的准确率与延迟权衡。我们还表明,在声学重打分场景中,可变掩码将准确率相对提升最高达 8%。

英文摘要:

This work studies the use of attention masking in transformer transducer based speech recognition for building a single configurable model for different deployment scenarios. We present a comprehensive set of experiments comparing fixed masking, where the same attention mask is applied at every frame, with chunked masking, where the attention mask for each frame is determined by chunk boundaries, in terms of recognition accuracy and latency. We then explore the use of variable masking, where the attention masks are sampled from a target distribution at training time, to build models that can work in different configurations. Finally, we investigate how a single configurable model can be used to perform both first pass streaming recognition and second pass acoustic rescoring. Experiments show that chunked masking achieves a better accuracy vs latency trade-off compared to fixed masking, both with and without FastEmit. We also show that variable masking improves the accuracy by up to 8% relative in the acoustic re-scoring scenario.

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

↑