Abstract
Speech Deepfake Detection (SDD) often struggles with generalization due to the inherent variability of "real" human speech. Traditional One-Class Learning (OCL) models attempt to map all bona fide speech to a single centroid, failing to account for differences in recording quality and environment. We present QAMO (Quality-Aware Multi-Centroid One-Class Learning), a framework that utilizes multiple centroids to represent distinct speech quality levels. By incorporating a quality classification loss and ensemble scoring, QAMO achieves a significant performance boost, reaching a 5.09% Equal Error Rate (EER) on challenging "In-the-Wild" datasets.
The Challenge of Speech Deepfake Detection
Speech Deepfake Detection is a critical security task, yet traditional binary classifiers (Real vs. Fake) frequently overfit to specific spoofing artifacts encountered during training. This makes them vulnerable to unseen deepfake techniques.
To address this, researchers have turned to One-Class Learning (OCL), which defines a tight boundary around bona fide speech rather than learning the characteristics of fakes. However, standard OCL models typically assume that all real speech can be represented by a single central point (a centroid). This is an oversimplification; real-world speech varies significantly due to microphones, background noise, and transmission codecs. Forcing these diverse signals into a single point leads to a loose boundary that often misclassifies low-quality real speech as a deepfake.
Methodology: The QAMO Framework
QAMO replaces the restrictive single-centroid approach with a multi-centroid framework based on estimated speech quality.
1. Quality Labeling and Multi-Centroid Architecture
The framework uses a pre-trained Mean Opinion Score (MOS) predictor to categorize training samples into discrete quality levels (e.g., "High Quality" and "Low Quality"). Instead of one anchor, the model learns multiple embeddings (centroids), each corresponding to a specific quality level.
2. Dual-Loss Training
To ensure the centroids remain distinct and effective, QAMO employs two primary loss functions:
- Quality Classification Loss ($L_{quality}$): An AM-Softmax loss that forces the model to correctly cluster bona fide speech around its respective quality centroid, preventing the centroids from collapsing into a single point.
- QAMO Loss ($L_{QAMO}$): An extension of One-Class Softmax that pulls real speech toward its assigned quality centroid while pushing all spoofed speech away from the entire set of centroids.
3. Ensemble Scoring
During inference, the model does not require quality labels. It calculates a final score by averaging the similarity distances across all learned centroids. This ensemble approach provides a more stable and robust decision boundary than selecting only the closest centroid.
Experimental Results and Insights
The model was trained on the ASVspoof2019 Logical Access (LA) dataset and evaluated across several rigorous benchmarks, including ASVspoof2021 (LA and DF), In-the-Wild (ITW), and Fake-or-Real (FoR).
Key Performance Metrics
QAMO demonstrated superior generalization in out-of-domain tests:
- In-the-Wild (ITW): Achieved a 5.09% EER, outperforming the standard OC-Softmax baseline (6.72%) and the previous state-of-the-art quality-aware model, NACL (6.60%).
- ASVspoof2021 DF: Reached a low 1.54% EER, compared to 1.89% for the single-centroid version.
Visualizing the Embedding Space
UMAP projections reveal the impact of the QAMO framework. Without the explicit quality classification loss, centroids tend to cluster together, negating the benefits of the multi-centroid approach. With the full QAMO implementation, bona fide speech is successfully separated into distinct quality clusters while remaining clearly partitioned from the spoofed samples.
Conclusion and Future Directions
QAMO demonstrates that treating speech quality as a fundamental feature—rather than noise to be ignored—preserves essential intra-class variability and improves deepfake detection. While the current model relies on an external MOS predictor during training and focuses on two quality levels, future work may explore more granular quality tiers or other speech attributes like emotion and age to further refine the representation of bona fide speech.
Summary updated