Task-aware joint pruning and distillation framework for audio deepfake detectionTask-Aware Joint Pruning and Distillation for Efficient Audio Deepfake Detection
Using cross-domain distillation and movement-guided pruning to compress XLSR-AASIST, at 90% sparsity it is 31.9M, and the authors state that average EER increases by 1.30%.
- SSL speech deepfake detectors typically exceed 300M parameters and 130+ GFLOPs, making them difficult to deploy on edge devices; cloud inference also has network dependency and privacy risks. When distillation and pruning designed for content tasks are directly applied to detection, the authors state that performance degrades when sparsity exceeds 75%, especially out-of-domain.
- Task-Aware Joint Pruning and Distillation: after fine-tuning XLS-R, distill layers 5, 14, and 24 using unlabeled out-of-domain data, perform structured pruning with inverse movement weights, then jointly fine-tune with AASIST to the target sparsity.
- On XLSR-AASIST, at 90% sparsity Ours is 31.9M, 23.3G, and the authors state average EER increases by 1.30%. At 75%, ASV5 17.75% and FoR 10.51%, lower than the uncompressed baseline. The 19LA Eval baseline of 0.14% remains lower than 90% Ours's 0.30%.
- In Section 4.4, the authors state that cross-domain distillation is constrained by the teacher's errors on unlabeled data and that confidence calibration gains are small; future work includes adaptive layer selection, cross-architecture transfer, and larger SSL (e.g., XLS-R-2B). The evaluated model is XLSR-AASIST; the paper does not report repetitions or edge latency.
- Evaluated models
- XLSR-AASIST
- Benchmarks
- ASVspoof2019 LAASVspoof2021 LAASVspoof2021 DFIn-the-WildASVspoof5FoR
- Metrics
- EERParamsFLOPs
To address the problem that audio deepfake detectors based on self-supervised learning (SSL) have parameter counts generally exceeding 300M and are difficult to deploy on resource-constrained devices, the researchers proposed a task-aware joint pruning and distillation framework that combines cross-domain knowledge distillation with movement-guided structured pruning to preserve forgery discrimination knowledge and key structures under aggressive compression. The framework compresses the model to 31.9M parameters and reduces FLOPs by 6.3 times, with average performance dropping only 1.30% compared to the uncompressed baseline across multiple datasets.
Related events and news
1 events · 0 news mentions
- This event's paper
音频深伪检测模型剪枝蒸馏压缩框架
Paper analysis
What problem does this paper attempt to solve?
To preserve accuracy and out-of-domain generalization of SSL deepfake detection under high sparsity compression.
How to maintain detection accuracy and cross-domain generalization while significantly compressing SSL speech deepfake detectors.
- Scenario: Synthetic speech can already be indistinguishable from real human speech and can deceive both humans and automatic speaker verification systems; the authors cite instances of voice cloning used in telecom fraud and identity theft. The authors argue that cloud inference has network dependency and uploading audio poses privacy risks, thus requiring lightweight detectors that can run on resource-constrained devices while maintaining performance.
- Existing gap: SSL front-ends such as wav2vec2.0, XLSR, and WavLM are mainstream for detection but typically have 300M+ parameters and 130+ GFLOPs. Distillation and structured pruning designed for content tasks like ASR, when directly applied to deepfake detection, the authors argue that task loss or in-domain distillation is insufficient to transfer spoof-discriminative knowledge and fails to preserve critical structures; they also state that performance degrades when sparsity exceeds 75%, especially out-of-domain. The authors state that task-specific compression for this task still lacks dedicated designs.
- Proposed method: Task-Aware Joint Pruning and Distillation. Use unlabeled out-of-domain data for cross-domain distillation, use movement scores from fine-tuning to guide structured pruning, then jointly fine-tune with the back-end classifier.
What related research exists?
Related work is divided into SSL detection front-ends, speech distillation, and structured pruning; the authors criticize performance degradation after high-sparsity transfer.
The paper divides related work into two categories: SSL detection front-ends and speech SSL compression, with compression further divided into distillation and structured pruning.
SSL front-ends for deepfake detection
- Tak et al. (2022) and subsequent works such as XLS-R, Conformer, and XLSR-Mamba use large-scale pre-trained CNN+Transformer speech SSL front-ends for anti-spoofing or deepfake detection.
- The authors state these front-ends are effective, but typically require 300M+ parameters and 130+ GFLOPs, making them difficult to deploy on resource-constrained devices.
Knowledge distillation for speech SSL
- DistilHuBERT (Chang et al., 2022), DistilXLSR (Wang et al., 2023), and FitHuBERT (Lee et al., 2022) compress speech SSL with layer-wise distillation; the authors state these methods still require manual design of student architectures.
- Xue et al. (2023) self-distillation and Lu et al. (2024) one-class distillation apply distillation to fake speech detection; the authors state they only optimize accuracy and do not compress for edge deployment.
Structured pruning
- Task-agnostic approaches include DPHuBERT (Peng et al., 2023) with joint distillation and pruning, and Wang et al. (2023) task-agnostic structured pruning.
- Task-specific approaches include HJ-Pruning (Peng et al., 2023) for speech recognition, Finetune-Pruning (Han et al., 2025) for speaker diarization, and Hybrid-Pruning (Peng et al., 2025) for speaker verification and anti-spoofing.
- The final sentence of related work states that transferring these pruning methods to deepfake detection leads to performance degradation at high compression ratios. The introduction describes distillation and pruning together: direct adaptation has insufficient supervision, and out-of-domain degradation is more pronounced when sparsity exceeds 75%.
Baselines and datasets
- Experimental baselines are the uncompressed XLSR-AASIST, and re-implementations of HJ-Pruning, Finetune-Pruning, and Hybrid-Pruning in a unified framework.
- Data and evaluation sets used are ASVspoof2019 LA, ASVspoof2021 LA, ASVspoof2021 DF, In-the-Wild, ASVspoof5, and FoR.
The authors position the framework as task-aware joint pruning and distillation for deepfake detection: using cross-domain unlabeled data to supplement supervision, and movement priors to preserve spoofing-related structures, to address generalization degradation at high compression ratios.
How does the paper address this problem?
Cross-domain distillation plus movement-guided pruning compresses XLS-R to the target sparsity, then fine-tunes with AASIST.
Task-Aware Joint Pruning and Distillation puts cross-domain distillation and movement-guided structured pruning into the same compression training. The compression target is the XLS-R (0.3B) front-end in XLSR-AASIST.
Three-step pipeline
- Task preparation: Fine-tune the pre-trained SSL and compute movement scores for structural units as importance priors. Structural units include Multi-Head Attention, FFN intermediate layers, and CNN channels.
- Joint pruning and distillation: Pruning is guided by movement priors, while cross-domain knowledge distillation is performed to preserve spoof-discriminative structures.
- Back-end optimization: Jointly fine-tune the pruned SSL with the back-end classifier to optimize detection accuracy. Figure 1 shows these three steps.
Cross-domain knowledge distillation
- Difference from in-domain distillation: The authors compare against pruning methods that distill only on in-domain training data. Here, unlabeled, task-related out-of-domain data covering multiple codec variations and environmental distortions is additionally used. The out-of-domain distillation sets listed in Section 3.1 are ASVspoof2021 LA, 21 DF, and In-the-Wild; Section 4.1 states that distillation data also includes unlabeled 19LA train.
- Authors' rationale: The uncompressed teacher already generalizes with EER<10% on several out-of-domain scenarios. Having the student imitate the teacher's representations on these scenarios is to learn generalizable spoof-discriminative representations rather than fitting the training distribution.
- Layer selection: Centered Kernel Alignment (CKA) is performed on the fine-tuned XLSR. The authors state that in Figure 3 the fine-tuned model exhibits a three-block structure corresponding to layers 1–8, 9–21, and 22–24. Combined with existing work showing that lower layers, especially layer 5, are more discriminative, the representative layers are taken as Lset={5, 14, 24}.
- Loss: Sum over selected layers, Ldistill=∑l∈ LsetLdis(fTl(x),ϕ(fSl(x))). x is unlabeled in-domain and cross-domain samples, φ aligns dimensions. L^dis is MSE or cosine distance; the paper does not specify which is used in experiments.
Movement-guided structured pruning
- Score: The Movement Score S_j for each structural unit j is the L1 norm of the difference between fine-tuned and initial parameters. The authors rely on the observation that weights that change more during fine-tuning encode task-relevant knowledge.
- Penalty: The retention mask z_j is 0 or 1. The penalty weight is the inverse of movement, w_j=1/(S_j+ε), and L_penalty is the sum of w_j·z_j over units. Minimizing this prunes low-movement units and retains units needed for detection. The value of ε is not given in the paper.
Constrained optimization and training settings
- Objective: Minimize L_distill+λ_p L_penalty subject to parameter sparsity equal to target t. λ_p is not given in the paper. Masks are reparameterized with the Hard Concrete distribution to make L0 differentiable with respect to learnable parameters α; current sparsity s(α) is expected L0 divided by total parameter count N.
- Pulling to target sparsity: Augmented Lagrangian is used with multipliers λ1, λ2. The constraint term is Lconstraint=λ1(s(α)−t)+λ2(s(α)−t)2.
- Schedule: The pruning and distillation phase trains for 50k steps, with target sparsity linearly increased to t over 5k warmup. Learning rate for model parameters θ is 2e-4, and for auxiliary parameters α, λ1, λ2 is 2e-2. Subsequently, following the cited approach, distill for another 25k steps and jointly fine-tune with the AASIST back-end for several epochs. The paper does not give the specific number of epochs or the learning rate for the 25k phase.
- Data split: Fine-tuning in steps 1 and 3 uses the ASVspoof2019 LA training set. Samples in the distillation phase are unlabeled.
What experiments did the paper conduct?
At 90% sparsity, 31.9M, 23.3G; authors state average EER rises 1.30%, but the uncompressed baseline is lower in some cells.
Experiments compare 60%, 75%, and 90% sparsity on XLSR-AASIST, with metrics EER, parameter count, and FLOPs.
Experimental setup
- System under test: Compress the front-end XLS-R (0.3B) of XLSR-AASIST, prune, then jointly fine-tune with the AASIST back-end. The result tables report the EER of this detector.
- Data: Fine-tuning in steps 1 and 3 uses the ASVspoof2019 LA training set. Distillation uses unlabeled 19LA train, ASVspoof2021 LA, 21 DF, and In-the-Wild.
- Evaluation splits: In-domain are 19LA Dev and Eval. The authors call the cross-domain distillation benchmarks ASVspoof2021 LA, 21DF, and In-the-Wild; these three also enter unlabeled distillation. The authors mark ASVspoof5 and FoR as completely unseen. The paper does not report sample sizes for each set.
- Baselines: Uncompressed XLSR-AASIST, and reimplemented HJ-Pruning, Finetune-Pruning, and Hybrid-Pruning in a unified framework. The originals correspond to pruning methods for speech recognition, speaker diarization, speaker verification, and anti-spoofing, respectively.
- Metrics and judgment: Lower EER is better; parameter count and FLOPs are also reported. There is no separate review model. The paper does not report repetitions.
- Training budget: Pruning and distillation for 50k steps (including 5k warmup), then distillation for 25k steps, then joint fine-tuning with AASIST for several epochs.
Main results
The table below takes Table 1 at 90% sparsity EER (%); uncompressed is 0% sparsity. Columns retain only parameter count and four evaluation sets.
Swipe horizontally to read the table
Method Parameters 19LA Eval In-the-Wild ASV5 FoR XLSR-AASIST (0%) 317M 0.14 8.96 19.92 14.89 HJ-Pruning 32.6M 5.03 34.11 40.82 57.55 Finetune-Pruning 31.3M 0.52 32.54 35.20 27.43 Hybrid-Pruning 29.2M 10.39 52.06 43.78 58.61 Ours 31.9M 0.30 7.83 20.16 22.44 - Relative to pruning baselines and uncompressed baseline: The authors state that Ours outperforms each pruning baseline at all sparsity levels, especially on out-of-domain sets. Table 1 has counterexamples relative to the uncompressed baseline: 19LA Eval baseline is 0.14%, Ours at 60%, 75%, 90% is 0.18%, 0.22%, 0.30%; 21LA baseline is 2.86%, Ours is 3.24%, 3.03%, 3.11%. At 90%, 21DF baseline is 3.09%, Ours is 3.78%.
- Examples where Ours outperforms the uncompressed model: At 75% sparsity, ASVspoof5 is 17.75% (uncompressed 19.92%), FoR is 10.51% (uncompressed 14.89%). The authors argue that the overparameterized baseline overfits the source domain, and pruning removes redundant capacity. The authors state that at this sparsity, relative to Finetune-Pruning, In-the-Wild and ASVspoof5 are better by 67% and 32%, respectively; these two cells for Finetune-Pruning are 25.50% and 26.13%. According to Table 1, the other row below Ours is the uncompressed baseline (8.96%, 19.92%), not Finetune-Pruning.
- Summary at 90% sparsity: The authors state that average EER increases by 1.30% across multiple datasets. The abstract writes the same number as average performance drop 1.30%, alongside 31.9M and 6.3× FLOPs. The introduction and Section 4.2 state parameter reduction is 10× (31.9M vs. 317M); Section 4.2 writes FLOPs as 23.3G, with reduction relative to 146.3G stated as 6.3×. The text for Figure 2 states: on 19LA Eval, both Ours and Finetune-Pruning have EER below 0.6%; the latter degrades faster out-of-domain after sparsity exceeds 70%, while Ours remains competitive with the uncompressed baseline even beyond 90% sparsity.
Component ablation
Table 2 at 75% sparsity removes a single component, EER in %.
- Removing cross-domain distillation: 19 Eval from 0.22% to 0.39%, 21LA from 3.03% to 10.14%, 21DF from 2.76% to 8.25%, In-the-Wild from 8.43% to 25.84%, ASVspoof5 from 17.75% to 27.48%, FoR from 10.51% to 16.61%. The authors argue this component mainly improves generalization, with smaller in-domain changes.
- Removing movement guidance: 21DF from 2.76% to 3.13%, ASVspoof5 from 17.75% to 19.95%, FoR from 10.51% to 13.56%. The authors attribute this to the more complex attack patterns in these two datasets and state that FoR's high fidelity makes synthetic artifacts subtler; the authors state this is consistent with existing observations that compression weakens handling of difficult samples. In-the-Wild from 8.43% to 7.83%, 21LA from 3.03% to 3.00%; the authors do not explain these two cells.
Pruning structure
- Figure 4: The caption gives original sizes as CNN channels 512, attention heads 16, FFN intermediate dimension 4096. The authors state that even at 90% sparsity, CNN retains most channels; MHA is U-shaped, with layers 1–8 and 20–24 retained and layers 9–19 compressed; deeper blocks' FFN intermediate dimensions shrink to near zero. The authors argue that low-level spectral-temporal features are the basis for detection, and FFN parameters are largely redundant for binary classification detection. The specific bar heights in the figure are not given layer-by-layer in the text.
- Figure 3: The text gives a three-block CKA structure for the fine-tuned XLSR, namely layers 1–8, 9–21, and 22–24. Figure 3(a) is the inter-layer CKA of the pre-trained XLSR; the text does not separately give block divisions.
Other ablations and analyses
- 60% sparsity Ours: 126.6M, 63.8G; EER is 19LA Eval 0.18%, 21DF 2.21%, In-the-Wild 7.29%, ASV5 16.46%, FoR 9.36% (Table 1).
- 75% sparsity Ours: 79.2M, 43.9G; EER is 19LA Eval 0.22%, 21LA 3.03%, 21DF 2.76%, In-the-Wild 8.43%, ASV5 17.75%, FoR 10.51% (Table 1).
- Replacing representative layers within the same block (e.g., 5 with 8, 10 with 14): the authors state performance is comparable, without reporting EER (Section 4.4).
- Confidence calibration: the authors state they tried it, gains are small, no numbers reported (Section 4.4).
What are some points that can be further explored?
The authors place future work in more robust distillation, adaptive layer selection, cross-architecture transfer, and larger SSL.
The authors write open problems in Section 4.4; the paper has no separate Limitations section.
Limitations and future directions noted by the authors
- Teacher error upper bound: The authors state that cross-domain distillation is inherently constrained by the teacher's errors on unlabeled data (Section 4.4).
- Calibration: The authors state they tried confidence-based calibration to mitigate the above issue, but gains are small, and more robust distillation strategies need research (Section 4.4).
- Layer selection: The authors state that swapping layers within the same block yields comparable performance; future work could do adaptive layer selection, e.g., similarity-aware distillation (Section 4.4).
- Cross-architecture: The authors state the framework is evaluated on XLS-R, whose objects are standard MHA and FFN blocks in Transformers, so it may transfer to other SSL detectors; future work could examine cross-architecture portability and form more compression strategies for deepfake detection (Section 4.4).
- Larger models: The authors state that larger SSL models (e.g., XLS-R-2B) have better detection performance, and extending existing compression methods to such models remains an open problem (Section 4.4).
Experimental coverage
- The detector compressed and reported with EER is XLSR-AASIST, with front-end XLS-R (0.3B) (Section 4.1).
- Table 1 comparisons include uncompressed XLSR-AASIST, HJ-Pruning, Finetune-Pruning, and Hybrid-Pruning at sparsity levels 60%, 75%, and 90%.
- Evaluation sets are 19LA Dev, 19LA Eval, ASVspoof2021 LA, 21DF, In-the-Wild, ASVspoof5, and FoR, with metrics EER, parameter count, and FLOPs (Section 4.1). 21LA, 21DF, and In-the-Wild are also used for unlabeled distillation; ASVspoof5 and FoR are marked by the authors as completely unseen.
- Table 2 ablations are fixed at 75% sparsity, with variables being removal of cross-domain distillation or removal of movement guidance.
- The paper does not report repetitions, sample sizes for each dataset, or edge latency or energy consumption; Section 4.4 gives no numbers for confidence calibration.
Summarize the main content of the paper
Compressing XLSR-AASIST with cross-domain distillation and movement pruning, the authors report an average EER increase of 1.30% at 90% sparsity.
This is a compression framework that reduces SSL speech deepfake detectors to edge-deployable sizes.
- Problem: Front-ends like XLSR typically exceed 300M parameters and 130+ GFLOPs. Cloud inference has network dependency and privacy risks from uploading audio. When distillation and pruning designed for content tasks like ASR are directly applied to detection, the authors state that when sparsity exceeds 75%, especially out-of-domain, spoof-discriminative knowledge and critical structures are not preserved.
- Method: Task-Aware Joint Pruning and Distillation. First fine-tune XLS-R (0.3B) on ASVspoof2019 LA, recording movement of MHA, FFN intermediate layers, and CNN channels. Then use unlabeled 19LA train, ASVspoof2021 LA, 21 DF, and In-the-Wild to perform cross-domain distillation on CKA-selected layers 5, 14, and 24, with inverse movement as pruning penalty. Sparsity is constrained to target t via Augmented Lagrangian, and finally jointly fine-tune with AASIST.
- 90% sparsity: In Table 1, Ours is 31.9M parameters and 23.3G FLOPs. The authors state that relative to the uncompressed baseline of 317M and 146.3G, parameter compression is 10× and FLOPs reduction is 6.3×, with average EER increasing by 1.30% across multiple datasets. The abstract writes the same number as performance drop 1.30%.
- Comparison with uncompressed baseline: Examples where Ours outperforms the uncompressed model are at 75% sparsity: ASVspoof5 17.75% (baseline 19.92%) and FoR 10.51% (baseline 14.89%). In Table 1, the uncompressed EER for 19LA Eval is 0.14%, and Ours at 60%, 75%, 90% is 0.18%, 0.22%, 0.30%; at 90%, FoR Ours is 22.44%, higher than baseline 14.89%.
- Ablation: At 75%, removing cross-domain distillation, In-the-Wild goes from 8.43% to 25.84%, ASVspoof5 from 17.75% to 27.48% (Table 2). The authors argue this component mainly improves generalization.
- Authors' conclusion: The compressed model preserves spoof-discriminative structures and maintains detection performance across various scenarios; the authors view this as a step toward edge deepfake detection.