Abstract
Fake Speech Detection (FSD) is a critical component in securing voice-based authentication systems against synthetic and replayed speech attacks. While deep neural networks have shown promise in this domain, a persistent challenge remains: balancing the fine-grained sensitivity of shallow layers with the high-level discriminative power of deeper layers. This paper presents a self-distillation framework that enables a network to act as its own teacher. By supervising shallow layers with the representations of the deepest layer during training, the proposed method enhances detection accuracy across various architectures. Notably, this performance boost is achieved without increasing the model size or computational cost during inference.
Introduction
As synthetic voice technologies—including text-to-speech (TTS) and voice conversion (VC)—become increasingly sophisticated, the need for robust Fake Speech Detection (FSD) has never been greater. These "spoofing" attacks often leave behind subtle, fine-grained fingerprints, such as spectral artifacts or unnatural silence segments. In a standard convolutional neural network (CNN), these low-level features are typically captured by the early, shallow layers.
However, shallow layers often lack the discriminative depth required to distinguish complex spoofing patterns from genuine speech, leading to "noisy" representations. Conversely, as a network grows deeper to capture more abstract features, it may lose some of the crucial fine-grained details present in the initial layers. The challenge lies in transferring the "wisdom" of the deep layers back to the shallow ones without sacrificing their sensitivity to local artifacts. Furthermore, for practical deployment on edge devices, these improvements must not come at the cost of increased model complexity or inference latency.
Methodology
The proposed self-distillation (SD) framework is designed to be backbone-agnostic, demonstrated here using SENet (Squeeze-and-Excitation Network) and ECANet (Efficient Channel Attention Network). The training process involves four key components:
1. Block Division
The backbone network is divided into four distinct segments or "blocks." This architectural partitioning allows the model to be treated as a hierarchy of increasingly complex feature extractors.
2. Teacher-Student Setup
In this self-distillation paradigm, the deepest block (Block 4) is designated as the "Teacher." The three preceding blocks (Blocks 1, 2, and 3) are treated as "Students." The goal is to regularize the students' outputs to align more closely with the teacher's superior discriminative capabilities.
3. Auxiliary Classifiers
To facilitate supervision at multiple depths, temporary auxiliary classifiers (utilizing AngleLinear layers) are attached to each block during the training phase. These classifiers allow each stage of the network to generate its own class probability distribution.
4. Triple-Loss Optimization
The model is optimized using a weighted combination of three distinct loss functions:
- Hard Loss (A-softmax): A standard classification loss that compares the final output of the network to the ground-truth labels.
- Feature Loss (L2): This loss minimizes the Euclidean distance between the feature maps of the shallow blocks and the deepest block, forcing the internal representations to converge.
- Soft Loss (KL Divergence): This aligns the probability distributions of the auxiliary classifiers with those of the teacher classifier, encouraging the shallow layers to mimic the teacher's confidence and decision boundaries.
Following the training phase, the auxiliary classifiers are discarded. The resulting inference model retains the original baseline architecture, ensuring zero additional computational overhead.
Experimental Setup
The researchers evaluated the self-distillation method on the ASVspoof 2019 benchmark, the industry standard for FSD. Two primary scenarios were tested:
- Logical Access (LA): Focused on synthetic speech generated via TTS and VC algorithms.
- Physical Access (PA): Focused on replay attacks, where recordings of real voices are played back in various acoustic environments.
The front-end features utilized for the experiments were "F0 subbands" derived from log power spectrograms, which provide a detailed representation of the fundamental frequency and its harmonics.
Results and Discussion
The application of self-distillation yielded significant improvements in the Equal Error Rate (EER) across both datasets:
- LA Dataset: The ECANet18(SD) model achieved an EER of 0.88%, representing a 25% relative improvement over the baseline's 1.18%.
- PA Dataset: The SENet34(SD) model reached an EER of 0.65%, nearly halving the error rate compared to the baseline of 1.14%.
When compared to other state-of-the-art (SOTA) single systems, such as AASIST, the proposed method ranked second. This demonstrates that even established architectures like SENet can achieve competitive results when optimized with self-distillation.
Key Insights
- Internal Regularization: The study confirms that a deep network contains sufficient information to regularize its own earlier layers, eliminating the need for a separate, larger teacher model.
- Stability with Depth: In FSD, increasing network depth does not always lead to better performance. Self-distillation acts as a stabilizer, smoothing the performance curve and ensuring that deeper models consistently outperform their shallower counterparts.
- Dual Alignment: The results suggest that aligning both internal features (Feature Loss) and final predictions (Soft Loss) is critical for helping shallow layers capture discriminative information effectively.
Conclusion
This paper demonstrates that self-distillation is a highly effective and efficient strategy for improving Fake Speech Detection. By bridging the gap between shallow and deep layers, the method significantly reduces error rates without any impact on inference speed. Future work will explore the application of this technique to even smaller, lower-parameter models, with the goal of deploying robust, high-security FSD systems on power-constrained edge devices.
Summary updated