[Paper Review] Training Keyword Spotters with Limited and Synthesized Speech Data
This paper proposes a two-stage keyword spotting framework using a pre-trained speech embedding model to drastically reduce the need for real-world training data. By fine-tuning a lightweight head model on synthetic speech data—extracted using the embedding model—accuracy reaches 92.6%, matching a full model trained on over 4,000 real examples, demonstrating that synthetic data can effectively replace costly real data in low-resource keyword spotting scenarios.
With the rise of low power speech-enabled devices, there is a growing demand to quickly produce models for recognizing arbitrary sets of keywords. As with many machine learning tasks, one of the most challenging parts in the model creation process is obtaining a sufficient amount of training data. In this paper, we explore the effectiveness of synthesized speech data in training small, spoken term detection models of around 400k parameters. Instead of training such models directly on the audio or low level features such as MFCCs, we use a pre-trained speech embedding model trained to extract useful features for keyword spotting models. Using this speech embedding, we show that a model which detects 10 keywords when trained on only synthetic speech is equivalent to a model trained on over 500 real examples. We also show that a model without our speech embeddings would need to be trained on over 4000 real examples to reach the same accuracy.
Motivation & Objective
- To reduce the data collection burden for training keyword spotting models in low-power, on-device applications.
- To investigate whether synthetic speech data can effectively replace real speech data in training small, efficient keyword spotter models.
- To evaluate the performance gain of using a pre-trained speech embedding model as a feature extractor for keyword spotting.
- To determine the optimal balance between real and synthetic data for minimizing data requirements while maintaining high accuracy.
- To enable rapid prototyping of custom keyword detectors for smart devices with minimal real data.
Proposed method
- A two-stage model architecture is used: a pre-trained 330k-parameter speech embedding model and a lightweight 55k-parameter head model for keyword detection.
- The embedding model is trained on 200M YouTube audio clips (100M with keywords, 100M without) to produce 96-dimensional embeddings useful for arbitrary keyword sets.
- Synthetic speech is generated using a Tacotron 2-based text-to-speech system to create training data for the head model.
- The head model is fine-tuned on synthetic or real examples, with performance evaluated on keyword detection accuracy.
- Ablation studies compare models trained on real data only, synthetic data only, and mixed real-synthetic data to assess data efficiency.
- The framework leverages transfer learning by sharing the embedding backbone across multiple keyword detection tasks during pre-training.
Experimental results
Research questions
- RQ1Can a keyword spotter trained solely on synthetic speech achieve performance comparable to one trained on large amounts of real data?
- RQ2How much real data is required to match the performance of a model trained on synthetic data when using a pre-trained embedding model?
- RQ3What is the optimal mix of real and synthetic data to minimize data collection while maintaining high detection accuracy?
- RQ4Does using speech embeddings significantly reduce the number of real examples needed to train an effective keyword spotter?
- RQ5Can a lightweight head model trained on synthetic data outperform a full model trained on a small number of real examples?
Key findings
- A keyword spotter trained on only synthetic speech data achieves 92.6% accuracy, equivalent to a full model trained on over 4,000 real examples per keyword.
- Using speech embeddings reduces the real data requirement by 90%: a head model with embeddings trained on 50 real examples per keyword matches a full model trained on 500 real examples.
- When trained on 3,000 real examples, the head model with embeddings reaches 95.3% accuracy, a 58% relative error reduction compared to a baseline model.
- Replacing 50% of synthetic data with real data reduces the accuracy gap by 90%, indicating that a small amount of real data significantly improves performance.
- With only 5 real examples per keyword, the head model trained on synthetic data outperforms a full model trained on 125 real examples per keyword.
- The head model trained on synthetic data alone consistently outperforms a full model trained on 125 real examples per keyword, even when the full model has more parameters.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.