Introduction
Speech-to-text translation (ST) has historically faced a trade-off between modular cascaded systems and integrated end-to-end models. Cascaded systems, while modular, suffer from error propagation where ASR inaccuracies derail subsequent translation. End-to-end models, though more robust to noise, often struggle with spontaneous speech phenomena like disfluencies and code-switching. Furthermore, existing systems are typically "modality-rigid," unable to effectively leverage simultaneous audio and text inputs. Whisper-UT addresses these challenges by transforming OpenAI’s Whisper into a unified, modality-agnostic framework capable of processing speech, text, or both.
Methodology: A Unified Multi-modal Interface
Whisper-UT is built upon the Whisper Large-v2 architecture, enhanced with lightweight adaptations that do not alter the underlying parameters. The framework introduces three primary innovations:
- Unified Multi-modal Interface: The decoder is repurposed to accept both audio features from the encoder and text prompts as prefix tokens. This enables Multi-modal Machine Translation (MMT), where the model integrates acoustic and textual information.
- Two-Stage Decoding: For standard ST tasks where no transcript is available, the model employs a "thought process" strategy. It first generates an ASR hypothesis, which is then re-fed into the decoder as a prompt to guide the final translation.
- Text-only MT via Encoder Bypassing: To handle pure text inputs (standard MT), a learnable indicator vector signals the decoder to ignore zero-padded encoder outputs and focus on the text prefix.
Training is stabilized using Low-Rank Adaptation (LoRA) and a stochastic task selection mechanism based on a Beta distribution. This approach prevents catastrophic forgetting and ensures the model excels across ASR, MT, and ST tasks simultaneously.
Experimental Evaluation
The framework was rigorously tested on diverse benchmarks:
- CoVoST2: Standard French-to-English and German-to-English translation.
- Fisher-CallHome Spanish: Spontaneous conversational telephony speech (CTS).
- BBN Mandarin-English: CTS featuring heavy code-switching and disfluencies.
Results and Discussion
Whisper-UT demonstrates significant performance gains across all evaluated tasks. In ASR, it reduced the Word Error Rate (WER) on CoVoST2 (fr-en) from 13.4% to 8.3%. In the challenging ST task for BBN Mandarin, the two-stage strategy improved BLEU scores from 13.0 (original Whisper) to 21.6.
A key finding is the model's multi-modal superiority. When provided with ground-truth transcripts (MMT), Whisper-UT achieved 70.4 BLEU on Fisher-Spanish, vastly outperforming the NLLB-1.3B baseline of 48.3 BLEU. The results indicate a strong cross-task synergy: training on ASR data directly bolsters ST performance. Moreover, the model uses audio prosody to resolve textual ambiguities, such as intentional repetitions in Mandarin, which standard MT models often erroneously truncate.
Conclusion
Whisper-UT successfully unifies speech and text translation into a single, efficient framework. By leveraging the latent translation capabilities of the Whisper decoder and introducing a flexible multi-modal interface, it sets new benchmarks for conversational speech translation. Future work will focus on scaling to more language pairs and reducing the inference latency associated with two-stage decoding.
Summary updated