Manuscript Offprint

arXiv:2609.08948

Disentangled Global-Local Feature Learning with E-Branchformer for Audio Deepfake Detection

Phuong Tuan Dat, Ho Bao Thu, Nguyen Tran Trung, Pham Viet Hoang, Nguyen Thi Thu Trang

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

The rapid advancement of voice synthesis technologies such as text-to-speech and voice conversion poses significant threats to speech-based authentication systems, necessitating robust deepfake detection methods. In this work, we propose a novel E-Branchformer-based architecture that effectively leverages self-supervised speech representations for audio deepfake detection. Our model employs parallel branches to simultaneously capture global contextual dependencies through multi-head self-attention and local temporal patterns through convolutional processing. To enhance discriminative capability, we integrate depthwise convolution and Squeeze-and-Excitation modules that enrich the classification token with refined patch token information after feature merging. Extensive experiments on ASVspoof 2021 LA, DF, and In-the-Wild datasets demonstrate state-of-the-art performance with equal error rates of 0.88%, 1.85%, and 6.30% respectively, substantially outperforming existing methods. Comprehensive ablation studies validate that the dual-branch architecture provides complementary discriminative information, Squeeze-and-Excitation Aggregation significantly improves SSL feature integration, and the combination of DWConv and SE modules is critical for effective class token enhancement. The superior performance on real-world scenarios demonstrates strong generalization capability to diverse acoustic conditions and unseen spoofing attacks. The source code is available at this link.

1 Introduction

In recent years, sophisticated voice synthesis techniques such as voice conversion and text-to-speech (TTS) have advanced rapidly, posing significant

threats to the integrity of voice-based authentication systems. As a result, guaranteeing the trustworthiness and robustness of speech-based systems has emerged as a critical imperative. Leveraging the rich representations from speech foundation models such as wav2vec 2.0 (Baevski et al., 2020), HubERT (Hsu et al., 2021), and WavLM (Chen et al., 2022)-models that have driven notable advances in automatic speech recognition (ASR) (Zhao and Zhang, 2022), speaker verification (SV) (weon Jung et al., 2024), and other speech applications could significantly improve the robustness and generalization of anti-spoofing systems.

However, a critical challenge lies in designing architectures capable of effectively processing and exploiting the representation features from self-supervised learning (SSL) models, which offer high-dimensional feature outputs. A series of convolution-based and Transformer-based architectures have been employed as downstream models (Rosello et al., 2023; Truong et al., 2024), achieving considerable success in deepfake detection tasks. Among these, the Conformer (Gulati et al., 2020), which combines convolution and self-attention sequentially, exhibits superior performance to the Transformer by processing local and global context together.

Concurrently, the emergence of novel Transformer-based architectures such as Branchformer (Peng et al., 2022) and E-Branchformer (Kim et al., 2023), which perform the combination of convolution and self-attention in parallel branches, addresses certain limitations of the Conformer (Peng et al., 2023). These architectures have demonstrated superior performance over the Conformer in ASR and spoken language understanding (SLU) tasks (Peng et al., 2023), establishing their effectiveness in modeling both local and global dependencies. However, their

  • Equal contribution.

potential for audio deepfake detection remains unexplored. In Branchformer and E-Branchformer, one branch employs self-attention to capture long-range dependencies, while the other utilizes an advanced multi-layer perceptron (MLP) to model local patterns. This parallel design offers greater flexibility, interpretability, and customizability compared to sequential architectures.

In this work, we propose the first application of E-Branchformer architecture to audio deepfake detection, fundamentally departing from existing approaches by explicitly disentangling global and local feature learning. Unlike the baseline XLSR-Conformer (Rosello et al., 2023) which employs a single classification token, our novel architecture introduces dual class tokens: one dedicated to capturing global contextual information through the self-attention branch, and another specialized for local temporal patterns via the convolution branch. This disentangled design enables each class token to learn discriminative features specific to its respective domain. We further introduce a fusion mechanism combining depthwise convolution and Squeeze-and-Excitation modules to effectively integrate these complementary representations for robust synthetic audio detection. Our specific contributions include:

  1. Achieving state-of-the-art performance on the ASVspoof 2021 LA, 2021 DF, and In-the-Wild (ITW) datasets with equal error rates (EER) of 0.88%, 1.85%, and 6.30%, respectively.

  2. An extensive investigation of various strategies for merging local and global features for deepfake detection tasks.

  3. A comprehensive analysis of the influence of global and local features in deepfake detection through ablation studies.