Self-Critical Sequence Training for Automatic Speech Recognition

Chen Chen, Yuchen Hu, Nana Hou, Xiaofeng Qi, Heqing Zou, EngSiong Chng

Abstract

Modern Automatic Speech Recognition (ASR) systems typically rely on Cross-Entropy (CE) loss and teacher forcing during training. However, these methods introduce a discrepancy between training objectives and evaluation metrics, as well as a gap between training-time and inference-time data distributions, known as exposure bias. This paper explores the application of Self-critical Sequence Training (SCST) to ASR. By optimizing directly for Word Error Rate (WER) using a reinforcement learning framework, the proposed approach achieves significant performance gains. Experimental results on the Robust Automatic Transcription of Speech (RATS) dataset demonstrate relative improvements of up to 8.7% in WER, highlighting the effectiveness of aligning training objectives with real-world performance metrics.

1. Introduction

The standard paradigm for training sequence-to-sequence models in Automatic Speech Recognition (ASR) involves minimizing the Cross-Entropy (CE) loss. While computationally efficient, this approach suffers from two primary issues: objective mismatch and exposure bias. Objective mismatch arises because CE loss maximizes the log-likelihood of the next token, whereas ASR systems are evaluated using Word Error Rate (WER). Exposure bias occurs because models are trained using "teacher forcing"—where ground-truth tokens are provided as context—but must rely on their own potentially erroneous predictions during inference.

To address these challenges, this work adapts Self-critical Sequence Training (SCST), a reinforcement learning (RL) technique originally popularized in image captioning, to the ASR domain. By treating the ASR model as an agent and the WER as a reward signal, SCST allows the model to explore its own output distribution and learn from its mistakes in a manner consistent with its final deployment.

2. Methodology

2.1 The Reinforcement Learning Framework

In the SCST framework, the ASR model is viewed as an RL agent. At each timestep, the agent takes an "action" by predicting a token. At the end of a sequence, the agent receives a "reward" based on the accuracy of the predicted sequence compared to the ground truth. The objective is to maximize the expected cumulative reward, which in this context is inversely related to the WER.

2.2 Self-Critical Baseline

A common challenge in RL is the high variance of gradient estimates. SCST mitigates this by using a "self-critical" baseline. During training, the model generates a sampled hypothesis and compares it against a baseline sequence generated via the model's own inference-mode algorithm (beam search). If the sampled hypothesis performs better than the current baseline, its probability is boosted; if it performs worse, it is suppressed. This approach effectively normalizes the rewards and stabilizes training without requiring an external critic network.

2.3 Reward Shaping

The authors investigate two distinct reward functions to determine the optimal level of feedback granularity:

  • Reward I (Sentence-level): A simple negative edit distance calculated at the end of the entire sentence (Minimum WER training).
  • Reward II (Temporal): A more granular reward that calculates the change in edit distance at each token step. This helps the model identify which specific words in a sequence contributed to the final error, addressing the credit assignment problem.

2.4 Model Architecture

The experiments utilize a state-of-the-art Conformer-based architecture. Conformers integrate Transformer blocks for capturing global dependencies with Convolutional Neural Network (CNN) layers for extracting local features, providing a robust foundation for testing RL-based optimization.

3. Experimental Setup

The proposed method was evaluated using the Robust Automatic Transcription of Speech (RATS) dataset, which is designed to test ASR robustness under difficult conditions. The data includes:

  • Clean Speech: High-quality recordings.
  • Noisy Speech (Channel A): Speech recorded over degraded radio channels, presenting a significant challenge for standard ASR systems.

The training set comprised approximately 44.3 hours of audio. To maintain stability and prevent the model from diverging, the authors employed a hybrid loss function, interpolating the SCST loss with a small weight ($\lambda$) of the original CE loss. This "anchor" ensures the model retains the linguistic knowledge gained during the initial supervised learning phase.

4. Results and Discussion

The application of SCST yielded consistent improvements across both clean and noisy conditions compared to the standard CE baseline.

4.1 Performance on Clean Speech

On clean data, the SCST approach reduced the WER from 29.9% to 27.3%, representing an 8.7% relative improvement. Notably, Reward II (temporal) outperformed Reward I on clean data, with a 9.7% relative improvement in Character Error Rate (CER). This suggests that granular, token-level feedback is highly beneficial when the acoustic signal is clear.

4.2 Performance on Noisy Speech

In the noisy environment (Channel A), the model achieved a 54.1% WER, a 7.8% relative improvement over the 58.7% CE baseline. Interestingly, the advantage of Reward II vanished in noisy conditions. The authors hypothesize that in high-error environments, token-level credit assignment becomes too noisy and unreliable, making the simpler sentence-level reward (Reward I) equally effective.

5. Conclusion

Self-critical Sequence Training provides a robust mechanism for bridging the gap between ASR training and evaluation. By optimizing directly for WER and exposing the model to its own inference-time behavior through beam search, SCST significantly improves recognition accuracy. While the computational overhead of generating N-best lists during training remains a limitation, the relative gains in both clean and degraded acoustic environments demonstrate the potential of RL-based optimization for robust ASR systems.

Summary updated

Abstract

Although automatic speech recognition (ASR) task has gained remarkable success by sequence-to-sequence models, there are two main mismatches between its training and testing that might lead to performance degradation: 1) The typically used cross-entropy criterion aims to maximize log-likelihood of the training data, while the performance is evaluated by word error rate (WER), not log-likelihood; 2) The teacher-forcing method leads to the dependence on ground truth during training, which means that model has never been exposed to its own prediction before testing. In this paper, we propose an optimization method called self-critical sequence training (SCST) to make the training procedure much closer to the testing phase. As a reinforcement learning (RL) based method, SCST utilizes a customized reward function to associate the training criterion and WER. Furthermore, it removes the reliance on teacher-forcing and harmonizes the model with respect to its inference procedure. We conducted experiments on both clean and noisy speech datasets, and the results show that the proposed SCST respectively achieves 8.7% and 7.8% relative improvements over the baseline in terms of WER.
BibTeX
@inproceedings{chen2022self,
  author = {Chen Chen and Yuchen Hu and Nana Hou and Xiaofeng Qi and Heqing Zou and EngSiong Chng},
  title = {{Self-Critical Sequence Training for Automatic Speech Recognition}},
  booktitle = {IEEE International Conference on Acoustics, Speech and Signal Processing},
  year = {2022},
  url = {https://openreview.net/forum?id=ONk1XdCO84m},
}
Figure