mlsanityData to 14 Oct 2026

KWT-Tiny: RISC-V Accelerated, Embedded Keyword Spotting Transformer

arXiv 2407.16026 ↗First posted 22 Jul 2024cs.AR cs.AI cs.PFcited by 0

Not on the map. Why?

Abstract (arXiv)

This paper explores the adaptation of Transformerbased models for edge devices through the quantisation and hardware acceleration of the ARM Keyword Transformer (KWT) model on a RISC-V platform. The model was targeted to run on 64kB RAM in bare-metal C using a custom-developed edge AI library. KWT-1 was retrained to be 369 times smaller, with only a 10% loss in accuracy through reducing output classes from 35 to 2. The retraining and quantisation reduced model size from 2.42 MB to 1.65 kB. The integration of custom RISC-V instructions that accelerated GELU and SoftMax operations enabled a 5x speedup and thus ~5x power reduction in inference, with inference clock cycle counts decreasing from 26 million to 5.5 million clock cycles while incurring a small area overhead of approximately 29%. The results demonstrate a viable method for porting and accelerating Transformer-based models in low-power IoT devices.

Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 7 of its 19 references that are in the map. First posted on arXiv 22 Jul 2024.

Builds on

7 of 19 references.

References · 7

  1. 2017Attention Is All You Needcited by 60,361
  2. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 30,186
  3. 2014Learning Phrase Representations using RNN Encoder-Decoder for Statistical Machine Translationcited by 4,057
  4. 2016Gaussian Error Linear Units (GELUs)cited by 3,502
  5. 2020A3: Accelerating Attention Mechanisms in Neural Networks with Approximationcited by 101
  6. 2021Keyword Transformer: A Self-Attention Model for Keyword Spottingcited by 60
  7. 2021Efficient Softmax Approximation for Deep Neural Networks with Attention Mechanismcited by 9

Built on by

Not cited yet.