Abstract
This paper investigates critical aspects of training Recurrent Neural Networks (RNNs) for real-time, single-channel speech enhancement. We focus on a causal, single-frame-in, single-frame-out framework to minimize latency. The primary contribution is the introduction of two novel mean-squared-error (MSE)-based learning objectives that allow for independent control over speech distortion and noise reduction. We evaluate these loss functions using objective quality and intelligibility measures, compare them against state-of-the-art online methods, and analyze the impact of feature normalization and batch sequence lengths.
Introduction
In digital communication, background noise significantly degrades speech quality and intelligibility. While Deep Neural Networks (DNNs) have advanced speech enhancement (SE), two challenges persist: maintaining low latency for real-time applications and addressing the "MSE Gap." Standard MSE treats all errors equally, yet human listeners often prefer residual noise over speech distortion (e.g., "underwater" artifacts). This work bridges classical signal processing intuition—which balances these errors—with modern deep learning by proposing weighted loss functions.
System Architecture and Methods
The proposed system utilizes a compact, 3-layer Gated Recurrent Unit (GRU) network designed for real-time processing. The model operates on the short-time Fourier transform (STFT) of the input signal $x(t)$.
Feature Engineering and Normalization
We compared Short-Time Fourier Transform Magnitudes (STFTM) and Log-Power Spectra (LPS). Results indicated that Frequency-Dependent (FD) online normalization, using a running mean and variance, provided the highest robustness to varying signal levels across different environments.
Weighted Loss Functions
The core innovation is splitting the total error into two components: $L_{speech}$ (distortion of the clean signal) and $L_{noise}$ (residual noise). Two weighting schemes were evaluated:
- Fixed-Weighted Loss: Employs a constant factor ($\alpha$) to prioritize one error type.
- SNR-Weighted Loss: Dynamically adjusts weighting based on the global signal-to-noise ratio (SNR) of the training clip, allowing the model to be more aggressive in noisy environments and gentler in quiet ones.
Experimental Results
Models were trained on the MS-SNSD dataset (84 hours) and evaluated on 18 hours of unseen noise types, including non-stationary sounds like keyboard typing and babble.
Objective Performance and the "Sweet Spot"
Analysis of objective metrics revealed that training on 5-second audio segments is optimal; shorter segments lack context, while longer ones yield diminishing returns.
As shown in Figure 5, the metrics exhibit distinct peaks. For the fixed-weight scheme, SI-SDR peaks at $\alpha \approx 0.45$. Interestingly, while objective metrics suggested a balanced weighting, subjective human listening tests revealed a preference for much lower $\alpha$ values (0.05 to 0.1), indicating that humans prioritize noise elimination over minor speech distortion.
Comparative Performance
The proposed system significantly outperformed the RNNoise baseline across all key metrics:
- SI-SDR: 14.3 dB (Proposed) vs. 10.4 dB (RNNoise).
- STOI: 90.7% (Proposed) vs. 88.0% (RNNoise).
- Subjective MOS: 3.93 (Proposed at $\alpha=0.05$) vs. 3.26 (RNNoise).
Conclusion
By incorporating weighted error concepts into DNN training, we provide a tunable "knob" for balancing speech naturalness and noise suppression. Our results demonstrate that this approach, combined with proper normalization and sequence length selection, produces a real-time speech enhancement system that exceeds current state-of-the-art performance in both objective and subjective measures. Future work will explore time-varying weighting to adapt to dynamic noise environments within a single utterance.
Summary updated