arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2311.02772cs.SDcs.CLeess.AS
收藏

注意力还是卷积:面向推理效率的音频语言模型中的Transformer编码器

Attention or Convolution: Transformer Encoders in Audio Language Models for Inference Efficiency

Meta

Sungho Jeon, Ching-Feng Yeh, Hakan Inan, Wei-Ning Hsu, Rashi Rungta, Yashar Mehdad, Daniel Bikel

AI总结:

本文发现,简单的自监督预训练音频模型配合纯自注意力编码器,在低比特量化下能达到与混合卷积-注意力语音Transformer相当的推理效率,且避免量化模块间误差传播。

摘要:

本文表明,一个简单的自监督预训练音频模型可以达到与具有语音Transformer编码器的更复杂预训练模型相当的推理效率。这些语音Transformer依赖于将卷积模块与自注意力模块混合。它们在ASR上以顶级效率实现了最先进的性能。我们首先证明,采用这些语音Transformer作为编码器也能显著提高预训练音频模型的效率。然而,我们的研究表明,仅使用先进的自注意力就能实现相当的效率。我们证明,这种更简单的方法在采用神经网络低比特权重量化技术以提高效率时尤其有益。我们假设,与近期混合量化卷积和量化自注意力模块的语音Transformer相比,这种方法能防止不同量化模块之间的误差传播。

英文摘要:

In this paper, we show that a simple self-supervised pre-trained audio model can achieve comparable inference efficiency to more complicated pre-trained models with speech transformer encoders. These speech transformers rely on mixing convolutional modules with self-attention modules. They achieve state-of-the-art performance on ASR with top efficiency. We first show that employing these speech transformers as an encoder significantly improves the efficiency of pre-trained audio models as well. However, our study shows that we can achieve comparable efficiency with advanced self-attention solely. We demonstrate that this simpler approach is particularly beneficial with a low-bit weight quantization technique of a neural network to improve efficiency. We hypothesize that it prevents propagating the errors between different quantized modules compared to recent speech transformers mixing quantized convolution and the quantized self-attention modules.

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

↑