The taste of IPA: Towards open-vocabulary keyword spotting and forced alignment in any language
Jian Zhu, Changbing Yang, Farhan Samir, Jahurul Islam
TL;DR
This work tackles the challenge of cross-linguistic generalization in multilingual speech processing by shifting from text-based representations to universal phonemic symbols (IPA). It introduces IPAPACK, a large, linguist-validated phonemic corpus spanning 115 languages, and CLAP-IPA, a contrastive phoneme-speech model capable of open-vocabulary keyword spotting and zero-shot matching to phonemic sequences. A dedicated forced-alignment pathway, IPA-ALIGNER, is developed by finetuning with Forward-Sum loss, enabling monotonic phoneme-to-audio alignment in unseen languages. The results show strong cross-linguistic generalization for KWS and zeroshot forced alignment, with phoneme-based modeling outperforming text-based baselines in many multilingual settings, and highlight practical implications for multilingual documentation and low-resource language processing. The work also discusses data governance, ethical considerations, and the tradeoffs between scaling languages versus training hours, indicating a promising direction for scalable, language-inclusive speech technology.
Abstract
In this project, we demonstrate that phoneme-based models for speech processing can achieve strong crosslinguistic generalizability to unseen languages. We curated the IPAPACK, a massively multilingual speech corpora with phonemic transcriptions, encompassing more than 115 languages from diverse language families, selectively checked by linguists. Based on the IPAPACK, we propose CLAP-IPA, a multi-lingual phoneme-speech contrastive embedding model capable of open-vocabulary matching between arbitrary speech signals and phonemic sequences. The proposed model was tested on 95 unseen languages, showing strong generalizability across languages. Temporal alignments between phonemes and speech signals also emerged from contrastive training, enabling zeroshot forced alignment in unseen languages. We further introduced a neural forced aligner IPA-ALIGNER by finetuning CLAP-IPA with the Forward-Sum loss to learn better phone-to-audio alignment. Evaluation results suggest that IPA-ALIGNER can generalize to unseen languages without adaptation.
