Skip to main content
QUICK REVIEW

[Paper Review] Streaming Language Identification using Combination of Acoustic Representations and ASR Hypotheses

Chander Chandak, Zeynab Raeesy|arXiv (Cornell University)|Jun 1, 2020
Speech Recognition and SynthesisComputer Science5 references9 citations
TL;DR

This paper proposes a streaming language identification (LID) system that combines acoustic embeddings with text embeddings from ASR 1-best hypotheses, achieving up to 50% relative error rate reduction compared to acoustic-only LID. The method enables early language detection—averaging 1500ms faster identification for over half of utterances—while maintaining high accuracy, and improves generalization via semi-supervised learning using a text-based LID as a teacher model.

ABSTRACT

This paper presents our modeling and architecture approaches for building a highly accurate low-latency language identification system to support multilingual spoken queries for voice assistants. A common approach to solve multilingual speech recognition is to run multiple monolingual ASR systems in parallel and rely on a language identification (LID) component that detects the input language. Conventionally, LID relies on acoustic only information to detect input language. We propose an approach that learns and combines acoustic level representations with embeddings estimated on ASR hypotheses resulting in up to 50% relative reduction of identification error rate, compared to a model that uses acoustic only features. Furthermore, to reduce the processing cost and latency, we exploit a streaming architecture to identify the spoken language early when the system reaches a predetermined confidence level, alleviating the need to run multiple ASR systems until the end of input query. The combined acoustic and text LID, coupled with our proposed streaming runtime architecture, results in an average of 1500ms early identification for more than 50% of utterances, with almost no degradation in accuracy. We also show improved results by adopting a semi-supervised learning (SSL) technique using the newly proposed model architecture as a teacher model.

Motivation & Objective

  • To develop a low-latency, high-accuracy language identification system for multilingual voice assistants that supports dynamic language switching.
  • To overcome limitations of acoustic-only LID in handling accented speech, code-switching, and language pairs with high lexical similarity.
  • To reduce computational cost by enabling early termination of non-matching ASR systems through early language detection.
  • To improve robustness to multilingual speech patterns using semi-supervised learning with a text-based LID as a teacher model.
  • To design a streaming-compatible architecture that integrates ASR hypotheses at regular intervals without compromising latency.

Proposed method

  • The system uses a dual-encoder architecture: one for learning acoustic embeddings from raw audio frames, and two separate encoders for converting 1-best ASR hypotheses into text embeddings.
  • The final LID classifier is jointly trained on both acoustic and text embeddings using a cross-entropy loss function for language classification.
  • A streaming runtime policy periodically relays ASR hypotheses (e.g., every 600ms) to the LID module, enabling early confidence-based language decisions.
  • The system employs an interval-based query policy to assess language confidence at regular time intervals, allowing early termination of non-matching ASR systems.
  • Semi-supervised learning is applied by using a pre-trained text-based LID model to label 1 million anonymized multilingual audio streams, which are then used to retrain the acoustic-only LID model.
  • The teacher-student framework improves the acoustic-only LID model by correcting label biases and enhancing representation of multilingual and code-switched speech.

Experimental results

Research questions

  • RQ1Can combining acoustic and text-based embeddings improve language identification accuracy beyond acoustic-only models?
  • RQ2How early can language be identified in a streaming setting without sacrificing accuracy, and what are the computational savings from early ASR termination?
  • RQ3Can semi-supervised learning with a text-based LID as a teacher model improve the generalization of an acoustic-only LID model to multilingual and code-switched speech?
  • RQ4How does the system perform on challenging language pairs such as English/Hindi and English/Spanish, where acoustic cues are ambiguous?
  • RQ5What is the trade-off between accuracy and latency when integrating ASR hypotheses into the LID pipeline?

Key findings

  • The combined acoustic-text LID model reduces error rate by up to 50% relative to acoustic-only LID, with the highest gains observed in English/Spanish (48.4% relative reduction).
  • For over 50% of utterances, language is identified on average 1500ms earlier than the end of the utterance, enabling significant computational savings.
  • At a confidence threshold of 0.99, the system reduces non-target ASR decoding by 43% for English and 40% for Spanish, with minimal accuracy degradation.
  • Semi-supervised fine-tuning with text-based LID labels improves the acoustic-only LID model, especially in high-usage language pairs like English/Spanish and English/Hindi.
  • The method effectively mitigates errors from acoustic-only models caused by long foreign-language words or accented speech, and from text-based models due to bilingual ASR output.
  • The approach maintains high accuracy even in cases of code-switching or mixed-language utterances, where traditional acoustic-only LID fails.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.