Speech Recognition Deep Speech 2: End-to-End Speech Recognition in English and Mandarin

Similar documents
A New Perspective on Combining GMM and DNN Frameworks for Speaker Adaptation

System Implementation for SemEval-2017 Task 4 Subtask A Based on Interpolated Deep Neural Networks

ADVANCES IN DEEP NEURAL NETWORK APPROACHES TO SPEAKER RECOGNITION

Speech Recognition at ICSI: Broadcast News and beyond

QuickStroke: An Incremental On-line Chinese Handwriting Recognition System

Autoregressive product of multi-frame predictions can improve the accuracy of hybrid models

Python Machine Learning

Modeling function word errors in DNN-HMM based LVCSR systems

On the Formation of Phoneme Categories in DNN Acoustic Models

Semi-Supervised GMM and DNN Acoustic Model Training with Multi-system Combination and Confidence Re-calibration

Robust Speech Recognition using DNN-HMM Acoustic Model Combining Noise-aware training with Spectral Subtraction

Modeling function word errors in DNN-HMM based LVCSR systems

Semi-supervised methods of text processing, and an application to medical concept extraction. Yacine Jernite Text-as-Data series September 17.

Lecture 1: Machine Learning Basics

A study of speaker adaptation for DNN-based speech synthesis

Calibration of Confidence Measures in Speech Recognition

PREDICTING SPEECH RECOGNITION CONFIDENCE USING DEEP LEARNING WITH WORD IDENTITY AND SCORE FEATURES

SEMI-SUPERVISED ENSEMBLE DNN ACOUSTIC MODEL TRAINING

Artificial Neural Networks written examination

Module 12. Machine Learning. Version 2 CSE IIT, Kharagpur

WHEN THERE IS A mismatch between the acoustic

Generative models and adversarial training

Lecture 10: Reinforcement Learning

Segmental Conditional Random Fields with Deep Neural Networks as Acoustic Models for First-Pass Word Recognition

Learning Structural Correspondences Across Different Linguistic Domains with Synchronous Neural Language Models

Residual Stacking of RNNs for Neural Machine Translation

Learning Methods in Multilingual Speech Recognition

BUILDING CONTEXT-DEPENDENT DNN ACOUSTIC MODELS USING KULLBACK-LEIBLER DIVERGENCE-BASED STATE TYING

A Case Study: News Classification Based on Term Frequency

Phonetic- and Speaker-Discriminant Features for Speaker Recognition. Research Project

Unsupervised Acoustic Model Training for Simultaneous Lecture Translation in Incremental and Batch Mode

Speech Emotion Recognition Using Support Vector Machine

Likelihood-Maximizing Beamforming for Robust Hands-Free Speech Recognition

Switchboard Language Model Improvement with Conversational Data from Gigaword

Unsupervised Learning of Word Semantic Embedding using the Deep Structured Semantic Model

Deep Neural Network Language Models

Speaker Identification by Comparison of Smart Methods. Abstract

arxiv: v1 [cs.cl] 27 Apr 2016

Knowledge Transfer in Deep Convolutional Neural Nets

POS tagging of Chinese Buddhist texts using Recurrent Neural Networks

CSL465/603 - Machine Learning

Chinese Language Parsing with Maximum-Entropy-Inspired Parser

AUTOMATIC DETECTION OF PROLONGED FRICATIVE PHONEMES WITH THE HIDDEN MARKOV MODELS APPROACH 1. INTRODUCTION

Dropout improves Recurrent Neural Networks for Handwriting Recognition

Analysis of Speech Recognition Models for Real Time Captioning and Post Lecture Transcription

Human Emotion Recognition From Speech

Using dialogue context to improve parsing performance in dialogue systems

IEEE TRANSACTIONS ON AUDIO, SPEECH, AND LANGUAGE PROCESSING, VOL. 17, NO. 3, MARCH

A Latent Semantic Model with Convolutional-Pooling Structure for Information Retrieval

Georgetown University at TREC 2017 Dynamic Domain Track

Evolutive Neural Net Fuzzy Filtering: Basic Description

A NOVEL SCHEME FOR SPEAKER RECOGNITION USING A PHONETICALLY-AWARE DEEP NEURAL NETWORK. Yun Lei Nicolas Scheffer Luciana Ferrer Mitchell McLaren

Deep search. Enhancing a search bar using machine learning. Ilgün Ilgün & Cedric Reichenbach

THE world surrounding us involves multiple modalities

Improvements to the Pruning Behavior of DNN Acoustic Models

Model Ensemble for Click Prediction in Bing Search Ads

