Speech Tokenizers are Vulnerable: Transferable Semantic Attack and Robust Tokenizer
Zhisheng Zhang, Yifan Mi, Yixuan Zhou, Haiyun Li, Shengbo Cai, Dongfu Song, Ziang Xu, Jie Hao, Zhiyong Wu
Abstract
Speech tokenizers serve as speech front ends, encoding input speech signals into representations for downstream models, such as automatic speech recognition (ASR) systems and large audio-language models (LALMs). In this paper, we find that speech tokenizers are fragile at the semantic level: small perturbations can disrupt their semantic encoding process and consequently cause severe degradation in downstream ASR and LALM performance. To study this vulnerability, we propose T-SemAttack, a transferable semantic attack based on a semantic encoder ensemble. By jointly drifting the representation spaces of multiple semantic encoders, T-SemAttack effectively disrupts the semantic content of speech while preserving perceptual quality, thereby inducing error features. We further analyze layer-wise representation drift and cross-model gradient alignment. Our findings show that perturbations can induce substantial shifts in deep semantic representations and that the input gradients of different surrogate encoders exhibit directional alignment. These observations suggest that shared adversarially sensitive directions in the input space may be a key factor underlying cross-model attack transferability. Building on these, we introduce ROSETok, a robust speech tokenizer that combines noisy training with robust semantic distillation to improve reconstruction fidelity and downstream SpeechLLM robustness. Extensive experiments on multiple datasets, 9 open-source and black-box ASR systems, and 4 LALMs demonstrate that T-SemAttack achieves strong transferable attack performance, while the proposed Robust Speech Tokenizer exhibits robustness under high-fidelity reconstruction and downstream tasks. Our code and demo are available at https://wxzyd123.github.io/t-semattack.
Create a lesson
Related papers
TIMUSE: Text-Initialized Masked Semantic Token Modeling for Universal Speech Enhancement
Shared title terminology · Yiwei Guo, Hao Qiu, Mohan Ye et al.
Joint Language Modeling for In-the-Wild Speech-Scene Generation with Distinct Token Representations
Shared title terminology · Semin Kim, Ju Yeon Kang, Sunghwan Ahn et al.
Progressive Layer-wise Supervision: Deep-to-Shallow Supervision Annealing for Efficient and Robust Speech Deepfake Detection
Shared title terminology · Hoan My Tran, Xin Wang, Xuechen Liu
ESDCodec: Ultra-Low Bitrate Speech Codec with Enhanced Semantic Disentanglement and Subband Decoding
Shared title terminology · Nan Xu, Kecan Mao, Xin Gu et al.
Discriminator-free adversarial domain adaptation for robust speech classification
Shared title terminology · Yacouba Kaloga, Ina Kodrasi
M5-TTS: A Mini-Scale Multilingual and Multi-Dialect Text-to-Speech Language Model with Multi-Token Prediction
Shared title terminology · Wenhao Li, Jingbin Hu, Shengming Ling et al.