Tuner: Backdoor attacks on speaker recognition systems at the voiceprint enrollment stage via adversarial ultrasoundEnrollment-stage Backdoor Attacks on Speaker Recognition Systems via Adversarial Ultrasound
The authors propose TUNER, which injects a backdoor using inaudible ultrasound during the registration phase of a voiceprint recognition system; the authors claim it is effective against 7 models in a black-box setting and that the physical attack distance reaches 6m.
The attacker's goal is to inject a backdoor into the victim's voiceprint during the enrollment phase, so that both the attacker and the legitimate user can pass recognition. Knowledge: black-box, no gradients or metadata of the target SRS, but the victim's audio can be secretly recorded in advance. Capability: can query the target SRS using ultrasonic modulation (e.g., by renting a device of the same model), play the ultrasonic backdoor nearby during enrollment, and covertly deploy an ultrasonic transmitter. The victim system is a commercial SRS.
- Voiceprint recognition systems (SRS) already have training-phase backdoor attacks and recognition-phase adversarial example attacks, but the former requires access to training data, and the latter emits audible sound and is easily detected. The authors focus on the registration phase as a new attack surface: whether a backdoor can be injected using inaudible ultrasound when a user registers their voiceprint.
- Proposes TUNER: a backdoor composed of sparse-frequency sinusoidal tones is modulated onto an ultrasonic carrier and injected via microphone nonlinear demodulation; during optimization, random augmentation of content, timing, volume, distance attenuation, and room impulse response is introduced, NES is used to estimate black-box gradients, and pre-compensation and single-sideband modulation are adopted to mitigate signal distortion.
- Digital and physical experiments are conducted on 7 SRS models and 2 main datasets. The authors report: under digital attack on ECAPA-TDNN with a 4s duration, ASR reaches 100% for all three tasks; under physical attack on Pixel, average ASR is 96.7%, and it may still be effective at 600cm; it can bypass most defenses, but median filtering can reduce its ASR to 65.8% (kernel=5), and adaptive attack can bring it back up.
- The authors point out: each trigger is effective only for a specific victim-attacker pair, making it difficult to support multiple attackers simultaneously; transfer effectiveness degrades on large models such as WavLM-Xvec; and effectiveness may weaken when the SRS continuously updates its voiceprint database. Experiments were conducted in a quiet environment (36–40dB), and the paper does not report the number of queries required for optimization.
- Evaluated models
- ECAPA-TDNNPyannoteU-LevelWavLM-XvecSpeakerNetD-vectorResNet34
- Benchmarks
- VoxCeleb1LibriSpeechAISHELL-1MLS ItalianMLS GermanMLS FrenchFreesoundAachen impulse response (AIR) databaseFluent Speech Commands
- Metrics
- ASRACCEER
A Zhejiang University research team proposes Tuner, a backdoor attack targeting the enrollment phase of speaker recognition systems. While a legitimate user records their voiceprint, it injects an adversarial signal via inaudible ultrasound, causing the poisoned voiceprint to simultaneously admit the legitimate user and the attacker. The attack requires no synchronization, is independent of speech content, and applies to black-box models; it suppresses signal distortion through sparse frequency points, pre-compensation, and single-sideband modulation, and estimates gradients using a natural evolution strategy. On seven models across the VoxCeleb1 and LibriSpeech datasets, a 4-second backdoor achieves a 100% attack success rate for ECAPA-TDNN across three tasks: speaker verification, closed-set identification, and open-set identification; backdoors generated from open-source models exceed 95% accuracy and attack success rate against most unseen black-box models, and physical experiments cover attack distances from 50 to 600 centimeters. Tuner can bypass almost all tested defenses, including VAD and MP3 compression; the paper concludes by discussing countermeasures such as ultrasonic carrier cancellation and sound-field authentication.
Why it was selectedThe paper extends voiceprint backdoor attacks from the training stage to the enrollment stage, using inaudible ultrasound to achieve black-box injection and bypass almost all test defenses.
Paper analysis
What problem does this paper attempt to solve?
The authors propose a new attack surface that injects a backdoor using inaudible ultrasound during the SRS registration phase, requiring no access to training data or white-box knowledge.
Core question: Can a backdoor be injected into a victim's voiceprint using inaudible ultrasound during the registration phase of a voiceprint recognition system (SRS), so that the attacker can subsequently pass recognition with high confidence.
- Scenario and importance: SRS is already used for identity authentication and access control in voice assistants and online banking. The authors believe existing attacks each have prerequisite limitations, and the registration phase is an as-yet-unexplored attack surface.
- Shortcomings of existing methods: the authors state that most backdoor attacks presuppose access to the target system's training data; spoofing attacks and adversarial example (AE) attacks emit sounds audible to humans, which may be noticed when the victim is present; some attacks also require white-box knowledge that commercial systems do not provide.
- Core observation and challenge: inaudible voice attacks can exploit microphone nonlinearity to make a microphone receive an audible signal using ultrasound. However, the authors found that directly transmitting an ultrasonic version of the victim's speech is infeasible: on 4 SRS models, the average similarity of direct inaudible attacks is only 0.240∼0.323 (all below the threshold), whereas audible replay is 0.692∼0.770 (Fig. 4), due to signal distortion and processing instability.
- Proposed approach: TUNER modulates a backdoor composed of simple tones at sparse frequency points onto an ultrasonic carrier, contaminating the voiceprint at registration; the optimization process applies random augmentation to speech content, timing, and volume, and uses sparse frequency points, pre-compensation, and single-sideband (SSB) modulation to improve physical robustness.
- Threat model (Sec. II-C):
- Goal: contaminate the voiceprint registered by the victim so that both the attacker and the legitimate user can subsequently pass recognition with high confidence.
- Knowledge: black-box—the attacker does not know the target SRS's gradient information or other metadata; it is assumed the attacker can secretly record or collect audio samples of the victim in advance.
- Capability: can query the target SRS using ultrasound-modulated generated backdoors (e.g., by renting a phone or smart speaker of the same model); can play the ultrasonic backdoor near the user during registration; can covertly deploy an ultrasonic transmitter so that the victim device is within attack range.
- Victim system: commercial SRS, covering three task types: SV, CSI, and OSI.
What related research exists?
Related work is divided into three groups: training-phase backdoors, recognition-phase adversarial examples, and inaudible voice attacks; the authors claim TUNER requires no training data and covers all three task types.
Backdoor Attacks in the Training Phase
- Zhai et al. [4]: a digital backdoor attack against speaker verification (SV), poisoning training samples with a single-tone signal (e.g., 1 kHz).
- Koffas et al. [69]: injects a high-frequency trigger (e.g., 23 kHz at a 48 kHz sampling rate) into training audio; the authors point out that most VoIP audio formats are limited to within 16 kHz.
- PhaseBack [70]: hides the trigger in the phase spectrum; the authors state that in their measurements it still has slight electrical noise and poor physical applicability. The authors point out that these three training-phase backdoors can all be effective under black-box models, but all rest on the strong assumption of access to training data (Tab. X).
Adversarial Example Attacks in the Recognition Phase
- Abdullah et al. [71]: attacks speaker recognition by modifying signal-processing-layer features such as MFCC; the authors state that its noise is strong and easily alerts the victim.
- Mainstream AE attacks [9, 10, 72–74]: incorporate imperceptibility constraints (ϵ or L2-norm) into optimization to generate perturbations, including white-box and black-box (FakeBob [74]) settings; the authors state that they are relatively fragile in real scenarios and effective only in the near field (Tab. X lists a physical range of 0.3m∼2.7m).
- AdvPulse [9]: a universal, synchronization-free targeted audio adversarial attack, with a physical range of 2.7m (Tab. X).
Inaudible Speech Attacks
- DolphinAttack [11], Roy et al. [32], SurfingAttack [34], CapSpeaker [33]: exploit microphone nonlinearity to inject inaudible speech commands; subsequent work extends the attack distance to 25 ft, propagates through solid materials, or injects via capacitance.
- Vrifle [64]: the authors state it is the first ultrasonic adversarial perturbation attack that can manipulate ASR in real time. The authors point out that existing inaudible speech attacks suffer large audio quality loss after demodulation, have poor effectiveness against speaker recognition, and are markedly affected by the placement of the attacked device.
Baselines and Comparisons
- The paper has no baseline methods for comparing attack effectiveness; comparison with existing work is presented as a feature comparison in Tab. X (attack phase, knowledge, task, imperceptibility constraint, audibility, synchronization-free, physical range). The comparison methods in the defense evaluation are six preprocessing defenses—VAD, quantization, MP3 compression, band-pass filtering, median filtering, squeezing—as well as the inaudible speech attack detection methods LipRead [32] and NormDetect [49].
The authors position TUNER as attacking the enrollment phase rather than the training phase, so it does not require access to training data, while retaining black-box capability and covering all three task types: OSI, CSI, SV (Tab. X).
How does the paper address this problem?
TUNER modulates a sparse-frequency sine-tone backdoor onto ultrasound via SSB, and optimizes it using multi-factor random augmentation and NES black-box gradient estimation.
Overall approach: the backdoor baseband signal is designed as a combination of sine tones at sparse frequency points, modulated onto a 25 kHz ultrasonic carrier for transmission, and demodulated into the audible frequency band by microphone nonlinearity, contaminating the user's voiceprint at registration. TUNER's optimization simultaneously satisfies five objectives (G1–G5): efficient construction, generality (content-independent, synchronization-free), physical robustness, black-box usability, and signal transmission fidelity (Fig. 7).
Problem Formulation
- The backdoor is defined as p = ∑m=1M∑n=1N An · sin(2π Kn Tm), i.e., a sine combination of M segments with N frequency points per segment; the optimization variables are the amplitude matrix A and the frequency matrix K.
- Optimization objective (Eq. 1): L(x, p) = −α1 S(x̃, Xvictim) − α2 S(x̃, XTUNER), where x̃ = x + p is the mixed signal recorded at registration and S is cosine similarity; the meaning is to make the contaminated voiceprint close to both the victim's voiceprint and the backdoor voiceprint, so that both parties can pass recognition.
Backdoor Construction
- Equal-amplitude initialization: all entries of A are identical, set to the average of the maximum amplitudes of secretly collected victim speech samples (Eq. 2); the authors' empirical experiments show that TUNER converges more easily when its time-domain volume is similar to the victim's speech.
- L1 frequency sparsification: the frequency matrix K initially contains multiple frequency components; an L1 regularization term is added during optimization (Eq. 3), causing unimportant An to automatically go to zero, achieving selection of frequency points from dense to sparse; this mitigates signal distortion during ultrasonic transmission. K is not optimized simultaneously, to avoid convergence oscillation.
Generality and Physical Robustness
- Content-independent: the same trigger is optimized over multiple victim utterances v ∈ V (Eq. 4); the authors claim they pre-verified that TUNER is effective for every utterance in V.
- Synchronization-free: a parameter t is introduced so that the backdoor can be superimposed at any starting point of the victim's speech (within a preset time range T), simulating the attacker transmitting at any moment during registration (Eq. 5).
- Ultrasonic attenuation modeling: modeled as power-law frequency-dependent attenuation, with a 25 kHz carrier and distance d randomly in [0.3m, 2m] (Eq. 6).
- Victim factor enhancement: relative volume enhancement introduces a parameter β ∈ [0.5, 2] to constrain the relative power ratio between the backdoor and the victim's speech; random room impulse responses (RIR) from the AIR database (small, medium, and large rooms) are used to simulate environmental reverberation (Eq. 7).
Black-Box Optimization and Signal Transmission
- NES gradient estimation: in the black-box setting, natural evolution strategies (NES) estimate the gradient by querying the target SRS's similarity score through symmetric sampling ±δi (Algorithm 1); number of samples n = 15, σ = 0.08. The overall generation process is shown in Algorithm 2, using Adam to adaptively optimize A.
- Pre-compensation: the microphone frequency response Hr(f) of the recording device and the response Ht(f) from transmission to the recording device are first analyzed, and an inverse filter is used to compensate for distortion before modulation; Hr(f) and Ht(f) are averaged after analysis on multiple recording devices.
- Single-sideband modulation (SSB-AM): compared with the double-sideband (DSB-AM) of traditional inaudible voice attacks, SSB removes one sideband based on the Hilbert transform; the authors claim it saves power, has a narrower bandwidth, and mitigates intermodulation distortion.
What experiments did the paper conduct?
Numbers and physical experiments on 7 models and 6 datasets, plus testing of 7 defenses; digital attack ASR reaches up to 100%, and it may still be effective at 600cm physically.
Experimental Setup
- Models evaluated: 7 in total: ECAPA-TDNN, Pyannote, U-Level, WavLM-Xvec, SpeakerNet, D-vector, ResNet34; ECAPA-TDNN is the primary target model, with threshold θ = 0.688 (determined by EER on LibriSpeech, Tab. II).
- Datasets: main datasets VoxCeleb1 and LibriSpeech; cross-lingual experiments additionally use AISHELL-1 (Chinese), MLS Italian, MLS German, MLS French; for each dataset, 3 female and 3 male victims are randomly selected, 6 in total (Tab. I).
- Sample size: for each victim, 3 utterances are secretly recorded and 5 ultrasonic backdoors are generated; additionally, 20 unseen utterances are used for testing.
- Metrics: ASR (proportion of attacker samples accepted), ACC (proportion of legitimate users correctly recognized).
- Tasks: three types: SV, CSI, OSI; all experiments are under the black-box setting (estimating gradients rather than using explicit gradients).
- Hardware: Keysight EXG signal generator, ultrasonic transducer array, NF HSA4015 power amplifier; physical experiments use Pixel for reception by default, with ambient noise of 36∼40dB.
Main Results
Performance of different models under digital attack (according to Tab. III and Tab. V; Tab. V is a transfer experiment where backdoors are generated on ECAPA-TDNN and directly attack other unseen black-box models; the backdoor duration used for generation is in parentheses):
Swipe horizontally to read the table
Target model Task ACC ASR Source ECAPA-TDNN SV / CSI / OSI ≥97.1% (as stated by the authors) average 95.6% (SV) to 99.4% (CSI) Tab. III Pyannote SV / CSI / OSI ≥98.9% (as stated by the authors) average 98.9% (SV&OSI) to 99.6% (CSI) Tab. III Pyannote (1.5s) SV 99% 99% Tab. V U-Level (2.0s) SV 99% 98% Tab. V WavLM-Xvec (4.0s) SV 96% 41% Tab. V SpeakerNet (3.5s) SV 89% 71% Tab. V D-vector (2.5s) SV 98% 97% Tab. V ResNet34 (2.0s) SV 99% 98% Tab. V - The authors state that TUNER has transferability, with ACC/ASR exceeding 95% on most unseen models; WavLM-Xvec is an exception (ASR 41% on SV, 40% on OSI), and the authors point out that its parameter count is 316.62M, far larger than ECAPA-TDNN's 6.2M, and consider that such large models may not actually be deployed on lightweight devices.
- The authors state that different models require different backdoor durations (poisoning rates): attacking Pyannote requires only 1.5s to approach 100%, whereas attacking WavLM-Xvec requires the duration to be maxed out at 4s.
Factors Affecting Digital Attack
- Backdoor duration (Fig. 9, ECAPA-TDNN): for durations from 1.5s to 4s, ACC is always 100%; at 4s, ASR reaches 100% in all three scenarios; at 1.5s, ASR is about 0.24.
- Victims and languages (Fig. 10, Fig. 12): across 6 speakers, average ASR is 95.9%∼99.8% and ACC is 97.2%∼100%; across five languages (Pyannote fine-tuned per language), the minimum ACC and ASR exceed 92.5% and 93.3%, respectively, with average maxima reaching 97.4% and 97.7%.
- Victim utterance length (Fig. 11, TUNER fixed at 3.5s): ACC is almost always 100%; ASR decreases as the victim utterance becomes longer, and at 6.0s utterances ASR is still 81%. The authors attribute this to average pooling diluting the proportion of the backdoor across the frames of the entire utterance.
Physical Attack
- Environment (Fig. 14): three spaces—small office, medium lounge, large conference room—all have ASR ≥91.7%; in the corner case of 2m far-field enrollment, ACC is 90%, 78.3%, 70%, and ASR is 91.7%, 98.3%, 91.7%.
- Distance (Fig. 15 and the statement in Fig. 16(a) of the main text): 50∼600cm, ACC is ≥92% throughout; at 400cm, ASR for CSI is still ≥96%; at 600cm the authors state it may still be effective, and adjusting β to [1.5, 3] can raise ASR to 89%.
- Noise, angle, device (Fig. 16): among four ambient noises, the bedroom fan has the least impact (ACC/ASR still exceed 91%/93%); under office keyboard noise, ACC for OSI is 80% and ASR is 87%; at 0° facing directly, ASR is higher, and ACC is ≥92% throughout; on Pixel, average ACC is 95% and ASR is 96.7%; on Reno5, ACC is 95.7% and ASR is 87.8%.
Defense Evaluation
- Six preprocessing defenses (Pyannote, Tab. VI–VIII): under the naive attacker, VAD, MP3 compression, and quantization hardly reduce ASR (all ≥97.6%); under band-pass filtering and squeezing, most ASR values are ≥93.8% in each setting.
- Median filtering and adaptive attack (Tab. IX): under the naive attacker, ASR drops to as low as 65.8% (kernel=5); after incorporating median filtering into optimization, the authors state that the adaptive attacker can raise ASR by at least 18.5% (from 65.8% to 84.3% on SV with kernel=5).
- Inaudible speech attack detection: the success rate of bypassing LipRead is at most 87.9%; the NormDetect reproduced and enhanced by the authors achieves a detection rate of 97.82% against TUNER, which the authors consider clearly related to the sound field distribution and nonlinear characteristics of ultrasonic attacks.
Other Ablations and Analysis
- Direct inaudible speech attack investigation (Fig. 4∼6): 6 speakers, 30 utterances each; directly emitting the victim's speech ultrasonically yields average similarity of 0.240∼0.323 on 4 models, all below the threshold.
- Benign enrollment control (Sec. V-E): without attack, ACC is 100%, 100%, 100%, and ASR is 0%, 8.6%, 0%; with attack, ACC is 99.2% and ASR is 98.8%∼99.2%.
- The paper does not report the total number of queries for NES optimization, the number of training epochs, or the number of repeated experiments.
What are some points that can be further explored?
The authors list three limitations: trigger pairing is specific, transfer to large models degrades, and the attack fails when the voiceprint database is updated; they propose corresponding future directions.
Limitations and Future Directions Pointed Out by the Authors
- Triggers are limited to a specific victim-attacker pair (Sec. VI-B): each trigger is optimized for a specific victim-attacker pair and may not allow multiple attackers to simultaneously deceive the SRS; the authors plan in future work to create full-spectrum (rather than sparse-frequency) triggers to achieve a more general registration-phase backdoor.
- Transferability to large-scale models degrades (Sec. VI-B): when applied to large-scale SRS models that may be deployed in the cloud (such as WavLM-Xvec), TUNER's performance tends to degrade; the authors plan to explore methods that maintain high transferability regardless of model architecture or scale.
- Continuous updates to the voiceprint database may render the attack ineffective (Sec. VI-B): if the SRS periodically collects user speech to update voiceprints, the voiceprint will shift toward the victim and away from the attacker; the authors propose a possible countermeasure of also adding the attacker's trigger during the recognition phase, to be studied in future work.
- Two deployment-level considerations (Sec. V-D): a custom ultrasonic transmitter's appearance may arouse suspicion; the authors believe this can be mitigated by placing it at a distance (e.g., 600cm) or transmitting through doors and windows; ultrasound is difficult to reach devices in non-line-of-sight (NLoS) scenarios, which the authors believe can be compensated for by combining with SurfingAttack.
Experimental Coverage
- The models tested are ECAPA-TDNN, Pyannote, U-Level, WavLM-Xvec, SpeakerNet, D-vector, and ResNet34, 7 in total; the main digital experiments are on ECAPA-TDNN and Pyannote, and the other 5 models appear only in the transfer experiments using ECAPA-TDNN as the generation model (Tab. V).
- The datasets are two main datasets, VoxCeleb1 and LibriSpeech, plus four cross-lingual datasets: AISHELL-1, MLS Italian, MLS German, and MLS French; each dataset has 6 victims, each with 3 registration utterances, 5 backdoors, and 20 test utterances.
- Defense evaluation includes six preprocessing defenses: VAD, quantization, MP3 compression, band-pass filtering, median filtering, and squeezing (on Pyannote, including naive and adaptive attackers), as well as two inaudible voice attack detectors: LipRead and NormDetect.
- Physical experiments were conducted in a relatively quiet environment of 36∼40dB, covering 3 rooms, distances of 50∼600cm, angles of -60°∼60°, 4 recording devices, and 4 types of environmental noise.
- The paper does not report the number of queries required for black-box optimization, the number of iterations, the time to generate a single backdoor, or the number of experimental repetitions or variance.
Summarize the main content of the paper
TUNER injects a sparse-frequency backdoor via ultrasound during the SRS enrollment phase, is effective against 7 models under black-box settings, and reaches a physical distance of 6m.
A paper on a backdoor attack targeting the registration phase of voiceprint recognition systems (SRS), by authors from USSLAB at Zhejiang University.
- Problem: existing SRS backdoor attacks require access to training data, and adversarial example attacks emit audible sound and are easily detected; the authors move the attack surface to the registration phase, injecting a backdoor using inaudible ultrasound when the user registers their voiceprint.
- Method: TUNER designs the backdoor as a combination of sine tones at sparse frequency points, modulates it onto a 25 kHz ultrasonic carrier via single-sideband modulation, and injects it using microphone nonlinearity demodulation; during optimization it applies random augmentation to speech content, superposition timing, volume, distance attenuation, and room reverberation, estimates black-box gradients with NES, and counters signal distortion with equal-amplitude initialization, L1 sparsification, and pre-compensation.
- Digital results: on ECAPA-TDNN with a 4s backdoor duration, ASR reaches 100% for SV/CSI/OSI (Fig. 9); the average ASR on ECAPA-TDNN and Pyannote is 95.6%∼99.6% (Tab. III); across five languages, the highest average ACC/ASR is 97.4%/97.7% (Fig. 12).
- Transfer and physical results: backdoors generated on ECAPA-TDNN transfer to most unseen models with ACC/ASR above 95%, but on WavLM-Xvec the ASR for SV is only 41% (Tab. V); in physical experiments the average ASR on Pixel is 96.7%, and at 600cm the ASR can reach 89% after adjusting β.
- Defenses: six preprocessing defenses such as VAD, MP3, and quantization are mostly ineffective (ASR ≥93.8%); median filtering can reduce ASR to 65.8%, and adaptive attacks can raise it back by at least 18.5%; bypassing LipRead reaches 87.9%, but NormDetect can detect 97.82%.
- Authors' conclusions and implications: the authors claim TUNER is inaudible, synchronization-free, content-independent, and black-box usable, exposing the registration phase as a new attack surface; the authors discuss potential countermeasures such as active ultrasonic cancellation and sound-field authentication, and point out three limitations: trigger pairing is specific, transfer to large models degrades, and the attack fails when the voiceprint database is updated.
Related papers
- You Are the Trigger: Speaker-Activated BackdoorsAttacksarXiv