[Paper Review] Towards better decoding and language model integration in sequence to sequence models
This paper proposes improved decoding and language model integration in sequence-to-sequence (seq2seq) models for speech recognition by introducing label smoothing and a coverage penalty during beam search. The approach reduces overconfidence and incomplete transcriptions, achieving 10.6% WER without language models and 6.7% WER with a trigram language model on the Wall Street Journal dataset.
The recently proposed Sequence-to-Sequence (seq2seq) framework advocates replacing complex data processing pipelines, such as an entire automatic speech recognition system, with a single neural network trained in an end-to-end fashion. In this contribution, we analyse an attention-based seq2seq speech recognition system that directly transcribes recordings into characters. We observe two shortcomings: overconfidence in its predictions and a tendency to produce incomplete transcriptions when language models are used. We propose practical solutions to both problems achieving competitive speaker independent word error rates on the Wall Street Journal dataset: without separate language models we reach 10.6% WER, while together with a trigram language model, we reach 6.7% WER.
Motivation & Objective
- Address overconfidence and incomplete transcriptions in attention-based seq2seq models for speech recognition.
- Improve generalization and decoding quality by regularizing model predictions during training.
- Integrate external language models effectively without compromising transcription completeness.
- Optimize beam search decoding with coverage penalties to reduce attention overuse on repeated frames.
- Demonstrate competitive performance against strong baselines like CTC and DNN-HMM systems.
Proposed method
- Apply unigram and temporal label smoothing to soften target distributions during training, reducing model overconfidence.
- Introduce a coverage penalty during beam search that penalizes attention overuse on already-attended frames.
- Use a beam search decoder with adjustable beam width, language model weight, and coverage threshold for optimal hypothesis selection.
- Implement an attention mechanism with convolutional filters over previous attention weights to improve alignment stability.
- Train the model using cross-entropy loss with label smoothing and ADAM optimization with learning rate scheduling.
- Apply weight noise and weight decay as additional regularization techniques during training.
Experimental results
Research questions
- RQ1How can overconfidence in seq2seq model predictions be mitigated to improve decoding diversity?
- RQ2What impact does label smoothing have on WER and model generalization in end-to-end speech recognition?
- RQ3How can coverage penalties during beam search reduce incomplete transcriptions and attention repetition?
- RQ4Can a simple integration of language models with seq2seq models achieve competitive performance without architectural complexity?
- RQ5To what extent can local normalization with regularization outperform globally normalized or lattice-based training?
Key findings
- Label smoothing reduces WER from 14.2% to 10.6% on the WSJ eval92 set without external language models.
- With a trigram language model, the model achieves 6.7% WER on eval92, matching state-of-the-art DNN-HMM and CTC ensemble systems.
- The coverage penalty significantly improves transcription completeness, reducing errors caused by attention skipping or repetition.
- Temporal label smoothing (neighboring tokens) outperforms unigram smoothing, achieving 9.7% WER on dev93 with language modeling.
- The model achieves competitive results with only 6.6M parameters, demonstrating efficiency compared to deeper architectures.
- Beam search with tuned parameters (beam width 200, λ=0.5, γ=1.5, τ=0.5) is essential for optimal performance with language models.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.