Leveraging Gradient Reversal Loss and Multitask Learning for Datasets-Aware Audio Deepfake Detection

Authors: Mingrui Liang, Thomas Thebaud, Lukasz Wojciak, Laureano Moro Velazquez, Yishay Carmiel, Jesus Villalba Lopez, Najim Dehak

Published: 2026-07-27 03:17:21+00:00

Comment: Accepted by SPSC 2026. Camera-ready version pending

AI Summary

This paper introduces a dataset-aware framework for audio deepfake detection that uses dataset identity as a supervisory signal for multitask (MT) and gradient reversal layer (GRL) training. The MT approach employs class-conditional dataset labels, while GRL adversarially suppresses dataset-specific information. This framework aims to improve generalization across diverse and heterogeneous deepfake datasets without requiring auxiliary annotations like language or codec types.

Abstract

Recent advances in speech synthesis and voice conversion, which pose threats to security and privacy, have underscored the need for deepfake detection technology. Although existing detection systems achieve strong performance on individual datasets, they often fail to generalize across diverse datasets. Prior methods for improving generalization, including data augmentation, adversarial training on auxiliary factors such as language or codec types, and Mixture-of-Experts (MoE), are limited by predefined augmentation coverage, difficulties in obtaining auxiliary factors, and substantial model complexity. In this work, we propose a practical dataset-aware framework for deepfake detection. Our method targets heterogeneous datasets for which auxiliary annotations such as language, codec, or spoofing method may not be consistently available. We therefore rely only on dataset identity as a naturally available supervisory signal for multitask (MT) and gradient reversal layer (GRL) training, allowing the model to investigate both dataset-aware multitask supervision and adversarial suppression of dataset-specific information. We conduct experiments following the 2025 Speech DeepFake Arena benchmark protocol, evaluating our model across multiple evaluation datasets and reporting aggregate performance in terms of Equal Error Rate (EER), including Average EER and Pooled EER. Compared with the baseline, MT reduces Average EER by 13.14% relatively, while GRL reduces Pooled EER by 5.32% relatively. These results demonstrate that our method can improve aggregate detection performance across heterogeneous evaluation datasets, offering a practical solution for deploying reliable deepfake detection systems on diverse and unseen real-world data.


Key findings
Multitask learning (MT) decreased Average EER by 13.14% relative to the baseline, excelling in performance across individual datasets. Gradient Reversal Layer (GRL) training, on the other hand, reduced Pooled EER by 5.32% relatively, indicating improved performance when aggregating results across datasets. These results demonstrate that leveraging dataset identity as a supervisory signal can effectively enhance the generalization of deepfake detection models across heterogeneous data.
Approach
The proposed framework utilizes either multitask learning (MT) or gradient reversal layer (GRL) training with dataset identity as the supervisory signal. MT uses class-conditional dataset labels (e.g., dataset-bona fide) to explicitly model dataset-dependent variations, while GRL employs adversarial training with dataset identity to learn dataset-invariant representations. Both approaches build upon an SSL-based spoofing detection framework, specifically using an XLS-R encoder and an ECAPA-TDNN backbone.
Datasets
ASVspoof 2015, ASVspoof 2019, ASVspoof 2024, Fake or Real, DFADD, MLAAD, Codecfake, SpoofCeleb, LibriSpeech, VoicePrivacy 2024, SONAR, LibriSeVoc, ASVspoof 2021, In The Wild, ADD 2022, ADD 2023
Model(s)
XLS-R encoder, ECAPA-TDNN backbone
Author countries
USA