Organizations: SPRING Lab, Indian Institute of Technology Madras, India · Speech Information Processing Lab, Indian Institute of Technology Hyderabad, India · Technology Innovation Institute, UAE
Open-vocabulary keyword spotting (KWS) allows users to enroll arbitrary keywords at inference time. However, character and phoneme-based text encoders rely on fixed symbol vocabularies learned during training, limiting their ability to handle unseen or visually similar symbols such as homoglyphs, l33tspeak substitutions, and accented characters. We propose PIXEL-KWS, an open-vocabulary KWS framework that represents characters through rendered glyphs rather than learned embedding lookups. We render each character as a grayscale image and encode it with a lightweight CNN, enabling the text encoder to generalize from visual form rather than a fixed vocabulary. On LibriPhrase, PIXEL-KWS and its matched character-based counterpart achieve 9.57% and 9.55% EER on LibriPhrase-hard, 0.43% and 0.41% EER on LibriPhrase-easy, outperforming all published baselines without pre-training or synthetic data. PIXEL-KWS provides substantially greater robustness to both homoglyph and l33tspeak symbol-level perturbations. These results highlight glyph-based representations as a simple and effective approach for robust open-vocabulary KWS in practical settings.
Figures & tables
Figure 1: Overview of the proposed PIXEL-KWS framework.
Method
Venue
#Params
AUROC (%) ↑
EER (%) ↓
LP H
LP E
LP H
LP E
Posterior-based
DONUT [ 11 ]
ICP 21
—
62.55
78.74
41.95
28.74
CTCAT [ 4 ]
IS 24
0.2M
77.10
98.32
29.63
6.06
W-CTC [ 12 ]
IS 25
3.6M
95.93
99.95
10.21
0.91
Cross-attention-based
Table 1: Comparison of open-vocabulary KWS methods on LibriPhrase. Char-KWS and PIXEL-KWS are both ours and differ only in the first stage of the text encoder; T/S/M denote dmodel64 / 128 / 256 . IS: Interspeech; ICP: ICASSP ; ∗ ASR-based pre-training, † phrase-based, ‡ synthetic data.
Cond.
System
homoglyph
l33tspeak
p=0
p=1
Δ
p=0
p=1
Δ
LP E
Char-KWS-M
0.43
25.68
+25.24
0.43
13.13
+12.70
PIXEL-KWS-M
0.41
2.65
+2.24
0.41
9.31
+8.90
LP H
Char-KWS-M
9.55
40.85
+31.31
9.55
36.01
+26.46
PIXEL-KWS-M
9.57
20.81
+11.23
9.57
31.65
+22.07
Table 2: EER (%) under enrolment-string corruption at probability p ; audio remains unchanged. Δ denotes degradation from p=0 to p=1 . Best results are shown in bold.
Figure 2: Visualization of the enrolment string under character noise, homoglyph, and l33tspeak corruption.
Figure 3: EER against enrolment-string corruption probability p . Homoglyph and l33tspeak substitutions contain characters outside the training corpus.
Image
#Params
LP E
LP H
8×8
0.85M
0.58
12.28
16×16
0.86M
0.60
12.10
24×24
0.89M
0.58
12.25
Table 3: Performance with different character image resolutions
Figure 4: t-SNE visualisations of the character embeddings trained from PIXEL-KWS.
Open-vocabulary keyword spotting (KWS) must detect arbitrary keywords without retraining. Cross-attention-based models achieve state-of-the-art performance but require pairwise interaction between the audio and each keyword, recomputing the fused representation for every audio--keyword pair. Embedding-based models avoid this computational cost through independent encoding and similarity scoring, yet remain inferior on challenging benchmarks such as LibriPhrase-hard. We show that this gap is primarily a training issue rather than a limitation of model capacity. While contrastive learning encourages correct keywords to rank above negatives, it does not explicitly calibrate absolute similarity scores, which are critical for applying a fixed threshold across keyword detection. We propose Calibrated, Order-aware Detection KWS (CORD-KWS), a training framework that introduces two complementary objectives while retaining the same encoders, cosine scoring, and O(1) keyword enrollment: a calibrated detection head that supervises absolute scores, and a frame-level CTC objective that preserves phonetic order information. CORD-KWS achieves EERs of 0.43% and 9.64% on LibriPhrase-easy and LibriPhrase-hard, respectively, outperforming existing embedding- and cross-attention-based models.
Ramesh Gundluru, Adarsh Arigala, Sri Rama Murty Kodukula
Speech Information Processing Lab, Indian Institute of Technology Hyderabad, India · SPRING Lab, Indian Institute of Technology Madras, India
Automatic speech recognition systems have been shown to under-perform when it comes to transcribing words rarely seen in the training data, namely specialized terminology. Open-vocabulary keyword spotting, combined with contextual biasing, has been shown to mitigate this issue. However, existing systems can only handle glossaries of a few hundred terms without becoming an infeasible bottleneck. We propose a system that stores features with a memory footprint up to 128 times smaller than a comparable baseline and allows users to process massive databases while remaining open-vocabulary. Without fine-tuning the speech recognition model, our system achieves a comparable entity recall as uncompressed solutions, even in languages not seen during training.
Leonor Barreiros, Raul Monteiro, Afonso Mendes +1
Priberam Labs, Lisboa, Portugal · Instituto Superior Técnico, Lisboa, Portugal · Instituto de Telecomunicações, Lisboa, Portugal
Visual speech promises noise-robust keyword spotting, yet a visual stream is not necessarily used. On a tri-modal query-by-example keyword spotting (QbyE-KWS) benchmark, we find that a system with a task-trained visual encoder comes within 2 percentage points of a text-and-audio system in equal error rate (EER) at -10 dB, and link this gap to the encoder's lack of phonemic information. We present GIVE-KWS, whose fusion stage, GIVE (Gated Injection of Visual Evidence), conditions query audio on lip motion through gated cross-attention. We show that visual robustness depends on two interacting conditions: a phoneme-bearing visual representation, and fusion that injects visual evidence rather than rescaling audio features. Under a phoneme-bearing encoder, injection yields an effective SNR gain of 4.0-9.3 dB over masking at -10 dB, whereas under a phoneme-poor one it nearly vanishes. Relative to the benchmark system, GIVE-KWS reduces unseen-keyword EER by 72.9% at -10 dB and 62.8% on average.
Ming-Hsiang Hu, Kuan-Tang Huang, Hung-Shin Lee +1
Department of Computer Science and Information Engineering, National Taiwan Normal University · Graduate Institute of AI Interdisciplinary Applied Technology, National Taiwan Normal University