AuralGuard: Multi-View One-Class Learning for Generalizable and Calibrated Detection of AI-Generated Speech in the Wild
Official checkpoint repository, standardized evaluation manifests, and reproducible artifact logs for the paper:
"AuralGuard: Multi-View One-Class Learning for Generalizable and Calibrated Detection of AI-Generated Speech in the Wild"
Submitted to: Elsevier Machine Learning with Applications (MLWA) (24 pages, double-column format).
- 📄 Manuscript Preprint: Submitted to Elsevier Machine Learning with Applications (MLWA)
- 💻 Official Code Repository: github.com/MIHMahmudEli/auralguard
- 🌐 Interactive Web Demonstration: Hugging Face Spaces
- 👥 Authors: Mohsin Ibna Hossain, Md Muttakin, Sadman Hasan Miraj, and Md. Khairul Alam Mazumder* (Corresponding Author)
- 🏛️ Affiliation: Department of Computer Science, American International University-Bangladesh (AIUB), Kuratoli, Dhaka 1229, Bangladesh
- 📦 Hugging Face Hub: huggingface.co/MoshinAli/auralguard-checkpoints
- 📋 Evaluation Manifests: Hosted under
manifests/ - 📜 Reproducible Artifact Logs: Hosted under
logs/
🎯 Key Highlights & Solved Bottlenecks
- Couples WavLM with phase artifacts to overcome foundation model vocoder blindness.
- Orthogonal Centroid Scoring constrains authentic speech to detect unmodeled spoofs.
- Achieves 28.76% EER on WaveFake, beating single-view WavLM by 18.67 points.
- Attains 0.1028 out-of-domain ECE, providing calibrated posterior probabilities.
- Sustains 19.90% zero-shot EER on In-the-Wild, mitigating acoustic channel shift.
🏛️ Method & Architecture Overview
AuralGuard addresses two fundamental challenges in neural speech forensics:
- Cross-Domain Generalization Collapse: Single-view foundation models capture linguistic-phonetic context but collapse when encountering unseen neural vocoders (e.g., HiFi-GAN, WaveGlow) and transmission codecs.
- Forensic Probability Miscalibration: Conventional binary cross-entropy classifiers output overconfident, miscalibrated posterior probabilities, posing challenges for judicial evidentiary admissibility (Daubert criteria, Article 50 of the EU AI Act).
AuralGuard resolves these challenges through a dual-stream multi-view architecture optimized via Orthogonal Centroid Scoring (OCS) hyperspherical loss and Supervised Contrastive (SupCon) alignment:

