Unsupervised Speech Enhancement using Dynamical Variational Auto-Encoders

Xiaoyu Bie, Simon Leglaive, Xavier Alameda-Pineda, Laurent GirinarXiv 2021 · DOI

TL;DR

This paper introduces a noise-agnostic, unsupervised speech enhancement framework that leverages Dynamical Variational Autoencoders (DVAEs) to model the complex temporal patterns of clean speech. By combining these pre-trained priors with an on-the-fly noise model via a variational Expectation-Maximization (VEM) algorithm, the authors achieve state-of-the-art performance that generalizes remarkably well to unseen noise types, often outperforming supervised models in mismatched conditions.

What Problem Does This Paper Address?

Traditional deep learning for speech enhancement typically relies on supervised learning, where a model is trained to map noisy speech to its clean counterpart (noisy-to-clean mapping). While effective, this approach has a major Achilles' heel: it requires massive parallel datasets of noisy and clean pairs and often fails to generalize when it encounters noise types or acoustic environments not seen during training.

The authors tackle the challenge of unsupervised, noise-agnostic enhancement. The goal is to build a system that only needs clean speech for training and can adapt to any noise type at test time. While standard Variational Autoencoders (VAEs) have been used for this, they treat speech frames as independent, ignoring the rich temporal structure (dynamics) inherent in human speech.

Methods

The core innovation is the use of Dynamical VAEs (DVAEs), which extend the standard VAE framework by incorporating temporal dependencies between successive latent vectors and observed speech frames.

The proposed enhancement pipeline consists of three main stages:

  1. Pre-training: A DVAE is trained on a large corpus of clean speech to learn a generative prior of speech power spectrograms. The authors evaluate three specific DVAE architectures: the Deep Kalman Filter (DKF), the Recurrent VAE (RVAE), and the Stochastic Recurrent Neural Network (SRNN).
  2. Noise Modeling: At test time, the noise is modeled using Non-negative Matrix Factorization (NMF). Crucially, the NMF parameters are estimated directly from the noisy signal being processed, making the method noise-agnostic.
  3. Variational EM (VEM) Algorithm: To separate speech from noise, the authors derive a VEM algorithm. In the E-step, the pre-trained DVAE encoder is fine-tuned on the specific noisy input to better estimate the latent speech representation. In the M-step, the NMF noise parameters and a gain factor are updated to minimize the reconstruction error.

The final enhanced speech is reconstructed using a "probabilistic" Wiener filter, which combines the DVAE's speech estimate with the NMF's noise estimate.

Fig. 2. Overview of the proposed speech enhancement method. The pre-trained DVAE is used within a VEM algorithm for speech enhancement. The DVAE encoder is fine-tuned during the E-step and the mixture parameters are estimated in the M-step (red arrows), see Section III-C and Algorithm 1. The clean speech signal is estimated by filtering the noisy signal with a Wiener filter combining the DVAE output parameters and the estimated mixture parameters (green arrows).

Datasets

The researchers evaluated their framework on two major benchmarks:

  • WSJ0-QUT: Clean speech from the Wall Street Journal (WSJ0) mixed with various noise types from the QUT-NOISE dataset at SNRs ranging from -5 to 5 dB.
  • VoiceBank-DEMAND (VB-DMD): A widely used dataset featuring 28 speakers in the training set and 2 speakers in the test set, mixed with diverse real-world noises.

A critical part of the evaluation involved cross-dataset experiments, where models were trained on one dataset (e.g., WSJ0) and tested on the other (e.g., VB-DMD) to rigorously test generalization capabilities.

Key Insights and Ideas

  • Dynamics are Essential: By explicitly modeling how speech evolves over time, DVAEs provide a much stronger prior than standard VAEs. This leads to significantly better "analysis-resynthesis" quality, as shown in Figure 1.
  • Fine-tuning is the Secret Sauce: Rather than just using a static pre-trained encoder, the VEM algorithm fine-tunes the DVAE encoder on the noisy test signal. This allows the model to adapt its internal representation to the specific characteristics of the current noisy environment.
  • Robustness to Mismatch: Unlike supervised models that "overfit" to their training noise, this unsupervised approach is remarkably robust. When tested on a completely different dataset, the DVAE-based models maintained high performance, while supervised baselines saw their scores plummet.
Fig. 1. Speech analysis-resynthesis with a DVAE model in the STFT domain. The speech power spectrogram is used as input to the DVAE and the output is the variance of a complex Gaussian model. The audio waveform is reconstructed by inverse STFT using the phase of the original signal.

Key Results

  • Superior Generalization: In cross-dataset tests on VB-DMD (using a model trained on WSJ0), the RVAE-VEM achieved an SI-SDR of 17.3 dB. In contrast, the supervised baseline MetricGAN+ dropped to just 3.9 dB in the same mismatched condition.
  • Outperforming VAEs: Across all metrics (SI-SDR, PESQ, ESTOI), DVAE-based methods consistently outperformed the standard VAE-VEM baseline, proving the value of temporal modeling.
  • Competitive with Supervised Models: In "matched" conditions (train and test on the same dataset), the DVAE-VEM approach achieved results competitive with state-of-the-art supervised models like Open-Unmix (UMX), despite never seeing a single noisy sample during training.

Limitations and Future Work

The primary limitation is computational complexity. The iterative VEM algorithm is slow, taking between 14 to 25 seconds to process just one second of audio on a single CPU core. This currently precludes real-time applications.

Additionally, the current DVAE inference is non-causal, meaning it requires looking at future frames to enhance the current one. Future work aims to develop faster, causal versions of the algorithm and explore even more powerful architectures like Transformers or Temporal Convolutional Networks (TCNs) within this unsupervised framework. The authors also suggest extending the model to a multi-modal setting by incorporating visual cues like lip motion.

Summary updated

BibTeX
@misc{bie2021unsupervised,
  author = {Xiaoyu Bie and Simon Leglaive and Xavier Alameda-Pineda and Laurent Girin},
  title = {{Unsupervised Speech Enhancement using Dynamical Variational Auto-Encoders}},
  year = {2021},
  eprint = {2106.12271},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2106.12271},
}
Figure