cs.SDNov 24, 2026

Do Layer Rankings Survive Silence Trimming? The Silence Shortcut in Frozen WavLM Representations for Audio Deepfake Detection

Authors: Nur Elabid, Mahmud Esad Arar

Organizations: Department of Biomedical Engineering, Fatih Sultan Mehmet Vakif University, Istanbul, Türkiye. · Department of Electrical and Electronics Engineering, Fatih Sultan Mehmet Vakif University, Istanbul, Türkiye.

Abstract

Layer-wise analyses of frozen self-supervised encoders are used to locate spoofing information in audio deepfake detection. On the ASVspoof 2019 logical access (LA) benchmark, bonafide recordings carry longer leading and trailing silence than spoofed ones, and detectors exploit this cue, the silence shortcut. This paper examines whether layer rankings for a frozen WavLM Base encoder survive the trimming of this silence. A small classifier is trained on each of the 12 layers with and without trimming and evaluated on ASVspoof 2019 LA and, zero-shot, on In-the-Wild, in all four train/test combinations, with speaker-level bootstrap intervals. Trimming at 40 dB raises the in-domain error at every layer and preserves the layer ranking only partly (Kendall's tau of 0.58 in domain, 0.73-0.76 on In-the-Wild). The best layer is unchanged at 40 dB, but on the evaluation set it moves from layer 5 to layer 6 at 15 dB and, with mean pooling, at 20 dB, thresholds at which trimming may also remove low-energy speech. At 40 dB, the equal error rate of a model trained with silence rises by 6.3-19.9 percentage points at every layer when only its test audio is trimmed. On In-the-Wild, the effect depends on the layer: at layers 3-5, trimming the test audio lowers the error only for models trained on trimmed audio, whereas at layers 6, 8, and 9 training on trimmed audio lowers it also on clean test audio. We quantify how zero padding alters WavLM features through group normalization, an effect that an attention mask does not fully undo.

Figures & tables

Appendix figures & tables4 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

Nov 23, 2026

Which Layer to Trust? Layer Selection in Frozen Speech Encoders for Singing-Voice Deepfake Detection under Signal Corruption

Frozen self-supervised speech encoders have been frequently used for audio deepfake detection. However, the layers are usually chosen from a development set. We examine this choice for singing-voice deepfake detection on CtrSVDD. We train one detection head per layer, plus a learned layer mix, on frozen XEUS (3-4 seeds) and XLS-R (2 seeds). We test on clean audio and under noise, reverberation and lossy coding. On clean audio, the middle layers beat the last layer in both encoders and the learned mix does not beat the best single layer. The layer chosen on the development set is 2.3 (XEUS) and 4.1 (XLS-R) percentage points of EER worse than the best test layer. Under noise and coding, XEUS's best layers stay in the middle, while under reverberation its upper layers catch up, whereas XLS-R's best layer moves shallower. In an exploratory analysis, XEUS detects a commercial synthesis attack best with an earlier layer, especially under noise. The layer therefore cannot be chosen reliably on an in-domain development set and clean audio alone.
Oct 16, 2026

Interpreting SSL Representations for Spoof Detection: a WavLM Study

Self-supervised speech models such as WavLM achieve strong spoofing detection performance, yet which layers encode the most spoof-relevant information and what acoustic properties they capture remain opaque. We present a layer-wise interpretability study of WavLM using the ASVspoof 5 database, combining three complementary analyses: (i) per-layer linear probing with attack-level evaluation across speech synthesis, voice conversion, and adversarial attacks; (ii) a canonical correlation analysis (CCA) linking layer representations to spoofing-relevant acoustic features; (iii) an exhaustive grid search over layer subsets showing that use of five layers outperforms full thirteen-layer pooling. CCA analysis reveals that, while most acoustic features peak in alignment with mid-layers and then decay, voice quality measures jitter, shimmer, and the harmonics-to-noise ratio show the opposite trend, with correlation increasing toward later layers. Embedding visualisations reveal that deeper layers capture a continuous acoustic similarity among attacks rather than discrete categories, suggesting these layers encode fundamental synthesis artifacts rather than attack-specific signatures.
Nov 8, 2026

When Normality Shifts: Multi-Level WavLM Modeling for Open-World Audio Deepfake Detection

Audio deepfake detectors trained with known synthesis attacks can learn generator-specific shortcuts that fail as synthesis systems and acoustic conditions evolve. We investigate an attack-free alternative: a normality model trained exclusively on bona fide speech, which scores synthetic audio by its deviation from authentic representations. We propose MLN-WavLM, a method that applies shrinkage-Mahalanobis modeling to pooled hidden states from a frozen large-scale, pre-trained speech processing WavLM Base+ architecture. Evaluated on ASVspoof 2019 LA, our best attack-free variant achieves an 8.45% Equal Error Rate (EER), closely tracking a fully supervised WavLM-HM-Conformer baseline (7.86%). However, when subjected to the ASVspoof 2021 DF domain shift, performance drops to 22.12% EER, exposing vulnerabilities in the bona-fide-calibrated operating point. Layer-wise analysis reveals that early WavLM representations dominate the ensemble. To test real-world viability, we simulated deployment streams using unlabeled threshold adaptation. While robust median/MAD recalibration easily handles in-domain contamination up to 10%, recalibrating under the 2021 DF domain shift triggers a total collapse of low-FPR recall. We conclude that while frozen source-domain normality can effectively rank deepfakes, it does not yield a stable open-world decision rule, and downstream threshold adaptation cannot rescue upstream ranking degradation.