Extract and Diffuse: Latent Integration for Improved Diffusion-based Speech and Vocal Enhancement

Yudong Yang, Zhan Liu, Wenyi Yu, Guangzhi Sun, Qiuqiang Kong, Chao ZhangarXiv 2024 · DOI

Abstract

Audio enhancement tasks, such as isolating speech from noise or vocals from music, often face a trade-off between the precision of discriminative models and the high-fidelity generalization of generative diffusion models. We present Ex-Diff (Extract and Diffuse), a novel framework that bridges this gap by injecting latent features from a pre-trained source separation model into a score-based diffusion process. By utilizing a cross-attention mechanism at the bottleneck of a multi-resolution U-Net, Ex-Diff provides high-level semantic guidance to the generative process. This approach significantly reduces "hallucinated" artifacts and improves extraction performance on complex musical mixtures, achieving state-of-the-art results in vocal enhancement tasks.

Introduction

In audio enhancement, researchers typically choose between two paradigms. Discriminative models (e.g., U-Nets) act as sophisticated filters mapping noisy audio directly to clean targets. While precise, they often struggle to generalize to unseen acoustic environments. Conversely, generative models (specifically diffusion models) learn the underlying distribution of clean speech, offering excellent generalization but suffering from "hallucinations"—introducing extraneous sounds in silent regions where the model over-generates.

Ex-Diff addresses this "fidelity vs. generalization" gap by providing the diffusion model with a discriminative "map" of the target audio, preventing it from generating noise in the gaps while maintaining the high-quality output characteristic of generative priors.

Methodology

The Ex-Diff framework integrates two distinct phases to achieve robust enhancement:

  1. The "Extract" Phase: The system utilizes PANNs (Pre-trained Audio Neural Networks) to extract a high-level latent representation of the target signal (vocals or speech) from the noisy mixture.
  2. The "Diffuse" Phase: This latent representation serves as a conditioning signal for a score-based diffusion model.
  3. Cross-Attention Integration: The core technical innovation lies in the integration of these features. Rather than simple concatenation, the authors employ a cross-attention mechanism at the bottleneck of the U-Net architecture. This allows the model to dynamically attend to relevant discriminative features during the iterative refinement process.
The Ex-Diff architecture, featuring the integration of PANNs-extracted latent features into a diffusion U-Net via a cross-attention bottleneck.

Ablation studies confirmed that applying cross-attention specifically at the bottleneck layer outperforms multi-layer integration, suggesting that high-level semantic guidance is most effective when spatial resolution is at its lowest.

Experimental Results

The model was evaluated on VoiceBank-DEMAND (speech enhancement) and MUSDB18 (vocal enhancement). For the latter, the authors utilized a "mix3dB" version to ensure high data quality.

Quantitative performance comparison of Ex-Diff against baseline and state-of-the-art models on speech and vocal enhancement tasks.

As shown in the results table, Ex-Diff demonstrates significant quantitative improvements, particularly in vocal enhancement:

  • Vocal Enhancement (MUSDB18): Ex-Diff achieved an 11.1 dB SI-SDR, representing a 3.7% relative improvement over the baseline diffusion model (SGMSE), and a 10.0% improvement in SI-SIR (26.3 dB vs 23.9 dB).
  • Speech Enhancement: On VoiceBank-DEMAND, Ex-Diff matched the performance of state-of-the-art diffusion models (PESQ of 2.84) while significantly outperforming pure discriminative models like USS (PESQ of 2.19) in perceptual quality.

Qualitative analysis via Mel-spectrograms confirms that Ex-Diff avoids the "over-separation" (accidental muting) common in discriminative models and the "phantom sounds" common in pure generative models.

Conclusion and Future Work

Ex-Diff successfully combines the strengths of discriminative and generative paradigms. By grounding the diffusion process in latent discriminative features, the model achieves superior fidelity and reduced artifacts. Future research will focus on reducing model complexity by exploring end-to-end latent extraction and investigating the framework's efficacy on broader audio tasks, such as general sound event separation.

Summary updated

BibTeX
@misc{yang2024extract,
  author = {Yudong Yang and Zhan Liu and Wenyi Yu and Guangzhi Sun and Qiuqiang Kong and Chao Zhang},
  title = {{Extract and Diffuse: Latent Integration for Improved Diffusion-based Speech and Vocal Enhancement}},
  year = {2024},
  eprint = {2409.09642},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2409.09642},
}
Figure