Second Exam: Natural Language Parsing with Neural Networks

OPTIMIZATINON OF TRAINING SETS FOR HEBBIAN-LEARNING- BASED CLASSIFIERS

Deep Facial Action Unit Recognition from Partially Labeled Data

A Neural Network GUI Tested on Text-To-Phoneme Mapping

Analysis of Emotion Recognition System through Speech Signal Using KNN & GMM Classifier

Training a Neural Network to Answer 8th Grade Science Questions Steven Hewitt, An Ju, Katherine Stasaski

A Simple VQA Model with a Few Tricks and Image Features from Bottom-up Attention

Speech Segmentation Using Probabilistic Phonetic Feature Hierarchy and Support Vector Machines

Iterative Cross-Training: An Algorithm for Learning from Unlabeled Web Pages

A Review: Speech Recognition with Deep Learning Methods

(Sub)Gradient Descent

arxiv: v1 [cs.lg] 7 Apr 2015

Word Segmentation of Off-line Handwritten Documents

Lip Reading in Profile

Semi-Supervised Face Detection

Framewise Phoneme Classification with Bidirectional LSTM and Other Neural Network Architectures

INVESTIGATION OF UNSUPERVISED ADAPTATION OF DNN ACOUSTIC MODELS WITH FILTER BANK INPUT

CS Machine Learning

arxiv: v1 [cs.lg] 15 Jun 2015

Softprop: Softmax Neural Network Backpropagation Learning

Attributed Social Network Embedding

UNIDIRECTIONAL LONG SHORT-TERM MEMORY RECURRENT NEURAL NETWORK WITH RECURRENT OUTPUT LAYER FOR LOW-LATENCY SPEECH SYNTHESIS. Heiga Zen, Haşim Sak

DNN ACOUSTIC MODELING WITH MODULAR MULTI-LINGUAL FEATURE EXTRACTION NETWORKS

Twitter Sentiment Classification on Sanders Data using Hybrid Approach

The stages of event extraction

Cultivating DNN Diversity for Large Scale Video Labelling

Lecture 9: Speech Recognition

Speaker recognition using universal background model on YOHO database

INPE São José dos Campos

HIERARCHICAL DEEP LEARNING ARCHITECTURE FOR 10K OBJECTS CLASSIFICATION

Axiom 2013 Team Description Paper

Prediction of Maximal Projection for Semantic Role Labeling

arxiv: v1 [cs.cv] 10 May 2017

have to be modeled) or isolated words. Output of the system is a grapheme-tophoneme conversion system which takes as its input the spelling of words,

Course Outline. Course Grading. Where to go for help. Academic Integrity. EE-589 Introduction to Neural Networks NN 1 EE

arxiv: v1 [cs.cl] 2 Apr 2017

Speech Recognition using Acoustic Landmarks and Binary Phonetic Feature Classifiers

Linking Task: Identifying authors and book titles in verbose queries

Using focal point learning to improve human machine tacit coordination

Distributed Learning of Multilingual DNN Feature Extractors using GPUs

Assignment 1: Predicting Amazon Review Ratings

Role of Pausing in Text-to-Speech Synthesis for Simultaneous Interpretation

Testing A Moving Target: How Do We Test Machine Learning Systems? Peter Varhol Technology Strategy Research, USA

Investigation on Mandarin Broadcast News Speech Recognition

Transcription:

Speech Recognition Deep Speech 2: End-to-End Speech Recognition in English and Mandarin Amnon Drory & Matan Karo 19/12/2017 Deep Speech 1

Overview 19/12/2017 Deep Speech 2

Automatic Speech Recognition 19/12/2017 Deep Speech 3

19/12/2017 Deep Speech 4

19/12/2017 Deep Speech 5

19/12/2017 Deep Speech 6

100,000,000 H.M.U = Hundred Million Users 19/12/2017 Deep Speech 7

The Task: Good Speech Recognition 19/12/2017 Deep Speech 8

Traditional Speech Recognition (ASR) 19/12/2017 Deep Speech 9

Traditional ASR + Deep Learning 19/12/2017 Deep Speech 10

Baidu s Approach: End-To-End Neural Net 100,000,000 19/12/2017 Deep Speech 11

Speed up 19/12/2017 Deep Speech 12

Training Data: Annotated Audio Thousands of hours of annotated speech for training: in English and Mandarin. 19/12/2017 Deep Speech 13

Training Data: Raw Text Use text to learn a lot about the language. This can help us in understanding speech which words are common which word is reasonable in the current context 19/12/2017 Deep Speech 14

