Abstract
Automatic Speaker Verification (ASV) requires extracting robust speaker embeddings from variable-length audio. While Convolutional Neural Networks (CNNs) excel at local feature extraction and Transformers at global context modeling, combining them efficiently remains a challenge. This paper introduces the MFA-Conformer, a high-performance backbone that integrates multi-scale feature aggregation with a Conformer-based architecture. By leveraging both local and global information and employing an efficient convolution subsampling layer, the MFA-Conformer achieves a state-of-the-art 0.64% EER on the VoxCeleb1-O benchmark, significantly outperforming standard models like ECAPA-TDNN in both accuracy and inference speed.
Introduction
The goal of Automatic Speaker Verification (ASV) is to map audio utterances into fixed-length "speaker embeddings." Traditionally, CNN-based architectures like ResNet and ECAPA-TDNN have dominated the field due to their ability to capture local acoustic patterns such as pitch and intonation. However, these models often struggle to model long-range global context. Conversely, while Transformers are adept at global modeling, they typically require massive datasets or complex pre-training to be effective for ASV.
The MFA-Conformer bridges this gap. It provides a Conformer-based architecture that is computationally efficient and robust across varying audio durations without requiring extensive pre-training.
Methods
The MFA-Conformer architecture is designed to capture a comprehensive representation of speaker identity through four primary stages:
- Convolution Subsampling: Raw 80-dimensional Fbank features are processed through a convolution layer to reduce temporal resolution, mitigating the computational cost of subsequent self-attention mechanisms.
- Conformer Blocks: The core of the model consists of a series of Conformer blocks. Each block utilizes a "Macaron" structure, sandwiching a Multi-Head Self-Attention (MHSA) module and a Convolution module between two half-step Feed-Forward Networks (FFN). The MHSA employs relative positional encoding for length robustness, while the Convolution module preserves fine-grained local details.
- Multi-scale Feature Aggregation (MFA): Instead of relying solely on the final layer, the model concatenates feature maps from all Conformer blocks. This ensures that both low-level acoustic details and high-level semantic information are preserved in the final embedding.
- Attentive Statistics Pooling (ASP): The aggregated features are processed via an attention mechanism to calculate a weighted mean and standard deviation, producing the final fixed-dimension speaker embedding.
Key Insights
Ablation studies highlight the importance of the hybrid approach. Removing the Convolution module from the Conformer block resulted in a 54.9% relative performance degradation, confirming that local spatial modeling is as critical as global context for speaker identification. Furthermore, the Multi-scale Feature Aggregation (MFA) component provided a 48.3% relative improvement in Equal Error Rate (EER), suggesting that early layers contain unique speaker-discriminative information that is otherwise lost.
Results
The model was evaluated on the VoxCeleb1 & 2 benchmarks and the Speakers in the Wild (SITW) dataset. The MFA-Conformer (1/2 subsampling version) demonstrated superior performance across all metrics.
As shown in the performance comparison table, the MFA-Conformer achieved a 0.64% EER on VoxCeleb1-O, outperforming ECAPA-TDNN (0.82%) and ResNet34 (1.03%). It also showed strong robustness in real-world conditions with a 1.63% EER on SITW.Eval. Notably, the model is highly efficient; with a Real-Time Factor (RTF) of 0.0121, it is approximately 32% faster than ECAPA-TDNN while maintaining higher accuracy.
Conclusion
The MFA-Conformer represents a significant advancement in ASV backbones, successfully merging the strengths of CNNs and Transformers. Its ability to aggregate multi-scale features leads to highly discriminative speaker embeddings. Future work will focus on adapting this architecture for streaming speaker recognition and addressing the memory constraints of self-attention for extremely long audio sequences.
Summary updated