Skip to main content
QUICK REVIEW

[Paper Review] Detecting Adversarial Examples for Speech Recognition via Uncertainty Quantification

Sina Däubener, Lea Schönherr|arXiv (Cornell University)|May 24, 2020
Adversarial Robustness in Machine LearningComputer Science1 citations
TL;DR

This paper proposes a robust defense for automatic speech recognition (ASR) systems against targeted adversarial attacks by leveraging uncertainty quantification in neural networks. It replaces standard feed-forward networks with Bayesian neural networks, Monte Carlo dropout, and deep ensembles to estimate predictive entropy, which effectively detects adversarial examples with an AUROC above 0.99, while also reducing model vulnerability to attacks.

ABSTRACT

Machine learning systems and also, specifically, automatic speech recognition (ASR) systems are vulnerable against adversarial attacks, where an attacker maliciously changes the input. In the case of ASR systems, the most interesting cases are targeted attacks, in which an attacker aims to force the system into recognizing given target transcriptions in an arbitrary audio sample. The increasing number of sophisticated, quasi imperceptible attacks raises the question of countermeasures. In this paper, we focus on hybrid ASR systems and compare four acoustic models regarding their ability to indicate uncertainty under attack: a feed-forward neural network and three neural networks specifically designed for uncertainty quantification, namely a Bayesian neural network, Monte Carlo dropout, and a deep ensemble. We employ uncertainty measures of the acoustic model to construct a simple one-class classification model for assessing whether inputs are benign or adversarial. Based on this approach, we are able to detect adversarial examples with an area under the receiving operator curve score of more than 0.99. The neural networks for uncertainty quantification simultaneously diminish the vulnerability to the attack, which is reflected in a lower recognition accuracy of the malicious target text in comparison to a standard hybrid ASR system.

Motivation & Objective

  • Address the growing threat of targeted adversarial attacks in automatic speech recognition (ASR) systems, particularly in safety-critical environments like smart homes and self-driving cars.
  • Improve ASR robustness by integrating neural network architectures capable of uncertainty quantification, reducing susceptibility to adversarial perturbations.
  • Develop a detection mechanism for adversarial examples that does not require adversarial training data or attack-specific tuning.
  • Evaluate the effectiveness of multiple uncertainty measures—entropy, variance, aKLD, and mutual information—in distinguishing benign from adversarial inputs.
  • Demonstrate that uncertainty-aware models not only detect adversarial examples more reliably but also exhibit lower attack success rates compared to standard models.

Proposed method

  • Replace standard feed-forward neural networks (fNN) in hybrid ASR systems with uncertainty-aware architectures: Bayesian neural networks (BNN), Monte Carlo dropout, and deep ensembles.
  • Compute four uncertainty measures on model outputs: predictive entropy, variance, averaged Kullback-Leibler divergence (aKLD), and mutual information (MI).
  • Train a one-class Gaussian classifier on uncertainty values from 1000 benign examples to model the distribution of normal predictions.
  • Classify new inputs as adversarial if their uncertainty measure falls into the low-probability tail of the learned Gaussian distribution.
  • Use PGD-based adversarial attacks with varying perturbation strengths (ϵ = 0.01 to 0.1) to generate adversarial examples for evaluation.
  • Evaluate detection performance using the area under the receiver operating characteristic curve (AUROC), with no need for adversarial examples during classifier training.

Experimental results

Research questions

  • RQ1Can uncertainty quantification in neural network architectures improve detection of adversarial examples in ASR systems?
  • RQ2Which uncertainty measure—entropy, variance, aKLD, or mutual information—most effectively distinguishes adversarial from benign audio inputs?
  • RQ3Do uncertainty-aware models (BNN, MC dropout, deep ensemble) reduce the success rate of targeted adversarial attacks compared to standard fNNs?
  • RQ4Does the proposed detection method generalize across different uncertainty-aware architectures without requiring attack-specific tuning?
  • RQ5How does detection performance vary with low-perturbation adversarial examples (e.g., ϵ = 0.02) that are harder to detect?

Key findings

  • The predictive entropy of model outputs achieves an AUROC of 0.998 on adversarial examples with ϵ = 0.02 and 0.990 with ϵ = 0.05, outperforming all other uncertainty measures across all models.
  • The standard feed-forward neural network (fNN) achieves an AUROC of 0.989 using only entropy, demonstrating that uncertainty estimation is effective even without specialized architectures.
  • Uncertainty-aware models (BNN, MC dropout, deep ensemble) reduce the targeted attack success rate, with the fNN showing a 50% higher target transcription accuracy at ϵ ≥ 0.05 compared to these models.
  • The entropy measure is the most stable and effective uncertainty indicator, while variance, aKLD, and MI show significantly lower performance across all architectures.
  • The one-class classifier based on Gaussian modeling of benign uncertainty values successfully detects adversarial examples without requiring any adversarial data during training.
  • The method generalizes well to low-perturbation attacks (ϵ = 0.02), maintaining high AUROC (>0.99) across all uncertainty-aware models, indicating robustness to subtle adversarial noise.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.