Manuscript Offprint
arXiv:2609.08948Disentangled Global-Local Feature Learning with E-Branchformer for Audio Deepfake Detection
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:
-
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.
-
An extensive investigation of various strategies for merging local and global features for deepfake detection tasks.
-
A comprehensive analysis of the influence of global and local features in deepfake detection through ablation studies.
2.1 Conformer
The Conformer architecture (Gulati et al., 2020) integrates four key components: two position-wise feed-forward networks (FFNs), a multi-head self-attention (MHSA) mechanism, and a convolution module arranged in a sequential manner. Each component incorporates residual connections (He et al., 2016) and layer normalization (Ba et al., 2016) applied in a pre-normalization configuration. The FFN modules utilize two linear transformations with a Swish activation function (Ramachandran et al., 2017) inserted between them. Following the Macaron-Net design (Lu et al., 2019), two distinct FFNs with half-step residual connections are implemented. The MHSA mechanism differs from the original Transformer (Vaswani et al., 2017) by adopting relative positional encodings. A distinguishing feature of the Conformer is its convolution module, which comprises a sequence of operations: an initial pointwise convolution, a gated linear unit (GLU) activation (Dauphin et al., 2017), a 1-D depthwise convolution layer, batch normalization (Ioffe and Szegedy, 2015), a Swish activation, and a final pointwise convolution layer.
2.2 E-Branchformer
The E-Branchformer architecture (Kim et al., 2023) represents an advanced iteration of the original Branchformer model (Peng et al., 2022). It maintains the dual Macaron-style FFN configuration similar to Conformer. However, E-Branchformer distinguishes itself by employing two parallel processing branches positioned between the FFNs, following the design principle introduced in Branchformer. The first branch leverages MHSA to model long-range dependencies and global contextual information, while the second branch employs a convolutional gating multi-layer perceptron (cgMLP) (Sakuma et al., 2022) to capture short-range dependencies and local patterns. The outputs from both branches are integrated through a merge operation consisting of concatenation, a 1-D depthwise convolution, and a linear projection layer. This merging strategy demonstrates superior effectiveness compared to the straightforward concatenation-projection approach utilized in the original Branchformer architecture.
3 Proposed Architecture
3.1 Baseline Model
We employ the state-of-the-art XLSR-Conformer (Rosello et al., 2023) architecture as our baseline model. This baseline consists of two primary components: (i) a pre-trained XLS-R model (Babu et al., 2022), derived from the wav2vec 2.0 framework (Baevski et al., 2020), serving as a feature extractor to derive contextualized representations from high-dimensional speech inputs; and (ii) a Conformer Encoder module. For a given input speech signal , the SSL model generates output

