Generated Audio Detectors are Not Robust in Real-World Conditions

Soumya Shaw, Ben Nassi, Lea SchönherrNextGenAISafety @ ICML 2024

TL;DR

This paper reveals that current state-of-the-art fake audio detectors, while impressive on clean datasets, fail significantly when exposed to realistic audio transmission conditions like background noise, volume changes, and network degradation. This highlights a critical gap in their practical deployment for combating audio deepfakes in the real world.

What Problem Does This Paper Address?

Generative AI (genAI) has advanced rapidly, enabling the creation of highly realistic synthetic audio. While this technology has beneficial applications, it also poses significant ethical and trust challenges, particularly in its potential for malicious use, such as creating deceptive audio for scams or misinformation. To counter this, researchers have developed sophisticated fake audio detectors. However, these detectors are often evaluated on clean, unaltered audio datasets. The problem this paper addresses is the lack of understanding regarding how these detectors perform when faced with the inevitable degradations and alterations that audio undergoes in real-world transmission pipelines (e.g., phone calls, streaming, noisy environments). The authors aim to bridge this gap by testing existing detectors under these more realistic conditions.

Methods

The researchers evaluated four prominent fake audio detection models: ResNet-18, RawPC-DARTS, RawNet-2, and Whisper Features. Their methodology involved systematically introducing various audio alterations to test the detectors' robustness. These alterations mimicked real-world transmission scenarios and included:

  • Amplitude/Volume Changes: Reducing audio amplitude by incremental steps (1 dB at a time) to assess sensitivity to volume variations.
  • Background Noise: Introducing ambient noise at different Signal-to-Noise Ratios (SNRs) to simulate noisy environments.
  • Codec Compression: Applying the Opus codec, a widely used audio compression standard, to simulate data loss and quality reduction during transmission.
  • Channel Losses (Downsampling): Simulating low-bandwidth communication by downsampling audio to 3.4 kHz.
  • Out-of-Distribution (OOD) Samples: Testing generalization capabilities on audio generated by models not included in the training data.

Datasets

The study utilized two primary datasets:

  • ASVspoof2021: A large dataset designed for synthetic audio detection, containing both bonafide (real) and spoofed (fake) audio samples. The authors noted its highly imbalanced nature and created a "balanced dataset" by sampling equal numbers of real and fake audio.
  • OOD Dataset: A custom dataset compiled by the authors, consisting of audio samples from commercial and academic Text-to-Speech (TTS) models (Amazon Polly, GoogleTTS, ElevenLabs, VITS, LST-TTS, FastSpeech 2, DiffGAN-TTS) that were not part of the training sets for the evaluated detectors. This dataset was used to specifically test generalization to unseen generative models.

Key Insights and Ideas

  • Extreme Sensitivity to Sound Level: Detectors exhibit a strong bias towards sound level. Adjusting the amplitude alone can often flip a classifier's decision from "fake" to "real" or vice-versa, regardless of the audio's true origin. This suggests a fundamental flaw in how detectors learn to distinguish audio.
  • Generalization Failure on New Models: State-of-the-art detectors struggle to generalize to audio generated by models they haven't seen during training (Out-of-Distribution samples). This is a critical limitation for real-world deployment, as new generative models are constantly emerging.
  • Noise is a Major Weakness: Background noise significantly degrades detector performance. Some models, particularly RawPC-DARTS and RawNet-2, break down almost completely at higher noise levels (lower SNRs).
  • Codec Compression Distorts Decisions: Applying common audio codecs like Opus can negatively impact detector performance, sometimes leading to a bias towards classifying audio as fake.
  • Downsampling Causes Confusion: Simulating low-bandwidth communication by downsampling audio also leads to a performance drop, with models often misclassifying audio as fake.

Key Results

The paper demonstrates a significant performance drop across all tested detectors when subjected to real-world audio alterations. For instance, on the ASVspoof2021 dataset, models achieved high accuracy (e.g., >0.92). However, when tested on the OOD dataset, accuracy plummeted. For example, ResNet-18's accuracy dropped from 0.727 on the balanced ASVspoof2021 to 0.595 on the OOD dataset. Similarly, [email protected] FPR, a crucial metric for identifying fake audio while minimizing false alarms on real audio, also saw substantial degradation. The study found that models like RawPC-DARTS were slightly more resilient to some channel effects compared to others, but no model remained robust across all tested conditions.

Limitations and Future Work

Limitations: * The study primarily relies on the ASVspoof family of datasets for training and evaluation, which the authors suggest might contribute to the detectors' lack of generalization to unseen models. * While the OOD dataset includes several TTS models, it may not encompass the full spectrum of current and future generative audio techniques.

Future Work: The authors emphasize the urgent need for improved fake audio detectors that are robust to real-world conditions. Future research should focus on developing models that can generalize better to unseen generative techniques and are inherently resilient to common audio transmission degradations like noise, volume variations, and compression artifacts. This would involve exploring new architectures, training strategies, and potentially incorporating more diverse and challenging datasets that better reflect real-world audio scenarios.

Summary updated

BibTeX
@inproceedings{shaw2024generated,
  author = {Soumya Shaw and Ben Nassi and Lea Schönherr},
  title = {{Generated Audio Detectors are Not Robust in Real-World Conditions}},
  booktitle = {NextGenAISafety @ ICML},
  year = {2024},
  url = {https://openreview.net/forum?id=1R7RD1dfcC},
}
Figure