Mixture-of-Expert Conformer for Streaming Multilingual ASR

Ke Hu, Bo Li, Tara N. Sainath, Yu Zhang, Françoise Beaufays · DOI

Introduction

Building a universal Automatic Speech Recognition (ASR) model capable of handling multiple languages is a significant milestone for global technology deployment. However, this goal presents a substantial scaling challenge. To maintain high accuracy across diverse linguistic structures and phonetics, models typically require billions of parameters. Such massive models are computationally expensive and difficult to deploy in "streaming" mode—where real-time processing is required—on mobile devices with limited battery life and processing power.

Previous attempts to solve this often utilized "adapters," which are small, language-specific components added to a base model. While effective, adapters generally require Ground Truth Language Information (GTLI) to be known beforehand to activate the correct components. Predicting a language ID reliably in a real-time stream is a complex task in itself. This research introduces the MoE Conformer, a model designed to provide the benefits of a massive multilingual model without the prohibitive inference cost or the need for external language labels.

Architecture: The MoE Conformer

The core innovation of this work is the integration of Mixture-of-Experts (MoE) layers within the standard Conformer architecture. In a traditional Conformer block, Feed-Forward Networks (FFNs) are static. The researchers replaced these with dynamic MoE layers to achieve conditional computation.

The MoE Layer and Routing

Instead of a single large FFN, the MoE layer contains multiple "experts," which are themselves smaller FFNs. A lightweight gating network, or router, examines each incoming speech frame and dynamically selects the top two experts to process it. Because only a fraction of the total parameters (the two chosen experts) are active at any given time, the computational cost during inference remains constant even as the total capacity of the model increases.

Cascaded Encoder and Load Balancing

To support low-latency streaming, the system employs a dual-encoder setup:

  1. Causal Encoder: Provides initial results with minimal latency.
  2. Non-Causal Encoder: Processes a small amount of future context to deliver higher-accuracy final results.

To ensure the model doesn't over-rely on a small subset of experts—a common issue in MoE training—the authors implemented an auxiliary load-balancing loss. This encourages the router to distribute the workload relatively equally across all available experts during the training phase.

Experimental Setup

The model was trained and evaluated on a massive, diverse dataset comprising approximately 139.4 million utterances. These anonymized, human-transcribed samples were sourced from Google Voice Search and YouTube, covering 12 distinct language locales: English (US), Mandarin, French, German, Japanese, Spanish (US & Spain), Arabic, Italian, Hindi, Portuguese, and Russian.

Performance was primarily measured using Word Error Rate (WER), with character-based evaluation applied to languages such as Mandarin.

Key Insights and Results

Efficiency and Scaling

The MoE Conformer demonstrated a significant breakthrough in the efficiency-accuracy trade-off. A 400M parameter MoE model (with only 211M active parameters) matched the accuracy of a 400M parameter dense model. This indicates that the MoE architecture can achieve a nearly 2x improvement in computational efficiency for the same quality level, activating only 53% of the parameters during inference.

Performance Gains

Across the 12 languages tested, the MoE Conformer achieved an average 11.9% relative reduction in WER compared to a standard non-MoE baseline. Furthermore, the MoE router successfully learned to specialize experts for different linguistic features without being explicitly told which language was being spoken. This "generic specialization" allowed the model to perform on par with adapter-based models that require explicit language IDs.

Language Model Integration

The researchers also explored "shallow fusion," a technique where the MoE model is combined with a separate 128M parameter multilingual Language Model (LM) during decoding. This provided a consistent boost, further improving performance by approximately 3% relative WER across most languages.

Limitations and Future Work

Despite the overall success, the study noted some specific challenges:

  • Language Regressions: Shallow fusion caused slight performance drops in Mandarin and Hindi. This is likely due to data mismatches in the text-only training sets, such as the inclusion of Cantonese transcripts in Mandarin data.
  • Expert Saturation: Increasing the number of experts from 16 to 24 yielded diminishing returns. This suggests that for a 12-language set, there is an upper limit to how much additional sparsity benefits the current architecture size.

Future research will focus on improving data filtering for multilingual LMs and testing the MoE Conformer on a much larger array of languages to determine the true ceiling of expert specialization.

Summary updated

BibTeX
@inproceedings{hu2023mixture,
  author = {Ke Hu and Bo Li and Tara N. Sainath and Yu Zhang and Françoise Beaufays},
  title = {{Mixture-of-Expert Conformer for Streaming Multilingual ASR}},
  booktitle = {Interspeech},
  year = {2023},
  doi = {10.21437/interspeech.2023-480},
}
Figure