Attention-Free Keyword Spotting

Mashrur M. Morshed, Ahmad Omar Ahsan
10/14/2021
cs.LGcs.SDeess.AS
transformer-attention

Official code: AI-Research-BD/Keyword-MLP (15 stars, Jupyter Notebook, MIT, last commit 2022-11-05).

Abstract

Till now, attention-based models have been used with great success in the keyword spotting problem domain. However, in light of recent advances in deep learning, the question arises whether self-attention is truly irreplaceable for recognizing speech keywords.

Show full abstract

We thus explore the usage of gated MLPs --previously shown to be alternatives to transformers in vision tasks-- for the keyword spotting task. We provide a family of highly efficient MLP-based models for keyword spotting, with less than 0.5 million parameters. We show that our approach achieves competitive performance on Google Speech Commands V2-12 and V2-35 benchmarks with much fewer parameters than self-attention-based methods.

View on arXivView PDF

Code Implementations(1)

MIT

Official PyTorch implementation of "Attention-Free Keyword Spotting", Mashrur. M. Morshed & Ahmad Omar Ahsan, PML4DC @ ICLR 2022.

153Jupyter Notebook, PythonOct 15, 20214 years agoMIT

Similar Papers

Cite this paper

@article{morshed2021attentionfree,
  title  = {Attention-Free Keyword Spotting},
  author = {Mashrur M. Morshed and Ahmad Omar Ahsan},
  year   = {2021},
  eprint = {2110.07749},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2110.07749}
}

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/2110.07749.svg)](https://codeofpaper.com/paper/2110.07749)

Discussion