用可变形卷积替代自注意力,实现在流式语音识别中性能不降的高效模型
Do we really need Self-Attention for Streaming Automatic Speech Recognition?
- 以可变形卷积替代自注意力,降低计算开销
- 完全移除自注意力后词错误率变化不大
- 适合对延迟敏感的实时语音识别场景
基于Transformer的架构在自然语言处理、计算机视觉和语音处理等领域广泛应用。然而,在资源受限的场景下,直接套用Transformer可能并不合适。本文针对流式自动语音识别(Streaming ASR)任务,质疑Transformer架构的适用性。由于其高计算需求和延迟问题,难以满足实时性要求。研究发现,使用可变形卷积替代自注意力机制可显著降低计算成本;更进一步,完全移除自注意力机制后,词错误率(WER)并未出现显著下降。结果表明,在流式语音识别中,自注意力并非必要组件,为设计高效模型提供了新思路。
原文摘要 · Abstract (English)
Transformer-based architectures are the most used architectures in many deep learning fields like Natural Language Processing, Computer Vision or Speech processing. It may encourage the direct use of Transformers in the constrained tasks, without questioning whether it will yield the same benefits as in standard tasks. Given specific constraints, it is essential to evaluate the relevance of transformer models. This work questions the suitability of transformers for specific domains. We argue that the high computational requirements and latency issues associated with these models do not align well with streaming applications. Our study promotes the search for alternative strategies to improve efficiency without sacrificing performance. In light of this observation, our paper critically examines the usefulness of transformer architecture in such constrained environments. As a first attempt, we show that the computational cost for Streaming Automatic Speech Recognition (ASR) can be reduced using deformable convolution instead of Self-Attention. Furthermore, we show that Self-Attention mechanisms can be entirely removed and not replaced, without observing significant degradation in the Word Error Rate.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。