Tartar: A Lightweight Raw-Waveform Keyword Spotting Model
Charalampos Bezaitis, Magnus Själander, Di Liu, Yaman Umuroglu
Abstract
Keyword spotting (KWS) is a common always-on, machine-learning workload for edge devices. End-to-end models that classify raw waveforms avoid expensive preprocessing, previously shown to be a bottleneck, but lightweight deployment still requires jointly tuning accuracy against both MAC and non-MAC costs. We present Tartar, a raw-waveform KWS model that is 'tunable' with a carefully selected set of architectural parameters, enabling trading accuracy against hardware cost. When evaluating Tartar, we find that non-MAC layers significantly impact the hardware cost. We introduce a lossless compression technique and its hardware implementation that significantly reduces the non-MAC cost. Tartar achieves 95.93% accuracy on the Google Speech Commands Dataset v2 with an implementation of only 4,028 LUTs, 8 DSPs, and 16 BRAMs. Compared against the closest competing KWS model, Tartar uses 7x fewer LUTs and 10x fewer DSPs, while remaining competitive in accuracy.
Create a lesson
Metadata
- Categories
- cs.SD, cs.AI, cs.AR
- Comments
- Keywords: keyword spotting, raw waveform, KWS, FPGA, TinyML, quantization, FINN, raw audio
Related papers
WaveRVQ: Iterative Residual Vector Quantization in the Waveform Domain for Neural Audio Coding
Shared title terminologycs.SDJin Sakuma, Takashi Maekaku, Keita Goto et al.
Lightweight Replay Attack Detection via Interpretable Physical Descriptors
Shared title terminologycs.SDSaba Nasiri, Alireza Amirshahi, Milos Cernak
WaveGen: Truly End-to-End Waveform Generation via Internal Spectral Trajectory Learning
Shared title terminologycs.SDSang-Hoon Lee, Ha-Yeong Choi