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

Sungho Jeon, Ching-Feng Yeh, Hakan Inan, Wei-Ning Hsu, Rashi Rungta +2 more
11/5/2023
cs.SDcs.CLeess.AS

No confident code implementation found for this paper.

Abstract

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.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{jeon2023attention,
  title  = {Attention or Convolution: Transformer Encoders in Audio Language Models for Inference Efficiency},
  author = {Sungho Jeon and Ching-Feng Yeh and Hakan Inan and Wei-Ning Hsu and Rashi Rungta and Yashar Mehdad and Daniel Bikel},
  year   = {2023},
  eprint = {2311.02772},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2311.02772v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2311.02772.svg)](https://codeofpaper.com/paper/2311.02772)

Discussion