Back to Multimodal Mind Map
中文·English
👁️ MultimodalID: asr

ASR (Whisper)

语音识别 ASR
🎯Core Definition
ASR maps an audio sequence x=(x1,,xT)x = (x_1, \dots, x_T) (~100 frames/s) to text y=(y1,,yL)y = (y_1, \dots, y_L); the core difficulty is length mismatch (TLT \gg L) and alignment learning. Two main routes:
📌Overview
CTC (Connectionist Temporal Classification): a blank symbol is introduced and the marginal probability is summed over all monotonic alignments that collapse to yy after removing blanks and merging repeats:
📌Overview
P(yx)=πB1(y)t=1Tp(πtx)P(y|x) = \sum_{\pi \in \mathcal{B}^{-1}(y)} \prod_{t=1}^{T} p(\pi_t | x)
📌Overview
Assumes monotonic alignment, needs no frame labels, decodes with prefix beam search; frames are conditionally independent — weak at long-range language modeling, but naturally streaming-friendly.
📌Overview
Attention encoder-decoder (LAS / Whisper): at step ll the decoder attends over encoder outputs, learning soft alignment implicitly with an intrinsic LM prior:
📌Overview
P(yly<l,x)=softmax(QlKdk)P(y_l | y_{<l}, x) = \operatorname{softmax}\left(\frac{Q_l K^\top}{\sqrt{d_k}}\right)
📌Overview
Higher accuracy but slower autoregressive decoding and no explicit alignment; hybrid systems share an encoder and train CTC + attention jointly (e.g. ESPnet), getting both.
📌Overview
Whisper weak supervision: 680k hours of multilingual audio-video captions (no manual per-sentence transcription), with a unified multi-task output format — the token sequence starts with task directives (language tag, task=transcribe/translate, timestamps) and text is generated autoregressively; robust to accents, noise and far-field recording.
💡Use Cases
meeting/subtitle transcription, voice assistant input, audio-to-text RAG pipelines; interviews compare CTC vs attention decoding and Whisper's data strategy.
Key Problems Solved
HMM-GMM needed expert features, lexicons and forced alignment; CTC removes frame-labeling via dynamic programming, attention removes monotonicity and the external LM, and Whisper's weak supervision cuts labeling cost by two orders of magnitude while gaining cross-language robustness — now the de facto standard.
🎯5 High-Frequency Exam Points
1
How is CTC computed; the role of blank; how does it handle length mismatch?
2
CTC vs attention decoder: pros and cons of each?
3
Whisper's multi-task training format, and where its weak supervision comes from?
4
What does 680k hours buy Whisper, and what are its limits?
5
Why is CTC preferred for streaming ASR and attention for offline — what's the basis?
Updated 2026-08-12
🎯
Test Your Knowledge: Practice Questions for "ASR (Whisper)"
Single choice pitfall questions with instant feedback and mistake tracking.
🚀 Start Card Practice
Previous CardAudio RepresentationNext CardTTS

🔗 More Multimodal Knowledge Cards

Classifier-Free GuidanceCLIP ApplicationsCLIP Two-Tower ArchitectureColPali Visual Retrieval