Multimodal Models·Question 6 of 67Basic

How does Whisper work, and why is it so robust compared to earlier ASR systems?

Type it the way you would explain it to an interviewer. A few sentences is enough; you can't break anything.

Model answer: the part to lead with

Whisper is a plain encoder-decoder transformer applied to speech. Audio is resampled to 16kHz and converted to a log-Mel spectrogram (a time-frequency image of the sound) in 30-second windows; the encoder processes the spectrogram; the decoder is an autoregressive text model that generates the transcript token by token, cross-attending into the encoded audio. It's seq2seq translation where the source language is sound.

Full worked answer

Whisper is a plain encoder-decoder transformer applied to speech. Audio is resampled to 16kHz and converted to a log-Mel spectrogram (a time-frequency image of the sound) in 30-second windows; the encoder processes the spectrogram; the decoder is an autoregressive text model that generates the transcript token by token, cross-attending into the encoded audio. It's seq2seq translation where the source language is sound.

The elegant part is the multitask token interface: the decoder's output is prefixed with special tokens that specify the task - language ID, transcribe vs. translate-to-English, whether to emit timestamps. One model, one architecture, task selected by prompt tokens rather than separate heads. Sizes ranged from ~39M (tiny) to ~1.5B (large) parameters.

Robustness comes from data, not architecture: ~680k hours of weakly-supervised audio-transcript pairs scraped from the web, spanning accents, background noise, domains, and dozens of languages. Prior ASR systems trained on ~1k hours of clean read speech (LibriSpeech) achieved superhuman benchmark numbers but fell apart on real-world audio; Whisper traded a little benchmark WER for far better out-of-distribution behaviour. That "scale weak supervision beats curated supervision" lesson is the same one as CLIP's, and interviewers like hearing the parallel drawn. The later large-v3 checkpoint pushed the same lever further, adding millions of hours of pseudo-labelled audio. By 2026 Whisper is the reference baseline rather than the top of the leaderboards (newer open models such as NVIDIA's Parakeet and Canary families beat it on accuracy and speed on many benchmarks), but its design lessons are the ones interviewers probe.

Going further: follow-up territory

Failure modes to volunteer: hallucination on non-speech - silence, music, or noise can trigger fluent invented text (it's a language model decoder; it wants to talk), repetition loops on long-form audio, and no native speaker diarization (who spoke when - needs a separate system). Long audio requires chunking with overlap and merge logic. The evaluation metric is WER (word error rate = insertions + deletions + substitutions over reference length), reported per-domain because aggregate WER hides accent and noise disparities.

What a good answer covers

  • Whisper is a plain encoder-decoder transformer applied to speech
  • Audio is resampled to 16kHz and converted to a log-Mel spectrogram (a time-frequency image of the sound)…
  • It's seq2seq translation where the source language is sound
  • The elegant part is the multitask token interface
  • One model, one architecture, task selected by prompt tokens rather than separate heads

Key terms: encoder-decoder transformer · multitask token interface · ~680k hours of weakly-supervised

Interviewer follow-ups to expect

  1. Why does Whisper hallucinate on silence, and how would you guard against it in production?

  2. How would you build streaming transcription from a 30-second-window batch model?

  3. What does weak supervision mean here and why did it beat curated data?

Worked answer from AI-Engineer-Interview-Questions by Om (MIT), reformatted for LLM Prep · answer text last updated 6 November 2026 · scoring and review schedule by LLM Prep