Comprehensive Layer-wise Analysis of SSL Models for Audio Deepfake Detection
Yassine El Kheir, Youness Samih, Suraj Maharjan, Tim Polzehl, Sebastian Möller
TL;DR
This study addresses the challenge of audio deepfake detection across multilingual and diverse contextual scenarios by performing a layer-wise analysis of self-supervised learning (SSL) front-ends (Wav2Vec2, Hubert, WavLM) and two back-ends (FFN, AASIST). By freezing the SSL front-ends and learning layer-wise weights, it reveals that lower transformer layers consistently provide the most discriminative features, enabling reduced-layer configurations (4-6 for small models; 10-12 for large models) to achieve competitive or superior performance while lowering computational cost. The findings generalize across full, partial, song, and scene deepfakes and across English, Chinese, and Spanish datasets, highlighting a focus on local features and artifacts in early layers. The work provides practical guidance for efficient, multilingual SSL-based deepfake detectors and offers publicly available models and code for replication and extension.
Abstract
This paper conducts a comprehensive layer-wise analysis of self-supervised learning (SSL) models for audio deepfake detection across diverse contexts, including multilingual datasets (English, Chinese, Spanish), partial, song, and scene-based deepfake scenarios. By systematically evaluating the contributions of different transformer layers, we uncover critical insights into model behavior and performance. Our findings reveal that lower layers consistently provide the most discriminative features, while higher layers capture less relevant information. Notably, all models achieve competitive equal error rate (EER) scores even when employing a reduced number of layers. This indicates that we can reduce computational costs and increase the inference speed of detecting deepfakes by utilizing only a few lower layers. This work enhances our understanding of SSL models in deepfake detection, offering valuable insights applicable across varied linguistic and contextual settings. Our trained models and code are publicly available: https://github.com/Yaselley/SSL_Layerwise_Deepfake.
