Multi-Granularity Adaptive Time-Frequency Attention Framework for Audio Deepfake Detection under Real-World Communication Degradations

Haohan Shi, Xiyu Shi, Safak Dogan, Tianjin Huang, Yunxiao ZhangarXiv 2025 · DOI

TL;DR

Researchers have developed a unified framework that detects audio deepfakes even when the signal is mangled by real-world communication issues like cell phone compression or spotty Wi-Fi. By using a "Multi-Granularity Adaptive Attention" (MGAA) mechanism, the model dynamically shifts its focus between global patterns and local glitches to catch subtle forgery traces that traditional detectors miss.

What Problem Does This Paper Address?

Most Audio Deepfake Detection (ADD) models are "lab-grown"—they perform beautifully on high-fidelity, clean recordings. However, in the real world, audio rarely stays clean. When you hear a voice over a VoIP call, a radio broadcast, or a 5G stream, the audio has been compressed by codecs (like OPUS or EVS) and battered by packet loss (those digital stutters when your connection dips).

These degradations act like a "blur filter" for audio features. They smear the subtle mathematical artifacts that distinguish a human voice from an AI-generated one. Current state-of-the-art models often see their error rates skyrocket when faced with these "in-the-wild" conditions because they aren't designed to distinguish between codec-induced noise and actual forgery traces.

Methods

The authors introduce a framework centered on Multi-Granularity Adaptive Attention (MGAA). The architecture is designed to be "input-agnostic," meaning it works with various standard Time-Frequency (TF) representations like MFCCs or LFCCs.

The MGAA consists of three clever sub-modules:

  1. Global Time-Frequency Attention (GTFA): This acts like a wide-angle lens, capturing long-range dependencies across the entire audio clip to mitigate global distortions like spectral flattening.
  2. Local Time-Frequency Attention (LTFA): This acts like a magnifying glass, using multiple "attention heads" with different window sizes to zoom in on localized corruptions, such as the specific "holes" left by packet loss.
  3. Adaptive Fusion Module (AFM): This is the "brain" of the operation. It dynamically weights the global and local branches. If a recording is heavily compressed, the AFM might tell the model to trust the global features more; if it’s full of packet loss, it shifts focus to the local heads.

The pipeline starts with a Feature Extraction Module (FEM), moves through several Convolutional Feature Embedding Blocks (CFEB) to deepen the feature space, and ends with a simple, efficient classifier.

Datasets

To train a model for the "real world," you need a messy dataset. The authors created a massive training set ($D_{com}$) by:

  • Aggregating six public datasets (including ASVspoof 2021, Wavefake, and LJSpeech).
  • Applying 30 types of degradations, including six modern speech codecs (AMR-WB, EVS, IVAS, SILK, Speex, and OPUS) and five levels of Packet Loss Rates (PLR) ranging from 0% to 20%.
  • The final training set contains over 1.8 million utterances.

For evaluation, they used the ADD-C test set, a specialized benchmark designed to test robustness against communication-induced distortions.

Key Insights and Ideas

  • The "Zoom Lens" Strategy: The most important insight is that different degradations happen at different scales. Codec compression is a global transformation, while packet loss is a local temporal event. By providing the model with both "global" and "local" views simultaneously, it can "triangulate" the forgery traces hidden behind the noise.
  • Dynamic Reallocation: Rather than using a static model, the Adaptive Fusion Module allows the network to change its internal logic based on the quality of the incoming audio. It essentially performs real-time "signal diagnostics" to decide how to best look for fakes.
  • Feature Separability: Using t-SNE visualizations, the authors showed that while raw audio features look like a tangled mess under heavy degradation, their MGAA-processed features remain in distinct, tight clusters for "real" vs. "fake." This proves the model isn't just guessing; it's successfully "denoising" the discriminative features.

Key Results

  • Superior Accuracy: The framework achieved an average Equal Error Rate (EER) of 0.15% using MFCC features, consistently outperforming ten state-of-the-art baselines (like AASIST and RawNet2) across all 30 degradation scenarios.
  • Efficiency: Despite its complexity, the model is incredibly lightweight. It is 116x faster to train than RawGAT-ST and has a significantly lower computational footprint (only 0.13 GFLOPs), making it viable for real-time deployment on edge devices or servers.
  • Codec Robustness: The model was particularly effective against the OPUS codec (0.29% EER), which is the standard for modern apps like Discord and WhatsApp.

Limitations and Future Work

While the framework is a major step forward, the authors note a few areas for improvement:

  • Distortion Variety: The current study focuses on codecs and packet loss. It doesn't yet account for other real-world "acoustic" degradations like background noise, room reverb, or microphone distortion.
  • Fixed Clip Length: The model currently assumes 4-second audio clips. In real-time scenarios (like a live phone call), the system would need to handle much shorter or variable-length segments.
  • The "Cat and Mouse" Game: As codecs evolve to be even more "perceptually perfect," they may become even better at erasing the subtle traces this model relies on, requiring even higher-precision attention mechanisms in the future.

Summary updated

Abstract

The rise of highly convincing synthetic speech poses a growing threat to audio communications. Although existing Audio Deepfake Detection (ADD) methods have demonstrated good performance under clean conditions, their effectiveness drops significantly under degradations such as packet losses and speech codec compression in real-world communication environments. In this work, we propose the first unified framework for robust ADD under such degradations, which is designed to effectively accommodate multiple types of Time-Frequency (TF) representations. The core of our framework is a novel Multi-Granularity Adaptive Attention (MGAA) architecture, which employs a set of customizable multi-scale attention heads to capture both global and local receptive fields across varying TF granularities. A novel adaptive fusion mechanism subsequently adjusts and fuses these attention branches based on the saliency of TF regions, allowing the model to dynamically reallocate its focus according to the characteristics of the degradation. This enables the effective localization and amplification of subtle forgery traces. Extensive experiments demonstrate that the proposed framework consistently outperforms state-of-the-art baselines across various real-world communication degradation scenarios, including six speech codecs and five levels of packet losses. In addition, comparative analysis reveals that the MGAA-enhanced features significantly improve separability between real and fake audio classes and sharpen decision boundaries. These results highlight the robustness and practical deployment potential of our framework in real-world communication environments.
BibTeX
@misc{shi2025multi,
  author = {Haohan Shi and Xiyu Shi and Safak Dogan and Tianjin Huang and Yunxiao Zhang},
  title = {{Multi-Granularity Adaptive Time-Frequency Attention Framework for Audio Deepfake Detection under Real-World Communication Degradations}},
  year = {2025},
  eprint = {2508.01467},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2508.01467},
  howpublished = {arXiv},
}
Figure