TL;DR
ROGUE is a novel dual-agent framework that dynamically orchestrates multiple audio deepfake detectors into a robust, adaptive workflow. By pairing an LLM-based policy agent with an adversarial perturbation agent, ROGUE learns to defend against real-world audio corruptions and out-of-distribution shifts, significantly outperforming static pipelines and standalone foundation models.
What Problem Does This Paper Address?
While AI-generated speech (Text-to-Speech and Voice Conversion) has become incredibly realistic, it introduces severe security risks like impersonation and fraud. Existing audio deepfake detectors perform exceptionally well under pristine, controlled laboratory conditions. However, their performance plummets when deployed in the real world, where audio signals encounter common corruptions such as background noise, compression, reverberation, and codec transformations.
Because no single detector excels across all acoustic conditions, researchers have turned to multi-detector systems. However, existing approaches rely on manually designed, static pipelines that fail to adapt to unseen perturbations. The authors of this paper ask a fundamental question: Can LLM-based agents automatically construct robust audio deepfake detection workflows that generalize across diverse, corrupted conditions?
Methods
The authors introduce ROGUE (Robust wOrkflow Generation framework via adversarial learning for aUdio deepfake dEtection). Instead of optimizing a single model, ROGUE frames workflow generation as a sequential decision-making problem solved via min-max adversarial learning between two interacting agents:
- The Perturbation Agent: This agent acts as an adversary. It maintains a learnable distribution over a set of 15 realistic audio transformations (e.g., Opus/EnCodec compression, pitch shifting, background noise). It is rewarded when it generates corruptions that cause the detection workflow to fail or lose confidence.
- The Policy Agent (Workflow Generator): Implemented as an LLM-based controller (using backbones like GPT-5, Claude, or Gemini via the DSPy framework), this agent dynamically decides which detection tools to execute and in what order based on intermediate observations (prediction scores, metadata, etc.).
The policy agent is optimized using reinforcement learning to maximize detection accuracy while minimizing a computational cost penalty. This setup forces the system to learn efficient escalation strategies—using lightweight heuristics first and only invoking heavy foundation models when necessary.
Datasets
- Training: WaveFake dataset, paired with real audio samples from LJSpeech (maintaining a balanced 1:1 real-to-fake ratio).
- Evaluation (Cross-Dataset Generalization): To test robustness against out-of-distribution shifts under clean conditions, the authors evaluated ROGUE across eight benchmark datasets: SONAR, ASVspoof2019, ASVspoof2021 LA, CodecFake, Fake-or-Real, LibriSeVoc, In-the-Wild, and DFADD.
Key Insights and Ideas
- Workflow-Level Adversarial Learning: Traditional adversarial training hardens individual model weights. ROGUE uniquely applies adversarial optimization to the structure and logic of the workflow itself, teaching the LLM planner how to bypass corrupted features by selecting alternative tools.
- The Hardest Corruptions: The perturbation agent naturally learned to assign the highest weights to neural codec compressions (EnCodec and Opus) and temporal modifications (TimeStretch and PitchShift), confirming that these modern compression techniques are the most effective at blinding standard deepfake detectors.
- Coarse-to-Fine Escalation: The optimized workflow naturally converged on a four-stage hierarchy: starting with cheap metadata forensics, moving to feature-based and temporal-spectral detectors, and finally escalating to high-capacity speech foundation models (like HuBERT or Wav2Vec2-BERT) only if there is low confidence or detector disagreement.
Key Results
- Superior Robustness: Across all 15 perturbation types, ROGUE achieved the highest average classification accuracy (0.91), outperforming top open-source detectors like DF_Arena (0.89) and standalone foundation models like HuBERT (0.87).
- Conquering Codecs: Under severe EnCodec neural compression—where HuBERT's accuracy dropped to 0.56—ROGUE maintained an accuracy of 0.67. Under Opus compression, it achieved 0.72.
- Cross-Dataset Generalization: ROGUE demonstrated massive gains on challenging out-of-distribution datasets. Notably, it improved performance on the CodecFake dataset by 9% and on the In-the-Wild dataset by 3% compared to a non-adversarial DSPy workflow baseline.
Limitations and Future Work
Despite its strong performance, the authors note a few key limitations:
- Search Complexity: Jointly searching the exponential space of perturbation combinations and sequential tool selections makes the training phase computationally expensive.
- Tool Dependency: ROGUE's ultimate performance is bounded by the diversity and quality of the underlying detection tools available in its repository.
- The Real-World Gap: While the framework models 15 realistic corruptions, it may not exhaustively capture highly sophisticated, intentional adversarial manipulation strategies designed by bad actors in deployment environments.
Future work includes expanding the tool repository and exploring more efficient optimization algorithms to tame the search space complexity.
Summary updated