Muting Whisper: A Universal Acoustic Adversarial Attack on Speech Foundation Models

Vyas Raina, Rao Ma, Charles McGhee, Kate Knill, Mark Gales
5/9/2024
cs.CLcs.SDeess.AS

No official code found. Best implementation: rainavyas/prepend_acoustic_attack (41 stars, last commit 2025-01-22).

Abstract

Recent developments in large speech foundation models like Whisper have led to their widespread use in many automatic speech recognition (ASR) applications. These systems incorporate `special tokens' in their vocabulary, such as $\texttt{<|endoftext|>}$, to guide their language generation process. However, we demonstrate that these tokens can be exploited by adversarial attacks to manipulate the model's behavior. We propose a simple yet effective method to learn a universal acoustic realization of Whisper's $\texttt{<|endoftext|>}$ token, which, when prepended to any speech signal, encourages the model to ignore the speech and only transcribe the special token, effectively `muting' the model. Our experiments demonstrate that the same, universal 0.64-second adversarial audio segment can successfully mute a target Whisper ASR model for over 97\% of speech samples. Moreover, we find that this universal adversarial audio segment often transfers to new datasets and tasks. Overall this work demonstrates the vulnerability of Whisper models to `muting' adversarial attacks, where such attacks can pose both risks and potential benefits in real-world settings: for example the attack can be used to bypass speech moderation systems, or conversely the attack can also be used to protect private speech data.

View on arXivView PDF

Code Implementations(1)

Prepend universal audio attack segment to mute Whisper

4114Shell, PythonApr 9, 20241 years ago

Similar Papers

Cite this paper

@article{raina2024muting,
  title  = {Muting Whisper: A Universal Acoustic Adversarial Attack on Speech Foundation Models},
  author = {Vyas Raina and Rao Ma and Charles McGhee and Kate Knill and Mark Gales},
  year   = {2024},
  eprint = {2405.06134},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2405.06134v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2405.06134.svg)](https://codeofpaper.com/paper/2405.06134)

Discussion