As text-to-speech (TTS) technology advances, synthetic voices are becoming increasingly indistinguishable from human speech. Audio Deepfake Detectors (ADDs) serve as the primary line of defense against the malicious use of these models in fraud and disinformation. However, evaluating and strengthening these detectors requires datasets that thoroughly map the vast output space of TTS generators to expose high-error regions—a task that has proven difficult to scale.
Current evaluation methods suffer from two major limitations. First, discovering specific prompts or settings that bypass a detector typically requires tedious manual trial and error. Second, existing benchmarks (such as ASVspoof) predominantly focus on post-processing attacks, like adding digital noise or filters. They largely fail to explore the "natural" output space of a TTS engine, leaving ADDs vulnerable to audio that sounds fake to humans but registers as real to machines simply due to specific semantic or prosodic inputs.
To address these challenges, researchers have introduced FoeGlass, the first automated, black-box red-teaming framework designed to discover these natural adversarial examples without requiring access to the detector's internal weights.
The FoeGlass Framework
FoeGlass treats the red-teaming process as an iterative conversation between a reasoning Large Language Model (the attacker) and an ADD (the target). The framework operates entirely black-box, utilizing the In-Context Learning (ICL) capabilities of the LLM to dynamically adapt its attack strategy.
The system consists of three core components:
- The Attacker: A reasoning-capable LLM (specifically DeepSeek-R1) is tasked with generating diverse inputs for a TTS model, manipulating variables like transcripts, speed, and pitch.
- The Feedback Loop: For every audio sample generated, the LLM receives two critical pieces of feedback to guide its next attempt:
- Realness Score: The probability that the ADD classifies the sample as "real." The LLM's objective is to maximize this score.
- Diversity Score: Calculated using WavLM embeddings, this metric measures the acoustic distance between the new sample and previous attempts. This prevents "mode collapse," ensuring the LLM doesn't just find one successful prompt and repeat it indefinitely.
- In-Context Learning (ICL): Instead of requiring expensive fine-tuning, FoeGlass uses a carefully engineered prompt context. It feeds the LLM a history of both failed and successful attacks, complete with "Chain-of-Thought" reasoning from previous steps. This allows the LLM to learn the detector's specific weaknesses on the fly.
Experimental Setup
The researchers evaluated FoeGlass across a comprehensive suite of models to test its efficacy and transferability:
- Target ADDs: Eight different detectors utilizing Vision Transformer (ViT) and Audio Spectrogram Transformer (AST) architectures, trained on the ASVspoof5 and VoxCelebSpoof datasets.
- TTS Generators: Three popular open-source models: VITS, Kokoro-82M, and xTTS-v2.
- Baseline: FoeGlass was compared against an "unconditional sampling" baseline, where an LLM generates TTS prompts without any iterative feedback from the detector.
Key Findings and Results
The empirical evaluations revealed several critical insights into the vulnerabilities of current ADD systems:
- Natural Adversaries Are Highly Effective: The study proves that digital noise is not required to bypass state-of-the-art detectors. Simply altering the semantic content or prosody (tone and speed) via the TTS prompt is enough to generate successful adversarial examples.
- Massive Increases in False Negative Rates: FoeGlass improved the False Negative Rate (FNR)—the rate at which deepfakes successfully evade detection—by up to 94% compared to unconditional sampling baselines.
- Exposing In-Domain Blind Spots: Even when an ADD was trained specifically on data from a certain TTS model, FoeGlass successfully found unexplored regions of that model's output space. For instance, on the VIT-ASVspoof-ConstantQ model, FoeGlass achieved a 74.2% success rate in generating fakes classified as real, despite the detector being trained on the exact TTS engine used for the attack.
- High Transferability: The attacks generated by FoeGlass are not strictly model-specific. A prompt designed to fool a ViT-based detector often successfully bypassed an AST-based one, indicating that different ADD architectures share common underlying vulnerabilities.
- Enhancing Defensive Robustness: FoeGlass is not merely an offensive tool. By fine-tuning ADD models on the adversarial samples discovered during the red-teaming process, researchers increased detector robustness by up to 41%, demonstrating its value for automated dataset generation and model hardening.
Limitations and Future Directions
While FoeGlass represents a significant step forward in automated red teaming, the authors note a few limitations. The system's success is sensitive to hyperparameter tuning, particularly the diversity threshold and the length of the LLM's context window; incorrect settings can lead to repetitive attacks or diminished success rates. Additionally, the framework relies heavily on the reasoning capabilities of high-quality LLMs, meaning smaller models may struggle to interpret feedback effectively.
Future work will need to address the computational costs associated with running thousands of iterations of large reasoning LLMs and TTS engines for large-scale dataset generation. Finally, while FoeGlass proved highly effective against open-source ADDs, its efficacy against proprietary, commercial-grade deepfake detectors used by major tech platforms remains an open question for future research.
Summary updated