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 language | English |
---|---|
Title of host publication | Proceedings of the 25th International Symposium on Quality Electronic Design, ISQED 2024 |
ISBN (Electronic) | 9798350309270 |
DOIs | |
State | Published - 2024 |
Event | 25th International Symposium on Quality Electronic Design, ISQED 2024 - Hybrid, San Francisco, United States Duration: Apr 3 2024 → Apr 5 2024 |
Publication series
Name | Proceedings - International Symposium on Quality Electronic Design, ISQED |
---|---|
ISSN (Print) | 1948-3287 |
ISSN (Electronic) | 1948-3295 |
Conference
Conference | 25th International Symposium on Quality Electronic Design, ISQED 2024 |
---|---|
Country/Territory | United States |
City | Hybrid, San Francisco |
Period | 4/3/24 → 4/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