All Information is Necessary: Integrating Speech Positive and Negative Information by Contrastive Learning for Speech Enhancement

Xinmeng Xu, Weiping Tu, Chang Han, Yuhong YangarXiv 2023 · DOI · arXiv

Abstract

Monaural speech enhancement (SE) is an ill-posed problem due to the irreversible degradation process. Recent methods to achieve SE tasks rely solely on positive information, e.g., ground-truth speech and speech-relevant features. Different from the above, we observe that the negative information, such as original speech mixture and speech-irrelevant features, are valuable to guide the SE model training procedure. In this study, we propose a SE model that integrates both speech positive and negative information for improving SE performance by adopting contrastive learning, in which two innovations have consisted. (1) We design a collaboration module (CM), which contains two parts, contrastive attention for separating relevant and irrelevant features via contrastive learning and interactive attention for establishing the correlation between both speech features in a learnable and self-adaptive manner. (2) We propose a contrastive regularization (CR) built upon contrastive learning to ensure that the estimated speech is pulled closer to the clean speech and pushed far away from the noisy speech in the representation space by integrating self-supervised models. We term the proposed SE network with CM and CR as CMCR-Net. Experimental results demonstrate that our CMCR-Net achieves comparable and superior performance to recent approaches.

Introduction

Monaural speech enhancement—the task of separating a single speaker from background noise—is fundamentally "ill-posed" because the degradation process is irreversible. Most modern deep learning approaches treat this as a supervised mapping task, focusing almost entirely on "positive" information: the ground-truth clean speech. However, existing models often ignore the valuable structural information hidden in the "negative" components, such as the noise and the original noisy mixture. While some "two-branch" models attempt to model speech and noise separately, they are often computationally expensive and struggle with non-stationary noise. CMCR-Net addresses this by efficiently using both positive and negative information within a single-branch network.

Methods

The CMCR-Net framework integrates two primary innovations into a standard convolutional encoder-decoder architecture:

  1. Collaboration Module (CM): Standard self-attention often highlights high-power noise. The CM uses Contrastive Attention to apply a trainable amplification factor that widens the gap between speech-relevant and speech-irrelevant features. It then employs Interactive Attention to learn the correlations between these features, ensuring the model understands the interaction between speech and noise.
  2. Contrastive Regularization (CR): This novel loss function uses a pre-trained self-supervised model (e.g., UniSpeech-SAT) as a feature encoder. The CR loss acts like two opposing magnets: it "pulls" the predicted speech closer to the clean speech (positive pair) while "pushing" it further away from the original noisy input (negative pair) in the latent representation space.
Overview of the CMCR-Net architecture and the Contrastive Regularization mechanism.

Crucially, the CR module is only used during training, adding no computational overhead during inference.

Key Insights and Results

A core insight of this work is treating the noisy mixture as a negative anchor. By explicitly instructing the model to move away from the noisy representation, the contrastive loss provides a clearer boundary for the clean target. Furthermore, standard self-attention is power-dominant; in low-SNR environments, it tends to focus on loud noise. Contrastive attention forces the model to prioritize relevance over magnitude.

Spectrogram comparison showing how Contrastive Attention (c) more accurately captures speech features than standard Self-attention (b) in Noisy Speech (a).

CMCR-Net was evaluated on the VoiceBank + DEMAND and AVSpeech + AudioSet benchmarks, outperforming several state-of-the-art models:

  • Quality (PESQ): Achieved a score of 3.10 on VoiceBank + DEMAND, surpassing U-Former (2.98) and SA-TCN (2.95).
  • Intelligibility (STOI): Reached 93.04%, a significant lead over traditional benchmarks.
  • Efficiency: The model uses only 2.45 million parameters—roughly 60% fewer than PHASEN (6.41M) and 58% fewer than SA-TCN (5.83M).
  • Speed: It recorded the lowest processing time (0.42s for a 1-second audio clip) among high-performing models.

Conclusion

CMCR-Net demonstrates that "negative" information is as vital as "positive" targets in speech enhancement. By leveraging contrastive learning to separate and correlate these features, the model achieves state-of-the-art performance with high efficiency. Future work may address hyperparameter sensitivity regarding feature relevance thresholds and explore generalization across diverse languages and real-time latency constraints.

Summary updated

Abstract

Monaural speech enhancement (SE) is an ill-posed problem due to the irreversible degradation process. Recent methods to achieve SE tasks rely solely on positive information, e.g., ground-truth speech and speech-relevant features. Different from the above, we observe that the negative information, such as original speech mixture and speech-irrelevant features, are valuable to guide the SE model training procedure. In this study, we propose a SE model that integrates both speech positive and negative information for improving SE performance by adopting contrastive learning, in which two innovations have consisted. (1) We design a collaboration module (CM), which contains two parts, contrastive attention for separating relevant and irrelevant features via contrastive learning and interactive attention for establishing the correlation between both speech features in a learnable and self-adaptive manner. (2) We propose a contrastive regularization (CR) built upon contrastive learning to ensure that the estimated speech is pulled closer to the clean speech and pushed far away from the noisy speech in the representation space by integrating self-supervised models. We term the proposed SE network with CM and CR as CMCR-Net. Experimental results demonstrate that our CMCR-Net achieves comparable and superior performance to recent approaches.
BibTeX
@misc{xu2023all,
  author = {Xinmeng Xu and Weiping Tu and Chang Han and Yuhong Yang},
  title = {{All Information is Necessary: Integrating Speech Positive and Negative Information by Contrastive Learning for Speech Enhancement}},
  year = {2023},
  eprint = {2304.13439},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2304.13439},
}
Figure