Lecture Plan Overview Input Output + CTC Model Architecture Results 19/12/2017 Deep Speech 15

Input 19/12/2017 Deep Speech 16

ASR A complete speech application: Speech transcription Word spotting/ trigger word Speaker identification /verification 19/12/2017 Deep Speech 17

Audio Input Input: Raw Audio, 1D signal Pre-Process: Spectrogram 19/12/2017 Deep Speech 18

Preprocessing: SortaGrad Dealing with different lengths of utterances Try to keep similar length utterances together (LibriSpeech clean data.) 19/12/2017 Deep Speech 19

Preprocessing: Data Augmentation Additive noise increases robustness to noisy speech increases the data set : 10k hours of raw audio -> 100k hours 19/12/2017 Deep Speech 20

Output 19/12/2017 Deep Speech 21

The Goal Create a neural network (RNN) from which we can extract transcription, y. Train from labeled pairs x, y 19/12/2017 Deep Speech 22

Connectionist Temporal Classification (CTC) The network is also called Acoustic Model. Acoustic model main issue - length(x)!= length(y) Solution - divide the transcription task to steps: RNN output neurons c encode distribution over symbols Encode: x c Define a mapping from distribution to text β f(c) y Find function f for achieving y In training : summation for all mappings In testing : ML using beamsearch 19/12/2017 Deep Speech 23

Connectionist Temporal Classification (CTC) RNN creates probability vectors (distribution) using Softmax For grapheme-based model: c A, B, C, D,, blank, space Independence assumption: P c x = i=1 N P(c i x) 19/12/2017 Deep Speech 24

Training With CTC Mapping: Given a character sequence c, remove duplicates and blanks Therefore P y x is the summation over all possible c with the same mapping: 19/12/2017 Deep Speech 25

Training With CTC Update network parameters θ to maximize likelihood of correct label y : θ = argmax θ i log P y i x i θ = argmax θ i log c β c =y (i) P c x i There is an efficient dynamic programming algorithm to compute the inner summation and its gradient. (Also implanted in open sources packages). 19/12/2017 Deep Speech 26

Decoding Network outputs P c x, we want P y x Simple naive solution: Max Decoding β( argmax c P c x ) c c _ a a a a b b b b _ 19/12/2017 Deep Speech 27

Max Decoding Doesn t work in practice, good for diagnostics 19/12/2017 Deep Speech 28

Language model: n-gram A probabilistic Markov Model : P(x i x i n 1,, x i 1 ) 19/12/2017 Deep Speech 29

Language model: n-gram Examples from Google n-gram corpus 19/12/2017 Deep Speech 30

Decoding with LM Even with better decoding schemes CTC model tends to make spelling and linguistic errors. Solution: Combine a Language Model! argmax y log{p y x P y α word_count(y) β } α weights between LM and CTC network β- encourages more words in transcription Use Beam Search to find the transcript y 19/12/2017 Deep Speech 31

Decoding with LM 19/12/2017 Deep Speech 32

Decoding with LM : Beam Search The Naive approach 19/12/2017 Deep Speech 33

Decoding with LM : Beam Search 19/12/2017 Deep Speech 34

Architecture 19/12/2017 Deep Speech 36

Model Architecture 11 layers The chosen architecture: 3 x 2D conv, 7 x RNN, 1 x FC Batch Normalization along the DNN. 19/12/2017 Deep Speech 37

RNN as state machine 19/12/2017 Deep Speech 38

RNN as grid Forward Pass 19/12/2017 Deep Speech 39

Back Propagation 19/12/2017 Deep Speech 40

Weight Update 19/12/2017 Deep Speech 41

Bi-Directional RNN 19/12/2017 Deep Speech 42

RNN with limited future context 19/12/2017 Deep Speech 43

RNN vs. LSTM vs. GRU 19/12/2017 Deep Speech 44

Model Architecture 11 layers The chosen architecture: 3 x 2D conv, 7 x RNN, 1 x FC Batch Normalization along the DNN. 19/12/2017 Deep Speech 45

Convolutional Layers: Images 19/12/2017 Deep Speech 46

Frequency Convolutional Layers: Audio Time 19/12/2017 Deep Speech 47

Results 19/12/2017 Deep Speech 48

Test Sets 19/12/2017 Deep Speech 49

Results: Sometimes better than Humans 19/12/2017 Deep Speech 50

Results: Sometimes better than Humans 19/12/2017 Deep Speech 51

Results: Sometimes better than Humans 19/12/2017 Deep Speech 52

Questions? 19/12/2017 Deep Speech 53

The End 19/12/2017 Deep Speech 54