TL;DR
This paper introduces a novel audio deepfake detection system based on an attention-based Mixture of Experts (MoE) architecture. By leveraging a transformer-based gating network to dynamically weight diverse expert detectors trained on pooled data, the system achieves exceptional cross-domain robustness. The approach secured first place across all tasks in the Synthetic Audio Forensics Evaluation (SAFE) challenge at IH&MMSec 2025.
What Problem Does This Paper Address?
While AI-generated speech has advanced rapidly for virtual assistants and accessibility tools, it also poses severe security risks through voice phishing, impersonation, and misinformation. The forensic community has developed highly accurate deepfake detectors, but these models typically suffer from a major flaw: a lack of cross-domain generalization.
When a detector trained on one specific dataset encounters deepfakes generated by unseen algorithms, spoken in different languages, or altered by lossy audio codecs, its performance often plummets. This paper tackles the challenge of building a detection system that remains robust and reliable across highly diverse, real-world data distributions.
Methods
The authors propose a Mixture of Experts (MoE) framework called MILE-Att (Mixture of Implicitly Localized Experts with Attention). Instead of relying on a single master model, the system routes an input audio signal through multiple specialized "expert" detectors and combines their outputs.
The architecture introduces two key innovations over previous MoE deepfake detection methods:
- Transformer-Based Gating Network: Traditional MoE systems often use simple linear or concatenation-based gating mechanisms to weight the experts. Here, the gating network $\mathcal{G}$ is implemented as a multi-layer transformer encoder. It treats the internal embedding of each expert as a distinct token, utilizing self-attention to model complex inter-expert interactions and dynamically assign weights ($\alpha$) based on the input signal.
- Implicit Domain Partitioning (MILE): Rather than training identical model architectures on separate, disjoint subsets of data (Explicit Localization), the authors train different model architectures on a single pooled dataset. The system utilizes three state-of-the-art experts: one Light CNN (LCNN) using mel-spectrograms, one ResNet18 using mel-spectrograms, and another ResNet18 using linear-frequency spectrograms. This forces specialization to emerge naturally from the structural and feature-level inductive biases of the models themselves.
Datasets
The system was rigorously trained and evaluated using seven prominent speech deepfake datasets:
- In-Domain & Training: ASVspoof 2019 (Logical Access), FakeOrReal (FoR), In-the-Wild, and MLAAD (v5 English partition).
- Out-of-Domain Evaluation: Purdue speech dataset (diffusion-based cloning), ASVspoof 2021 (Deepfake clean subset), and ASVspoof 5 (2024 evaluation set clean subset).
- Challenge Enhancements: For the SAFE challenge setup, the training pool was expanded with real speech from LibriSpeech, LJSpeech, VCTK, and Mozilla Common Voice, alongside synthetic samples from the DiffSSD dataset.
Key Insights and Ideas
- Structural Bias Beats Data Splitting: Training diverse architectures on pooled data (the MILE approach) yields significantly better generalization on unseen domains than training identical architectures on partitioned data subsets. The structural differences allow experts to capture complementary acoustic features from the same audio sample.
- Dynamic Weighting Handles Inconsistencies: Individual experts often exhibit unpredictable performance drops on specific datasets. The transformer gating network successfully mitigates this by dynamically shifting weight to the most capable expert on a per-sample basis, effectively smoothing out individual model vulnerabilities.
Key Results
The proposed MILE-Att system demonstrated superior performance in both controlled evaluations and the competitive SAFE challenge:
- Ablation Studies: The attention-based gating mechanism consistently outperformed the baseline concatenation-based gating (
MELE-Cat), reducing the overall Equal Error Rate (EER) to 8.36%.
- Domain Partitioning Impact: Shifting to the pooled-data diverse expert strategy (
MILE-Att) further reduced the overall EER to 7.35%. Crucially, on the notoriously difficult ASVspoof 2021 out-of-domain test, it slashed the EER from 29.87% to 17.27%. - SAFE Challenge 2025: The system won 1st place across all three competition tasks. On Task 1 (clean data), the system achieved a Balanced Accuracy (BAC) of 89.6%, outperforming its individual constituent experts.
Limitations and Future Work
Despite its success, the system revealed a vulnerability to severe acoustic distortions. In the SAFE challenge, Balanced Accuracy dropped by 7.4% on Task 2 (post-processing effects like codecs and noise) and plummeted by 25.1% on Task 3 (laundering via reverberation or over-the-air playback).
The authors note that standard data augmentations (like SpecAugment and RawBoost) were insufficient for these complex, real-world acoustic environments. Additionally, while their model was the fastest among the top five challenge performers, MoE architectures inherently incur high computational costs. Future work will target enhanced robustness against audio laundering and optimizing the scalability of the architecture for resource-constrained deployments.
Summary updated