Abstract
Tools to generate high quality synthetic speech signal that is perceptually indistinguishable from speech recorded from human speakers are easily available. Several approaches have been proposed for detecting synthetic speech. Many of these approaches use deep learning methods as a black box without providing reasoning for the decisions they make. This limits the interpretability of these approaches. In this paper, we propose Disentangled Spectrogram Variational Auto Encoder (DSVAE) which is a two staged trained variational autoencoder that processes spectrograms of speech using disentangled representation learning to generate interpretable representations of a speech signal for detecting synthetic speech. DSVAE also creates an activation map to highlight the spectrogram regions that discriminate synthetic and bona fide human speech signals. We evaluated the representations obtained from DSVAE using the ASVspoof2019 dataset. Our experimental results show high accuracy (>98%) on detecting synthetic speech from 6 known and 10 out of 11 unknown speech synthesizers. We also visualize the representation obtained from DSVAE for 17 different speech synthesizers and verify that they are indeed interpretable and discriminate bona fide and synthetic speech from each of the synthesizers.
Introduction
As AI-generated speech becomes perceptually indistinguishable from human voices, the risk of misinformation and financial fraud increases significantly. While many deep learning models can detect "deepfake" audio, they often operate as "black boxes," providing binary decisions without explanation. This lack of interpretability is a major hurdle for forensic analysts. Furthermore, many detectors fail to generalize when encountering new, "unseen" speech synthesizers. DSVAE addresses these issues by using disentangled representation learning to isolate the specific "fingerprints" left behind by synthetic speech engines.
Methodology
The core of the framework is the DSVAE, a two-stage Variational Auto Encoder (VAE) architecture that processes Mel-spectrograms to separate general speech features from synthetic artifacts.
- Stage 1: Learning General Speech: The model trains a "General Representation Network" using only bona fide speech. This forces the encoder ($E_G$) to learn features ($F_G$) common to all human speech, such as phonemes and prosody.
- Stage 2: Isolating the Synthetic Signal: The weights of $E_G$ are frozen. A second encoder ($E_D$) is then trained on both real and synthetic speech to find the "Disentangled Representation" ($F_D$). Because $E_G$ already handles general speech content, $E_D$ focuses specifically on attributes that differentiate real speech from synthetic artifacts.
- CosFace Loss: To ensure $F_D$ is discriminative, the authors use CosFace loss, which minimizes intra-class variance and maximizes the margin between real and fake classes.
- Explainability via Activation Maps: The model includes an "Unsupervised Activation Generation Network." It uses disentangled features to produce an activation map ($A_{map}$) that highlights the regions of the input spectrogram that led to the classification.
Experimental Results
The authors evaluated DSVAE using the ASVspoof2019 Logical Access (LA) dataset, the standard benchmark for synthetic speech detection. The model achieved a state-of-the-art Equal Error Rate (EER) of 2.16%, significantly outperforming 16 other established methods.
Key Insights
- Generalization through Disentanglement: By separating "what is being said" from "how it was generated," the model becomes less sensitive to speech content and more sensitive to synthesis artifacts. This allows it to maintain >98% accuracy across 10 out of 11 unknown synthesizers.
- Interpretability: t-SNE visualizations confirm that while bona fide and synthetic speech overlap in the general feature space ($F_G$), they are clearly separated in the disentangled space ($F_D$). This demonstrates that the model successfully isolated the "spoof trace."
- Robustness: The model remained effective even when audio was compressed (MP3/AAC) or subjected to silence removal, though performance drops in highly compressed environments.
Conclusion
DSVAE provides a high-accuracy, interpretable solution for synthetic speech detection. By disentangling representations, it achieves superior generalization to unseen synthesizers compared to black-box models. Future work will explore replacing VAE components with Transformer-based architectures and implementing supervised learning for more precise artifact localization.
Summary updated