# Deep Speech 2 (2015)

> One neural network, trained end to end on thousands of hours, replaces the speech recognition pipeline in two very different languages.

Page: https://mralbu.github.io/ai-datasets/p/deep-speech-2

## Key facts

- Title: Deep Speech 2: End-to-End Speech Recognition in English and Mandarin
- Authors: Dario Amodei, Sundaram Ananthanarayanan, Rishita Anubhai, Jingliang Bai, Eric Battenberg, Carl Case, et al. (Baidu Research)
- Venue: ICML 2016
- Category: Audio
- Paper: https://www.alphaxiv.org/abs/1512.02595

## Why it matters

Speech recognition had been built from separately trained acoustic models, pronunciation lexicons and language models. Deep Speech 2 showed that one network plus data and compute could match people on read speech and carry over to Mandarin with few changes, the end-to-end approach every later system took.

## The idea

Map spectrograms straight to characters with convolutional layers, a deep stack of bidirectional recurrent layers and the CTC loss, with no phonemes or pronunciation dictionary. Batch normalization in the recurrent layers, sorting the first epoch by utterance length, and heavily optimized GPU training made it possible to train on roughly 12,000 hours of English and 9,400 of Mandarin.

## The result

5.33% word error rate on LibriSpeech test-clean, against 5.83% for crowd workers, and 13.25% on test-other, against 12.69%.

## The data

- [LibriSpeech (2015)](https://mralbu.github.io/ai-datasets/d/librispeech.md): About 1,000 hours of read English audiobooks with transcripts.

## Builds on

- [Batch normalization (2015)](https://mralbu.github.io/ai-datasets/p/batch-norm.md)

## Part of

- [Speech recognition](https://mralbu.github.io/ai-datasets/t/speech-recognition.md) (step 1 of 5)
