Speech Recognition
Speech recognition is the technology that converts spoken language into text. We explain what distinguishes it from related tasks, its evolution from hidden Markov models to end-to-end deep learning (wav2vec 2.0, Whisper), the metric it is evaluated with (the word error rate) and its outstanding challenges.
Speech recognition (automatic speech recognition, ASR) is the technology that converts spoken language—an audio signal—into written text. It is distinct from speaker recognition, which determines who is speaking, and from language understanding, which extracts meaning or intent from what was said. Speech recognition addresses the transcription itself: identifying the words in the acoustic signal and rendering them as text, without establishing the speaker's identity or interpreting the message.
The classic approach
Through the 1990s and 2000s a scheme based on hidden Markov models (HMM) dominated, modeling the temporal evolution of speech, combined with Gaussian mixture models for the acoustic signal and with a separate language model. Around 2010, deep neural networks replaced the Gaussians and markedly improved accuracy, in a hybrid that became the new state of the art. Documentation: Rabiner's original HMM tutorial.
The end-to-end era
The next leap was to do away with the separate pieces and train a single end-to-end model, going from audio to text directly. It was made possible by techniques such as connectionist temporal classification (CTC, 2006) and attention-based models. Two recent milestones illustrate it: wav2vec 2.0 (Meta, 2020), which learns from unlabeled audio via self-supervised learning and achieves good results with very little transcribed data, and Whisper (OpenAI, 2022), a model trained on hundreds of thousands of hours of internet audio, robust to accents and noise and able to transcribe many languages. Documentation: Deep Speech 2 paper.
How it is measured
A system's quality is evaluated with the word error rate (WER): the proportion of mistranscribed words—substituted, deleted or inserted—relative to the reference text. The lower, the better. It is computed, precisely, by aligning the hypothesis and the reference with an edit distance. Documentation: Deep Speech 2 protocol and results.
The challenges
Despite its advances, speech recognition still has weak points: background noise, spontaneous or overlapping speech, and the variability of accents and dialects. And an important gap persists: systems perform very well in languages with plentiful data, but far worse in low-resource languages. Documentation: original Whisper paper.
Pieces using this term
- Physics Nobel honors Hopfield and Hinton for neural networks (2024-10-08)
- OpenAI brings real-time voice to its developer API (2024-10-01)
- OpenAI rolls out ChatGPT’s advanced voice mode to paid users (2024-09-24)
- Volkswagen announces ChatGPT across several models (2024-01-09)
- Gemini Nano reaches the Pixel 8 Pro: what on-device AI actually does (2023-12-08)
- ChatGPT Can Now See, Hear and Talk: GPT-4V Arrives (2023-09-25)
- Machine-learning bias: evaluating fairness without false recipes (2023-05-09)
- Multilingual models: speaking 100 languages is not mastery (2023-05-09)
This article was produced with artificial intelligence under human editorial oversight.