Meta-Learning Approaches For Improving Detection of Unseen Speech Deepfakes

Ivan Kukanov, Janne Laakkonen, Tomi Kinnunen, Ville Hautamäki

Introduction

The rapid advancement of text-to-speech (TTS) and voice conversion (VC) technologies has led to increasingly sophisticated speech deepfakes, posing significant security risks. While state-of-the-art anti-spoofing models perform well against known attack types, they often fail to generalize to novel, unseen spoofing methods. This domain generalization gap is a critical hurdle for real-world deployment. This paper investigates meta-learning as a solution, framing anti-spoofing as a few-shot learning task where a model must quickly adapt to new threats using minimal data.

Methodology

The proposed system utilizes a robust backbone consisting of a Wav2Vec 2.0 (XLSR-53) front-end for high-level feature extraction and an AASIST (Integrated Spectro-Temporal Graph Attention Network) back-end. To address the challenge of unseen attacks, two meta-learning strategies are evaluated:

  1. Prototypical Networks (ProtoNet): A metric-learning approach where each class (bonafide vs. spoof) is represented by a prototype—the mean vector of its support set in the embedding space. Classification is performed by assigning a query sample to the class of the nearest prototype.
  2. ProtoMAML: A hybrid approach combining ProtoNet with Model-Agnostic Meta-Learning (MAML). Unlike ProtoNet, which relies on a fixed embedding space during inference, ProtoMAML performs gradient updates to the model's parameters during the adaptation phase. This allows the model to find an initialization that is highly responsive to new data distributions.
Overview of the meta-learning framework during training and testing phases.

The goal is to learn attack-invariant features that distinguish human speech from synthetic speech, regardless of the specific generation algorithm used.

Experimental Setup

Models were trained on the ASVspoof 2019 Logical Access (LA) dataset, which contains six types of synthetic attacks. Evaluation was conducted across several challenging benchmarks to test cross-domain generalization:

  • ASVspoof 2021 LA & DF: Featuring various codecs and compression artifacts.
  • In-The-Wild: Real-world audio from 54 celebrities, characterized by diverse acoustic environments.
  • FakeAVCeleb: A multimodal dataset utilizing real-time voice cloning.

Results and Analysis

The experiments demonstrate that rapid adaptation is highly effective. On the In-The-Wild dataset, the baseline Wav2Vec-AASIST model achieved an Equal Error Rate (EER) of 21.67%. By adapting the model with just 96 samples using ProtoMAML, the EER dropped to 16.29%. Further extending the fine-tuning process to 5,000 steps reduced the EER to a remarkable 10.42%.

t-SNE visualization of embeddings before and after ProtoMAML adaptation, showing improved class separation.

ProtoMAML generally outperformed ProtoNet on most cross-domain tasks, such as FakeAVCeleb (5.55% EER vs. 10.35% for ProtoNet). However, ProtoNet showed superior performance on ASVspoof 2021 LA, achieving an EER of 4.55%. A key finding was the efficiency of ProtoMAML: significant performance gains were achieved by updating only 0.14% of the total trainable parameters, making it a viable candidate for resource-constrained environments.

Discussion and Conclusion

While meta-learning offers a powerful path forward for anti-spoofing, challenges remain. ProtoMAML is more computationally intensive than ProtoNet due to its inner-loop optimization. Additionally, the quality of adaptation is sensitive to the specific samples chosen for the support set. Future work aims to achieve similar performance in a true zero-shot setting, eliminating the need for any samples from the target domain. Nevertheless, this study confirms that few-shot meta-learning can drastically improve the resilience of deepfake detectors against evolving threats.

Summary updated

BibTeX
@inproceedings{kukanov2024meta,
  author = {Ivan Kukanov and Janne Laakkonen and Tomi Kinnunen and Ville Hautamäki},
  title = {{Meta-Learning Approaches For Improving Detection of Unseen Speech Deepfakes}},
  booktitle = {SLT},
  year = {2024},
  doi = {10.1109/slt61566.2024.10832350},
}
Figure