On the Transferability of Whisper-based Representations for "In-the-Wild" Cross-Task Downstream Speech Applications

Vamsikrishna Chemudupati, Marzieh S. Tahaei, Heitor R. Guimarães, Arthur Pimentel, Anderson R. Avila, Mehdi Rezagholizadeh, Boxing Chen, Tiago H. FalkarXiv 2023 · DOI

Introduction

Recent advancements in speech processing have been driven by Self-Supervised Learning (SSL) models such as Wav2vec 2.0 and HuBERT. While these models excel in clean, laboratory-controlled environments, they often struggle with "in-the-wild" conditions—characterized by background noise and reverberation. Furthermore, SSL models optimized for Automatic Speech Recognition (ASR) often exhibit a "task bias," discarding non-linguistic information like speaker identity or emotional tone to focus on linguistic content.

This research investigates whether OpenAI’s Whisper, a model trained on 680,000 hours of weakly supervised, diverse audio data, can overcome these limitations. The study evaluates Whisper's transferability to non-ASR downstream tasks and its robustness to environmental degradation compared to traditional SSL baselines.

Methodology: Leveraging the Decoder

Unlike traditional encoder-only SSL models, Whisper employs an encoder-decoder architecture. The researchers propose using representations from the decoder for downstream tasks, hypothesizing that these layers contain richer, more task-agnostic information than the encoder alone.

The proposed architecture uses a weighted sum of Whisper's decoder representations for downstream tasks.

The evaluation framework utilizes the Whisper Base model (74M parameters). Two primary strategies were tested:

  1. Frozen Upstream: The Whisper model weights are locked, and a weighted sum of hidden states from the decoder is passed to a task-specific prediction head.
  2. Full Fine-tuning: The entire model is updated for the specific downstream task.

Experimental Setup and Robustness Testing

The models were evaluated using the SUPERB benchmark across four key tasks: Keyword Spotting (KS), Intent Classification (IC), Emotion Recognition (ER), and Speaker Identification (SID). To simulate "in-the-wild" conditions, the test sets were augmented with additive noise (from DCASE2020) and room impulse responses (from OpenSLR26) to create scenarios with noise (n), reverberation (r), and a combination of both (n+r).

Key Results and Insights

Superior Robustness to Environmental Noise

Whisper demonstrates remarkable resilience compared to SSL baselines. In the most challenging "Noise + Reverberation" scenario for Keyword Spotting, Whisper’s performance dropped by only 9.67%, whereas the standard Wav2vec 2.0 model saw a catastrophic drop of 41.52%.

Performance comparison under noisy and reverberant conditions, showing Whisper's superior robustness (lowest drop).

This robustness is attributed to the diversity of Whisper's 680k-hour training set, which includes a wide array of recording environments, forcing the model to learn features that are inherently more "environment-proof" than models trained on cleaner, unlabeled data.

State-of-the-Art Performance

When fully fine-tuned, Whisper Base outperforms larger SSL models on several benchmarks. It achieved 97.63% on Keyword Spotting, 99.45% on Intent Classification, and 68.87% on Emotion Recognition. Notably, it achieves these results with approximately 20 million fewer parameters than models like Wav2vec 2.0 Base (74M vs 95M).

The Speaker Identification Gap

A significant finding was the "SID Gap." When kept frozen, Whisper performs poorly on Speaker Identification (7.57% accuracy), likely because its ASR-centric training suppresses speaker-specific traits. However, full fine-tuning "unlocks" this latent information, boosting accuracy to 84.85%. This suggests that while the representations are initially biased, the underlying weights still capture essential speaker characteristics that can be recovered through task-specific training.

Conclusion

Whisper-based representations offer a powerful and robust foundation for a variety of speech applications beyond ASR. Its ability to maintain high performance in noisy, real-world settings makes it a superior alternative to traditional SSL models for "in-the-wild" deployments. Future work may explore more efficient fine-tuning methods, such as adapters, to mitigate the computational overhead of the encoder-decoder architecture.

Summary updated

BibTeX
@misc{chemudupati2023transferability,
  author = {Vamsikrishna Chemudupati and Marzieh S. Tahaei and Heitor R. Guimarães and Arthur Pimentel and Anderson R. Avila and Mehdi Rezagholizadeh and Boxing Chen and Tiago H. Falk},
  title = {{On the Transferability of Whisper-based Representations for "In-the-Wild" Cross-Task Downstream Speech Applications}},
  year = {2023},
  eprint = {2305.14546},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2305.14546},
}
Figure