Attentional Speech Recognition Models Misbehave on Out-of-domain Utterances
arXiv:2002.05150
Abstract
We discuss the problem of echographic transcription in autoregressive sequence-to-sequence attentional architectures for automatic speech recognition, where a model produces very long sequences of repetitive outputs when presented with out-of-domain utterances. We decode audio from the British National Corpus with an attentional encoder-decoder model trained solely on the LibriSpeech corpus. We observe that there are many 5-second recordings that produce more than 500 characters of decoding output (i.e. more than 100 characters per second). A frame-synchronous hybrid (DNN-HMM) model trained on the same data does not produce these unusually long transcripts. These decoding issues are reproducible in a speech transformer model from ESPnet, and to a lesser extent in a self-attention CTC model, suggesting that these issues are intrinsic to the use of the attention mechanism. We create a separate length prediction model to predict the correct number of wordpieces in the output, which allows us to identify and truncate problematic decoding results without increasing word error rates on the LibriSpeech task.
arXiv commentArtifacts like our filtered Audio BNC dataset can be found at https://github.com/aws-samples/seq2seq-asr-misbehaves
References in corpus (7)
- Google's Neural Machine Translation System: Bridging the Gap between Human and Machine Translation
- SpecAugment: A Simple Data Augmentation Method for Automatic Speech Recognition
- On Using Monolingual Corpora in Neural Machine Translation
- Improved training of end-to-end attention models for speech recognition
- Online and Linear-Time Attention by Enforcing Monotonic Alignments
- GluonCV and GluonNLP: Deep Learning in Computer Vision and Natural Language Processing
- Self-Attention Networks for Connectionist Temporal Classification in Speech Recognition