Conditional Diffusion Model for Target Speaker Extraction

Theodor Nguyen, Guangzhi Sun, Xianrui Zheng, Chao Zhang, Philip C. WoodlandarXiv 2023 · DOI

TL;DR

This paper introduces DiffSpEx, a novel generative approach to target speaker extraction (TSE) using score-based diffusion models. By operating in the complex Short-Time Fourier Transform (STFT) domain and conditioning on speaker embeddings, DiffSpEx achieves competitive performance in signal reconstruction while significantly improving the naturalness of extracted speech, even outperforming discriminative methods in this regard.

What Problem Does This Paper Address?

Target Speaker Extraction (TSE) aims to isolate the speech of a specific individual from a mixed audio signal. Traditional methods often rely on discriminative approaches that learn to mask out unwanted speech. While effective, these methods can sometimes produce speech that lacks naturalness. The authors identify a gap in applying generative models, specifically diffusion models, to TSE. They propose DiffSpEx to leverage the strengths of generative modeling for more natural-sounding speech extraction, while also exploring personalized TSE where a model is fine-tuned for a specific user.

Methods

DiffSpEx is built upon score-based generative modeling (SGM) through stochastic differential equations (SDEs). The core idea is to progressively add noise to the target speaker's speech signal in the complex STFT domain (forward process) until it resembles a simple Gaussian distribution. The magic happens in the reverse process: starting from noise, a trained neural network (a U-Net architecture) learns to denoise the signal step-by-step, guided by a "score function."

What's novel here is:

  • Complex STFT Domain: The diffusion process operates directly on the complex STFT representation of the audio, preserving both magnitude and phase information crucial for speech quality.
  • Conditional Generation: The score function is conditioned on two key pieces of information:
  • Target Speaker Embedding: A fixed-length vector (from ECAPA-TDNN) representing the target speaker's voice characteristics. This guides the model to extract that specific speaker.
  • SDE Time Embedding: Information about the current noise level in the diffusion process, ensuring the denoising steps are correctly sequenced.
  • Reverse-Time SDE: The model learns to reverse the diffusion process by solving a reverse-time SDE, effectively reconstructing the target speaker's speech from a noisy mixture.

Datasets

  • WSJ0-2mix: This dataset is used for both training and evaluation. It's a standard benchmark for speaker separation and extraction tasks. The authors note that the test set speakers are disjoint from the training/validation sets, ensuring a more robust evaluation.
  • Personalized Datasets: For personalized TSE, the authors create custom datasets by using subsets of the WSJ0-2mix data, specifically focusing on speaker '40f' and a set of 10 speakers. These datasets are used to evaluate the impact of fine-tuning with varying amounts of reference audio.

Key Insights and Ideas

  • Generative Models for Naturalness: The paper strongly suggests that generative diffusion models can produce more natural-sounding extracted speech compared to traditional discriminative methods, even if raw signal reconstruction metrics are sometimes slightly lower.
  • The Power of Conditioning: Conditioning the diffusion model on speaker embeddings is crucial for directing the generative process towards the desired target speaker. This is the key to distinguishing speakers in a mixture.
  • Personalization is Feasible and Beneficial: Fine-tuning a pre-trained DiffSpEx model on even a small amount of a specific speaker's audio significantly improves performance, enabling highly personalized speaker extraction.
  • Similarity is a Challenge: DiffSpEx, like other TSE methods, struggles when target speakers in a mixture have very similar voice characteristics (high ECAPA-TDNN cosine similarity). This highlights an ongoing challenge in the field.

Key Results

  • General TSE Performance: DiffSpEx achieves an SI-SDR of 12.9 dB and a NISQA score of 3.56 on the WSJ0-2mix dataset. This is competitive with existing discriminative methods in terms of signal reconstruction (SI-SDR) and superior in terms of speech naturalness (NISQA).
  • Personalized TSE: Fine-tuning DiffSpEx with as little as 60 seconds of reference audio for a specific speaker leads to improved SI-SDR and NISQA scores. Further increasing the fine-tuning data further boosts performance. For example, P-10S-DiffSpEx-600s achieved an SI-SDR of 16.1 dB.
  • Qualitative Improvements: The extracted spectrograms from DiffSpEx are described as "natural-looking... without distortions," indicating high perceptual quality.

Limitations and Future Work

  • Speaker Similarity: The paper acknowledges that DiffSpEx, like other methods, faces challenges when target speakers have highly similar voice characteristics. This suggests future work could focus on improving the discriminative power of speaker embeddings or incorporating more contextual information.
  • Contextual Information: The authors suggest that providing more context, such as a larger signal window, could help improve performance, especially in challenging cases.
  • Computational Cost: While not explicitly detailed as a limitation, diffusion models are generally computationally intensive. Future work might explore more efficient diffusion architectures or sampling strategies.
  • Further Personalization: The success of personalization suggests exploring more advanced fine-tuning strategies or few-shot learning techniques for even more efficient adaptation to new speakers.

Summary updated

BibTeX
@misc{nguyen2023conditional,
  author = {Theodor Nguyen and Guangzhi Sun and Xianrui Zheng and Chao Zhang and Philip C. Woodland},
  title = {{Conditional Diffusion Model for Target Speaker Extraction}},
  year = {2023},
  eprint = {2310.04791},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2310.04791},
}
Figure