Spoofing attack augmentation: can differently-trained attack models improve generalisation?

Wanying Ge, Xin Wang, Junichi Yamagishi, Massimiliano Todisco, Nicholas Evans · DOI

Abstract

A reliable deepfake detector or spoofing countermeasure (CM) should be robust in the face of unpredictable spoofing attacks. To encourage the learning of more generaliseable artefacts, rather than those specific only to known attacks, CMs are usually exposed to a broad variety of different attacks during training. Even so, the performance of deep-learning-based CM solutions are known to vary, sometimes substantially, when they are retrained with different initialisations, hyper-parameters or training data partitions. We show in this paper that the potency of spoofing attacks, also deep-learning-based, can similarly vary according to training conditions, sometimes resulting in substantial degradations to detection performance. Nevertheless, while a RawNet2 CM model is vulnerable when only modest adjustments are made to the attack algorithm, those based upon graph attention networks and self-supervised learning are reassuringly robust. The focus upon training data generated with different attack algorithms might not be sufficient on its own to ensure generaliability; some form of spoofing attack augmentation at the algorithm level can be complementary.

Introduction

In the evolving landscape of deepfake detection, research typically focuses on "unseen attacks"—entirely new algorithms that a countermeasure (CM) has not encountered during training. However, this paper highlights a more subtle and dangerous gap: intra-algorithm variation.

Deep learning models are notoriously sensitive to their training conditions. This study demonstrates that if an adversary takes a known text-to-speech (TTS) algorithm, such as VITS, and retrains it with a different random seed, a different number of Mel channels, or different data partitions, the resulting "spoofs" can appear entirely different to a detector. A CM that is nearly perfect at catching one version of an attack might be easily bypassed by a retrained version of the same architecture. This implies that an adversary does not necessarily need a new breakthrough to evade detection; they may simply need to retrain their existing model.

Methodology

The researchers investigated how three state-of-the-art countermeasures handle variations of the VITS spoofing attack:

  1. RawNet2: An end-to-end model using sinc-layers and residual blocks.
  2. AASIST: A model based on Graph Attention Networks (GATs) designed to integrate temporal and spectral representations.
  3. SSL-AASIST: A hybrid approach using a pre-trained wav2vec 2.0 front-end for self-supervised feature extraction, paired with the AASIST back-end.

To test robustness, eight distinct versions of the VITS attack (V1-V4 and V1.2-V1.5) were created by varying training data subsets from the VCTK database, hyperparameters (80 vs. 40 Mel channels), random seeds, and inference noise levels.

Table 1: Configuration of VITS spoofing attack sets used for training and testing.

Results and Discussion

Performance was measured using the Equal Error Rate (EER), where lower values indicate better detection. The results revealed a significant "retraining vulnerability."

The Vulnerability of Single-Model Training

When detectors were trained and tested on the exact same VITS configuration (matched conditions), the EER was essentially 0% for all models. However, performance degraded sharply in mismatched conditions. For instance, as shown in the experimental data, when RawNet2 was trained on V2 (40 Mel channels) but tested on V1 (80 Mel channels), the EER spiked to 13.27%.

Table 2: Equal Error Rates (%) for countermeasures trained on single VITS configurations and tested across all variations.

While RawNet2 proved highly fragile, models utilizing self-supervised learning (SSL) showed significantly better baseline robustness. SSL-AASIST maintained very low error rates across most variations, though it still experienced performance hits when inference noise parameters were adjusted (e.g., V1.3 to V1.5), suggesting that even high-level representations can be affected by stylistic variations in synthesized speech.

Spoofing Attack Augmentation

To address this fragility, the authors propose "spoofing attack augmentation." By training a detector on a pool of differently-configured versions of the same attack algorithm, the detector learns to ignore the specific artifacts of a single training run and focuses on the core characteristics of the algorithm itself.

When trained on a combination of V2, V3, and V4, the models became much more resilient. AASIST achieved a 0% EER across all unseen V1 variations, and RawNet2's pooled EER dropped to 1.79%, a massive improvement over its performance when trained on a single configuration.

Conclusion

This study demonstrates that modest adjustments to an attack algorithm's training setup can cause substantial degradations in detection performance. Algorithm-level augmentation is a crucial strategy for building robust countermeasures. Future work will explore whether this diversity helps catch entirely different spoofing architectures and how it interacts with intentional adversarial attacks.

Summary updated

BibTeX
@misc{ge2023spoofing,
  author = {Wanying Ge and Xin Wang and Junichi Yamagishi and Massimiliano Todisco and Nicholas Evans},
  title = {{Spoofing attack augmentation: can differently-trained attack models improve generalisation?}},
  year = {2023},
  eprint = {2309.09586},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2309.09586},
}
Figure