Nes2Net: A Lightweight Nested Architecture for Foundation Model Driven Speech Anti-Spoofing

Tianchi Liu, Duc-Tuan Truong, Rohan Kumar Das, Kong Aik Lee, Haizhou Li

Introduction

The rise of sophisticated AI voice cloning has necessitated the use of Self-Supervised Learning (SSL) speech foundation models, such as wav2vec 2.0 or WavLM, for deepfake detection. While these models extract rich acoustic features, they often output high-dimensional data (e.g., 1024 dimensions). Traditional back-end classifiers typically require a Dimensionality Reduction (DR) layer to process these features. However, this DR layer introduces significant computational bloat—often accounting for up to 40% of the back-end's cost—and causes information loss by squashing complex data through a narrow bottleneck.

Methodology: The Nested Res2Net (Nes2Net)

To address these inefficiencies, we propose Nested Res2Net (Nes2Net), a DR-free architecture designed to directly ingest high-dimensional features. Nes2Net utilizes a hierarchical, nested design that splits input features into subsets. Unlike standard parallel processing, these subsets interact through a nested structure where the output of one is fed into the next, enabling multi-scale feature extraction without increasing parameter counts.

Overview of the Nes2Net architecture and its nested design compared to traditional back-ends.

We also introduce Nes2Net-X, an enhanced variant that replaces simple additions with concatenations and learnable weighted sums. This allows the network to dynamically prioritize feature subsets most relevant to specific spoofing attacks.

Experimental Results

Nes2Net was evaluated across five benchmark datasets, including ASVspoof 2019/2021 and the new CtrSVDD dataset for singing voice deepfakes.

Efficiency and Performance

Nes2Net achieves a remarkable balance between accuracy and computational efficiency. On the CtrSVDD dataset, it reduced Multiply-Accumulate operations (MACs) by 87% compared to the AASIST baseline while improving performance by 22% (2.51% EER).

Performance (EER) vs. Efficiency (MMACs) comparison showing Nes2Net's superior trade-off.

Robustness and Generalization

The Nes2Net-X variant demonstrated state-of-the-art results on the ASVspoof 2021 Deepfake track with a 1.49% EER. Furthermore, it showed significant robustness against real-world distortions, achieving a 5.52% EER on the "In-the-Wild" dataset. A key finding was that incorporating data augmentation into the validation set—rather than just training—enhanced the model's ability to generalize to unseen internet-sourced audio.

Conclusion

Nes2Net demonstrates that removing the DR layer in favor of an intelligent nested architecture significantly improves both the efficiency and accuracy of speech anti-spoofing systems. While Nes2Net-X offers superior accuracy at the cost of higher latency, the base Nes2Net provides a highly efficient solution for resource-constrained environments. Future work will focus on improving detection for neural autoregressive vocoders and further refining validation-set augmentation strategies.

Summary updated

BibTeX
@article{liu2025nes,
  author = {Tianchi Liu and Duc-Tuan Truong and Rohan Kumar Das and Kong Aik Lee and Haizhou Li},
  title = {{Nes2Net: A Lightweight Nested Architecture for Foundation Model Driven Speech Anti-Spoofing}},
  journal = {IEEE Transactions on Information Forensics and Security},
  year = {2025},
  url = {https://openreview.net/forum?id=L7easbOkZo},
}
Figure