Noise-Aware Speech Separation with Contrastive Learning

Zizheng Zhang, Chen Chen, Xiang Liu, Yuchen Hu, Eng Siong Chng

TL;DR

Noise-Aware Speech Separation (NASS) improves the quality of separated speech in noisy environments by treating background noise as a distinct output channel rather than just an interference to be ignored. By employing patch-wise contrastive learning, the model explicitly learns to minimize the mutual information between predicted noise and separated speech, leading to a 1–2 dB performance boost with negligible computational overhead.

What Problem Does This Paper Address?

Deep learning has revolutionized speech separation (SS)—the ability to isolate individual voices from a mixture. However, most state-of-the-art models are trained on "clean" mixtures. When faced with real-world background noise (like a busy coffee shop), these models often struggle, mistakenly assigning segments of background noise to the separated speaker channels.

Common workarounds, such as using a speech enhancement (SE) pre-processor to denoise the mixture before separation, often lead to over-suppression. This means the model inadvertently removes helpful speech information along with the noise, resulting in sub-optimal audio quality. The authors of this paper sought a way to suppress noise without sacrificing the integrity of the target speech.

Methods

The authors propose a framework called Noise-Aware Speech Separation (NASS). It follows the standard encoder-separator-decoder pipeline but introduces two key innovations:

  1. Additional Noise Output (ANO): Instead of just outputting masks for the target speakers, the "MaskingNet" is trained to also predict a mask for the background noise. This allows the model to explicitly model the noise as its own source ($C+1$ sources for $C$ speakers).
  2. Patch-wise Contrastive Learning (PCL): To ensure the separated speech is truly "clean," the authors introduce a contrastive loss. The goal is to maximize the similarity between the predicted speech and the ground-truth speech, while simultaneously minimizing the similarity between the predicted speech and the predicted noise.
Fig. 1: The overall pipeline of NASS. xn and ˆn denote the noisy input and predicted noise. ˆs1 and ˆs2 are separated speech while s1 and s2 are the ground-truth. hˆs1, hˆs2 and hˆn in dashed box are predicted representations, while hs1 and hs2 in solid box are the ground-truth. “P” denotes the mutual information between separated and ground-truth speech is maximized while “N” denotes the mutual information between separated speech and noise is minimized.

As shown in the figure above, the PCL mechanism samples "patches" from the latent representations. For a given query (a patch of predicted speech), the positive example is the corresponding patch from the ground-truth speech, while the negative examples are patches sampled from the predicted noise. By solving this classification task, the model learns to "push" noise information out of the speaker channels.

Detailed illustration of the patch-wise contrastive learning mechanism.

Datasets

The researchers evaluated NASS on two widely used noisy speech datasets:

  • WHAM!: A noisy version of the WSJ0-2Mix dataset, featuring background noise recorded in real-world locations like restaurants and bars.
  • LibriMix (Noisy): Specifically Libri2Mix and Libri3Mix, which combine clean speech from LibriSpeech with noise samples from WHAM!.

Key Insights and Ideas

  • Noise as a Signal: The core "aha moment" is that background noise contains useful information for the separation process. By predicting it explicitly, the model gains a reference for what not to include in the speech outputs.
  • Contrastive Disentanglement: Using contrastive learning at the patch level allows the model to suppress noise at multiple scales of granularity. It effectively treats noise as the "negative" space of speech.
  • Backbone Agnostic: NASS isn't a new neural network architecture itself; it's a training strategy. The authors demonstrated its effectiveness by applying it to two different "backbone" models: DPRNN and Sepformer.
  • Efficiency: The method adds fewer than 0.1 million parameters, making it a very "cheap" way to get a significant performance boost.

Key Results

NASS consistently outperformed baseline models across all tested datasets:

  • Performance Gain: NASS achieved a 1 to 2 dB improvement in Scale-Invariant Signal-to-Noise Ratio improvement (SI-SNRi) and Signal-to-Distortion Ratio improvement (SDRi) over standard DPRNN and Sepformer models.
  • Qualitative Improvement: Spectrogram analysis (Figure 3) shows that NASS-separated signals have significantly less residual noise compared to baselines.
Spectrogram results comparing baseline models to NASS. Subplot (d) shows the successfully predicted noise output.
  • Ablation Studies: The authors found that while simply adding a noise output (ANO) helps, the addition of the contrastive loss (PCL) is what drives the most significant gains, particularly in more complex 3-speaker scenarios.

Limitations and Future Work

  • Speaker-to-Speaker Contrast: The authors explicitly chose not to perform contrastive learning between different speakers. This is because speakers might have very similar voices (e.g., two men with similar pitches), making it difficult to define them as "negatives" of each other without causing confusion.
  • Generalization: While tested on mask-based models, the authors suggest NASS could potentially be applied to non-mask-based architectures, though this was not explored in the current paper.
  • Downstream Utility: The predicted noise signal itself (see Figure 3d) is high-quality and could potentially be used for other tasks like environment classification or further audio forensics, which remains a path for future research.

Summary updated

BibTeX
@inproceedings{zhang2023noise,
  author = {Zizheng Zhang and Chen Chen and Hsin-Hung Chen and Xiang Liu and Yuchen Hu and Eng Siong Chng},
  title = {{Noise-Aware Speech Separation with Contrastive Learning}},
  booktitle = {IEEE International Conference on Acoustics, Speech and Signal Processing},
  year = {2023},
  url = {https://openreview.net/forum?id=4r7Hq831QkC},
}
Figure