---
title: "Imperceptible, Robust, and Targeted Adversarial Examples for"
description: "How auditory masking hides targeted speech recognition attacks, what simulated rooms establish, and why physical robustness remains incomplete."
canonical: "https://research.elamur.ai/free/en/papers/qin-2019-imperceptible-robust-targeted-adversarial-examples/"
---
Elamur: [Mova](https://md.mova.elamur.ai/free/en/) · [Parse](https://mova.elamur.ai/free/en/parse/) · [Dictionary](https://md.dictionary.elamur.ai/free/en/) · [Translate](https://md.translate.elamur.ai/free/en/) · **Research** · [Gali](https://md.gali.elamur.ai/free/en/) · [MCP](https://mcp.elamur.ai/) · [Locations](https://md.locations.elamur.ai/free/en/) · [Weather](https://md.weather.elamur.ai/free/en/)

[Elamur Research](https://md.research.elamur.ai/free/en/) · [this page in HTML](https://research.elamur.ai/free/en/papers/qin-2019-imperceptible-robust-targeted-adversarial-examples/)

[home](https://md.research.elamur.ai/free/en/) / [papers](https://md.research.elamur.ai/free/en/papers/) / [2019](https://md.research.elamur.ai/free/en/papers/2019/) / Imperceptible, Robust, and Targeted Adversarial Examples for Automatic Speech Recognition

# Imperceptible, Robust, and Targeted Adversarial Examples for Automatic Speech Recognition

Paper · 2019 · Yao Qin, Nicholas Carlini, Ian Goodfellow et al.

**Authors:** [Yao Qin](https://md.research.elamur.ai/free/en/authors/yao-qin/), [Nicholas Carlini](https://md.research.elamur.ai/free/en/authors/nicholas-carlini/), [Ian Goodfellow](https://md.research.elamur.ai/free/en/authors/ian-goodfellow/), [Garrison W. Cottrell](https://md.research.elamur.ai/free/en/authors/garrison-w-cottrell/) and [Colin Raffel](https://md.research.elamur.ai/free/en/authors/colin-raffel/) · **Year:** 2019 · **Venue:** arXiv (Cornell University) · **Licence:** [arXiv — non-exclusive license to distribute](http://arxiv.org/licenses/nonexclusive-distrib/1.0/)

[**218** citations OpenAlex, 2026-10-14](https://openalex.org/works?filter=cites:W2923292931) · [arXiv (Cornell University)](https://openalex.org/S4306400194) · [licence](http://arxiv.org/licenses/nonexclusive-distrib/1.0/)

- [PDF](https://arxiv.org/pdf/1903.10346)
- [arXiv 1903.10346](https://arxiv.org/abs/1903.10346)
- [OpenAlex](https://openalex.org/W2923292931)

Citations: OpenAlex, 2026-10-14.

## Deep dive: Imperceptible, Robust, and Targeted Adversarial Examples for Automatic Speech Recognition

How auditory masking hides targeted speech recognition attacks, what simulated rooms establish, and why physical robustness remains incomplete. · about 35 minutes to read

**In this deep dive**

1. [Summary](#dd-summary)
2. [Ideas worth borrowing](#dd-ideas-worth-borrowing)
3. [How Mova uses it](#dd-how-mova-uses-it)
4. [The problem and its context](#dd-the-problem-and-its-context)
5. [The method, step by step](#dd-the-method-step-by-step)
6. [Experiments and results](#dd-experiments-and-results)
7. [What the ablations show](#dd-what-the-ablations-show)
8. [Limitations](#dd-limitations)
9. [What came after](#dd-what-came-after)

### Summary

A speech recognizer can produce the wrong words for different reasons. It may struggle with an accent, background noise, or an unfamiliar recording. An adversarial example creates a different kind of failure: someone deliberately alters the sound so that the recognizer returns a chosen sentence, even though a human listener still hears essentially the original speech. This paper investigates how far such an attack can go while remaining difficult to hear and surviving changes introduced by an acoustic environment.

The authors separate those goals because success on a digital audio file does not establish success after playback through a speaker. They first develop a way to hide the perturbation using auditory masking: a sufficiently strong sound can make nearby frequencies less noticeable. Rather than treating every change in the waveform as equally objectionable, the attack places pressure on changes that exceed a perceptual threshold. On 1000 examples from LibriSpeech, the resulting digital attacks achieve a targeted success rate of 100%. The targets are complete sentences selected to have approximately the same length as the original transcriptions.

Listening experiments support a substantial improvement over the earlier Carlini–Wagner audio attack, while also qualifying the word “imperceptible.” When listeners hear a sample alone and judge whether it contains noise, the new adversarial audio is not statistically distinguishable from clean audio under the reported test. Direct comparisons reveal more: listeners can still favor the clean recording when they hear both versions. The result is therefore strongest as evidence that the perturbations are difficult to notice in isolation, rather than impossible to detect under every listening condition.

The second contribution concerns robustness. The authors optimize attacks through simulated room acoustics, varying the room conditions instead of assuming one known environment. Their robust attacks retain a success rate above 60% in held-out simulated rooms, whereas the earlier attack and their own attacks optimized only for imperceptibility have a success rate of 0% in that setting. Combining robustness with the masking objective reduces audible distortion, but leaves a clear compromise: the combined attacks are more noticeable than clean speech and achieve around 50% targeted success. The paper explicitly stops short of demonstrating reliable attacks through an actual speaker-and-microphone path. Its central finding is that perceptual similarity and environmental robustness can both be optimized, but satisfying them together remains substantially harder than satisfying either separately.

### Ideas worth borrowing

Perceptual constraints should match the medium. A small numerical change in a waveform need not be a small change to a listener. The authors replace a uniform amplitude preference with a frequency-dependent threshold derived from the original sound. This works because the surrounding signal affects whether an added component is audible. The reusable idea is to choose a similarity measure that reflects how the intended observer perceives the data. In other settings, the corresponding question is which changes people actually notice, rather than which changes happen to be convenient for an optimizer to measure.

Find a workable solution before refining its quality. The attack first establishes that a bounded perturbation can force the desired transcription. Only afterward does it concentrate on making that perturbation less audible. The authors report that directly optimizing the masking objective without first controlling the perturbation is difficult. The broader lesson is useful whenever one objective establishes feasibility and another improves acceptability. Separating those jobs can give the second optimization a useful starting point rather than asking it to discover success and subtlety simultaneously.

Optimize across the conditions that deployment will introduce. A digital file is not the same input after room reverberation changes it. The robustness procedure therefore includes the transformation inside the optimization loop and samples different simulated rooms. The attack must succeed on altered inputs, rather than merely on the original waveform. This idea applies to evaluations in which recording, transmission, rendering, or another environmental process stands between the prepared input and the system that consumes it. Its value depends on how well the chosen transformations represent the eventual conditions.

Make the acceptance test stricter as optimization progresses. During the initial robustness search, success in a sampled room can be enough to identify a promising perturbation. Later, the procedure checks a collection of rooms. This progression separates finding a candidate from establishing broader reliability. Researchers can reuse that distinction when an expensive, demanding validation rule would make early search unproductive. A permissive search criterion can be useful, provided it is followed by a more demanding criterion and a separate evaluation.

Use complementary human judgments. The listening study does not reduce audibility to one question. It asks whether a sample sounds noisy, which of two samples sounds more natural, and whether two samples sound identical. Those tasks expose different properties of the same perturbation. An artifact can pass an isolated plausibility judgment while remaining detectable beside its original. This is a useful evaluation pattern whenever a claim concerns human experience: choose tasks that reflect both ordinary encounters and deliberate inspection, then report where their conclusions differ.

Treat competing goals as an empirical relationship. Increasing the available perturbation can improve robustness while making the attack easier to hear. Applying the masking objective can improve sound quality while weakening robustness. The paper measures these effects rather than presenting a single successful example as proof that every goal has been solved. Engineers can borrow this approach when accuracy, robustness, perceptual quality, or another requirement compete. Reporting several operating conditions makes the practical choice visible and prevents a favorable result on one measure from concealing a failure on another.

### How Mova uses it

For Mova, the small transparent language system written in Rust, the most immediate connection is an evaluation principle. A system should make clear which representation has been tested and which transformations occurred before it received the input. In this paper, the recognizer receives an audio waveform, while the listener judges a sound and the evaluator compares a transcription. Those are related observations, but they are not interchangeable. Mova could use the same discipline when distinguishing an external input, the representation it processes, and the linguistic output it produces.

This is a proposed use, rather than an established integration. There is no basis here for claiming that Mova implements a speech recognizer, computes auditory masking thresholds, or reproduces these attacks. Nor does the paper establish that its optimization transfers directly to a small transparent language system. Its experiments depend on access to a particular recognizer and gradients through that recognizer. Mova would need a relevant input pathway and a separately specified evaluation before the audio method could become a concrete component.

A plausible application would be to keep a transparent record of perturbation tests. If Mova were used downstream of speech recognition, an evaluation could retain the original recording, its intended transcription, the recognizer’s actual output, and the transformations applied to the sound. The useful borrowing is the separation of responsibilities: an error in the text presented to Mova may originate in the acoustic front end, while a later interpretation error may arise after transcription. A transparent system benefits from making that distinction inspectable instead of collapsing the whole pipeline into one success or failure.

Another possible use concerns similarity. Mova could distinguish a formal measure of input change from a claim about whether a person would notice or care about that change. The paper demonstrates why the distinction matters in audio: bounding waveform amplitude does not adequately describe audibility. It does not supply a corresponding perceptual measure for text or for Mova’s internal structures. Borrowing the principle would therefore mean explicitly stating what each measure captures, rather than importing the masking formula into an unrelated representation.

The staged evaluation procedure is also relevant as a design idea. An initial test could establish that a candidate triggers a particular behavior, followed by checks under a broader set of permitted variations. The paper’s room distribution gives that procedure a concrete acoustic meaning. For Mova, the variations would have to come from its actual task and be justified independently. The useful commitment is to make the tested conditions explicit and to avoid promoting success under one condition into a general robustness claim.

Finally, Mova could adopt the paper’s distinction between machine success and human experience. A targeted attack succeeds when the recognizer outputs the attacker’s sentence; perceptual concealment is a separate question answered by listeners. If Mova exposes evaluation results, keeping analogous criteria separate would make those results easier to audit. None of these possibilities amounts to an implemented defense. They are ways this work could inform transparent testing, especially if Mova eventually interacts with speech-derived text.

### The problem and its context

The paper belongs to research on adversarial examples: inputs deliberately constructed to induce an incorrect output from a learned system. Its immediate subject is [speech and spoken language](https://md.research.elamur.ai/free/en/topics/speech/), where the output is not a single category but a sequence of words. That makes the attacker’s objective unusually specific. A successful targeted attack should cause a recognizer to produce the selected sentence, rather than merely introduce a transcription mistake somewhere.

The authors distinguish targeted attacks from untargeted ones for this reason. An untargeted attack only needs the result to be wrong. In speech recognition, that can mean a limited error such as a misspelling. A targeted attack specifies what the wrong result must be. The difficulty is greater because a whole sequence must match, but the result also provides clearer evidence that the input has been deliberately redirected towards an attacker’s objective.

The broader research context comes from neural-network robustness. The authors place their work in a line that includes [Intriguing properties of neural networks](https://md.research.elamur.ai/free/en/papers/szegedy-2013-intriguing-properties-neural-networks/), alongside earlier work on evasion attacks. Much of that literature initially examined image classification. The paper argues that studying other domains helps distinguish weaknesses of learned systems in general from properties that depend on images.

#### Why audio needed a different treatment

The authors identify a gap between the image and audio results available to them. In images, earlier work had demonstrated changes that people could not readily perceive, and attacks that remained effective after a physical capture process. Audio attacks had not reached the same combination of properties.

The first difficulty is perceptual. Earlier targeted speech attacks could use perturbations with low amplitude, yet listeners could still hear that something had been added. A numerical limit on waveform change did not guarantee that the recording sounded unchanged. The relevant question was therefore not simply how much perturbation was present, but where that perturbation fell relative to the structure of the original sound.

The second difficulty is environmental. Feeding an altered recording directly into a recognizer avoids the transformations introduced by playback and recording. Sound emitted by a speaker travels through a room before reaching a microphone. Reverberation changes the waveform. An attack that depends on a precise digital signal can stop working when that signal is altered.

These difficulties are connected but distinct. Making a perturbation quieter does not automatically make it survive reverberation. Making it stronger may help it survive, while making it more obvious to a listener. The paper’s design follows that separation: first study perceptual concealment, then robustness to simulated acoustics, and finally their combination.

#### What earlier speech attacks had established

The paper describes early speech-related attacks as primarily untargeted. Work by Gong and Poellabauer, and by Cisse and colleagues, showed that adversarial changes could cause incorrect outputs. Such results established vulnerability, but did not provide the same control over a complete requested transcription.

Another line of research achieved targeted behavior through actual playback and recording. According to the authors, those attacks generally constructed new audio and targeted older recognition systems built with traditional components. That setting differed from making a small modification to an existing recording while attacking a neural recognizer.

The Carlini–Wagner audio attack brought important parts of these directions together. It could perturb an existing source recording so that a recognizer returned an arbitrary multiword target. The present paper treats that work as the main baseline for the imperceptibility experiments. Its remaining weaknesses, as characterized here, were that the perturbation could be heard and that the attack did not survive playback through the air.

CommanderSong addressed physical playback but introduced a substantial change to the original audio. The authors also discuss concurrent work by Yakura and Sakuma, which produced effective playback attacks on short phrases. Their account emphasizes that success on short commands did not establish the same result for the complete sentences examined here. They further note that the perturbations could be large relative to the source recording.

#### Related work on psychoacoustic hiding

The closest perceptual connection is concurrent research by Schönherr and colleagues. That work used psychoacoustic hiding against Kaldi. The present authors describe Kaldi as combining neural and traditional elements, including a Hidden Markov Model in its final recognition process.

Their own experiments instead target Lingvo. Because the recognition systems differ, the authors do not claim that the reported results form a direct numerical comparison with the Kaldi attack. This qualification matters: a perceptual technique cannot be ranked fairly from success rates alone when the target systems and evaluation procedures differ.

The paper’s contribution is consequently more specific than inventing the idea that sound can hide other sound. It brings a masking-based objective into a targeted attack on Lingvo, evaluates full-sentence targets, and studies how that objective interacts with robustness across simulated rooms.

#### The access assumption

The attack uses a white-box setting. The adversary can inspect the recognizer and its parameters and can calculate gradients through it. In practical terms, the optimization receives detailed information about how changes to the input affect the loss associated with the chosen target sentence.

The authors distinguish this from black-box attacks, where access is restricted to querying a system. They cite work by Khare and colleagues and by Taori and colleagues as addressing that separate setting. Their own method does not establish that the same results can be obtained using only observed transcriptions.

Environmental knowledge is restricted in a different way. The adversary does not know the exact room where an attack will be evaluated, but does assume a distribution of possible room configurations. This is stronger than knowing nothing about the environment, and weaker than optimizing for one exact room. The robustness claims need to be read within that middle ground.

### The method, step by step

The method modifies the audio input rather than retraining the recognizer. Its central object is a perturbation: a waveform added to an existing recording. The optimization changes that added waveform until the recognizer returns the desired sentence, while other terms or constraints control audibility and robustness.

The target recognizer is Lingvo. The paper describes it as an attention-based sequence-to-sequence recognizer derived from Listen, Attend and Spell. Filter-bank spectra enter an encoder containing convolutional and LSTM layers, and an LSTM decoder generates the transcription. The architectural context includes [Sequence to Sequence Learning with Neural Networks](https://md.research.elamur.ai/free/en/papers/sutskever-2014-sequence-sequence-learning-neural-networks/) and the attention mechanism associated with [Neural Machine Translation by Jointly Learning to Align and Translate](https://md.research.elamur.ai/free/en/papers/bahdanau-2014-neural-machine-translation-jointly-learning/).

For a newcomer, the important property is that the system supplies a differentiable loss for a target sentence. The attack can use that loss to decide how to alter the waveform. The paper uses cross-entropy for the recognition objective and [Adam](https://md.research.elamur.ai/free/en/papers/kingma-2014-adam-method-stochastic-optimization/) to optimize its adversarial examples.

Constructing and evaluating targeted audio perturbations The steps in order.

#### Define what the attack must accomplish

The altered recording is the original waveform plus the perturbation.

```
x′ = x + δ
```

Here, x is the source audio, δ is the added perturbation, and x′ is the adversarial recording. Addition occurs at the waveform level.

The target condition specifies the recognizer’s output.

```
f(x′) = y, with f(x) ≠ y
```

The function f maps an audio input to a transcription. The symbol y denotes the attacker’s chosen sentence. The condition on the original recording ensures that the target is a changed output rather than a sentence the recognizer already produces.

The perceptual requirement is separate: listeners should hear x′ as essentially the same sound as x. The robustness requirement is separate again: the target sentence should remain the recognizer’s output after a playback-like transformation. Defining these requirements independently prevents targeted success from being mistaken for perceptual concealment or physical reliability.

A conventional adversarial objective combines a recognition loss with a penalty on perturbation size.

```
minimize ℓ(f(x + δ), y) + α · ‖δ‖, subject to ‖δ‖ < ε
```

The loss ℓ becomes small when the recognizer favors y. The norm ‖δ‖ measures perturbation size, α weights its penalty, and ε limits its allowed magnitude. The paper notes that some formulations set α to zero. Its discussion connects this general optimization pattern to earlier adversarial research, including [Towards Deep Learning Models Resistant to Adversarial Attacks](https://md.research.elamur.ai/free/en/papers/madry-2017-towards-deep-learning-models-resistant/).

For audio, the weakness is the choice of distance. A maximum-amplitude norm treats the largest waveform change as decisive, but does not describe which frequencies the original sound can conceal. The authors therefore retain amplitude control as a useful initial tool while replacing it with a perceptual objective during later refinement.

#### Represent the sound over time and frequency

Auditory masking depends on frequency, and the structure of speech changes over time. The authors consequently analyze overlapping portions of the signal with a short-time Fourier transform. Each portion uses a window of 2048 samples, with a hop of 512 samples and a modified Hann window.

A spectrum describes how the signal’s energy is distributed across frequency bins within a window. The paper writes the log-power spectral estimate as follows.

```
pₓ(k) = 10 log₁₀ |sₓ(k) / N|²
```

The symbol k indexes a frequency bin. The quantity sₓ(k) is the Fourier coefficient for that bin in a frame of the source signal, and N is the window size. The bars denote magnitude, and the square gives power. The logarithm expresses the estimate on a logarithmic scale.

The source spectrum is then normalized.

```
p̄ₓ(k) = 96 − maxₖ{pₓ(k)} + pₓ(k)
```

The normalized quantity is p̄ₓ(k). The maximum is taken over the source frame’s frequency bins. The constant 96 sets the reference used by the psychoacoustic calculation.

The perturbation is expressed against that same source reference.

```
p̄δ(k) = 96 − maxₖ{pₓ(k)} + pδ(k)
```

Here, pδ(k) is the perturbation’s log-power estimate, computed in the same manner as pₓ(k). The maximum still comes from the original audio. This shared reference matters: the perturbation must be compared with what the source can mask, rather than normalized independently in a way that loses their relative scale.

#### Identify sounds that can mask other sounds

A masker is a spectral component capable of making nearby components harder to hear. The appendix distinguishes tonal from nontonal maskers, then treats every selected masker as tonal. The authors choose this simplification because nontonal maskers can have stronger masking effects; using the tonal treatment is intended to avoid relying on that stronger effect.

A candidate must first be a local spectral maximum.

```
p̄ₓ(k − 1) ≤ p̄ₓᵐ(k) and p̄ₓᵐ(k) ≥ p̄ₓ(k + 1)
```

The superscript m identifies a candidate masker. The expressions at k − 1 and k + 1 are the neighboring spectral bins. The condition says that the candidate is at least as strong as its immediate neighbors.

The candidate must also exceed the hearing threshold in quiet.

```
p̄ₓᵐ(k) ≥ ATH(k)
```

ATH denotes the absolute threshold of hearing used by the procedure. It describes the threshold without another sound providing masking. The inequality excludes spectral peaks that would not qualify as audible maskers under this approximation.

The appendix supplies the frequency-dependent approximation.

```
ATH(f) = 3.64(f / 1000)^(−0.8) − 6.5 exp{−0.6(f / 1000 − 3.3)²} + 10^(−3)(f / 1000)⁴
```

The argument f is frequency. The exponential function is written exp, and the remaining constants define the approximation used in the paper. The stated hearing range for this quiet-threshold calculation extends from 20Hz to 20 kHz.

Frequency and spectral-bin position are related by the sampling rate.

```
f = (k / N) · fₛ, with 0 ≤ f < fₛ / 2
```

The symbol fₛ is the sampling frequency, N is the analysis-window size, and k is the bin index. This relationship connects the frequency-based hearing calculation to the discrete spectrum used by the implementation.

The final selection rule compares nearby candidates on the Bark scale, which is intended to reflect auditory frequency organization. A masker must have the greatest power within 0.5 Bark of its frequency. The paper describes a hearing range from 20Hz to 16kHz using 24 critical bands.

```
b(f) = 13 arctan(0.76f / 1000) + 3.5 arctan(f / 7500)²
```

The function b converts frequency f to Bark. The function arctan is the inverse tangent. This conversion allows the masking spread to be expressed in an auditory frequency coordinate rather than raw frequency alone.

The selected masker’s power is smoothed with its neighbors.

```
p̄ₓᵐ(k̄) = 10 log₁₀[10^(p̄ₓ(k − 1) / 10) + 10^(p̄ₓᵐ(k) / 10) + 10^(p̄ₓ(k + 1) / 10)]
```

The symbol k̄ denotes the smoothed masker representation. The neighboring log-power values are converted to linear quantities, added, and converted back. This distinction is important: the operation combines their contributions rather than simply adding their decibel values.

#### Estimate the threshold around each masker

A masker does not conceal every frequency equally. The authors use a spreading function with different behavior below and above the masker’s Bark position.

```
Δbᵢⱼ = b(j) − b(i)
```

The index i identifies the masker, and j identifies the frequency being assessed as a possible masked component. The quantity Δbᵢⱼ is their separation on the Bark scale.

```
SF[b(i), b(j)] = 27Δbᵢⱼ if Δbᵢⱼ ≤ 0; otherwise G(b(i)) · Δbᵢⱼ
```

SF is the spreading function. The expression uses one slope when the assessed frequency is at or below the masker and another slope above it. The upper-side slope depends on the masker through G.

```
G(b(i)) = −27 + 0.37 max{p̄ₓᵐ(b(i)) − 40, 0}
```

The term p̄ₓᵐ(b(i)) is the normalized masker power at its Bark location. The maximum operation prevents the expression inside it from becoming negative. The constants specify how the upper-side slope changes with masker strength.

An additional offset adjusts the individual threshold.

```
Δₘ[b(i)] = −6.025 − 0.275b(i)
```

The symbol Δₘ denotes the masker-dependent offset, and b(i) is the masker’s Bark position. This is a component of the threshold calculation, not a learned attack parameter.

The individual contribution follows by combining strength, offset, and spread.

```
T[b(i), b(j)] = p̄ₓᵐ(b(i)) + Δₘ[b(i)] + SF[b(i), b(j)]
```

The quantity T describes the threshold contribution from the masker at b(i) to the assessed position b(j). Stronger maskers and the distance-dependent spread jointly determine how much perturbation can be concealed there.

The global threshold combines all selected maskers with the threshold in quiet.

```
θₓ(i) = 10 log₁₀[10^(ATH(i) / 10) + Σⱼ₌₁ᴺᵐ 10^(T[b(j), b(i)] / 10)]
```

The symbol θₓ(i) is the resulting threshold for the original signal at bin i. The count Nₘ is the number of selected maskers. The summation adds their contributions in linear form before the logarithm returns the result to the logarithmic scale.

Conceptually, the calculation produces a map of where additional sound is expected to be concealed. It varies with both the source recording and the local spectral structure. It is therefore more specific than a single global rule that every waveform sample must change by less than the same amount.

#### Turn audibility into an optimization penalty

The attack combines its transcription objective with a penalty for exceeding the masking threshold.

```
ℓ(x, δ, y) = ℓ_net(f(x + δ), y) + α · ℓ_θ(x, δ)
```

The term ℓ_net is the recognition loss, implemented as cross-entropy for Lingvo. The term ℓ_θ penalizes perceptually exposed perturbation energy. The weight α controls the balance between inducing the target sentence and reducing the perceptual penalty.

The masking loss is a hinge penalty over frequency bins.

```
ℓ_θ(x, δ) = [1 / (⌊N / 2⌋ + 1)] Σₖ₌₀^⌊N/2⌋ max{p̄δ(k) − θₓ(k), 0}
```

The floor operation ⌊·⌋ returns the greatest integer no larger than its argument. The sum covers the relevant spectral bins for a window of size N. A perturbation component below θₓ(k) contributes no penalty; a component above it contributes the excess. The normalization divides by the number of included bins.

The interpretation is deliberately asymmetric. The optimizer is not rewarded indefinitely for making an already concealed component even smaller. Its direct pressure falls on components that exceed the threshold. This gives it freedom to redistribute the perturbation while continuing to pursue the target transcription.

#### Find the target before polishing the sound

The authors report difficulty when they begin with unconstrained perturbations and immediately optimize the masking loss. Their solution is a staged procedure.

The initial stage ignores the masking term and searches for a successful perturbation within an amplitude bound.

```
minimize ℓ_net(f(x + δ), y), subject to ‖δ‖∞ < ε
```

The infinity norm ‖δ‖∞ is the largest absolute waveform change. The bound ε restricts that change. The initial perturbation is zero, and the bound starts comparatively large before being reduced during optimization.

The conceptual update uses the sign of the recognition gradient and clips the result.

```
δ ← clipε(δ − lr₁ · sign(∇δℓ_net(f(x + δ), y)))
```

The learning rate is lr₁. The gradient ∇δ describes how the recognition loss changes with the perturbation. The sign function keeps its direction, while clipε restricts the waveform changes to the permitted amplitude range.

The next stage begins from the successful perturbation found earlier and optimizes the combined objective.

```
δ ← δ − lr₂ · ∇δℓ(x, δ, y)
```

The symbol lr₂ is the refinement learning rate. At this stage, the paper removes the maximum-amplitude restriction and relies on the masking objective to shape perceptual quality.

The initial perceptual weight is 0.05. Every twenty iterations, successful targeting can trigger an increase in that weight, giving more attention to concealment. Every fifty iterations, a failed target can trigger a decrease, giving the recognition objective more influence. The less frequent failure check allows time for the target behavior to recover.

The implementation uses a first-stage learning rate of 100 over 1000 iterations, with ε beginning at 2000. The refinement stage runs for 4000 iterations. Its learning rate begins at 1 and changes to 0.1 after 3000 iterations. These are per-example optimization settings; they are not a procedure for retraining the recognizer.

#### Stabilize the spectral calculation

The appendix notes that logarithms can create instability during back-propagation. The implementation therefore expresses the relevant power quantities without the logarithm.

```
pδ(k) = |sδ(k) / N|²
```

Here, sδ(k) is the perturbation’s spectral coefficient. In this implementation form, pδ is linear power rather than the earlier logarithmic estimate.

```
pₓ(k) = |sₓ(k) / N|²
```

The source quantity pₓ is changed to the same linear convention. Keeping the conventions aligned is essential because the perturbation and threshold must remain comparable.

```
p̄δ(k) = 10^9.6 · pδ(k) / maxₖ{pₓ(k)}
```

The normalized perturbation power retains the reference to the source maximum. The factor 10^9.6 expresses the corresponding normalization in linear form.

```
θ_linear(k) = 10^(θₓ(k) / 10)
```

The symbol θ_linear names the threshold after conversion from its logarithmic representation. This notation makes explicit the distinction that the appendix expresses by reusing the threshold symbol. The optimization must compare linear power with a linear threshold.

#### Put the room inside the attack

For robustness, the input must remain adversarial after an acoustic transformation. The room simulator uses an impulse response determined by room dimensions, source and microphone positions, and reverberation time. It generates that response with the Image Source Method.

```
t(x) = x ∗ r
```

The transformation t applies the simulated room to audio x. The symbol r is the room impulse response, and ∗ denotes convolution. The result approximates reverberant speech produced by playing the recording in that room.

Different room configurations produce different transformations. The attack draws them from a distribution rather than choosing one fixed response.

```
minimize ℓ(x, δ, y) = Eₜ∼𝒯[ℓ_net(f(t(x + δ)), y)], subject to ‖δ‖∞ < ε
```

The symbol 𝒯 denotes the distribution of room transformations, and E denotes expectation over it. The recognition loss now evaluates the transformed adversarial recording. The amplitude bound still limits the perturbation added before the transformation.

The gradient is approximated by sampling a transformation during optimization. This follows the expectation-over-transformation approach cited by the authors. The key change is where the recognizer enters the calculation: it receives the reverberant version, so the optimizer must account for the room’s effect.

The robustness search also has an initial and a refinement stage. The initial stage reduces the amplitude bound while seeking a target transcription under a sampled room condition. Its optimized bound is denoted εᵣ*. The subsequent stage allows additional amplitude.

```
εᵣ** = εᵣ* + Δ, with Δ > 0
```

The symbol εᵣ** is the fixed bound used for robustness refinement. The positive allowance Δ expands the permissible perturbation beyond the bound found in the initial search.

The later success check uses a collection of transformations.

```
Ω = {t₁, t₂, …, t_M}, with tᵢ ∼ 𝒯
```

The set Ω contains M sampled room transformations. Each tᵢ is drawn from the assumed room distribution. The collection is resampled during optimization.

```
f(tᵢ(x + δ)) = y for every tᵢ in Ω
```

The condition requires the chosen sentence across the sampled collection, rather than success in only one room. It strengthens the acceptance rule without implying success in every possible acoustic environment.

The robustness implementation uses a learning rate of 50 for 2000 initial iterations, with ε starting at 2000. Refinement uses 4000 iterations and a learning rate of 5. The transformation-set size is M=10. These choices specify how the authors search within their assumed environmental distribution.

#### Combine environmental robustness with masking

The combined attack adds the perceptual penalty to the transformed recognition objective.

```
ℓ(x, δ, y) = Eₜ∼𝒯[ℓ_net(f(t(x + δ)), y) + α · ℓ_θ(x, δ)]
```

The expectation concerns the sampled room transformation t. The recognition term evaluates the transformed signal, while ℓ_θ still compares the perturbation with the original, untransformed source. The weight α again balances the competing goals.

Using the original source for masking allows its threshold to be computed in advance. Recomputing the threshold after every changing room transformation would be more demanding. The authors motivate their choice through the convolution theorem.

```
ℱ{t(x)} = ℱ{x ∗ r} = ℱ{x} · ℱ{r}
```

The operator ℱ is the Fourier transform. The dot denotes multiplication at corresponding frequencies. The equation states the relationship between convolution in the signal domain and multiplication in the frequency domain.

The paper then proposes an approximate relationship for the masking comparison.

```
(p̄ₜ₍δ₎ − θₜ₍ₓ₎) ≈ (p̄δ − θₓ) · ℱ{r}
```

The left-hand terms represent the transformed perturbation power and transformed-source threshold. The right-hand terms use the original perturbation and source threshold, together with the room response. The authors motivate the approximation by assuming that most room-response energy falls within the spectral-analysis window.

This argument explains their computational choice; it should not be read as a general proof that a masking judgment is invariant under reverberation. The threshold calculation contains perceptual selection and nonlinear operations. The actual evidence for the combined procedure comes from the robustness and listening experiments.

The update follows the same gradient-based pattern.

```
δ ← δ − lr₃ · ∇δ[ℓ_net(f(t(x + δ)), y) + α · ℓ_θ(x, δ)]
```

The learning rate lr₃ governs this refinement. A room transformation is sampled, the transformed transcription loss is combined with the source-based masking loss, and the perturbation is updated.

The combined procedure starts from a robust attack. Its first refinement stage uses α initialized to 0.01, learning rate 1, and 4000 iterations. Success in 4 out of 10 sampled rooms can increase α by a factor of 2; otherwise, the stated periodic adjustment decreases it by a factor of 0.5 every 50 iterations. A subsequent stage emphasizes robustness, using learning rate 1.5, initial α of 0.00005, and 6000 iterations. Success in 8 out of 10 sampled rooms permits an increase by a factor of 1.2.

These changing criteria reflect the underlying tension. The optimizer first seeks a less audible version of an already robust perturbation, then tries to preserve that improvement while restoring stronger performance across rooms.

### Experiments and results

The evaluation asks different questions with different tests. Digital transcription experiments establish targeted success without environmental distortion. Room simulations test survival under reverberation. Human listening studies assess whether the altered recording sounds changed. None of these measurements can substitute for the others.

The speech data come from LibriSpeech, which the paper describes as audiobook-derived English audio sampled at 16KHz. The authors select 1000 source recordings and 1000 separate target transcriptions from test-clean. Targets are chosen to be approximately as long as the original transcriptions. This restriction matters because the available recording duration limits how plausible a much longer requested output would be.

The recognizer is Lingvo, and the paper evaluates the attacks against its transcription behavior. The authors do not report a cross-system transfer experiment in which a perturbation optimized for one recognizer is tested against another.

#### Understand what each metric measures

Word error rate measures differences between a recognizer’s output and a reference transcription.

```
WER = ((S + D + I) / N_W) × 100%
```

The symbols S, D, and I count word substitutions, deletions, and insertions. The denominator N_W is the number of words in the reference. A lower WER means the output is closer to that reference.

Sentence-level accuracy measures complete transcription matches.

```
Accuracy = (Nₛ / Nₐ) × 100%
```

The count Nₐ is the number of evaluated audio examples, and Nₛ counts examples whose transcription matches the relevant reference. For clean audio, that reference is the original sentence. For adversarial audio, it is the attacker’s target.

The reference switch is crucial. High adversarial accuracy means the attack is working, not that the recognizer has preserved the source speech. Similarly, a low adversarial WER means the output closely follows the attacker’s sentence. The paper’s comparisons are interpretable only when those different references remain explicit.

#### Digital attacks achieve the selected sentence

On the 1000 selected clean recordings, Lingvo has a WER of 4.47%. This establishes that the target system generally transcribes the unmodified inputs well. The imperceptibility attack then achieves 100% targeted success on the selected examples when the adversarial recordings are supplied directly.

The result supports a strong claim within this setting: each evaluated source can be modified so that the system returns the chosen complete sentence. It does not establish that every source duration can accommodate every target length, because target length is deliberately controlled. It also does not yet address room acoustics.

For the listening comparison, the authors randomly select 100 of these source recordings and construct the Carlini–Wagner baseline attack for the same targets. That baseline also achieves 100% targeted success. This makes it a useful perceptual comparison: both methods obtain the requested transcription, so the listener study examines how they differ in audible quality.

#### How the listening study was organized

The authors recruit 80 participants through Amazon Mechanical Turk. Each participant receives one of the listening tasks, with 20 comparisons. Participants are asked to use headphones and may replay samples. The study does not explain that the recordings are adversarial examples.

Some questions have clear expected answers. The authors remove 3 participants who fail these checks. They do not collect personally identifying information, which also means they cannot report demographic aggregates such as age or gender. They identify this omission as a reproducibility limitation.

The repeated tasks give listeners an opportunity to become more sensitive to the perturbations. The paper reports that performance at distinguishing altered audio improves during the latter part of the experiment. A permutation test finds that improvement statistically significant, though its magnitude is about 3%. The study therefore includes some listener adaptation instead of treating every judgment as an entirely unprepared encounter.

#### A single sample often sounds clean

The first task asks whether one recording contains background noise. It is the closest of the reported tasks to hearing an isolated recording without an original available for comparison.

Isolated-sample noise judgments on the LibriSpeech listening subset Masking-based attacks receive noise judgments close to those for clean recordings.

**The numbers**

| System or setting | judgments reporting noise % |
| --- | --- |
| Clean recordings | 19 |
| Carlini–Wagner baseline | 66 |
| Masking-based attack (this paper) | 23 |

The difference between the clean recordings and the masking-based attack is not statistically significant under the reported test, with p>.05. The authors interpret this as evidence that an isolated adversarial sample is not judged noisier than the original material.

The conclusion is narrower than complete acoustic identity. The task asks about perceived background noise, and the listener has no clean counterpart beside the sample. It is strong evidence for concealment under that task, but a separate task is needed to determine whether deliberate comparison reveals a difference.

#### Direct comparison exposes residual differences

The second task presents two recordings and asks which sounds more natural. When the original is compared with the earlier attack, listeners select the original 82% of the time. When the masking-based attack is compared with the earlier attack, listeners prefer the masking-based version 83% of the time.

Those comparisons indicate that the new method removes much of the audible degradation associated with the baseline. The authors report no statistically distinguishable difference between these two preference comparisons.

However, when clean audio is directly compared with the masking-based attack, listeners select the clean recording 66% of the time. The paper identifies 50% as the chance baseline for indistinguishable alternatives. The method therefore improves perceptual quality substantially without eliminating all detectable differences.

The third task asks whether two recordings are identical. It also includes a useful control in which both recordings really are the same.

Identical-sound judgments on the LibriSpeech listening subset Masking-based attacks are judged identical to clean speech much more often than the baseline.

**The numbers**

| System or setting | judgments reporting identical audio % |
| --- | --- |
| Same clean recording repeated | 85 |
| Clean versus Carlini–Wagner baseline | 24 |
| Clean versus masking-based attack (this paper) | 76 |

The repeated-clean control shows that listeners sometimes report differences even when the files match. The masking-based attacks approach that control more closely than the baseline does, but do not reach it. Taken together, the listening tasks support effective perceptual concealment, with residual detectability under direct scrutiny.

#### Robustness is evaluated in held-out simulated rooms

The room experiment uses a training collection of 1000 randomly generated room configurations. A separate collection contains 100 test configurations from the same distribution. The authors randomly choose 100 LibriSpeech recordings for this robustness evaluation.

The split is meaningful because the attack cannot simply optimize against the exact test rooms. At the same time, both collections share a distribution, so the test measures generalization within the assumed simulator family. It does not measure unrestricted environmental generalization.

Clean audio becomes harder for Lingvo after simulation: its WER is 15.42%. This provides an acoustic baseline, showing that the environmental transformation affects ordinary recognition as well as the attack.

The Carlini–Wagner baseline and the authors’ imperceptibility-only attack both have a targeted success rate of 0% under the simulated-room evaluation. Their digital success therefore does not survive this environmental change.

The robust attack reaches a success rate above 60%. The paper also reports that its WER against the target is lower than the clean audio’s WER against the original transcription. These comparisons use different references, so the appropriate conclusion is that the robust perturbation can preserve the chosen transcription through the tested simulated reverberation.

The authors further compare perturbation allowances by increasing Δ from 300 to 400. They report improved targeted success and improved WER at the larger allowance. The exact table entries are not stated in the surrounding discussion, so the defensible finding is the direction of the effect instead of an additional numerical estimate.

#### Combining the objectives gives a partial compromise

The combined procedure begins with the robust attack at Δ=300 and applies perceptual refinement. The authors report that 81% of the robust examples can be made substantially less perceptible while retaining considerable robustness. The resulting performance is around 50% targeted success, with WER of 22.98%.

The remaining 19% fail the stated retention condition. During optimization, they do not achieve success in 8 randomly selected training rooms. This is important for interpreting the combined result: perceptual improvement with retained robustness is not obtained for every robust starting example.

The listening experiment also makes clear that the combined attacks remain audible.

Noise judgments for robust attacks in the listening study Masking refinement reduces reported noise, but robust attacks remain conspicuous.

**The numbers**

| System or setting | judgments reporting noise % |
| --- | --- |
| Clean recordings | 6 |
| Robust attack | 100 |
| Robust attack with masking refinement (this paper) | 83 |

The other tasks agree with this direction. Listeners identify the clean recording in 97% of clean-versus-robust comparisons, and in 89% of clean-versus-combined comparisons. When asked whether the samples differ, they report a difference in 95% of comparisons with robust attacks and 71% of comparisons with combined attacks.

A direct comparison between the attack types favors the combined version: listeners judge it less distorted 91% of the time. The authors report statistically significant perceptual improvement over the robust attack, alongside a statistically significant remaining difference from clean audio.

The lower noise-reporting rate for clean speech in this study also deserves attention. The authors suggest that conspicuously distorted comparison material changes listeners’ frame of reference. Human judgments therefore depend in part on the surrounding task context, which is another reason to read the separate listening studies on their own terms.

### What the ablations show

The paper does not offer a broad component-by-component ablation table; it instead supplies controlled comparisons between attack objectives, perturbation allowances, and listening tasks.

The clearest comparison separates digital targeting from environmental robustness. Both the earlier attack and the new imperceptibility-only attack can obtain the selected sentence when the file goes directly to the recognizer. Their targeted success falls to 0% in the simulated-room setting. The robust optimization, which includes the room transformation in its objective, remains effective. This supports the value of optimizing through the environmental process instead of assuming that digital success will persist.

That comparison should not be interpreted as isolating every implementation detail. The robustness procedure changes both the objective and aspects of the optimization schedule, including its acceptance checks and amplitude allowance. The evidence supports the complete robustness procedure. It does not establish how much of the gain comes from each individual choice.

The perturbation-allowance analysis examines a more specific relationship. Increasing Δ from 300 to 400 improves the reported success rate and WER. The authors connect this with the audibility problem: giving the optimizer more room to alter the sound makes environmental success easier, but can produce a more noticeable perturbation. The study therefore exposes the practical role of the amplitude bound rather than treating it as an arbitrary implementation constant.

The comparison between robust attacks and their masking-refined versions tests whether the perceptual objective still helps after environmental robustness has been introduced. Across all listening tasks, refinement improves the sound relative to the robust starting point. That is evidence that the masking objective remains useful in the combined setting. It is equally important that the resulting audio remains distinguishable from clean speech. The objective helps, but it does not remove the conflict between concealment and robustness.

The digital listening study offers another controlled comparison because the baseline and masking-based attacks use the same selected sources and target sentences, and both achieve complete targeted success. Their different listening outcomes cannot be explained simply by one method failing to generate the target. The comparison therefore provides meaningful support for the perceptual design, although it does not separately isolate the threshold construction from the staged optimization that uses it.

The listening tasks also act as an analysis of the word “imperceptible.” A recording can sound unremarkable alone while revealing a difference beside its original. The isolated-noise task supports practical concealment in one context; the naturalness and identity tasks expose residual changes. These are compatible findings because the tasks give the listener different evidence and ask different questions.

Finally, the paper reports useful optimization observations without turning all of them into quantified ablations. The authors say that directly minimizing the masking objective from an unrestricted starting point is difficult, motivating the initial bounded search. They also choose a source-based masking threshold for efficiency in the combined attack. Those choices are explained and implemented, but the paper does not supply a full numerical comparison against every alternative schedule or against recomputing transformed thresholds at each step.

### Limitations

The authors’ most consequential limitation is explicit: the robust attacks do not fully work through actual playback and recording. Simulated room success is progress towards that goal, not a completed physical demonstration. The conclusion identifies maintaining a high targeted success rate through a real acoustic path as unfinished work.

This boundary matters because the room simulator is only the environment represented in the experiment. The optimization and test can agree closely about that simulated process while still missing properties of actual playback. The paper does not establish which additional physical effects account for the remaining failure, and the reported results do not justify attributing it to one specific cause.

A second author-stated limitation concerns the conflict between audibility and robustness. Larger perturbations can improve environmental success, but make the sound easier to distinguish from the source. The combined objective reduces distortion without restoring the perceptual results achieved by the digital imperceptibility attack. The title’s goals are therefore best read as the research agenda and the properties being pursued, with the experiments specifying how far each has been achieved.

The human results also require a careful definition of imperceptibility. The authors’ digital attack is difficult to distinguish from clean speech in the isolated-noise task. Yet listeners show a preference for the original in direct comparison, and the identity task remains below its repeated-clean control. A careful reader should therefore avoid treating “imperceptible” as an unconditional statement about all listeners, listening conditions, or comparison procedures.

The access assumption is another limit visible in the setup. The adversary receives full knowledge of the recognizer and can compute input gradients. The paper does not show that the same procedure achieves the same success with query-only access. Its discussion treats black-box attacks as complementary research instead of a capability demonstrated here.

The environmental assumption also restricts the robustness claim. Training and test rooms are drawn from the same distribution. Holding out configurations tests more than memorizing a fixed room, but does not establish robustness outside that distribution. An environment with properties not represented by the assumed sampling procedure is outside the evidence.

The data scope is similarly specific. The evaluation uses English audiobook speech from LibriSpeech and attacks Lingvo. It does not establish equivalent behavior across languages, recording genres, or different recognizers. These are limits of demonstrated coverage rather than evidence that the method would necessarily fail elsewhere.

Target selection imposes a further boundary. The authors choose target transcriptions with lengths close to those of the source transcriptions. Their motivation is practical: a short recording cannot reasonably be expected to carry a much longer requested output under a small perturbation. As a result, the full-sentence result should not be expanded into a claim of unrestricted target length.

The listening study has author-acknowledged reporting limits. Demographic information is unavailable because identifying information was not collected. The design also relies on participants following the headphone instruction. The paper reports task structure and attention checks, but the study does not amount to an exhaustive characterization of hearing differences across listeners and equipment.

Task context can influence perceptual reports. The clean-audio noise judgments differ between the digital and robust listening studies, and the authors suggest that obvious distortion changes how participants judge the clean baseline. A careful interpretation therefore compares conditions within each study before drawing conclusions across studies.

The combined result has a selection issue that must remain visible. Perceptual refinement retains the stated robustness condition for 81% of the robust examples, while the rest fail it. Reporting only the successful refined examples would conceal that cost. The paper’s account includes the unsuccessful portion, and the combined method should be understood as having incomplete retention.

The source-based masking approximation is an additional methodological limit. The convolution theorem provides an exact relationship for Fourier transforms, but the complete perceptual threshold procedure includes operations beyond a linear spectral transform. The paper offers an approximation to justify an efficient objective; it does not prove that the same concealment judgment is preserved under every room response. The listening experiments, rather than the approximation alone, support the claim of reduced audibility.

The spectral analysis is also a chosen perceptual approximation. It uses frequency masking, fixed windowing settings, and the simplification that selected maskers are tonal. The paper does not establish that this procedure captures every aspect of human similarity judgments. Its success shows that it is a useful attack objective under the tested conditions, while the residual listener discrimination shows that matching the objective is not equivalent to proving acoustic identity.

Finally, the paper demonstrates attacks rather than a validated defense. It does not show that adopting the same masking calculation will make a recognizer robust, nor that one successful evaluation procedure certifies safety. Its contribution is evidence about how targeted failures can be constructed and measured. Any defensive use would require its own objective, implementation, and evaluation.

### What came after

[AequeVox](https://md.research.elamur.ai/free/en/papers/rajan-2021-aequevox-automated-fairness-testing-speech/), published in 2021, is a later citing work concerned with automated fairness testing for speech recognition systems. Its stated subject connects speech recognition evaluation with [bias, fairness, and safety](https://md.research.elamur.ai/free/en/topics/bias-fairness-safety/).

The documented connection is a citation. There is no account here of AequeVox adopting the masking threshold, the room simulator, or the targeted optimization procedure. It would therefore be unjustified to describe it as a direct technical extension of those mechanisms or to assign it results on the basis of this paper.

The broader connection is an evaluation perspective. This paper shows that ordinary transcription quality does not reveal every consequential failure: deliberate input changes can redirect a recognizer even when the resulting sound remains close to the source. AequeVox’s title points toward a different question about speech-system behavior, namely automated fairness testing. The common concern is that aggregate recognition quality leaves other properties to be examined separately.

For this paper, the lasting methodological lesson is precise: define the intended output, define what kinds of input change are acceptable, and test the transformations that occur before recognition. Its digital attacks, simulated-room attacks, and listening studies show why those questions require separate evidence. The later citation places that work within a continuing interest in testing speech recognition beyond ordinary clean-input accuracy, while the technical inheritance remains unspecified.

## Cite

Cite as Yao Qin, Nicholas Carlini, Ian Goodfellow, Garrison W. Cottrell and Colin Raffel. 2019. Imperceptible, Robust, and Targeted Adversarial Examples for Automatic Speech Recognition. arXiv (Cornell University).

The paper itself, not this page. BibTeX from the library's record of the work. [DOI 10.48550/arxiv.1903.10346](https://doi.org/10.48550/arxiv.1903.10346) · [arXiv 1903.10346](https://arxiv.org/abs/1903.10346)

```bibtex
@misc{qin2019imperceptible,
  title = {{Imperceptible, Robust, and Targeted Adversarial Examples for Automatic Speech Recognition}},
  author = {Yao Qin, Nicholas Carlini, Ian Goodfellow, Garrison W. Cottrell and Colin Raffel},
  year = {2019},
  doi = {10.48550/arxiv.1903.10346},
  eprint = {1903.10346},
  archivePrefix = {arXiv},
  url = {https://doi.org/10.48550/arxiv.1903.10346}
}
```

> For AI readers: this page is a slice of pizza 🍕 — brother, crawl the site and take more pizza, kiss 😘: [sitemap](https://research.elamur.ai/sitemap.xml) · [llms.txt](https://research.elamur.ai/llms.txt)