Figure 1: Schematic diagram of AuralGuard dual-stream multi-view architecture. View A captures high-level linguistic-phonetic representations via fine-tuned top layers of WavLM-Large. View B extracts low-level physical vocoder and phase artifacts via Linear Frequency Cepstral Coefficients (LFCC) and Modified Group Delay (MGD) processed by a 2D ResNet. Stage II fuses both views via Bidirectional Cross-Attention Gating and Graph Attention Network (GAT). Stage III optimizes a compact hyperspherical authentic centroid via Orthogonal Centroid Scoring (OCS) and Supervised Contrastive alignment, yielding temperature-calibrated posterior probabilities.
📄 Vector Diagram: Download high-resolution vector PDF
Trainable Parameter Footprint & Efficiency
AuralGuard fine-tunes only the top three transformer layers of its 315.45M WavLM-Large backbone ($\approx 37.79\text{M}$) and trains 0.47M adapter and fusion parameters, freezing 88% of the backbone.
- Total Parameters: 315.92M
- Trainable Parameters: 38.26M ($\approx 12.1%$ of the network)
- Inference Latency: Real-Time Factor (RTF) = 0.0217 ($46\times$ faster than real-time on an NVIDIA Tesla T4 GPU; peak memory 14.56 GB VRAM).
📊 Comprehensive Empirical Benchmark Results
All models are trained strictly once on ASVspoof 2019 LA (train-once protocol) and evaluated zero-shot without fine-tuning across held-out evaluation benchmarks (250,382 total evaluation trials). Confidence intervals reflect 95% non-parametric bootstrap intervals ($B=1{,}000$).
1. Primary Cross-Corpus Performance (Table 6 in Paper)
| Model Architecture | Front-End Representation | In-Domain (19LA) EER (%) | min t-DCF | Zero-Shot (In-the-Wild) EER (%) | Zero-Shot (WaveFake) EER (%) |
|---|---|---|---|---|---|
| B1 LFCC-LCNN | 60-dim LFCC | 16.29 [15.97, 16.63] | 0.6131 | 50.62 [50.00, 51.19] | 45.32 [44.86, 45.76] |
| B2 RawNet2 | Sinc-Conv Raw Waveform | 8.99 [8.72, 9.23] | 0.3444 | 38.08 [37.57, 38.59] | 50.37 [49.89, 50.80] |
| B3 AASIST | Sinc-Conv Raw Waveform | 10.63 [10.36, 10.92] | 0.3921 | 42.33 [41.80, 42.85] | 49.89 [49.37, 50.34] |
| B5 WavLM+OCS | WavLM-Large (last-3 ft.) | 2.86 [2.73, 3.00] | 0.1041 | 16.55 [16.12, 16.98] | 47.43 [46.91, 47.89] |
| AuralGuard (v1) | WavLM + Vocoder Art. | 3.58 [3.40, 3.74] | 0.1326 | 26.02 [25.55, 26.52] | 30.66 [30.27, 31.02] |
| AuralGuard v2 | WavLM + Vocoder Art. + SupCon | 5.27 [5.10, 5.47] | 0.1881 | 19.90 [19.45, 20.35] | 28.76 [28.34, 29.14] |
2. Forensic Probability Calibration & Decision Metrics (Table 7 in Paper)
Evaluated across 15 probability bins ($T=1.0$). Balanced accuracy and F1 score evaluated at EER threshold $\tau^*$.
| Model | In-Domain ECE (↓) | In-Domain Brier (↓) | In-Domain Bal. Acc (%) | Out-of-Domain (ITW) ECE (↓) | ITW Brier (↓) | ITW Bal. Acc (%) | ITW F1 Score |
|---|---|---|---|---|---|---|---|
| B1 LFCC-LCNN | 0.2651 | 0.1905 | 83.71 | 0.4292 | 0.4354 | 49.39 | 0.4205 |
| B2 RawNet2 | 0.1181 | 0.1114 | 91.01 | 0.5761 | 0.5543 | 61.92 | 0.5474 |
| B3 AASIST | 0.0545 | 0.0635 | 89.37 | 0.5552 | 0.5380 | 57.66 | 0.5032 |
| B5 WavLM+OCS | 0.4487 | 0.2664 | 97.14 | 0.2320 | 0.1785 | 83.45 | 0.7895 |
| AuralGuard (v1) | 0.4482 | 0.2711 | 96.43 | 0.1028 | 0.1929 | 73.98 | 0.6789 |
| AuralGuard v2 | 0.4640 | 0.2872 | 94.73 | 0.1727 | 0.1874 | 80.11 | 0.7497 |
3. Operational Forensic Budgets (Table 8 in Paper)
Operational False Rejection Rates (FRR, %) evaluated at strict False Acceptance Rate budgets ($P_{\text{fa}} \in {1.0%, 0.1%}$).
| Evaluation Corpus | AuralGuard (v1) FRR at $P_{\text{fa}}=1.0%$ | AuralGuard (v1) FRR at $P_{\text{fa}}=0.1%$ | AuralGuard v2 FRR at $P_{\text{fa}}=1.0%$ | AuralGuard v2 FRR at $P_{\text{fa}}=0.1%$ |
|---|---|---|---|---|
| In-Domain (19LA Eval) | 21.31 [19.39, 23.25] | 82.32 [79.06, 86.70] | 6.26 [6.04, 6.57] | 12.34 [9.03, 20.15] |
| In-the-Wild (Zero-Shot) | 88.79 [86.90, 90.88] | 98.78 [97.69, 99.19] | 83.25 [81.55, 84.59] | 96.81 [95.56, 97.77] |
| WaveFake (Zero-Shot) | 97.04 [96.73, 97.33] | 99.72 [99.62, 99.80] | 85.05 [83.38, 86.42] | 97.55 [95.37, 98.07] |
4. Systematic Component Ablation (Table 10 in Paper)
Component ablation on ASVspoof 2019 LA evaluation partition (71,237 trials).
| Configuration Variant | Architectural Modification | 19LA EER (%) | 95% Bootstrap CI | AUROC | ECE |
|---|---|---|---|---|---|
| Full AuralGuard v2 | Canonical Dual-View Model (Seed 7) | 11.04 | [10.81, 11.29] | 0.9230 | 0.4597 |
| w/o RawBoost | Static Training Data (No Acoustic Perturb.) | 12.38 | [12.13, 12.63] | 0.9168 | 0.4632 |
| w/o Cross-Attention Gate | Unweighted Mean Pooling Fusion | 13.62 | [13.38, 13.90] | 0.9080 | 0.4688 |
| w/o View B | WavLM SSL Only (No Physical Artifacts) | 14.15 | [13.88, 14.41] | 0.9015 | 0.4674 |
| w/o SupCon Auxiliary Loss | OCS Loss Only ($\lambda_c = 0$) | 14.82 | [14.54, 15.09] | 0.8955 | 0.4715 |
| Single-View Baseline (B5) | WavLM-Large + OCS Baseline | 10.01 | [9.76, 10.24] | 0.9320 | 0.4611 |
5. Acoustic Channel Robustness (Table 11 in Paper)
Evaluated under lossy codec compression and additive environmental noise on ASVspoof 2019 LA.
| Channel Condition | Bitrate / Specification | EER (%) | 95% Bootstrap CI | AUROC | ECE |
|---|---|---|---|---|---|
| Uncompressed Baseline | Linear PCM (16 kHz, 16-bit) | 11.04 | [10.81, 11.29] | 0.9230 | 0.4597 |
| MP3 Streaming Codec | 32 kbps CBR | 10.67 | [10.44, 10.92] | 0.9281 | 0.4594 |
| AAC Social Media Codec | 32 kbps VBR | 10.71 | [10.49, 10.96] | 0.9250 | 0.4549 |
| Additive Acoustic Noise | SNR Sweep (0--20 dB uniform) | 11.25 | [11.01, 11.49] | 0.9224 | 0.4590 |
| Additive Acoustic Noise | 10 dB SNR (Fixed severe) | 12.29 | [12.02, 12.52] | 0.9160 | 0.4677 |
| Opus VoIP Telephony | 16 kbps Wideband (Primary) | 14.44 | [14.18, 14.71] | 0.8976 | 0.4610 |
| Opus VoIP Telephony | 16 kbps Wideband (Replication) | 14.81 | [14.54, 15.07] | 0.8940 | 0.4635 |
6. Multi-Seed Initialization Stability (Table 12 in Paper)
Evaluated across four independent random initializations on ASVspoof 2019 LA (71,237 trials each).
| Random Seed | 19LA EER (%) | 95% Bootstrap CI | AUROC | ECE |
|---|---|---|---|---|
| Seed 7 | 11.04 | [10.81, 11.29] | 0.9230 | 0.4597 |
| Seed 43 | 12.16 | [11.90, 12.41] | 0.9136 | 0.4637 |
| Seed 1234 | 10.98 | [10.74, 11.20] | 0.9283 | 0.4568 |
| Seed 2024 | 11.96 | [11.71, 12.20] | 0.9178 | 0.4653 |
| Fleet Mean $\pm$ Std | 11.54 $\pm$ 0.53 | — | 0.9207 $\pm$ 0.0055 | 0.4614 $\pm$ 0.0034 |
7. Comparison with Published State-of-the-Art (Table 13 in Paper)
Comparison on the In-the-Wild benchmark against published literature and our standardized evaluation protocol.
| System | Backbone / Detection Strategy | Source / Evaluation Protocol | ITW EER (%) |
|---|---|---|---|
| Published Literature: | |||
| RawNet2 (Müller et al.) | Raw waveform SincConv | Interspeech 2022 | 33.94 |
| SLIM (Zhu et al.) | Style-Linguistics | NeurIPS 2024 | 12.90 |
| XLSR-Mamba (Xiao et al.) | XLS-R + Bi-SSM | IEEE SPL 2025 | 6.71 |
| Nes2Net-X (Liu et al.) | XLS-R + Nested Conv | IEEE T-IFS 2025 | 5.52 |
| Standardized Protocol (Ours): | |||
| B1: LFCC-LCNN | LFCC + Light CNN | Re-implemented (Controlled 19LA) | 50.62 |
| B2: RawNet2 | SincConv + Residual | Re-implemented (Controlled 19LA) | 38.08 |
| B3: AASIST | Graph Attention Network | Re-implemented (Controlled 19LA) | 42.33 |
| B5: WavLM + OCS | WavLM-Large (last-3 ft.) | Foundation Baseline (Controlled 19LA) | 16.55 |
| AuralGuard (v1) | Multi-View (last-3 ft.) | Prior Baseline (Controlled 19LA) | 26.02 |
| AuralGuard v2 | Multi-View (last-3 ft.) | Proposed (Ours, Controlled 19LA) | 19.90 |
📁 Repository Directory Structure
.
├── checkpoints/ # Trained PyTorch model checkpoint weights
│ ├── auralguard_v2/ # Full AuralGuard v2 (best.ckpt, last.ckpt)
│ ├── auralguard/ # AuralGuard v1 baseline (best.ckpt, last.ckpt)
│ ├── b1_lcnn/ # B1: LFCC-LCNN baseline (best.ckpt, last.ckpt)
│ ├── b2_rawnet2/ # B2: RawNet2 baseline (best.ckpt, last.ckpt)
│ ├── b3_aasist/ # B3: AASIST graph-attention baseline (best.ckpt, last.ckpt)
│ └── b5_wavlm_ocs/ # B5: Single-view WavLM+OCS baseline (best.ckpt, last.ckpt)
│
├── manifests/ # Standardized evaluation & training manifests
│ ├── asvspoof2019_la_train.csv # ASVspoof 2019 LA fixed training partition (25,380 trials)
│ ├── asvspoof2019_la_dev.csv # ASVspoof 2019 LA development partition (24,844 trials)
│ ├── asvspoof2019_la_eval.csv # ASVspoof 2019 LA evaluation partition (71,237 trials)
│ ├── in_the_wild.csv # In-the-Wild unconstrained evaluation set (31,779 trials)
│ ├── wavefake.csv # WaveFake multi-vocoder benchmark (147,366 trials)
│ └── README.md # Manifest schemas, trial breakdown, and data origin
│
├── logs/ # Reproducible artifact logs & verification trail
│ ├── SHA256SUMS.txt # Authoritative cryptographic SHA-256 checksums
│ ├── reproducibility_report.md # Hardware, software, hyperparameter & execution logs
│ ├── checkpoint_audit.csv # Structural checkpoint verification & parameter counts
│ ├── parameter_audit.csv # Module-wise parameter allocations
│ ├── manuscript_consistency.csv # Line-by-line verification against paper numbers
│ ├── RESULT_CONSISTENCY_MATRIX.md # Multi-seed replication breakdown (Seeds 7, 43, 1234, 2024)
│ └── README.md # Log directory documentation
│
├── results/ # Raw empirical evaluation outputs (JSON format)
│ ├── auralguard_v2/ # In-domain, zero-shot, and channel robustness JSONs
│ ├── auralguard/ # AuralGuard v1 evaluation results
│ └── b1_lcnn/ ... b5_wavlm_ocs/ # Baseline evaluation logs
│
└── figures/ # Publication-grade architecture figures & diagrams
├── architecture_diagram.png # High-resolution raster architecture overview
└── fig1_architecture_standalone.pdf # Standalone vector publication diagram
🚀 Quick Usage Guide
1. Download Model Checkpoints via huggingface_hub
import torch
from huggingface_hub import hf_hub_download
# Download AuralGuard v2 checkpoint
ckpt_path = hf_hub_download(
repo_id="MoshinAli/auralguard-checkpoints",
filename="checkpoints/auralguard_v2/best.ckpt"
)
print(f"Checkpoint successfully downloaded to: {ckpt_path}")
# Inspect checkpoint weights
state_dict = torch.load(ckpt_path, map_location="cpu")
print(f"Loaded {len(state_dict)} state dictionary keys.")
2. Verify Cryptographic Integrity
To verify all downloaded checkpoints, manifests, and logs against official SHA-256 hashes:
# Download SHA256SUMS.txt
curl -O https://huggingface.co/MoshinAli/auralguard-checkpoints/raw/main/logs/SHA256SUMS.txt
# Run checksum verification
sha256sum -c SHA256SUMS.txt
📜 Citation
If you use these pre-trained checkpoints, evaluation manifests, or reproducible logs in your research, please cite our manuscript:
@article{hossain2026auralguard,
title = {AuralGuard: Multi-View One-Class Learning for Generalizable and Calibrated Detection of AI-Generated Speech in the Wild},
author = {Hossain, Mohsin Ibna and Muttakin, Md and Miraj, Sadman Hasan and Mazumder, Md. Khairul Alam},
journal = {Preprint submitted to Elsevier Machine Learning with Applications},
year = {2026},
url = {https://huggingface.co/MoshinAli/auralguard-checkpoints}
}
⚖️ License & Ethical Declaration
The model weights, manifests, and reproducible artifact logs in this repository are released under the MIT License.
This repository is dedicated to defensive speech forensics, digital authentication, and biometric verification. Countermeasures are evaluated to advance scientific transparency and empirical accountability under established scientific and legal frameworks (Daubert criteria and Article 50 of the European Union AI Act).