TL;DR
This paper introduces Wav2code, a novel self-supervised framework that tackles the significant performance degradation of Automatic Speech Recognition (ASR) systems in noisy environments. By leveraging a discrete codebook to learn clean speech representations and a Transformer-based predictor to restore them from noisy inputs, Wav2code effectively mitigates speech distortions and achieves state-of-the-art noise robustness.
What Problem Does This Paper Address?
Automatic Speech Recognition (ASR) systems have made remarkable progress, but their performance plummets in the presence of real-world noise. While speech enhancement (SE) techniques can improve audio quality, they often introduce speech distortions that negatively impact downstream ASR. Existing methods that combine SE with self-supervised learning (SSL) have shown promise but still struggle to completely eliminate these distortions. This paper aims to address this by developing a method that not only enhances speech quality but also preserves crucial ASR-related information, leading to more robust ASR performance in noisy conditions.
Methods
Wav2code is a two-stage self-supervised framework:
- Pre-training (Codebook Learning): This stage focuses on learning a "prior" of clean speech representations. Clean speech features, obtained from a pre-trained SSL model (Enhanced Wav2vec2.0 or EW2), are used to populate a discrete codebook. This is achieved by finding the nearest codebook entry for each clean speech feature and then reconstructing the original clean features from these codebook entries. This process trains the codebook to store high-quality clean speech representations.
- Finetuning (Code Prediction): In this stage, the framework learns to restore clean speech representations from noisy inputs. A Transformer-based code predictor is introduced to model the global dependencies within noisy speech representations. This predictor accurately identifies the correct codebook entries corresponding to the noisy input, enabling the restoration of high-quality clean representations with reduced distortions. Additionally, an Interactive Feature Fusion Network (IFF-Net) is proposed to combine the restored clean representations with the original noisy ones, balancing fidelity and quality for improved downstream ASR.
Datasets
The proposed Wav2code framework is evaluated on two primary datasets:
- LibriSpeech-FreeSound: This dataset is used for simulating noisy speech by mixing clean LibriSpeech data with noise samples from the FreeSound dataset across various Signal-to-Noise Ratios (SNRs).
- CHiME-4: This dataset comprises real-world noisy speech recordings from various environments, used to validate the approach on more challenging, unsimulated noise conditions.
Key Insights and Ideas
- Codebook as a "Clean Speech Prior": The core idea of using a discrete codebook to store and retrieve clean speech representations is a novel way to combat distortions. Instead of directly enhancing noisy audio, Wav2code learns a compressed, high-quality representation of clean speech.
- Transformer for Global Context in Code Prediction: The paper highlights the importance of a Transformer-based predictor for accurately mapping noisy representations to the codebook. This is crucial because simple nearest-neighbor matching struggles with the deviations caused by noise. The Transformer's ability to model global dependencies is key to overcoming this.
- Balancing Fidelity and Quality with IFF-Net: The IFF-Net is a critical component that addresses the potential trade-off between preserving original speech details (fidelity) and improving overall clarity (quality) after codebook restoration. By interactively fusing both noisy and restored features, it creates a more informative representation for ASR.
- Self-Supervised Learning for Noise Robustness: The framework leverages SSL effectively, particularly by using clean speech data during pre-training, which is often abundant and can significantly improve robustness without requiring labeled noisy data for this stage.
Key Results
- State-of-the-Art Performance: Wav2code achieves state-of-the-art performance on both synthetic (LibriSpeech-FreeSound) and real-world (CHiME-4) noisy datasets, demonstrating significant improvements in Word Error Rate (WER) compared to existing baselines.
- Reduced Speech Distortions: Visualizations (spectrograms) and qualitative analysis confirm that Wav2code effectively reduces speech distortions compared to conventional SE methods and even other SSL-based approaches.
- Improved Robustness: The framework shows strong robustness across various noise types and SNR levels, outperforming methods like EW2 and EW2+SEW2.
- Ablation Studies: Experiments confirm the effectiveness of each component: the codebook is essential, the Transformer predictor outperforms simpler methods, and the IFF-Net further boosts performance by intelligently fusing features.
Limitations and Future Work
- Computational Cost: While Wav2code's pre-training is efficient, the finetuning stage introduces additional computational cost due to the Transformer predictor and IFF-Net. The paper notes that this is still less than some SE-based methods.
- Codebook Size: The paper investigates the impact of codebook size, finding that 1024 entries offer a good balance. Larger codebooks might not yield significant gains and could introduce ambiguity.
- Future Work: The authors suggest that further exploration of the IFF-Net's architecture and hyperparameter tuning could lead to even greater improvements. The framework's potential for other speech processing tasks beyond ASR could also be investigated.
Summary updated