Speech recognition
Problems
- Automatic speech recognition
Transcribe the words spoken in an audio signal into text.
intro - Keyword spotting
Detect the occurrences of given words or phrases in an audio stream without transcribing all of it.
core - Speaker diarization
Split an audio recording into segments by speaker and label segments of the same speaker alike, without knowing the speakers.
core - Speaker verification
Decide whether a speech sample comes from a claimed speaker, by comparing it with the speaker's enrolled samples.
core
Algorithms
- Dynamic time warping
Align two sequences of feature vectors by dynamic programming over monotone warping paths, minimizing the summed local distances.
1 languagescore - Forced alignment
Find the time span of each word, phone and HMM state of a known transcript by a Viterbi search through the left-to-right HMM built from that transcript.
1 languagescore - GMM-UBM speaker verification
Verify a claimed speaker by the average log likelihood ratio per frame between a speaker GMM, MAP-adapted from a universal background model, and that background model.
1 languagescore - Time-synchronous Viterbi beam search
Decode speech frame by frame, keeping only states whose score is within a beam of the best, with word ends feeding word starts.
1 languagescore - Token passing
Young's view of Viterbi decoding over a network of HMMs, where tokens holding scores and word histories move along arcs each frame.
1 languagescore - Viterbi training
Train an HMM by alternating a Viterbi alignment of the data with re-estimation from the hard counts. It never lowers the best-path likelihood and is a fast stand-in for Baum-Welch.
1 languagescore - CTC prefix beam search
Beam search over output prefixes of a CTC model that merges paths giving the same prefix, tracking blank and non-blank endings.
1 languagesadvanced - Connectionist temporal classification
A loss for unaligned sequences that sums over all frame labelings with blanks and repeats collapsing to the target, by forward-backward.
1 languagesadvanced - MAP speaker adaptation
Adapt acoustic model parameters by MAP estimation with the speaker-independent model as prior, so well-observed Gaussians move most.
1 languagesadvanced - Maximum likelihood linear regression
Adapt Gaussian means of an acoustic model to a speaker by affine maps shared over classes of Gaussians, fit by EM on little data.
1 languagesadvanced - Maximum mutual information training
Train acoustic models to maximize the posterior of the correct transcript against competitors from a lattice, a discriminative criterion.
1 languagesadvanced - PLDA scoring
Score two speaker embeddings by the closed form log likelihood ratio that they share one latent speaker variable in a Gaussian PLDA model.
1 languagesadvanced - Phonetic decision tree state tying
Cluster triphone HMM states by a tree of yes or no questions about phone context, splitting greedily by likelihood gain.
1 languagesadvanced - Stack decoding
Best-first search over partial word sequences ordered by score plus an estimate of the rest, extending the top of a priority queue.
1 languagesadvanced - Weight pushing
Move the weights of a weighted automaton toward the initial state using shortest distances to the final states, which aids pruning.
1 languagesadvanced - Weighted determinization
Turn a weighted automaton with the twins property into an equivalent one with at most one transition per label from each state, by subsets with residual weights.
1 languagesadvanced - Weighted transducer composition
Build the transducer of the relation of T1 followed by T2, pairing states and matching labels, with weights combined in the semiring and an epsilon filter.
1 languagesadvanced - Lattice-free MMI
MMI training of neural acoustic models in which the denominator is a phone n-gram graph run on the GPU, so no lattices are needed.
1 languagesresearch
Data structures
- Word lattice
A directed acyclic graph of word hypotheses with times and scores that compactly holds many alternative transcriptions.
1 languagescore - Confusion network
A lattice reduced to a linear sequence of slots of competing words with posteriors, whose best path approximately minimizes expected word errors.
1 languagesadvanced
Techniques
- Lattice rescoring
Rescore the paths of a lattice or n-best list from a first pass with a stronger language or acoustic model.
core - Sakoe-Chiba band
Restrict the warping path of DTW to the cells within a fixed distance r of the diagonal. This saves time and stops degenerate alignments, but it can miss the optimum.
1 languagescore - HCLG decoding graph
Compose HMM, context, lexicon and grammar transducers into one optimized WFST that maps HMM states to words for search.
advanced - Shallow fusion
Add a weighted external language model log-probability to the score of an end-to-end recognizer at each step of beam search.
advanced - SpecAugment
Augment speech training data by masking random blocks of frequency channels and time steps of the spectrogram, and by time warping.
advanced - Vocal tract length normalization
Warp the frequency axis of each speaker by a factor chosen by maximum likelihood, to reduce differences in vocal tract length.
advanced - Joint CTC-attention
Train an attention encoder-decoder with an extra CTC loss on the encoder, and combine both scores in decoding for monotonic alignment.
research
Definitions
- Equal error rate
The error rate at the threshold where the false acceptance rate equals the false rejection rate, the usual single number for a verification system.
1 languagesintro - Pronunciation lexicon
A list that gives each word of the vocabulary one or more phoneme sequences, linking word models to phone models.
intro - Word error rate
The number of substitutions, deletions and insertions in the minimum edit alignment of hypothesis to reference, over reference length.
1 languagesintro
Models
- Source-channel model of speech recognition
Choose the word sequence W that maximizes P(O | W) P(W), an acoustic model times a language model, for the acoustic features O.
intro - GMM-HMM acoustic model
Model each phone by a left-to-right HMM, usually three states, whose emissions are Gaussian mixtures over feature vectors.
core - Triphone model
A phone model that depends on the phones to its left and right, which captures coarticulation at the cost of many more models.
core - Hybrid DNN-HMM acoustic model
Replace the Gaussian mixtures of an HMM recognizer by a neural network that predicts state posteriors, divided by state priors.
advanced - Listen, attend and spell
An attention encoder-decoder recognizer with a pyramidal BiLSTM listener that emits characters without a lexicon or HMM.
advanced - RNN transducer
A streaming end-to-end model joining an acoustic encoder and a label predictor network, trained by summing over alignments in a lattice.
advanced - i-vector
A low-dimension vector for an utterance, the posterior mean of a latent factor in a factor analysis model of GMM supervectors.
advanced - Conformer
A speech encoder block that sandwiches self-attention and a convolution module between two half-step feedforward layers.
research - wav2vec 2.0
Self-supervised speech pretraining that masks latent frames and learns to pick the true quantized latent among distractors by contrastive loss.
research - x-vector
A speaker embedding from a time-delay neural network with statistics pooling, trained to classify speakers.
research