Universal Acoustic Adversarial Attacks for Flexible Control of Speech-LLMs

Rao Ma, Mengjie Qian, Vyas Raina, Mark Gales, Kate Knill

TL;DR

This paper introduces "universal acoustic adversarial attacks" that can manipulate speech Large Language Models (LLMs) by prepending a short, fixed audio segment. They demonstrate that these attacks can either mute the model's output or force it to perform a different task, and crucially, can be made "selective" to only affect inputs with specific attributes like speaker gender or language. This work highlights significant vulnerabilities in current speech LLMs, urging the development of more robust defenses.

What Problem Does This Paper Address?

Speech LLMs, which combine powerful language models with speech encoders, offer unprecedented flexibility for various spoken language tasks. However, this very flexibility makes them susceptible to adversarial attacks. While previous work has explored attacks on simpler Automatic Speech Recognition (ASR) systems, the advanced capabilities and complex architectures of speech LLMs, particularly their ability to follow instructions and handle diverse tasks, remain largely underexplored in the context of adversarial manipulation. This paper aims to bridge this gap by investigating universal acoustic adversarial attacks that can control the behavior of these sophisticated speech LLMs, even without direct access to their internal workings or prompts during inference.

Methods

The core of this research is the development of "universal acoustic adversarial attacks." These attacks involve learning a short, fixed audio segment that, when prepended to any input speech, can alter the model's output. The authors propose two main types of attacks:

  • General Attacks:
    • Muting Outputs: The adversarial audio is designed to cause the model to produce no output, effectively silencing it. This is achieved by training the model to output an "end-of-transcription" token as early as possible.
  • Task Control: The adversarial audio overrides the original prompt, forcing the model to perform a different task than instructed. This can be trained using either manual reference transcripts ("Attack-ref") or the model's own generated hypotheses ("Attack-hyp").
  • Selective Attacks: This is a novel contribution where the adversarial attack is conditional. It only activates when specific input attributes (like speaker gender or spoken language) are present, leaving other inputs unaffected. This allows for fine-grained control over the model's behavior. The authors demonstrate this by selectively muting outputs based on gender or language.

The attacks are learned using a white-box approach (access to model parameters and gradients) on a small development set, but are applied in a black-box manner during inference (no model access needed). They also explore imperceptibility by applying an L-infinity norm constraint to the adversarial audio segment.

Datasets

The experiments were conducted using the following datasets:

  • LibriSpeech: Used for training and evaluating general attacks and gender-based selective attacks.
  • FLEURS: A multilingual dataset used for evaluating language-based selective attacks across English, French, German, Japanese, and Chinese.
  • TED-LIUM3, MGB3, and Artie bias corpus: Used for evaluating the transferability of learned attacks across different English ASR datasets.

Key Insights and Ideas

  • Speech LLMs are Highly Vulnerable: Even without access to prompts or internal model details at inference time, a fixed adversarial audio segment can effectively alter model behavior.
  • Muting and Task Hijacking are Feasible: Universal attacks can reliably mute speech LLMs or force them to perform unintended tasks, posing significant risks for content moderation and system integrity.
  • Selective Attacks Enable Fine-Grained Control: The ability to selectively mute or alter outputs based on attributes like gender or language is a critical vulnerability, opening doors for discriminatory manipulation.
  • Attack-hyp is a Practical Alternative: Training attacks using the model's own generated hypotheses ("Attack-hyp") is effective and avoids the need for manual annotations, making it more scalable.
  • Imperceptibility is Achievable with Minimal Performance Loss: Applying L-infinity norm constraints to make adversarial audio imperceptible does not significantly degrade attack effectiveness, making them more practical for real-world deployment.

Key Results

  • High Muting Success Rates: Attacks achieved over 95% success rates in muting Qwen2-Audio and Granite-Speech models, especially with longer adversarial segments (3.2 seconds).
  • Effective Task Control: The task control attack successfully redirected models to perform English ASR even when prompted for French translation, with minimal impact on ASR quality (low WER).
  • Selective Attack Efficacy:
    • Gender-based attacks achieved high muting rates for targeted genders (e.g., 92.2% for female speakers in Mute-female setting).
  • Language-based attacks successfully suppressed targeted languages while largely preserving others.
  • Transferability: Learned attacks demonstrated good transferability across different datasets and tasks, highlighting their generalizability.

Limitations and Future Work

  • Model Dependency: Attacks were primarily evaluated on Qwen2-Audio, and further experiments across diverse models are needed to confirm generalizability.
  • White-Box Training: The current attacks require white-box access during training. Exploring black-box scenarios is a crucial next step.
  • Robustness to Noise: While the attack showed resilience to Gaussian noise, further investigation into robustness against real-world environmental variations is needed.
  • Defense Mechanisms: The paper strongly advocates for the development of more robust training strategies and defense mechanisms to counter these vulnerabilities. Future work could explore hybrid defense architectures that combine external sanitization modules with model-level defenses.

Summary updated

BibTeX
@inproceedings{ma2025universal,
  author = {Rao Ma and Mengjie Qian and Vyas Raina and Mark Gales and Kate Knill},
  title = {{Universal Acoustic Adversarial Attacks for Flexible Control of Speech-LLMs}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2025},
}
Figure