Figure 1: The architecture of E-Branchformer block used in the proposed encoder
features of length , denoted as , where represents the dimensionality of the SSL model's output.
These extracted features undergo dimensionality reduction through an MLP layer equipped with a SeLU activation function prior to entering the Conformer Encoder. The resulting projected features are expressed as , where . The Conformer Encoder comprises stacked Conformer blocks, where each block integrates an MHSA mechanism and a Convolutional Module positioned between two feed-forward modules. To transform the sequence-to-sequence Conformer architecture into a classification framework, a learnable classification token is prepended to the encoder's input embeddings. The encoder input is denoted as , where , , and represents concatenation. Subsequently, the classification token's final state from the last Conformer block is passed through a linear classification layer to determine whether the input represents bonafide or spoofed speech. Throughout the training process, the classification token learns to encode discriminative features essential for distinguishing synthetic speech from authentic samples.
3.2 Overall Proposed Model
Figure 1 illustrates the proposed architecture for audio deepfake detection. In alignment with recent advances in anti-spoofing systems, we adopt speech foundation models, specifically XLS-R, as our fea-
ture extraction front-end. These SSL-based models have consistently outperformed conventional acoustic feature extractors by delivering rich, contextualized representations of speech signals (Guan et al., 2025; Wei et al., 2025).
Our architecture is composed of several interconnected components. Initially, the pre-trained XLS-R model processes the input speech waveform and produces multi-layer representations. The output speech representation exhibits a shape of , where represents the temporal sequence length and denotes the channel dimensionality of the XLS-R representation. To effectively harness information distributed across different transformer layers within the SSL model, we integrate an aggregation module that synthesizes features from multiple SSL layers. This aggregation mechanism can be realized through various approaches, ranging from simple weighted summation to more sophisticated attention-based techniques such as Squeeze-and-Excitation Aggregation (SEA) (Guragain et al., 2024) and Attentive Merging (AttM) (Pan et al., 2024).
Following aggregation, the XLS-R representation undergoes dimensional projection to dimensions and is concatenated with a learnable classification token to construct the input sequence for the E-Branchformer model. This class token serves as a global representation accumulator specifically designed to facilitate the classification objective.
The core of our model consists of stacked E-Branchformer blocks, each featuring two parallel processing branches. The first branch incorporates a multi-head self-attention mechanism to model global dependencies and capture long-range contextual patterns across the temporal dimension of the speech signal. In parallel, the second branch employs a convolution-based architecture to extract local features and encode short-term temporal dependencies. This bifurcated design philosophy allows the model to concurrently process both global and local acoustic characteristics, which prove essential for discriminating synthetic speech from authentic samples.
Upon completion of the parallel processing through all blocks, the outputs from both branches undergo a fusion operation. The fused representation is subsequently decomposed into the class token and patch tokens. To further augment the discriminative capacity of the class token, the patch tokens traverse through a depth-wise convolution (DWConv) (Howard et al., 2017) layer followed by a Squeeze-and-Excitation (SE) (Hu et al., 2018) module. The SE module computes channel-wise attention weights that accentuate the most salient features for the classification decision. These derived attention weights are then applied to the class token via element-wise multiplication, thereby effectively integrating the refined contextual information extracted from the patch tokens. Ultimately, the attention-weighted class token is merged with the recalibrated patch tokens, and the enriched class token serves as the input to a linear classification head that determines whether the input speech sample is bonafide or spoofed.
This architectural framework leverages the complementary strengths of attention-based global modeling and convolution-based local feature extraction, while preserving the flexibility to independently tune each branch for capturing distinct aspects of the audio signal pertinent to deepfake detection.
4 Experiments
4.1 Datasets and Evaluation Metrics
Our experimental evaluation encompasses two distinct dataset categories: (1) the ASVspoof series, which contains ASVspoof 2019 (LA19) (Wang et al., 2020), ASVspoof 2021 Logical Access (LA21), ASVspoof 2021 Deepfake (DF21) (Yamagishi et al., 2021), and ASVspoof 5 (Wang et al., 2024); and (2) the In-The-Wild (ITW) dataset (Müller et al., 2022). Model performance is re-
Table 1: Datasets and number of samples used in our experiments.
| Dataset | Number of Samples | ||
|---|---|---|---|
| Train | Valid | Test | |
| ASVspoof 2019 LA (Wang et al., 2020) | 25,380 | 24,844 | - |
| ASVspoof 2021 LA (Yamagishi et al., 2021) | - | - | 181,566 |
| ASVspoof 2021 DF (Yamagishi et al., 2021) | - | - | 611,829 |
| ASVspoof 5 (Wang et al., 2024) | 182,357 | 140,950 | 680,774 |
| In-the-Wild (ITW) (Müller et al., 2022) | - | - | 31,779 |
Table 2: Hyperparameter configuration of the proposed model.
| Group | Hyperparameter | Value |
|---|---|---|
| Front-end | SSL model | XLS-R 300M (Babu et al., 2022) |
| Output dimensionality | 1024 | |
| Fine-tuned during training | Yes | |
| Encoder | E-Branchformer blocks | 4 |
| Embedding dimensionality | 144 | |
| Attention heads | 4 | |
| Depthwise kernel size | 31 | |
| Optimization | Optimizer | Adam (Kingma and Ba, 2014) |
| Learning rate | ||
| Weight decay | ||
| Batch size | 20 | |
| Training epochs | 7 | |
| Loss function | Weighted cross-entropy |
ported using the Equal Error Rate (EER), the primary metric of the ASVspoof Challenge series.
Table 1 summarizes the datasets and the number of samples utilized in our experiments. For the ASVspoof 2021 benchmarks, we employ LA19 as our training set, comprising 25,380 training samples and 24,844 validation samples. The evaluation is conducted on two test sets: LA21 containing 181,566 samples and DF21 with 611,829 samples, where the latter introduces additional complexity through lossy codec post-processing. ASVspoof 5 is the most large-scale benchmark in the series, comprising 182,357 training, 140,950 development, and 680,774 evaluation utterances, and models evaluated on it are trained on its own official training set. These datasets represent controlled laboratory conditions with diverse text-to-speech and voice conversion systems. Additionally, we evaluate our model on the ITW dataset, which consists of 31,779 test samples collected from real-world scenarios, providing a more challenging evaluation setting with various acoustic conditions and recording devices.
4.2 Experimental Setup
For models trained on the LA19 dataset, we adopt the training protocol established in the baseline system (Rosello et al., 2023)¹. Audio samples are preprocessed by either truncating or concatenat-
¹https://github.com/ErosRos/conformer-based-classifier-for-anti-spoofing.git ing to generate fixed-length segments of approximately 4 seconds (equivalent to 64,600 samples at 16 kHz sampling rate) for both training and inference phases. Table 2 summarizes the complete hyperparameter configuration of the proposed model; the settings below are identical across all four benchmarks unless stated otherwise.
The XLS-R 300M model (Babu et al., 2022) serves as the front-end and is fine-tuned jointly with the downstream network rather than kept frozen, so that its representations adapt to the spoofing-detection objective; its 1024-dimensional output is projected to before entering the encoder. The E-Branchformer encoder comprises blocks, each employing 4 attention heads in the global branch, giving a head dimensionality of 36. The depthwise convolutions of the local branch use a kernel size of , matching the receptive field of the Conformer convolution module in the baseline so that the two architectures are compared under equivalent local context.
We employ the Adam optimizer (Kingma and Ba, 2014) with a learning rate of , a weight decay coefficient of , and a batch size of 20. Because bonafide utterances are substantially outnumbered by spoofed ones in the ASVspoof training partitions, the network is optimized with a weighted cross-entropy loss whose class weights are set inversely proportional to the class frequencies. To enhance model robustness and generalization, we incorporate RawBoost (Tak et al., 2022a) data augmentation techniques following the methodology in (Rosello et al., 2023). Specifically, we apply the “Algo5” augmentation variant for the ASVspoof 2021 LA, ASVspoof 5, and ITW evaluations, and the “Algo3” variant for the ASVspoof 2021 DF evaluation. These augmentation schemes introduce realistic perturbations to the training data, simulating various acoustic conditions and transmission effects.
Each model is trained for a fixed budget of 7 epochs, and the checkpoint exhibiting the lowest validation loss is selected for final evaluation. For assessment on the ITW dataset, we use the same checkpoint as for the LA21 test set, ensuring consistency in cross-dataset evaluation.
4.3 Overview of State-of-the-Art Models
We compare our proposed approach against several recent state-of-the-art systems that leverage self-supervised learning features for audio deepfake detection. These methods predominantly utilize
Table 3: Comparative performance analysis against state-of-the-art methods on the ASVspoof 2021 evaluation set and ITW dataset († indicates our reproduction, bold highlights top performance, underline marks runner-up results, and ‘-’ signifies unavailable data)
| Model | EER (%) | ||
|---|---|---|---|
| 21LA | 21DF | ITW | |
| XLSR-Conformer (Rosello et al., 2023)† | 1.38 | 2.27 | 8.29 |
| XLSR-Conformer+TCM (Truong et al., 2024)† | 1.18 | 2.25 | 7.79 |
| XLSR-AASIST (Tak et al., 2022b) | 1.00 | 3.69 | 10.46 |
| WavLM-MFA (Guo et al., 2024) | 5.08 | 2.56 | - |
| XLSR-SLS (Zhang et al., 2024) | 5.08 | 1.92 | 7.46 |
| XLSR-MoE (Wang et al., 2025) | 2.96 | 2.54 | 9.17 |
| XLSR-Mamba (Xiao and Das, 2025) | 0.93 | 1.88 | 6.71 |
| Nes2Net (Liu et al., 2025) | 1.72 | 2.01 | 7.18 |
| Nes2Net-X (Liu et al., 2025) | 1.82 | 1.87 | 6.74 |
| Proposed model | 0.88 | 1.85 | 6.30 |
XLS-R or WavLM as feature extractors, coupled with various downstream architectures for discriminative feature learning. XLSR-Conformer+TCM (Truong et al., 2024) employs a Conformer encoder with temporal-channel modeling to capture both temporal and channel dependencies. XLSR-AASIST (Tak et al., 2022b) integrates the AASIST architecture with XLS-R representations for enhanced spoofing detection. WavLM-MFA (Guo et al., 2024) utilizes WavLM features with a multi-fusion attentive classifier. XLSR-SLS (Zhang et al., 2024) adopts a sensitive-layer-selection (SLS) classifier that adaptively weights the most informative SSL layers, while XLSR-MoE (Wang et al., 2025) employs a mixture-of-experts framework for ensemble learning. Among these methods, XLSR-Mamba (Xiao and Das, 2025) leverages bidirectional state space models with XLS-R features, representing one of the most competitive approaches in recent audio anti-spoofing research. These diverse architectures provide comprehensive benchmarks for evaluating the effectiveness of our proposed E-Branchformer-based detection system.
4.4 Experimental Results
Table 3 presents the performance comparison between our proposed model and recent SOTA systems on the ASVspoof 2021 evaluation sets and the ITW dataset. Our proposed E-Branchformer-based model achieves SOTA performance across all three evaluation benchmarks, demonstrating substantial improvements over existing methods.
Specifically, our model attains an EER of 0.88% on ASVspoof 2021 LA, 1.85% on ASVspoof 2021 DF, and 6.30% on the ITW dataset, establishing new performance benchmarks on all three datasets. No single competing system is the runner-up on all three sets: XLSR-Mamba previously achieved the best baseline result on 21LA (0.93%) and ITW (6.71%), whereas Nes2Net-X holds it on 21DF (1.87%). Our approach surpasses whichever system is strongest on each set, delivering relative improvements of 5.4% over XLSR-Mamba on 21LA and 1.1% over Nes2Net-X on 21DF. More notably, on the challenging out-of-domain ITW dataset, our model outperforms XLSR-Mamba by achieving 6.30% EER compared to 6.71% EER, a relative improvement of 6.1%, and does so while also improving on the second-best ITW system, Nes2Net-X, at 6.74%. This substantial gain on the real-world ITW dataset demonstrates the superior generalization capability of our architecture to unseen spoofing attacks and diverse acoustic conditions. When compared against the XLSR-Conformer+TCM baseline, which we reproduced and serves as our direct baseline, our proposed model achieves remarkable relative EER reductions of 25.4% on 21LA (from 1.18% to 0.88%), 17.8% on 21DF (from 2.25% to 1.85%), and 19.1% on ITW (from 7.79% to 6.30%). These consistent improvements across all evaluation sets validate the effectiveness of our dual-branch architecture in capturing both global and local discriminative features for deepfake detection.
The comparison that speaks most directly to the choice of backbone is the one against XLSR-Conformer, which shares our XLS-R front-end, our training protocol and our data augmentation, and differs principally in how local and global modelling are arranged. Replacing the sequential Conformer encoder with our E-Branchformer-based design lowers the EER from 1.38% to 0.88% on 21LA (36.2% relative), from 2.27% to 1.85% on 21DF (18.5%), from 8.29% to 6.30% on ITW (24.0%), and, in Table 4, from 6.19% to 5.44% on ASVspoof 5 (12.1%). The advantage therefore holds on all four benchmarks, spanning matched (21LA), codec-degraded (21DF), out-of-domain real-world (ITW) and large-scale (ASVspoof 5) conditions, which makes a benchmark-specific artifact an implausible explanation. It is moreover widest precisely where the evaluation is furthest from the training distribution-1.99 percentage points on ITW against 0.50 on 21LA-indicating that parallel global-local modelling produces representations that transfer better rather than merely fitting the in-domain condition more tightly. The same ordering persists against XLSR-Conformer+TCM, an enhanced Conformer whose temporal-channel
Table 4: Comparison with SOTA single systems on the ASVspoof 5 dataset († indicates our reproduction; the remaining baselines are quoted from Liu et al. (2025)).
| System | EER (%) |
|---|---|
| XLSR-AASIST (Tak et al., 2022b) | 6.08 |
| XLSR-Conformer (Rosello et al., 2023)† | 6.19 |
| XLSR-Conformer+TCM (Truong et al., 2024)† | 6.03 |
| XLSR-Mamba (Xiao and Das, 2025)† | 6.24 |
| Nes2Net (Liu et al., 2025) | 6.13 |
| Nes2Net-X (Liu et al., 2025) | 5.92 |
| Proposed model | 5.44 |
modelling module was introduced specifically to strengthen the class token: our model remains ahead of it on every benchmark, which indicates that the gap cannot be closed simply by improving the readout of a sequential backbone.
We stress that this contrast is between two complete systems, and therefore reflects the dual class tokens and the DWConv–SE fusion described in Section 3.2 in addition to the encoder itself; the contribution of each component is isolated in Section 5. The property attributable to the backbone alone is examined directly in Section 5.4, where the attention behaviour of the two encoders is measured under identical inputs.
Furthermore, our model substantially outperforms other competitive systems including XLSR-AASIST and WavLM-MFA, achieving relative improvements of up to 12% and 82.7% on the 21LA dataset respectively. The consistent superior performance across controlled laboratory conditions (21LA, 21DF) and real-world scenarios (ITW) underscores the robustness and practical applicability of our approach. These results demonstrate that the parallel processing of global and local features through the E-Branchformer architecture, combined with the SE-based feature recalibration mechanism, provides a more effective framework for audio deepfake detection compared to sequential processing architectures like Conformer or other existing approaches.
Table 4 compares our model against state-of-the-art single systems on the ASVspoof 5 benchmark. Our proposed model achieves an EER of 5.44%, surpassing all competing systems. In particular, it outperforms the strongest baseline, Nes2Net-X, by 0.48 percentage points (5.92% to 5.44%, an 8.1% relative reduction), improves on our reproduced XLSR-Mamba by 0.80 percentage points (6.24% to 5.44%), and reduces the EER of the reproduced XLSR-Conformer+TCM from 6.03% to

