[Paper Review] Streaming End-to-End Bilingual ASR Systems with Joint Language Identification
This paper proposes a streaming, end-to-end bilingual ASR system that jointly performs automatic speech recognition (ASR) and language identification (LID) using a recurrent neural network transducer (RNN-T) architecture. It leverages frame-level embeddings from a pretrained acoustic LID classifier to guide the joint network, achieving performance comparable to monolingual ASR and LID baselines for English-Spanish, while showing modest degradation for English-Hindi due to code-switching and script ambiguity.
Multilingual ASR technology simplifies model training and deployment, but its accuracy is known to depend on the availability of language information at runtime. Since language identity is seldom known beforehand in real-world scenarios, it must be inferred on-the-fly with minimum latency. Furthermore, in voice-activated smart assistant systems, language identity is also required for downstream processing of ASR output. In this paper, we introduce streaming, end-to-end, bilingual systems that perform both ASR and language identification (LID) using the recurrent neural network transducer (RNN-T) architecture. On the input side, embeddings from pretrained acoustic-only LID classifiers are used to guide RNN-T training and inference, while on the output side, language targets are jointly modeled with ASR targets. The proposed method is applied to two language pairs: English-Spanish as spoken in the United States, and English-Hindi as spoken in India. Experiments show that for English-Spanish, the bilingual joint ASR-LID architecture matches monolingual ASR and acoustic-only LID accuracies. For the more challenging (owing to within-utterance code switching) case of English-Hindi, English ASR and LID metrics show degradation. Overall, in scenarios where users switch dynamically between languages, the proposed architecture offers a promising simplification over running multiple monolingual ASR models and an LID classifier in parallel.
Motivation & Objective
- To simplify multilingual ASR deployment by unifying ASR and LID into a single streaming end-to-end model.
- To address the challenge of unknown language identity at runtime in real-world multilingual speech applications.
- To improve ASR performance in low-resource or code-switching scenarios by incorporating on-the-fly language information.
- To reduce computational overhead by replacing multiple monolingual ASR models and a separate LID classifier with a single joint system.
- To investigate the effectiveness of using acoustic LID embeddings and joint training with language tags in RNN-T architectures.
Proposed method
- The RNN-T model is extended to jointly predict ASR tokens and language tags by appending language tags to ground-truth transcripts and including them in the output vocabulary.
- Frame-level embeddings from a pretrained acoustic-only LID classifier are injected into the RNN-T's joint network to guide both training and inference.
- Language tag emissions are penalized during inference using a weighted loss scheme (α, β) to reduce spurious language tag predictions that degrade ASR performance.
- Language identification accuracy is preserved by relying on utterance-final posteriors for LID decisions, decoupling LID from the model's output sequence.
- The method uses a language-agnostic design, enabling extension to multiple languages beyond the two pairs evaluated.
- Performance is further improved by filtering out wake-word-only utterances during training and using more discriminative LID posteriors instead of projection-layer embeddings.
Experimental results
Research questions
- RQ1Can a single streaming end-to-end RNN-T model achieve competitive ASR and LID performance across two unrelated language pairs without requiring prior language knowledge?
- RQ2How does injecting acoustic LID embeddings into the joint network affect ASR and LID accuracy compared to injecting them into the encoder or decoder?
- RQ3To what extent does within-utterance code-switching and script ambiguity (e.g., Latin and Devanagari scripts) degrade the performance of joint ASR-LID models?
- RQ4Can joint training with language tags and LID embeddings reduce the need for multiple monolingual ASR models and a separate LID classifier in real-time systems?
- RQ5What inference strategies (e.g., penalty on language tag emissions) are most effective in maintaining high ASR accuracy while preserving LID performance?
Key findings
- For the English-Spanish pair, the joint ASR-LID model achieves WER and LID accuracy comparable to monolingual ASR and acoustic-only LID baselines, demonstrating strong performance.
- For the English-Hindi pair, the model shows a 4.9% WER increase for Hindi and moderate degradation for English, primarily due to code-switching and script ambiguity.
- The use of utterance-final posteriors for LID ensures that LID accuracy remains nearly unchanged despite ASR performance trade-offs.
- Penalizing language tag emissions (β=1) significantly improves ASR performance by reducing spurious language tag outputs, which otherwise increased deletions by 2–6 times.
- Filtering out wake-word-only utterances during training leads to measurable improvements in overall model robustness and performance.
- Using LID posteriors instead of projection-layer embeddings provides marginal but consistent performance gains, indicating a more discriminative signal is beneficial.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.