Reproduce “WhisperRT -- Turning Whisper into a Causal Streaming Model” on OpenResearch
Turn your favorite coding agents into research agents that review literature, develop hypotheses, and run experiments.
Universal app for Apple silicon and Intel. Requires macOS 11 or later.
About this paper
Tomer Krichli, Bhiksha Raj, Joseph Keshet
WhisperRT transforms OpenAI Whisper into a low-latency causal streaming Automatic Speech Recognition (ASR) model through encoder and decoder modifications combined with LoRA fine-tuning. This approach yields substantially faster inference times, achieving up to 4x speedup over baseline streaming adaptations, while maintaining competitive transcription accuracy for real-time applications.
Key insights
- Block-wise causal attention with encoder KV-caching effectively transforms the non-causal Whisper encoder into a streaming component, reducing computational complexity from quadratic to linear with input length.
- Confidence-based token stability checks in both greedy and beam-search streaming decoding allow for dynamic revision of past predictions, leading to more robust and accurate real-time transcription.
- The decoder's self-attention KV-cache degrades performance, suggesting that token embeddings shift with new acoustic frames, indicating that not all decoder attention heads function as purely temporal alignment mechanisms in a streaming context.
Summary by alphaXiv.
Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.