arXiv:2610.05310eess.ASOct 2026

Manuscript Offprint

arXiv:2610.05310

Transferable Adversarial Robustness for Speech Foundation Models via Hierarchical Stabilization

Aref Mousavi, Shahab Sherafat, Kiarash Kiani Feriz, Amirparsa Safari, Raoof Zare Moayedi, Mohammad Hossein Rohban, Mohammad Sabokrou

ABSTRACT

Frozen speech foundation models (SFMs) make downstream adaptation efficient: the backbone can stay fixed while a task learns layer fusion and a lightweight classifier. Full adversarial fine-tuning is a standard route to robustness, but generating adversarial examples and updating the backbone for every task sacrifices that efficiency. We ask whether robustness can instead be learned before future tasks are known. For a frozen backbone and linear classifier, robustness can be understood through the interaction between representation stability and decision-boundary margin. This leads directly to our design: we stabilize representations across the hidden layers, rather than only the final layer, while preserving clean representations; after clean adaptation selects the layer mixture, we keep it fixed and enlarge only the classifier margin, without downstream adversarial examples. We evaluate Wav2Vec2, HuBERT, and WavLM Large on four tasks under adaptive 30 dB attacks. Across 12 backbone-task pairs, hierarchical robustification improves robust accuracy by 46.4 pp, while margin refinement adds 4.0 pp for 1.1 pp of clean accuracy. Code and configurations are available at github.com/arefmousavi/hierarchical-robust-sfm.

Index Terms— speech foundation models, adversarial robustness, adversarial training, transfer learning, layer fusion

1. INTRODUCTION

Frozen speech foundation models (SFMs) support efficient downstream adaptation because the backbone can remain fixed. In the SUPERB-style classification setting considered here, a task learns a weighted fusion of frozen layer representations together with a lightweight classifier [1]. Large-scale evaluation shows that learnable layer fusion outperforms final-layer-only evaluation in most cases, while preferred depths vary across tasks [2, 3]. Full task-specific adversarial fine-tuning is a direct route to robustness, but iterative adversarial-example generation and end-to-end backbone updates are costly and must be repeated for every new task [4, 5]. We therefore ask whether the efficiency of frozen-backbone adaptation can be retained while robustness is learned before future downstream tasks are known.

This goal requires more than a robust terminal embedding. FARE in Robust CLIP stabilizes the CLIP vision-encoder output so existing downstream systems can reuse the robust encoder without retraining [6, 7]. In our setting, however, the future speech task chooses both a layer mixture and a classifier after backbone robustification. For a frozen backbone and linear classifier, robustness is governed by the interaction between representation stability and decision-boundary margin. Let zα(x)z_{\alpha}(x) be the fused representation, rα(x,δ)=zα(x+δ)−zα(x)r_{\alpha}(x, \delta) = z_{\alpha}(x + \delta) - z_{\alpha}(x) the attack-induced movement, and m(x)m(x) the Euclidean distance to the nearest classifier decision boundary. A sufficient condition for preserving the prediction is

∥rα(x,δ)∥2<m(x).(1)\|r_{\alpha}(x,\delta)\|_{2}<m(x). \tag{1}

This view leads directly to our design. Before tasks are known, we stabilize representations across the hidden layers, rather than only the final layer, while preserving clean representations. After clean adaptation selects the task-specific fusion and classifier, we keep the backbone and fusion fixed and refine only the classifier margin. Keeping the fusion fixed lets the margin objective change decision geometry without changing the representation selected by clean adaptation, and requires no downstream adversarial examples. Fig. 1 summarizes the resulting pipeline and its movement–margin interpretation.

Prior work establishes that robust pretrained representations can transfer robustness to downstream classifiers and studies how that robustness behaves during adaptation [5, 8, 9, 10, 11]. In speech, Wu et al. study attacks when the downstream task, layer-fusion weights, and classifier are unknown to the attacker [12], Olivier et al. demonstrate adversarial transfer across self-supervised speech models [13], and Wang et al. study task-specific adversarial fine-tuning for robust ASR [14]. These works do not address the combination studied here: future task-specific layer fusion and classifier are unknown during robustification, representations must therefore be stabilized across layers, and the downstream decision geometry is refined after adaptation, using no adversarial examples.

Our main contributions are: (1) Hierarchy-aware adversarial robustification. We introduce an adversarial objective matched to frozen SFM layer fusion that stabilizes representations across hidden layers while preserving clean representations. (2) Movement-margin formulation. We characterize robustness through the interaction between adversarial representation movement and distance to the nearest classifier boundary, and show that across-layer stabilization bounds this movement for every layer fusion a task may select. (3) Clean margin-aware classifier refinement. We refine only the downstream classifier, with the robust backbone and learned fusion fixed, using no downstream adversarial examples. We evaluate Wav2Vec2, HuBERT, and WavLM Large on four complementary speech classification tasks using adaptive white-box attacks.

References (30)