whisper-zero-shot-eval
Robust Speech Recognition via Large-Scale Weak Supervision — Radford et al. (2022) (arXiv:2212.04356, 2022)
What this evaluates
Evaluates the zero-shot generalization capability of a speech recognition model across diverse English and multilingual domains. It measures robustness to out-of-distribution audio, varying noise levels, and translation tasks without any dataset-specific fine-tuning.
Datasets
- LibriSpeech — total ?; splits: test (-1)
- Common Voice — total ?; splits: test (-1)
- Fleurs — total ?; splits: test (-1)
- CoVoST2 — total ?; splits: test (-1)
- Multilingual LibriSpeech (MLS) — total ?; splits: test (-1)
- VoxPopuli — total ?; splits: test (-1)
Metrics
WER (primary) — range: percent
- Word Error Rate calculated as the minimum number of insertions, deletions, and substitutions of words required to transform the predicted transcript into the reference transcript, divided by the number of words in the reference. Applied after a custom text normalization step to ignore formatting/style differences.
BLEU — range: percent
- Standard n-gram based BLEU score measuring the precision of predicted translations against reference English transcripts.
Input / output format
Input: Raw audio recordings in various formats, languages, and acoustic conditions (e.g., clean speech, noisy environments, meetings, read speech).
Output: Raw text transcript corresponding to the spoken audio, without any special formatting or delimiters.
Scoring recipe
def compute_wer(predictions, references):
normalized_preds = [normalize_text(p) for p in predictions]
normalized_refs = [normalize_text(r) for r in references]
total_errors = 0
total_words = 0
for pred, ref in zip(normalized_preds, normalized_refs):
dist = edit_distance(pred.split(), ref.split())
total_errors += dist
total_words += len(ref.split())
return (total_errors / total_words) * 100
Common pitfalls
- Naive WER calculation heavily penalizes minor formatting or stylistic differences (e.g., contractions, punctuation), requiring the paper's custom text normalizer for fair comparison.
- Zero-shot evaluation explicitly forbids fine-tuning on the target dataset's training split, contrasting with standard supervised benchmarks that often report in-distribution performance.
- Human performance baselines are measured out-of-distribution, while many supervised models are evaluated in-distribution, making direct human-vs-machine comparisons misleading without this protocol.
Evidence (verbatim from paper)
Speech recognition research typically evaluates and compares systems based on the word error rate (WER) metric. However, WER, which is based on string edit distance, penalizes all differences between the model’s output and the reference transcript including innocuous differences in transcript style. As a result, systems that output transcripts that would be judged as correct by humans can still have a large WER due to minor formatting differences.
Citation
@misc{radford2022whisper,
title={Robust Speech Recognition via Large-Scale Weak Supervision},
author={Radford et al. (2022)},
year={2022},
note={arXiv:2212.04356}
}
1---2name: whisper-zero-shot-eval3description: Evaluates the zero-shot generalization capability of a speech recognition model across diverse English and multilingual domains. It measures robustness to out-of-distribution audio, varying noise levels, and translation tasks without any dataset-specific fine-tuning. Use when the user wants to benchmark on LibriSpeech, Common Voice, Fleurs, CoVoST2, Multilingual LibriSpeech (MLS), VoxPopuli, or asks about evaluating this task. Reports WER.4metadata:5 source: https://skillmd.com/skills/qhjqhj00/whisper-zero-shot-eval6 skill_kind: dataset_eval7 source_arxiv: 2212.043568 bibtex_key: radford2022whisper9 confidence: high10---1112# whisper-zero-shot-eval1314> Robust Speech Recognition via Large-Scale Weak Supervision — Radford et al. (2022) (arXiv:2212.04356, 2022)1516## What this evaluates1718Evaluates the zero-shot generalization capability of a speech recognition model across diverse English and multilingual domains. It measures robustness to out-of-distribution audio, varying noise levels, and translation tasks without any dataset-specific fine-tuning.1920## Datasets2122- **LibriSpeech** — total ?; splits: test (-1)23- **Common Voice** — total ?; splits: test (-1)24- **Fleurs** — total ?; splits: test (-1)25- **CoVoST2** — total ?; splits: test (-1)26- **Multilingual LibriSpeech (MLS)** — total ?; splits: test (-1)27- **VoxPopuli** — total ?; splits: test (-1)2829## Metrics3031- `WER` **(primary)** — range: percent32 - Word Error Rate calculated as the minimum number of insertions, deletions, and substitutions of words required to transform the predicted transcript into the reference transcript, divided by the number of words in the reference. Applied after a custom text normalization step to ignore formatting/style differences.33- `BLEU` — range: percent34 - Standard n-gram based BLEU score measuring the precision of predicted translations against reference English transcripts.3536## Input / output format3738**Input**: Raw audio recordings in various formats, languages, and acoustic conditions (e.g., clean speech, noisy environments, meetings, read speech).3940**Output**: Raw text transcript corresponding to the spoken audio, without any special formatting or delimiters.4142## Scoring recipe4344```python45def compute_wer(predictions, references):46 normalized_preds = [normalize_text(p) for p in predictions]47 normalized_refs = [normalize_text(r) for r in references]48 total_errors = 049 total_words = 050 for pred, ref in zip(normalized_preds, normalized_refs):51 dist = edit_distance(pred.split(), ref.split())52 total_errors += dist53 total_words += len(ref.split())54 return (total_errors / total_words) * 10055```5657## Common pitfalls5859- Naive WER calculation heavily penalizes minor formatting or stylistic differences (e.g., contractions, punctuation), requiring the paper's custom text normalizer for fair comparison.60- Zero-shot evaluation explicitly forbids fine-tuning on the target dataset's training split, contrasting with standard supervised benchmarks that often report in-distribution performance.61- Human performance baselines are measured out-of-distribution, while many supervised models are evaluated in-distribution, making direct human-vs-machine comparisons misleading without this protocol.6263## Evidence (verbatim from paper)6465> Speech recognition research typically evaluates and compares systems based on the word error rate (WER) metric. However, WER, which is based on string edit distance, penalizes all differences between the model’s output and the reference transcript including innocuous differences in transcript style. As a result, systems that output transcripts that would be judged as correct by humans can still have a large WER due to minor formatting differences.6667## Citation6869```bibtex70@misc{radford2022whisper,71 title={Robust Speech Recognition via Large-Scale Weak Supervision},72 author={Radford et al. (2022)},73 year={2022},74 note={arXiv:2212.04356}75}76```7778- arXiv: 2212.04356