Magnitude-Phase Dual-Path Speech Enhancement Network based on Self-Supervised Embedding and Perceptual Contrast Stretch Boosting

Alimjan Mattursun, Liejun Wang, Yinfeng Yu, Chunyang Ma

TL;DR

BSP-MPNet is a novel dual-path speech enhancement framework that bridges the gap in self-supervised learning (SSL) by processing both magnitude and phase components of speech simultaneously. By incorporating perceptual contrast stretching and a feature-separating SSL module, it effectively mitigates phase distortion and feature mismatch, achieving state-of-the-art denoising and dereverberation performance.

What Problem Does This Paper Address?

While deep learning has revolutionized speech enhancement (SE), traditional supervised methods rely heavily on massive, expensive labeled datasets. Self-supervised learning (SSL) models (like WavLM or Data2Vec) alleviate this by learning from unlabeled audio, but adapting them for speech enhancement introduces two major challenges:

  1. The Phase Omission: Most SSL-based speech enhancement frameworks focus exclusively on restoring the magnitude spectrum, completely ignoring the phase spectrum. This omission leads to severe phase distortion, limiting the overall perceptual quality of the reconstructed speech.
  2. Feature Mismatch: Merging raw SSL embeddings with traditional acoustic features often causes representation distortion because the two domains aren't perfectly compatible.

The authors introduce BSP-MPNet to solve these issues by establishing a dual-path architecture that treats magnitude and phase as equal partners throughout the enhancement process.

Methods

The architecture of BSP-MPNet relies on a parallel encoder-decoder structure designed to handle magnitude and phase features in tandem.

Fig. 2. Architecture of the proposed BSP-MPNet. ”STFT” represents the short-time fourier transform of the speech.

The pipeline consists of four core stages:

  • Perceptual Contrast Stretching (PCS): Before entering the neural network, the noisy speech's Short-Time Fourier Transform (STFT) magnitude spectrum is enhanced using PCS. This preprocessing step amplifies key spectral details based on human auditory sensitivity.
  • Magnitude-Phase 2D Coarse (MP-2DC) Encoder: This module applies dimensionality-adjusting 2D convolutions to extract coarse-grained features from the boosted spectra. It acts as a bridge, recovering spatial details and smoothing the transition for cross-domain feature fusion.
  • Feature-Separated SSL (FS-SSL) Model: Instead of feeding raw SSL embeddings directly into a decoder, the authors introduce a Magnitude-Phase Feature Separation (MPFS) module. It adaptively weights and filters features from different Transformer layers of a pre-trained SSL model (e.g., WavLM), decoupling them into distinct magnitude-related and phase-related latent representations.
  • RNN-Enhanced Multi-Attention (REMA) Mask Decoder: The fused cross-domain features are passed to parallel REMA decoders. These combine Multi-Head Self-Attention (MHSA), Time-Frequency Attention (TFA), and small bidirectional GRUs (sBi-GRU) to capture both global and local dependencies before generating precise enhancement masks via an LSigmoid activation function.

Datasets

The model was trained and evaluated on two widely recognized benchmarks:

  • VoiceBank+DEMAND: A standard dataset for speech denoising, featuring 11,572 speech segments mixed with various background noises at multiple signal-to-noise ratios (SNRs).
  • WHAMR!: An extended, highly challenging dataset that introduces combinations of background noise, room reverberation, and joint noise+reverberation, allowing the model's dereverberation capabilities to be rigorously tested.

Key Insights and Ideas

  • SSL Models Secretly Care About Phase: A key finding of this paper is that self-supervised speech representations do implicitly contain phase-related information. By explicitly decoupling these embeddings via the MPFS module, the network can exploit phase cues that standard frameworks discard.
  • Not All Layers Are Equal: Through a layer-weighting analysis, the authors discovered that for speech enhancement tasks, the early Transformer layers of SSL models are the most critical because they contain raw acoustic information. Later layers focus more on abstract semantic information, which is less helpful for cleaning up noisy signals.
  • Dual-Path Synergy: Enhancing magnitude alone creates an upper bound on speech quality. Simultaneously estimating magnitude and phase masks prevents the phase spectrum from warping during reconstruction.

Key Results

BSP-MPNet was evaluated against several competitive baselines (including CMGAN and BSS-CS-PCS) using standard metrics like PESQ (perceptual quality) and STOI (intelligibility).

VoiceBank+DEMAND (Denoising)

When paired with a fine-tuned WavLM (Large) model, BSP-MPNet achieved top-tier performance:

  • PESQ: Reached 3.65, outperforming the closely related BSS-CS-PCS method (3.54) and the Conformer-based CMGAN (3.50).
  • STOI: Improved to 98.5%.
  • CBAK (Background Noise Suppression): Achieved a score of 3.95, demonstrating superior noise-clearing capabilities.

WHAMR! (Denoising + Dereverberation)

In complex acoustic environments involving both echo and noise, BSP-MPNet consistently outperformed alternative models:

  • In the joint Reverb+Noisy scenario, it achieved a PESQ of 2.05 and an SI-SNR of 4.03 dB, significantly higher than DCCRN and TSTNN baselines.

Limitations and Future Work

The primary drawback of BSP-MPNet stems from its reliance on large-scale pre-trained SSL models like WavLM Large. These models possess a massive number of parameters, making BSP-MPNet computationally heavy and challenging to deploy in real-time or resource-constrained edge environments.

To address this, the authors note that future work will focus on integrating their feature-separation approach with knowledge distillation techniques to compress the model size while preserving its impressive dual-path enhancement performance.

Summary updated

Abstract

Speech self-supervised learning (SSL) has made great progress in various speech processing tasks, but there is still room for improvement in speech enhancement (SE). This paper presents BSP-MPNet, a dual-path framework that combines self-supervised features with magnitude-phase information for SE. The approach starts by applying the perceptual contrast stretching (PCS) algorithm to enhance the magnitude-phase spectrum. A magnitude-phase 2D coarse (MP-2DC) encoder then extracts coarse features from the enhanced spectrum. Next, a feature-separating self-supervised learning (FS-SSL) model generates self-supervised embeddings for the magnitude and phase components separately. These embeddings are fused to create cross-domain feature representations. Finally, two parallel RNN-enhanced multi-attention (REMA) mask decoders refine the features, apply them to the mask, and reconstruct the speech signal. We evaluate BSP-MPNet on the VoiceBank+DEMAND and WHAMR! datasets. Experimental results show that BSP-MPNet outperforms existing methods under various noise conditions, providing new directions for self-supervised speech enhancement research. The implementation of the BSP-MPNet code is available online\footnote[2]{https://github.com/AlimMat/BSP-MPNet. \label{s1}}
BibTeX
@misc{mattursun2025magnitude,
  author = {Alimjan Mattursun and Liejun Wang and Yinfeng Yu and Chunyang Ma},
  title = {{Magnitude-Phase Dual-Path Speech Enhancement Network based on Self-Supervised Embedding and Perceptual Contrast Stretch Boosting}},
  year = {2025},
  eprint = {2503.21571},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2503.21571},
}
Figure