Figure 2: Impact of the global and local feature extraction branches on detection performance. Bars report EER (%), for which lower is better, for the local branch alone, the global branch alone, and the proposed dual-branch model on the four evaluation benchmarks.
Table 5: Impact of SSL feature aggregation strategies on detection performance.
| Model | EER (%) | |||
|---|---|---|---|---|
| 21LA | 21DF | ITW | ASVspoof 5 | |
| AttM (Pan et al., 2024) | 0.98 | 2.29 | 8.76 | 6.32 |
| Weighted sum | 1.07 | 2.33 | 8.82 | 6.18 |
| Last hidden layer | 1.00 | 2.46 | 8.67 | 6.23 |
| SEA (Guragain et al., 2024) | 0.88 | 1.85 | 6.30 | 5.44 |
5.44%, confirming that the dual CLS token design generalizes effectively beyond the ASVspoof 2021 evaluation conditions.
5 Ablation Study
5.1 Impact of Global and Local Branches
Figure 2 examines the individual contribution of each branch. The global branch alone consistently outperforms the local branch across all benchmarks, suggesting that long-range contextual dependencies are more discriminative for spoofing detection than local temporal patterns. Nevertheless, the local branch provides complementary cues that, when combined via dual CLS tokens, yield substantial gains over either branch in isolation-reducing EER from 0.94% to 0.88% on 21LA, 2.29% to 1.85% on 21DF, 6.73% to 6.30% on ITW, and 6.16% to 5.44% on ASVspoof 5-demonstrating that both global and local features are essential for robust deepfake speech detection.
5.2 Impact of SSL Feature Aggregation Strategies
Table 5 compares different strategies for aggregating SSL layer representations. Our adopted SEA (Guragain et al., 2024) achieves the best perfor-
Table 6: Ablation study on DWConv and SE module contributions.
| Model | EER (%) | |||
|---|---|---|---|---|
| 21LA | 21DF | ITW | ASVspoof 5 | |
| Proposed model | 0.88 | 1.85 | 6.30 | 5.44 |
| w/o SENet | 0.89 | 2.19 | 9.34 | 5.57 |
| w/o DWConv | 0.98 | 2.54 | 9.87 | 6.05 |
| w/o DWConv and SENet | 1.06 | 2.87 | 10.90 | 7.18 |
mance across all benchmarks with EERs of 0.88%, 1.85%, 6.30%, and 5.44% on 21LA, 21DF, ITW, and ASVspoof 5 respectively, outperforming AttM (Pan et al., 2024), weighted sum, and last hidden layer aggregation. The consistent margin over simpler alternatives such as weighted sum and last hidden layer indicates that an adaptive, content-aware selection of SSL layers is critical for extracting the most informative representations for spoofing detection.
5.3 Impact of Key Architectural Components
Table 6 ablates the two components of our fusion mechanism. Removing either SENet or DW-Conv consistently degrades performance across all benchmarks, and removing both yields the worst results with EERs of 1.06%, 2.87%, 10.90%, and 7.18% on 21LA, 21DF, ITW, and ASVspoof 5 respectively-representing absolute degradations of up to 4.60% on ITW compared to the full model. DWConv contributes more significantly than SENet, particularly on 21DF and ITW, indicating its critical role in capturing local cross-token interactions. Together, both components are complementary and jointly essential for achieving the best performance of our proposed fusion mechanism.
5.4 Layer-Wise Analysis of Global Branch
To further validate the benefit of disentangling global and local processing, we analyze the self-attention patterns of both architectures using the diagonality score (Zhang et al., 2021), which quantifies the locality of attention: a higher score indicates that attention weights concentrate along the diagonal, reflecting a bias toward local context, while a lower score reflects a more globally distributed attention pattern.
As shown in Figure 3, the Conformer maintains consistently high diagonality scores across all layers (~0.556–0.558 on LA, ~0.556 on DF), indicating that its self-attention is dominated by local context throughout the network. In contrast,

