RTKWS: Real-Time Keyword Spotting Based on Integer Arithmetic for Edge Deployment

Prakash Dhungana, Sayed Ahmad Salehi

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

2 Scopus citations

Abstract

This paper presents an efficient real-time keyword spotting (RTKWS) architecture for edge devices. The proposed architecture comprises data acquisition (DA), silence detection, feature extraction (FE), and binary classification units. To minimize the required memory footprint and computational complexity, the architecture uses 8-bit integer voice data and performs all computations only in integers. The FE unit converts input data into 2-dimensional feature maps using a short-time Fourier transform (STFT) to be subsequently used by the classification unit. This unit uses a neural network model comprising three convolutional layers and one fully connected layer. The model is quantized using a new approach based on the quantization method in the TensorFlow lite (TFlite) tool. The model can be trained to accurately classify the feature maps for any pair of desired keywords. We implemented the architecture in pure C code with no external dependencies to make it portable to a general edge device. We deployed the architecture on a low-cost edge device, TM4C123GXL, and the results show an average of 90.25% accuracy for different keyword pairs from Google Speech Commands Dataset (GSCD) v1 with a total required memory of 9.711KB RAM and 13.598 KB Flash.

Original languageEnglish
Title of host publicationProceedings of the 25th International Symposium on Quality Electronic Design, ISQED 2024
ISBN (Electronic)9798350309270
DOIs
StatePublished - 2024
Event25th International Symposium on Quality Electronic Design, ISQED 2024 - Hybrid, San Francisco, United States
Duration: Apr 3 2024Apr 5 2024

Publication series

NameProceedings - International Symposium on Quality Electronic Design, ISQED
ISSN (Print)1948-3287
ISSN (Electronic)1948-3295

Conference

Conference25th International Symposium on Quality Electronic Design, ISQED 2024
Country/TerritoryUnited States
CityHybrid, San Francisco
Period4/3/244/5/24

Bibliographical note

Publisher Copyright:
© 2024 IEEE.

Keywords

  • Compact Deep Neural Networks
  • Edge Computing
  • Keyword Spotting
  • Quantization
  • Quantized Inference
  • Real-Time Operation
  • Short Time Fourier Transform

ASJC Scopus subject areas

  • Hardware and Architecture
  • Electrical and Electronic Engineering
  • Safety, Risk, Reliability and Quality

Fingerprint

Dive into the research topics of 'RTKWS: Real-Time Keyword Spotting Based on Integer Arithmetic for Edge Deployment'. Together they form a unique fingerprint.

Cite this