From Spectrograms to Shallow Speech SSL: Audio-Frontend Design for Generator-Disjoint and Low-Latency Audio--Visual Deepfake Detection
Organizations: Luqia Technologies
Abstract
Video-mediated conversational systems rely on synchronized speech and facial video, making audio--visual input integrity important for reliable perception. We study audio-frontend design in a fixed MRDF (Modality-Regularization-based DeepFake)-based pipeline with AV-HuBERT visual processing and an MSCT (multi-scale cross-modal transformer) fusion encoder. We compare spectrogram-style log-filterbank features with frozen wav2vec2.0 and WavLM representations, dual-SSL fusion, executed depth, and shallow-layer aggregation. Across three training runs, full wav2vec2.0 improves mean macro AUROC from to on generator-disjoint MMDF. Six-layer execution further improves detection, and learned non-uniform aggregation adds percentage points, reaching . Shallow execution reduces measured inference latency relative to full-depth wav2vec~2.0 across the tested input durations; first-second evaluation reaches macro AUROC. In a single-run comparison, dual-SSL concatenation outperforms either single stream, while one-way cross-attention yields lower detection performance and higher latency than concatenation. Layer-weight analysis shows greater emphasis on early speech layers, while removing the selector's visual input has little effect on detection performance.
Figures & tables
| Frontend | Test mAUC | Gap | mEER | Worst |
|---|---|---|---|---|
| Spectrogram | 13.93 | |||
| W2V2-L12 | 10.75 | |||
| W2V2-L6-last | 9.45 | |||
| W2V2-L6-weighted |
| Frontend | 1 s | 8 s | Full | Slope ms/s |
| Spectrogram | 33.20 | 52.05 | 1.59 | |
| W2V2-L12 | 32.28 | 35.80 | 52.93 | 1.14 |
| W2V2-L6-last | 28.61 | 0.99 | ||
| W2V2-L6-weighted | 29.90 | 33.24 | 47.37 |
Appendix figures & tables12 assets
Supplementary material from the paper’s appendix.
Appendix
| Frontend / fusion | 1-s mAUC | Native mAUC | Native mEER | Native Worst |
|---|---|---|---|---|
| Spectrogram | 80.65 | 84.30 | 22.75 | 80.12 |
| W2V2-L12 | 83.35 | 84.18 | 21.72 | 69.08 |
| WavLM-L12 | – | 80.11 | 27.77 | 70.56 |
| Dual SSL concat | – | 89.00 | 17.46 | 76.97 |
| Dual SSL cross-attn. | – | 84.72 | 21.87 | 69.09 |
| W2V2-L6-last | 82.67 | 84.80 | 21.03 | 66.25 |
| Comparison | Run-wise gains | Mean | Positive runs | 95% CI |
|---|---|---|---|---|
| L12 Spectrogram | ||||
| L6-last L12 | ||||
| L6-weighted L6-last | ||||
| L6-weighted Spectrogram |
| Run | ||||||||
|---|---|---|---|---|---|---|---|---|
| 1 | .269 | .216 | .181 | .120 | .109 | .106 | .958 | 5.57 |
| 2 | .386 | .231 | .146 | .095 | .076 | .066 | .878 | 4.84 |
| 3 | .430 | .208 | .151 | .096 | .061 | .054 | .846 | 4.57 |
| Mean | .362 | .218 | .159 | .103 | .082 | .076 | .894 | 4.99 |
| Inference rule | mAUC | mAUC | Worst AUC |
|---|---|---|---|
| Normal | 89.598 | — | 75.362 |
| Zero visual contribution | 89.613 | 75.416 | |
| Shuffled visual summary (mean) | 89.615 | 75.389 | |
| Fixed validation-mean weights | 89.418 | 74.949 | |
| Uniform weights | 88.259 | 72.087 |
| Frontend | 1 s | 2 s | 4 s | 8 s | 19.095 s | Slope | Intercept | |
|---|---|---|---|---|---|---|---|---|
| Spectrogram | 23.15 | 24.92 | 27.93 | 33.20 | 52.05 | 1.59 | 21.43 | .998 |
| W2V2-L12 | 32.28 | 33.29 | 34.29 | 35.80 | 52.93 | 1.14 | 29.95 | .950 |
| W2V2-L6-last | 28.61 | 29.45 | 30.67 | 31.70 | 46.70 | .99 | 26.64 | .951 |
| W2V2-L6-weighted | 29.90 | 30.95 | 32.01 | 33.24 | 47.37 | .96 | 28.18 | .957 |
| Frontend | 1-s mAUC | 1-s Worst | Native mAUC | Native Worst |
|---|---|---|---|---|
| Spectrogram | 80.65 | 75.07 | 84.30 | 80.12 |
| W2V2-L12 | 83.35 | 65.54 | 84.18 | 69.08 |
| W2V2-L6-last | 82.67 | 63.43 | 84.80 | 66.25 |
| W2V2-L6-weighted | 86.85 | 68.84 | 89.60 | 75.36 |
| Frontend | mAUC | mAP | mEER | Worst | p50 ms | Peak MB |
|---|---|---|---|---|---|---|
| W2V2-L12 | 84.18 | 83.65 | 21.72 | 69.08 | 64.88 | 937.95 |
| WavLM-L12 | 80.11 | 80.23 | 27.77 | 70.56 | 84.11 | 938.00 |
| Dual concat | 89.00 | 88.57 | 17.46 | 76.97 | 91.24 | 1317.01 |
| Dual cross-attn. | 84.72 | 85.34 | 21.87 | 69.09 | 92.30 | 1317.51 |
| Fusion | AniPortrait | Hunyuan | MegActor-S |
|---|---|---|---|
| Concatenation | 91.23 | 76.97 | 98.79 |
| Cross-attention | 88.94 | 69.09 | 96.15 |
| Configuration | mAUC | mEER | p50 ms |
|---|---|---|---|
| W2V2-L4-last | 90.57 | 14.89 | 43.87 |
| W2V2-L6-last | 84.80 | 21.03 | 45.72 |
| W2V2-L9-last | 81.52 | 23.61 | 48.91 |
| W2V2-L12 | 84.18 | 21.72 | 64.88 |
| W2V2-L6-uniform | 84.96 | 20.33 | 45.51 |
| W2V2-L6-global | 91.86 | 14.16 | 45.69 |
| Frontend | AniPortrait | Hunyuan | MegActor-S | Worst |
|---|---|---|---|---|
| Spectrogram | 90.38 | 79.68 | 82.52 | 79.68 |
| W2V2-L12 | 87.21 | 76.12 | 98.23 | 76.12 |
| W2V2-L6-last | 92.28 | 74.28 | 97.67 | 74.28 |
| W2V2-L6-weighted | 94.04 | 78.58 | 99.19 | 78.58 |
| Comparison | Spearman | Disagree | Error Jaccard | Rescue |
|---|---|---|---|---|
| L6-weighted vs. L6-last | .852 | 13.35% | .514 | 39.24% |
| L12 vs. Spectrogram | .656 | 23.05% | .403 | 46.02% |
| Dual concat vs. L12 | .838 | 14.11% | .532 | 36.65% |
| Dual concat vs. cross-attn. | .815 | 14.85% | .505 | — |