Figure 3: Diagonality of self-attention weights across encoder layers for Conformer and E-Branchformer. (a) ASVspoof 2021 LA. (b) ASVspoof 2021 DF.
E-Branchformer exhibits substantially lower diagonality scores (~0.510–0.522 on LA, ~0.511–0.525 on DF), demonstrating that by offloading local feature extraction to a dedicated convolutional branch, the self-attention branch is freed to focus on broader, global dependencies. This architectural disentanglement allows E-Branchformer to capture global spoofing cues more effectively than the Conformer, which must simultaneously handle both local and global patterns within a single self-attention mechanism.
Two features of this measurement make it a statement about the architectures rather than about a particular dataset. First, the separation is present at every encoder layer and on both evaluation sets, with the two score ranges never overlapping; the effect is thus systematic rather than confined to a few layers where it might reflect optimisation noise. Second, it is obtained with the two encoders receiving identical XLS-R inputs and trained under an identical protocol, so the difference in attention behaviour is not inherited from the front-end. Read together with the EER comparison earlier in this section, the two observations support a single account: the Conformer expends part of its attention capacity on context its convolution module has already modelled, whereas delegating local extraction to a parallel branch leaves the E-Branchformer free to spend that capacity on the long-range inconsistencies-prosodic discontinuities and utterance-level spectral artifacts-that distinguish synthesised speech,
which in turn is what the larger margins on the out-of-domain ITW and ASVspoof 5 conditions reflect.
6 Conclusion
In this work, we proposed a novel E-Branchformer-based architecture for audio deepfake detection that effectively leverages self-supervised speech representations through parallel processing of global and local features. Our model achieves SOTA performance with EERs of 0.88%, 1.85%, and 6.30% on ASVspoof 2021 LA, DF, and In-the-Wild datasets respectively, substantially outperforming existing methods. Comprehensive ablation studies validate our key design choices: the dual-branch architecture with both attention-based and convolution-based processing provides complementary discriminative information, Squeeze-and-Excitation Aggregation (SEA) significantly outperforms alternative SSL feature integration strategies, and the combination of DWConv and SE modules is critical for effective class token enhancement with patch token information. The superior performance on the challenging In-the-Wild dataset demonstrates strong generalization capability to real-world scenarios with diverse acoustic conditions and unseen spoofing attacks. Future work will explore extending this architecture to multi-modal deepfake detection and investigating robustness against adversarial attacks.
References
Jimmy Lei Ba, Jamie Ryan Kiros, and Geoffrey E. Hinton. 2016. Layer normalization. Preprint, arXiv:1607.06450.
Arun Babu, Changhan Wang, Andros Tjandra, Kushal Lakhotia, Qiantong Xu, Naman Goyal, Kritika Singh, Patrick von Platen, Yatharth Saraf, Juan Pino, Alexei Baevski, Alexis Conneau, and Michael Auli. 2022. XLS-R: Self-supervised Cross-lingual Speech Representation Learning at Scale. In Interspeech 2022, pages 2278–2282.
Alexei Baevski, Henry Zhou, Abdelrahman Mohamed, and Michael Auli. 2020. wav2vec 2.0: a framework for self-supervised learning of speech representations. In Proceedings of the 34th International Conference on Neural Information Processing Systems, NIPS '20, Red Hook, NY, USA. Curran Associates Inc.
Sanyuan Chen, Chengyi Wang, Zhengyang Chen, Yu Wu, Shujie Liu, Zhuo Chen, Jinyu Li, Naoyuki Kanda, Takuya Yoshioka, Xiong Xiao, Jian Wu, Long Zhou, Shuo Ren, Yanmin Qian, Yao Qian, Jian Wu, Michael Zeng, Xiangzhan Yu, and Furu Wei. 2022. Wavlm: Large-scale self-supervised pre-training for full stack speech processing. IEEE Journal of Selected Topics in Signal Processing, 16(6):1505–1518.
Yann N. Dauphin, Angela Fan, Michael Auli, and David Grangier. 2017. Language modeling with gated convolutional networks. In Proceedings of the 34th International Conference on Machine Learning - Volume 70, ICML'17, pages 933–941. JMLR.org.
Yu Guan, Yang Ai, Zuoliang Li, Shengyu Peng, and Wu Guo. 2025. Recursive feature learning from pre-trained models for spoofing speech detection. In ICASSP 2025 - 2025 IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP), pages 1–5.
Anmol Gulati, James Qin, Chung-Cheng Chiu, Niki Parmar, Yu Zhang, Jiahui Yu, Wei Han, Shibo Wang, Zhengdong Zhang, Yonghui Wu, and Ruoming Pang. 2020. Conformer: Convolution-augmented transformer for speech recognition. In Interspeech 2020, pages 5036–5040.
Yinlin Guo, Haofan Huang, Xi Chen, He Zhao, and Yuehai Wang. 2024. Audio deepfake detection with self-supervised wavlm and multi-fusion attentive classifier. In ICASSP 2024 - 2024 IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP), pages 12702–12706.
Anmol Guragain, Tianchi Liu, Zihan Pan, Hardik Sailor, and Qiongqiong Wang. 2024. Speech foundation model ensembles for the controlled singing voice deepfake detection (ctrsvdd) challenge 2024. pages 774–781.
Kaiming He, Xiangyu Zhang, Shaoqing Ren, and Jian Sun. 2016. Deep residual learning for image recognition. In 2016 IEEE Conference on Computer Vision and Pattern Recognition (CVPR), pages 770–778.
Andrew Howard, Menglong Zhu, Bo Chen, Dmitry Kalenichenko, Weijun Wang, Tobias Weyand, Marco Andreetto, and Hartwig Adam. 2017. Mobilenets: Efficient convolutional neural networks for mobile vision applications.
Wei-Ning Hsu, Benjamin Bolte, Yao-Hung Hubert Tsai, Kushal Lakhotia, Ruslan Salakhutdinov, and Abdelrahman Mohamed. 2021. Hubert: Self-supervised speech representation learning by masked prediction of hidden units. IEEE/ACM Trans. Audio, Speech and Lang. Proc., 29:3451–3460.
Jie Hu, Li Shen, and Gang Sun. 2018. Squeeze-and-excitation networks. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition (CVPR).
Sergey Ioffe and Christian Szegedy. 2015. Batch normalization: accelerating deep network training by reducing internal covariate shift. In Proceedings of the 32nd International Conference on International Conference on Machine Learning - Volume 37, ICML'15, pages 448–456. JMLR.org.
Kwangyoun Kim, Felix Wu, Yifan Peng, Jing Pan, Prashant Sridhar, Kyu J. Han, and Shinji Watanabe. 2023. E-branchformer: Branchformer with enhanced merging for speech recognition. In 2022 IEEE Spoken Language Technology Workshop (SLT), pages 84–91.
Diederik Kingma and Jimmy Ba. 2014. Adam: A method for stochastic optimization. International Conference on Learning Representations.
Tianchi Liu, Duc-Tuan Truong, Rohan Kumar Das, Kong Aik Lee, and Haizhou Li. 2025. Nes2net: A lightweight nested architecture for foundation model driven speech anti-spoofing. IEEE Transactions on Information Forensics and Security, 20:12005–12018.
Yiping Lu, Zhuohan Li, Di He, Zhiqing Sun, Bin Dong, Tao Qin, Liwei Wang, and Tie-Yan Liu. 2019. Understanding and improving transformer from a multi-particle dynamic system point of view. Preprint, arXiv:1906.02762.
Nicolas M Müller, Pavel Czempin, Franziska Dieckmann, Adam Froghyar, and Konstantin Böttinger. 2022. Does audio deepfake detection generalize? Interspeech.
Zihan Pan, Tianchi Liu, Hardik B. Sailor, and Qiongqiong Wang. 2024. Attentive Merging of Hidden Embeddings from Pre-trained Speech Model for Anti-spoofing Detection. In Interspeech 2024, pages 2090–2094.
Yifan Peng, Siddharth Dalmia, Ian Lane, and Shinji Watanabe. 2022. Branchformer: Parallel MLP-attention architectures to capture local and global context for speech recognition and understanding. In Proceedings of the 39th International Conference on Machine Learning, volume 162 of Proceedings of Machine Learning Research, pages 17627–17643. PMLR.
Yifan Peng, Kwangyoun Kim, Felix Wu, Brian Yan, Siddhant Arora, Jiyang Tang, Suwon Shon, Prashant Sridhar, and Shinji Watanabe. 2023. A comparative study on e-branchformer vs conformer in speech recognition, translation, and understanding tasks. pages 2208–2212.
Prajit Ramachandran, Barret Zoph, and Quoc V. Le. 2017. Searching for activation functions. Preprint, arXiv:1710.05941.
Eros Rosello, Alejandro Gomez-Alanis, Angel M. Gomez, and Antonio Peinado. 2023. A conformer-based classifier for variable-length utterance processing in anti-spoofing. In Interspeech 2023, pages 5281–5285.
Jin Sakuma, Tatsuya Komatsu, and Robin Scheibler. 2022. MLP-based architecture with variable length input for automatic speech recognition.
Hemlata Tak, Madhu Kamble, Jose Patino, Massimiliano Todisco, and Nicholas Evans. 2022a. Rawboost: A raw data boosting and augmentation method applied to automatic speaker verification anti-spoofing. In ICASSP 2022 - 2022 IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP), pages 6382–6386.
Hemlata Tak, Massimiliano Todisco, Xin Wang, Jee-Weon Jung, Junichi Yamagishi, and Nicholas Evans. 2022b. Automatic speaker verification spoofing and deepfake detection using wav2vec 2.0 and data augmentation. pages 112–119.
Duc-Tuan Truong, Ruijie Tao, Tuan Nguyen, Hieu-Thi Luong, Kong Aik Lee, and Eng Siong Chng. 2024. Temporal-Channel Modeling in Multi-head Self-Attention for Synthetic Speech Detection. In Interspeech 2024, pages 537–541.
Ashish Vaswani, Noam Shazeer, Niki Parmar, Jakob Uszkoreit, Llion Jones, Aidan N. Gomez, Łukasz Kaiser, and Illia Polosukhin. 2017. Attention is all you need. In Proceedings of the 31st International Conference on Neural Information Processing Systems, NIPS'17, pages 6000–6010, Red Hook, NY, USA. Curran Associates Inc.
Xin Wang, Héctor Delgado, Hemlata Tak, Jee weon Jung, Hye jin Shim, Massimiliano Todisco, Ivan Kukanov, Xuechen Liu, Md Sahidullah, Tomi H. Kinnunen, Nicholas Evans, Kong Aik Lee, and Junichi Yamagishi. 2024. ASVspoof 5: crowdsourced speech data, deepfakes, and adversarial attacks at scale. In The Automatic Speaker Verification Spoofing Countermeasures Workshop (ASVspoof 2024), pages 1–8.
Xin Wang, Junichi Yamagishi, Massimiliano Todisco, Héctor Delgado, Andreas Nautsch, Nicholas Evans, Md Sahidullah, Ville Vestman, Tomi Kinnunen, Kong Aik Lee, Lauri Juvela, Paavo Alku, Yu-Huai Peng, Hsin-Te Hwang, Yu Tsao, Hsin-Min Wang,
Sébastien Le Maguer, Markus Becker, Fergus Henderson, and 21 others. 2020. Asvspoof 2019: A large-scale public database of synthesized, converted and replayed speech. Computer Speech & Language, 64:101114.
Zhiyong Wang, Ruibo Fu, Zhengqi Wen, Jianhua Tao, Xiaopeng Wang, Yuankun Xie, Xin Qi, Shuchen Shi, Yi Lu, Yukun Liu, Chenxing Li, Xuefei Liu, and Guanjun Li. 2025. Mixture of experts fusion for fake audio detection using frozen wav2vec 2.0. In ICASSP 2025 - 2025 IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP), pages 1–5.
Zhaolin Wei, Dengpan Ye, Jiacheng Deng, and Yuhan Lin. 2025. From voices to beats: Enhancing music deepfake detection by identifying forgeries in background. In ICASSP 2025 - 2025 IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP), pages 1–5.
Jee weon Jung, Wangyou Zhang, Jiatong Shi, Zakaria Aldeneh, Takuya Higuchi, Alex Gichamba, Barry John Theobald, Ahmed Hussen Abdelaziz, and Shinji Watanabe. 2024. ESPnet-SPK: full pipeline speaker embedding toolkit with reproducible recipes, self-supervised front-ends, and off-the-shelf models. In Interspeech 2024, pages 4278–4282.
Yang Xiao and Rohan Kumar Das. 2025. Xlsr-mamba: A dual-column bidirectional state space model for spoofing attack detection. IEEE Signal Processing Letters, 32:1276–1280.
Junichi Yamagishi, Xin Wang, Massimiliano Todisco, Md Sahidullah, Jose Patino, Andreas Nautsch, Xuechen Liu, Kong Aik Lee, Tomi Kinnunen, Nicholas Evans, and Héctor Delgado. 2021. Asvspoof 2021: accelerating progress in spoofed and deepfake speech detection. In 2021 Edition of the Automatic Speaker Verification and Spoofing Countermeasures Challenge, pages 47–54.
Qishan Zhang, Shuangbing Wen, and Tao Hu. 2024. Audio deepfake detection with self-supervised xls-r and sls classifier. In Proceedings of the 32nd ACM International Conference on Multimedia, MM '24, pages 6765–6773, New York, NY, USA. Association for Computing Machinery.
Shucong Zhang, Erfan Loweimi, Peter Bell, and Steve Renals. 2021. On the usefulness of self-attention for automatic speech recognition with transformers. In 2021 IEEE Spoken Language Technology Workshop (SLT), pages 89–96.
Jing Zhao and Wei-Qiang Zhang. 2022. Improving automatic speech recognition performance for low-resource languages with self-supervised models. IEEE Journal of Selected Topics in Signal Processing, 16(6):1227–1241.