Do Layer Rankings Survive Silence Trimming? The Silence Shortcut in Frozen WavLM Representations for Audio Deepfake Detection
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.
- Comment
- 36 pages, 9 figures, 14 tables. Code and result tables: https://github.com/Nooralabd/silence-shortcut-wavlm-layers