FlashPapers / Whisper
OpenAI Foundation Paper (2022)

Robust Speech Recognition via Large-Scale Weak Supervision

By Alec Radford*, Jong Wook Kim*, Tao Xu, Greg Brockman, Christine McLeavey, Ilya Sutskever

TL;DR: By scaling speech recognition training to 680,000 hours of weakly supervised multilingual and multitask data, Whisper achieves human-level robustness and zero-shot generalization across diverse speech benchmarks without dataset-specific fine-tuning.

#Speech-Recognition #Weak-Supervision #Zero-Shot #Multitask

Key Deliverables

  • 680,000 hours of speech data (117,000h non-English, 125,000h translation)
  • Unified Encoder-Decoder Transformer performing VAD, LID, Transcription, and Translation
  • 55.2% relative error reduction on out-of-distribution benchmarks over supervised baselines

Why This Matters

Speech recognition has made massive leaps using self-supervised pre-training (e.g., Wav2Vec 2.0). However, because these models are trained purely on raw audio, they lack a unified decoder capable of mapping features to text. This forces practitioners to fine-tune them on small, highly curated datasets like LibriSpeech.

The catch? Fine-tuning makes models highly fragile. They learn to exploit dataset-specific quirks (e.g., spelling rules, background noise levels) and achieve "superhuman" accuracy on held-out test sets, but fail spectacularly when deployed in the real world. Whisper shifts the paradigm: instead of unsupervised pre-training followed by supervised fine-tuning, why not train on massive, diverse internet audio with weak supervision?

The Big Idea

Whisper's core hypothesis is that sheer dataset size and diversity can override the noise of weak labels. By curating 680,000 hours of audio transcripts from the web, the model encounters thousands of recording environments, accents, and languages. To handle this multi-domain data without building specialized systems for Voice Activity Detection (VAD), Language Identification (LID), or Translation, Whisper frames all tasks as a single sequence-to-sequence task.

How It Works

1. Data Pipeline & Minimalist Preprocessing

Unlike traditional pipelines that normalize text (e.g., converting "68 million" to "sixty-eight million"), Whisper trains on raw text transcripts. This lets the model directly output natural punctuation and capitalization.

However, web data is noisy. The authors designed automated heuristics to filter out bad labels:

  • Removing machine-generated transcripts (detected by lack of punctuation/capitalization).
  • Using language detectors to ensure audio and transcript languages match.
  • De-duplicating transcripts to prevent overfitting.

Interactive Widget 1: Multitask Token Sequence Builder

Whisper uses a sequence of special tokens to direct its single decoder. Configure the settings below to see how the model constructs its task prompt.

2. Model Architecture

Whisper uses a classic encoder-decoder Transformer. The audio processing pipeline is standard:

$$x_{\text{mel}} = \text{Log-Mel}(x_{\text{audio}})$$

The input audio is converted to an 80-channel log-magnitude Mel spectrogram computed on 25ms windows with a 10ms stride. The encoder uses a small stem consisting of two convolutional layers with a filter width of 3, followed by sinusoidal positional embeddings.

Interactive Widget 2: Noise Robustness Simulator

Adjust the Signal-to-Noise Ratio (SNR) to see how background noise affects Whisper compared to standard supervised models trained on clean data.

CLEAN (40 dB) SNR: 20 dB EXTREME NOISE (-10 dB)
Acoustic Signal Waveform
Estimated Word Error Rate (WER %)
Whisper (Zero-Shot) 12.8%
Supervised Baseline (e.g., wav2vec 2.0) 29.3%

Results & Benchmarks

The headline result of Whisper is not its state-of-the-art performance on clean data, but its generalization robustness. While standard supervised models match Whisper on LibriSpeech clean-test (~2.7% WER), they degrade rapidly on other datasets.

Interactive Widget 3: Model & Dataset Scaling Dashboard

Explore how Whisper's performance scales across model parameters and training dataset size.

English WER 9.9%
Multilingual WER 29.2%
Translation BLEU 24.8

Whisper achieves an average of 55.2% relative error reduction compared to supervised models when evaluated out-of-distribution, closing the gap to human performance.

Limitations & Open Questions

  • Hallucinations & Repetition Loops: Because the decoder is an autoregressive language model, it can get stuck in repetition loops or generate plausible but completely fabricated text when audio is silent or highly noisy.
  • Low-Resource Languages: Performance remains poor for languages with less than 1,000 hours of training data in the corpus.
  • Long-Form Chunking: Whisper processes audio in 30-second chunks. Transcribing long-form audio requires complex buffering and temperature-scheduling heuristics to avoid alignment drift.

Glossary

Word Error Rate (WER)

The standard metric for speech recognition accuracy, calculated as: $$WER = \frac{S + D + I}{N}$$ where $S$ is substitutions, $D$ is deletions, $I$ is insertions, and $N$ is the number of words in the reference transcript.

Signal-to-Noise Ratio (SNR)

A measure that compares the level of a desired signal to the level of background noise, expressed in decibels (dB). Higher SNR values mean clearer audio signals.

BLEU Score

Bilingual Evaluation Understudy. An algorithm for evaluating the quality of text which has been machine-translated from one natural language to another. Scores range from 0 to 100.

Citation

@article{radford2022robust,
  title={Robust speech recognition via large-scale weak supervision},
  author={Radford, Alec and Kim, Jong Wook and Xu, Tao and Brockman, Greg and McLeavey, Christine and Sutskever, Ilya},
  journal={arXiv preprint arXiv:2212.04356},
  year={2022}
}
Made with Flash Papers — make your own