Reinforcement Learning Based Speech Enhancement for Robust Speech Recognition

Yih-Liang Shen, Chao-Yuan Huang, Syu‐Siang Wang, Yu Tsao, Hsin‐Min Wang, Tai-Shih Chi · DOI

Abstract

Conventional deep neural network (DNN)-based speech enhancement (SE) approaches typically aim to minimize the mean square error (MSE) between enhanced speech and a clean reference. However, MSE optimization does not always translate to improved performance for automatic speech recognition (ASR) systems, as it may distort critical acoustic cues. This study proposes a reinforcement learning (RL) framework to optimize SE models directly based on recognition results. Evaluated on the Mandarin Chinese broadcast news corpus (MATBN), the proposed system achieved significant error rate reductions of 12.40% and 19.23% at 5 dB and 0 dB signal-to-noise ratios (SNR), respectively.

Introduction

Traditional SE systems are designed to make audio sound "cleaner" to human listeners by minimizing MSE. While effective for human perception, these systems often fail to assist ASR engines because the filtering process can inadvertently remove or distort the specific features a speech-to-text system relies on. Ideally, an SE system should be trained using the ASR's recognition error as a loss function. However, modern ASR pipelines are complex, multi-stage, and non-differentiable, making standard backpropagation impossible. To bridge this gap, we employ Reinforcement Learning to treat the ASR system as a "black box" environment that provides rewards based on recognition accuracy.

Methodology

The proposed RL-based SE system treats the selection of an enhancement mask as an "action" within an environment. The architecture consists of three primary modules:

  1. IBM Clustering Module: To simplify the action space, the system clusters a large set of Ideal Binary Masks (IBMs) from training data into 32 representative "prototype" masks using K-means clustering.
  2. Action Estimation Module: A DNN agent analyzes chunks of noisy speech to predict which of the 32 prototype masks will yield the highest recognition accuracy.
  3. Target Action Determination (The RL Loop): The system processes an entire utterance and sends the enhanced version to a fixed ASR engine. It receives a reward based on the Character Error Rate (CER). If the enhanced speech results in a lower CER than the noisy baseline, the system receives a positive reward, and the DNN is updated to favor the successful masks.
The proposed RL-based speech enhancement training framework, featuring IBM clustering, action estimation, and target action determination modules.

Two versions of the system were evaluated: RLSE₁, which processes one frame at a time, and RLSE₂, which utilizes a two-frame "chunk" to incorporate greater temporal context.

Experimental Setup

The system was evaluated using the MATBN Corpus, a 198-hour Mandarin Chinese broadcast news dataset. Acoustic models were trained on a 25-hour subset using a CD-DNN-HMM architecture. To test the system's robustness against difficult, non-stationary interference, "baby-cry" noise was introduced at 0 dB and 5 dB SNR levels.

Key Results and Discussion

The RL-based approach demonstrated substantial improvements over both the noisy baseline and a nearest-neighbor (1nnSE) baseline. Notably, the 1nnSE baseline actually increased error rates, suggesting that simply choosing the "closest" mask is insufficient; an agent must learn the complex relationship between masking and ASR performance.

Character Error Rate (CER) comparison across different SNR levels and enhancement methods, showing the superior performance of RLSE₂.

As shown in the results, the RLSE₂ model significantly outperformed the single-frame version, highlighting the importance of temporal dynamics in noise masking for ASR. At 5 dB SNR, the CER dropped from 56.14% to 49.18% (a 12.40% relative reduction). At the more challenging 0 dB SNR, the CER was reduced from 81.40% to 65.75% (a 19.23% relative reduction). Beyond ASR metrics, the system also improved human-centric metrics like STOI, which rose from 0.74 to 0.81 in 0 dB conditions.

Conclusion

By using ASR recognition errors as a reward signal, this RL framework successfully optimizes speech enhancement for machine listeners. The approach is particularly valuable for scenarios involving third-party ASR APIs where internal model parameters are inaccessible. Future research will focus on expanding the diversity of noise types and exploring continuous action spaces to further refine mask selection.

Summary updated

BibTeX
@misc{shen2018reinforcement,
  author = {Yih-Liang Shen and Chao-Yuan Huang and Syu‐Siang Wang and Yu Tsao and Hsin‐Min Wang and Tai-Shih Chi},
  title = {{Reinforcement Learning Based Speech Enhancement for Robust Speech Recognition}},
  year = {2018},
  eprint = {1811.04224},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1811.04224},
}
Figure