Attack-Dependent Robustness of Neural Audio Codecs for Adversarial ASR

Read full text
Authors: Jordan A. Prescott, Thanathai Lertpetchpun, Shrikanth Narayanan
Cited by: 0
References: 8

Abstract

Neural audio codecs impose a discrete bottleneck through residual vector quantization (RVQ), making them a useful class of inference-time transformations for reducing adversarial perturbations before ASR inference. We study how codec quantization depth affects defended ASR under non-adaptive, standard adaptive, and quantization-aware adaptive untargeted $\ell_\infty$ attacks. Under non-adaptive attacks, intermediate RVQ depths yield the lowest word error rates and outperform traditional compression at comparable bitrates. However, this apparent optimum is not stable under adaptive evaluation. The standard identity-gradient adaptive baseline (BPDA+EOT) can overestimate robustness, while an implementation of an RVQ-relaxed adaptive attack (SoftVQ-PGD) substantially changes the observed depth trend and largely removes the intermediate-depth advantage. Overall, neural codecs can improve defended ASR under specific threat models. However, the relationship between robustness and RVQ depth depends on the attack used for evaluation, rather than on the codec architecture alone.

Fields of Study & Subjects

Adversarial Robustness in Machine Learning Speech Recognition and Synthesis Security and Verification in Computing

Publication details

Journal / source
arXiv (Cornell University)
Publication date
10 March 2026
Language
EN
Document type
Preprint