Phoneme-Level Contrastive Learning for User-Defined Keyword Spotting with Flexible Enrollment
About
User-defined keyword spotting (KWS) enhances the user experience by allowing individuals to customize keywords. However, in open-vocabulary scenarios, most existing methods commonly suffer from high false alarm rates with confusable words and are limited to either audio-only or text-only enrollment. Therefore, in this paper, we first explore the model's robustness against confusable words. Specifically, we propose Phoneme-Level Contrastive Learning (PLCL), which refines and aligns query and source feature representations at the phoneme level. This method enhances the model's disambiguation capability through fine-grained positive and negative comparisons for more accurate alignment, and it is generalizable to jointly optimize both audio-text and audio-audio matching, adapting to various enrollment modes. Furthermore, we maintain a context-agnostic phoneme memory bank to construct confusable negatives for data augmentation. Based on this, a third-category discriminator is specifically designed to distinguish hard negatives. Overall, we develop a robust and flexible KWS system, supporting different modality enrollment methods within a unified framework. Verified on the LibriPhrase dataset, the proposed approach achieves state-of-the-art performance.
Related benchmarks
| Task | Dataset | Result | Rank | |
|---|---|---|---|---|
| Keyword Spotting | LibriPhrase Easy (LPE) | EER0.57 | 51 | |
| Keyword Spotting | LibriPhrase Hard (LPH) | EER0.0847 | 25 | |
| Speaker-Independent Keyword Spotting | LibriPhrase hard | AUROC96.59 | 21 | |
| Keyword Spotting | WSJ (test) | AP0.7052 | 12 | |
| User-defined keyword spotting | LibriPhrase LPE (easy) | AUC99.95 | 9 | |
| User-defined keyword spotting | LibriPhrase LPH hard | AUC95.56 | 9 | |
| User-defined keyword spotting | LibriPhrase Balanced (combined) | AUC97.76 | 9 | |
| Keyword Spotting | LibriPhrase (LPH + LPE)/2 (balanced) | AUC98.28 | 5 |