techlist.io

Encoder Decoder

1 posts

OpenAI2022-09-202 min readCurated summary

Introducing Whisper

Whisper is an open-sourced automatic speech recognition system trained on 680,000 hours of multilingual, multitask data scraped from the web. Rather than fine-tuning on one curated dataset, OpenAI trained it on this large, diverse corpus, which made it more robust to accents, background noise, and technical language. It also transcribes many languages and translates them into English, and the authors released the models and inference code as a foundation for applications and further research. ## Training Data and Scale - The training set covers 680,000 hours of supervised audio-text data collected from the web. - Roughly a third of the audio is non-English. - Prior work typically used smaller, more closely paired datasets, or broad unsupervised pretraining followed by fine-tuning. ## Model Architecture - Whisper is a single end-to-end encoder-decoder Transformer. - Input audio is split into 30-second chunks and converted into a log-Mel spectrogram before entering the encoder. - The decoder predicts the text caption, interleaved with special tokens that direct the same model to perform tasks such as language identification, phrase-level timestamps, multilingual transcription, and speech-to-English translation. ## Robustness Over Benchmark Specialization - Whisper does not beat models specialized for LibriSpeech, a widely used speech recognition benchmark. - On zero-shot evaluation across many diverse datasets, it makes about 50% fewer errors than those specialized models, which the authors present as evidence of greater robustness. ## Multilingual Transcription and Translation - Non-English audio is randomly assigned either transcription in its original language or translation to English during training. - This approach works well for speech-to-text translation, and Whisper outperforms the previous supervised state of the art on CoVoST2 to-English translation in a zero-shot setting. The authors hope the combination of high accuracy and ease of use will let developers add voice interfaces to a much wider range of applications.