[Paper Review] Effective Sentence Scoring Method using Bidirectional Language Model for Speech Recognition
This paper proposes a novel sentence scoring method using a bidirectional language model (biLM) that captures interactions between past and future words by masking each word in turn and predicting it using contextual representations from both directions. The method significantly outperforms unidirectional LMs, achieving a 22.2% relative WER reduction on LibriSpeech test-clean, with consistent improvements especially for short sentences or early-word errors.
In automatic speech recognition, many studies have shown performance improvements using language models (LMs). Recent studies have tried to use bidirectional LMs (biLMs) instead of conventional unidirectional LMs (uniLMs) for rescoring the $N$-best list decoded from the acoustic model. In spite of their theoretical benefits, the biLMs have not given notable improvements compared to the uniLMs in their experiments. This is because their biLMs do not consider the interaction between the two directions. In this paper, we propose a novel sentence scoring method considering the interaction between the past and the future words on the biLM. Our experimental results on the LibriSpeech corpus show that the biLM with the proposed sentence scoring outperforms the uniLM for the $N$-best list rescoring, consistently and significantly in all experimental conditions. The analysis of WERs by word position demonstrates that the biLM is more robust than the uniLM especially when a recognized sentence is short or a misrecognized word is at the beginning of the sentence.
Motivation & Objective
- To address the limited performance gain of bidirectional language models (biLMs) over unidirectional LMs (uniLMs) in speech recognition rescoring, despite their theoretical advantages.
- To overcome the lack of interaction between forward and backward representations in existing biLMs, which restricts their ability to model full contextual dependencies.
- To develop a sentence scoring method that leverages both past and future context by masking words and predicting them using bidirectional representations.
- To demonstrate that biLMs can consistently and significantly outperform uniLMs in N-best list rescoring for automatic speech recognition.
Proposed method
- The method uses a bidirectional self-attention network (biSANLM) trained on monolingual text to model both left and right context of each word.
- For sentence scoring, each word in a hypothesis is masked with a special token <M>, and the biLM predicts the original word using only surrounding context from both directions.
- The sentence score is computed as the product of the predicted probabilities for each masked word, capturing the likelihood of the full sequence under the biLM.
- The biLM score is used to rescore the N-best list via log-linear interpolation with the acoustic model, with the interpolation weight tuned on development sets.
- The model architecture uses multi-head self-attention with learned positional embeddings and shares the word embedding and output projection matrices.
- The uniLM baseline uses the same architecture but only attends to previous words, enabling a fair comparison with the biLM.
Experimental results
Research questions
- RQ1Can a bidirectional language model with explicit interaction between past and future context outperform a unidirectional language model in N-best list rescoring for automatic speech recognition?
- RQ2Does the proposed masking-based scoring method effectively leverage bidirectional context to improve sentence-level language modeling?
- RQ3Is the biLM more robust than the uniLM when errors occur early in a sentence or in short utterances?
- RQ4Do biLM and uniLM scores complement each other in log-linear interpolation, or does one dominate the other?
Key findings
- The proposed biLM-based sentence scoring method achieves a 22.2% relative word error rate (WER) reduction on the LibriSpeech test-clean set compared to the baseline, significantly outperforming the uniLM’s 16.3% improvement.
- The biLM consistently outperforms the uniLM across all test sets (clean and other) and all vocabulary sizes (10k, 20k, 40k), demonstrating robustness and generalization.
- Analysis by word position shows the biLM is significantly more robust than the uniLM when errors occur in the first 30 words of a sentence, especially in short utterances.
- The biLM alone achieves the best performance in log-linear interpolation, with α=1 being optimal, indicating no complementary benefit from combining biLM and uniLM scores.
- This is the first study to show that a biLM consistently and significantly outperforms a uniLM in ASR rescoring, demonstrating the effectiveness of modeling bidirectional context through masked prediction.
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.