LC4SV: A Denoising Framework Learning to Compensate for Unseen Speaker Verification Models

Chi-Chang Lee, Hong-Wei Chen, Chu-Song Chen, Hsin-Min Wang, Tsung-Te Liu, Yu Tsao

Introduction

Speaker Verification (SV) systems—the underlying technology for voice-based identity authentication—face a persistent challenge: background noise. While Speech Enhancement (SE) models are traditionally employed to "clean" audio signals, they often introduce artificial distortions or processing artifacts. While these artifacts may be negligible to human listeners, they can be catastrophic for SV models, obscuring the subtle acoustic cues required for accurate speaker identification.

Furthermore, most high-performance SV models are proprietary "black boxes." An SE system optimized for one specific SV architecture often fails to generalize to others. The LC4SV (Learning to Compensate for Speaker Verification) framework addresses this "generalization gap" by moving beyond simple denoising. Instead, it learns to intelligently blend enhanced and original signals to compensate for the specific quirks of unseen downstream models.

The Challenge: Artifacts and the Generalization Gap

Standard SE models are typically trained on signal reconstruction metrics, such as multi-resolution Short-Time Fourier Transform (STFT) loss. While this improves signal-to-noise ratios (SNR), it does not necessarily preserve speaker-discriminative features. When an SE model over-cleans a signal, it may suppress the very frequencies that define a speaker's unique voice.

Moreover, the lack of transparency in commercial SV systems makes it difficult to train a universal front-end. A front-end that works for a ResNet-based SV model might fail for a TDNN-based one. LC4SV solves this by treating the SV model as a black box and focusing on a robust interpolation strategy.

The LC4SV Framework

The LC4SV architecture consists of two primary components: a Speech Enhancement (SE) unit and a Reinforcement Learning (RL)-based Interpolation Agent.

1. The SE Unit (DEMUCS)

The framework utilizes the DEMUCS architecture as its primary enhancement engine. The process involves two stages:

  • Pre-training: The model is first trained on signal reconstruction to ensure basic denoising capabilities.
  • Fine-tuning: The unit is then fine-tuned using a "proxy" SV model with an Angular Prototypical (AP) loss. This ensures the SE unit's output is optimized for speaker discriminability rather than just mathematical signal purity.

2. The RL-based Interpolation Agent

The core innovation of LC4SV is the Interpolation Agent. Rather than outputting the enhanced signal $\hat{S}$ directly, the framework calculates a weighted average of the enhanced signal and the original noisy signal $S$:

$$\tilde{S} = \alpha\hat{S} + (1-\alpha)S$$

The coefficient $\alpha$ is determined by an RL agent using Q-learning. The agent receives waveform embeddings (representing content) and SNR embeddings (representing noise levels) as inputs. It is trained to select an $\alpha$ that maximizes a reward function based on the cosine similarity of speaker embeddings. This allows the agent to learn exactly how much "cleaning" is beneficial for a specific audio clip before the artifacts begin to outweigh the benefits of noise reduction.

Experimental Methodology

To test the framework's ability to generalize to unseen models, the researchers evaluated LC4SV against two state-of-the-art architectures: RawNet3 and ECAPA-TDNN.

  • Training Data: The SE unit and RL agent were trained using the DNS-Challenge (noise), LibriSpeech-960 (clean speech), and VoxCeleb2 (speaker labels).
  • Evaluation Data: Performance was validated on Libri2Mix, the VOiCES dataset (known for reverberant, noisy environments), and the Vox1 test list.

Results and Key Insights

LC4SV demonstrated significant improvements over both unprocessed noisy audio and standard signal-reconstruction-based enhancement (SE-PTN).

Performance on Unseen Models

On the Libri2Mix dataset using the RawNet3 model, LC4SV achieved an Equal Error Rate (EER) of 8.755%. This is a notable improvement over the 9.153% EER of noisy speech. More importantly, it drastically outperformed standard SE, which resulted in a disastrous 19.631% EER due to artifact introduction. This confirms that the RL agent successfully "dilutes" harmful artifacts by re-introducing a portion of the original signal.

The "Less is More" Philosophy

The research highlights a critical counter-intuitive finding: a perfectly "clean" signal is not always optimal for SV. By maintaining a portion of the original noisy signal, the framework preserves critical speaker information that the SE model might have accidentally suppressed.

Generalization and Optimization

Even though the RL agent was trained using a single proxy SV model, it successfully improved performance on completely different architectures. Additionally, using RL allows the system to optimize for non-differentiable metrics like EER, which are calculated over batches and cannot be easily used in standard gradient descent.

Conclusion and Future Work

LC4SV provides a robust, universal front-end for speaker verification in noisy environments. By shifting the focus from pure enhancement to intelligent compensation, it bridges the gap between denoising and identity preservation.

Future iterations of the framework may explore:

  • Non-linear Interpolation: Moving beyond simple linear blending to frequency-dependent or non-linear combinations.
  • Reducing Computational Overhead: Optimizing the DEMUCS architecture for real-time applications on edge devices.
  • Proxy Refinement: Investigating how the choice of the proxy SV model during training affects the limits of generalization for the RL agent.

Summary updated

BibTeX
@inproceedings{lee2023lc,
  author = {Chi-Chang Lee and Hong-Wei Chen and Chu-Song Chen and Hsin-Min Wang and Tsung-Te Liu and Yu Tsao},
  title = {{LC4SV: A Denoising Framework Learning to Compensate for Unseen Speaker Verification Models}},
  booktitle = {ASRU},
  year = {2023},
  doi = {10.1109/asru57964.2023.10389793},
}
Figure