TCLP-KWS: A Triplet Contrastive Learning Framework for Efficient and Customizable Keyword Spotting
- 26 December 2025
- journal article
- Published by Institute of Electrical and Electronics Engineers (IEEE) in IEEE Transactions on Audio, Speech and Language Processing
- Vol. 34, 404-414
Abstract
Keyword spotting (KWS) requires efficient recognition with minimal resources, posing challenges in real-world applications. To address this, we propose a customized KWS Framework based on Triplet Contrastive Learning Pretraining (TCLP-KWS). The framework follows a two-stage training pipeline. In the pretraining stage, lightweight speech and query encoders are trained on large-scale public speech datasets to capture robust speech-phoneme relationships. By utilizing phrase-level data instead of full sentences, TCLP-KWS accelerates training and enhances fine-grained recognition of short expressions. In the fine-tuning stage, the pre-trained encoders are integrated with a self-attention-based feature extraction module and classifier, optimizing performance on keyword recognition tasks. Additionally, triplet contrastive learning is employed to align and extract features from both audio and phoneme modalities. TCLP-KWS incorporates intra-modal contrastive learning, which automatically generates hard negative pairs. This strategy improves robustness on challenging keyword distinctions, further enhancing recognition performance. Experimental results demonstrate the effectiveness of the framework in achieving high-performance keyword spotting with minimal resource requirements.Keywords
Funding Information
- National Natural Science Foundation of China (62276098)
This publication has 47 references indexed in Scilit:
- An overview of large AI models and their applicationsVisual Intelligence, 2024
- End-to-end keyword search system based on attention mechanism and energy scorer for low resource languagesNeural Networks, 2021
- Keyword spotting techniques to improve the recognition accuracy of user-defined keywordsNeural Networks, 2021
- Momentum Contrast for Unsupervised Visual Representation Learning2020
- Small-Footprint Keyword Spotting with Graph Convolutional Network2019
- Query-by-Example Speech Search Using Recurrent Neural Acoustic Word Embeddings With Temporal ContextIEEE Access, 2019
- Deep Residual Learning for Image Recognition2016
- Deep Neural Network-Hidden Markov Model Hybrid Systems2014
- Using proxies for OOV keywords in the keyword search task2013
- Speech and language technologies for audio indexing and retrievalProceedings of the IEEE, 2000