BERT-LID: Leveraging BERT to Improve Spoken Language Identification
Yuting Nie, Junhong Zhao, Wei-Qiang Zhang, Jinfeng Bai
TL;DR
This work addresses the challenge of language identification for short speech segments and code-switching by introducing BERT-LID, a phonotactic-syntactic LID framework that uses phonetic posteriorgrams as BERT inputs and a deep classifier. By comparing various token embedding schemes and back-end classifiers, the authors show that phone-wise averaged PPG inputs with a RCNN classifier yield the strongest performance, outperforming traditional n-gram-SVM and x-vector baselines on OLR20, T&T, and TAL_ASR, with the largest gains on short segments. The results demonstrate the effectiveness of combining phonotactic representations and BERT-based language modeling for robust LID, particularly in real-world multilingual and code-switching scenarios. The approach provides a practical pathway to improve multilingual ASR and related systems by more accurately identifying languages in brief or mixed-language utterances.
Abstract
Language identification is the task of automatically determining the identity of a language conveyed by a spoken segment. It has a profound impact on the multilingual interoperability of an intelligent speech system. Despite language identification attaining high accuracy on medium or long utterances(>3s), the performance on short utterances (<=1s) is still far from satisfactory. We propose a BERT-based language identification system (BERT-LID) to improve language identification performance, especially on short-duration speech segments. We extend the original BERT model by taking the phonetic posteriorgrams (PPG) derived from the front-end phone recognizer as input. Then we deployed the optimal deep classifier followed by it for language identification. Our BERT-LID model can improve the baseline accuracy by about 6.5% on long-segment identification and 19.9% on short-segment identification, demonstrating our BERT-LID's effectiveness to language identification.
