Share your thoughts, 1 month free Claude Pro on usSee more
WorkDL logo mark

WeKws: A production first small-footprint end-to-end Keyword Spotting Toolkit

About

Keyword spotting (KWS) enables speech-based user interaction and gradually becomes an indispensable component of smart devices. Recently, end-to-end (E2E) methods have become the most popular approach for on-device KWS tasks. However, there is still a gap between the research and deployment of E2E KWS methods. In this paper, we introduce WeKws, a production-quality, easy-to-build, and convenient-to-be-applied E2E KWS toolkit. WeKws contains the implementations of several state-of-the-art backbone networks, making it achieve highly competitive results on three publicly available datasets. To make WeKws a pure E2E toolkit, we utilize a refined max-pooling loss to make the model learn the ending position of the keyword by itself, which significantly simplifies the training pipeline and makes WeKws very efficient to be applied in real-world scenarios. The toolkit is publicly available at https://github.com/wenet-e2e/wekws.

Jie Wang, Menglong Xu, Jingyong Hou, Binbin Zhang, Xiao-Lei Zhang, Lei Xie, Fuping Pan• 2022

Related benchmarks

TaskDatasetResultRank
Wake-up Word detectionHey-Snips
Recall @ FAR 0.599.88
10
Keyword SpottingGoogle Speech Commands v1 (SNR 0 dB)
Accuracy69.86
6
Keyword SpottingGoogle Speech Commands SNR 5 dB v1
Accuracy75.89
6
Keyword SpottingGoogle Speech Commands SNR 10 dB v1
Accuracy81.68
6
Showing 4 of 4 rows

Other info

Follow for update