TL;DR
Researchers have developed a new streaming Transformer-Transducer model that performs speech recognition (ASR) and translation (ST) into multiple languages simultaneously using a single decoder. By using word-level timestamps to interleave different language outputs into a single sequence, the model achieves state-of-the-art accuracy with significantly lower computational overhead than running multiple separate models.
What Problem Does This Paper Address?
In our increasingly connected world, there is a massive demand for real-time transcription and translation—think live-captioned international conferences or multilingual news broadcasts. Traditionally, this requires running separate ASR and ST models in parallel.
This "separate systems" approach has three major drawbacks:
- Resource Inefficiency: Running multiple large models is computationally expensive and environmentally unfriendly ("Red AI").
- Synchronization Issues: Keeping the transcript and various translations perfectly aligned in real-time is a complex engineering challenge.
- Inconsistency: Separate models might translate the same spoken phrase differently, leading to a disjointed user experience.
While "joint" models exist, they struggle with one-to-many scenarios (e.g., translating English audio into Spanish, Italian, and German at once). The primary bottleneck is alignment: finding a mathematical way to map one source sentence to multiple target languages that don't share the same word order or length.
Methods
The authors propose a streaming Transformer-Transducer (T-T) architecture using a novel training method called INTER TIME.
The INTER TIME Approach
Instead of relying on complex text-based alignment tools, the researchers use timestamps. For every word in the training data, they calculate exactly when it was "emitted" in the audio using the Viterbi algorithm.
They then interleave the transcription and all translation targets into a single "serialized" sequence based purely on their temporal order. Special tokens (like #ASR#, #ES#, #DE#) are inserted to tell the model when to switch languages.
Time Step Grouping
Interleaving word-by-word can lead to frequent "language switching," which adds overhead. To fix this, the authors introduced Time Step Grouping. They group tokens that fall within a small time window (e.g., 500ms or 1000ms). This allows the model to output a few words of ASR, then a few words of Spanish, then a few words of German, making the sequence more stable and easier for the model to learn.
Datasets
The models were trained and evaluated on:
- Many-to-English: Trained on 1,000 hours of proprietary data for Italian, Spanish, and German; evaluated on the CoVoST 2 dataset.
- English-to-Many: Trained on 1,000 hours of English audio translated into Italian, Spanish, and German; evaluated on the FLEURS dataset.
Key Insights and Ideas
- Time as a Universal Aligner: The most elegant insight is that while grammar and word order vary wildly between languages, time is a constant. Using timestamps bypasses the need for complex bipartite graph matching between different language strings.
- Efficiency Gains: In the English-to-many setting, the joint model requires only one inference step to produce all outputs, whereas traditional multitask models require four (one for ASR and one for each of the three translation targets).
- The Grouping Sweet Spot: The researchers found that a 500ms grouping window provides the best balance. It reduces the number of special "switch" tokens by about 34% without sacrificing the low latency required for streaming applications.
Key Results
The results demonstrate that the timestamp-based approach isn't just efficient—it's highly accurate.
- Many-to-English: The
INTER TIMEmethod with 500ms grouping achieved the best Word Error Rate (WER) across all tested languages and improved translation quality (BLEU scores) by an average of 0.54 points over standard multitask models. - English-to-Many: When producing multiple translations at once, the model showed a massive improvement when using time step grouping, yielding a 6.89 point improvement in WER and a 3.38 point improvement in BLEU compared to the raw timestamp method.
Limitations and Future Work
While highly effective, the paper notes a few areas for further exploration:
- Grouping Limits: Increasing the grouping window beyond 1000ms (e.g., to 2000ms) actually caused quality to degrade, suggesting there is a limit to how much we can "batch" tokens before the model loses the temporal connection to the audio.
- Initial Alignment: The method currently relies on pre-trained models to generate the initial timestamps for training. Future work might look into "end-to-end" ways to learn these timestamps during the training process itself.
- Scaling: While tested on three languages, scaling this to dozens of languages simultaneously would be the ultimate test of the single-decoder architecture.
Summary updated