SE/BN Adapter: Parametric Efficient Domain Adaptation for Speaker Recognition

Tianhao Wang, Lantian Li, Dong Wang

TL;DR

Researchers have developed the SE/BN Adapter, a lightweight module that allows speaker recognition models to adapt to new environments (like moving from studio speech to singing) by tuning only 1% of the model's parameters. By focusing on Squeeze-and-Excitation (SE) blocks and Batch Normalization (BN) layers, this approach matches or beats full-model fine-tuning while requiring significantly less data and storage.

What Problem Does This Paper Address?

Speaker recognition models—the tech that identifies who is speaking—are notoriously sensitive to "domain mismatch." A model trained on clean, high-quality interviews (the source domain) often performs poorly when deployed in a noisy environment or a different genre, like singing or live broadcasts (the target domain).

The standard fix is fine-tuning: taking the pre-trained model and training it further on data from the new domain. However, fine-tuning has two major flaws:

  1. Data Hunger: It requires a lot of labeled data to avoid "catastrophic forgetting" or overfitting.
  2. Parameter Inefficiency: You have to save a completely new version of the multi-million parameter model for every single new domain you want to support.

This paper seeks a "Parameter-Efficient Domain Adaptation" (PEDA) method that can adapt a model using very little data and only a tiny fraction of the original parameters.

Methods

The authors introduce the SE/BN Adapter, which builds on the idea that the core "features" of a voice are learned early on, but how those features are weighted and distributed changes between domains.

Instead of updating the entire backbone (a ResNet34), they freeze the core weights and only train two specific components:

  • Squeeze-and-Excitation (SE) Blocks: These act like a "volume knob" for different neural channels. In a new domain, some patterns (like high-frequency noise) might need to be turned down, while others (like vocal resonance) are turned up. The adapter tunes the linear projections within these blocks.
  • Batch Normalization (BN) Layers: These layers handle the mean and variance of the data. Tuning the BN parameters ($\gamma$ and $\beta$) helps align the statistical distribution of the new domain with what the model expects.

By combining these, the model adjusts both the importance of specific features (via SE) and the global shift of the data (via BN).

Datasets

  • Pre-training: The models were initially trained on VoxCeleb2, a massive, standard dataset for speaker recognition.
  • Adaptation & Evaluation: The researchers used CN-Celeb, which is specifically designed for multi-genre challenges. They focused on four distinct genres: Entertainment, Interview, Live Broadcast, and Singing.

Key Insights and Ideas

  • The SE Paradox: One of the most interesting findings was that while SE blocks improve performance on the data they were trained on, they actually make the model less robust to new domains compared to a plain ResNet. This "aha moment" suggested that SE blocks are highly domain-specific, making them the perfect target for adaptation.
  • Complementary Strengths: SE and BN address different aspects of domain shift. SE handles the "pattern composition" (which features matter), while BN handles the "global scaling" (how the data is distributed). Using both together yielded the best results.
  • Scalability: Because the adapter only uses ~88K parameters (compared to the 8M in the full model), a single server could theoretically support 100 different specialized domains for the "cost" of one standard fine-tuned model.

Key Results

  • Efficiency: The SE/BN adapter uses only 1.1% of the total parameters (88.3K vs. 8.0M).
  • Performance: In high-resource scenarios, the adapter achieved results comparable to full fine-tuning. For example, on the "Singing" genre, the pre-trained model had an Equal Error Rate (EER) of 28.3%. The SE/BN adapter slashed this to 20.0%, nearly matching the 17.1% achieved by tuning the entire 8-million-parameter model.
  • Low-Resource King: In scenarios with very limited data (e.g., only 50 speakers available for adaptation), the SE/BN adapter outperformed full fine-tuning. This is because the small number of trainable parameters acts as a natural defense against overfitting.

Limitations and Future Work

While the results are promising, the authors note a few areas for further exploration:

  • Architecture Specificity: The current study is tailored to ResNet-based architectures. It remains to be seen how well this translates to newer architectures like Transformers or Conformers.
  • Distributional Drift: The authors suggest that more work is needed to understand the "phenomenon of distributional drift"—the mathematical way data shifts when moving between domains—to design even more precise adapters.
  • Unsupervised Adaptation: The current method is supervised (it requires labeled speaker data). Adapting this to an unsupervised context would be a major leap for real-world usability.

Summary updated

Abstract

Deploying a well-optimized pre-trained speaker recognition model in a new domain often leads to a significant decline in performance. While fine-tuning is a commonly employed solution, it demands ample adaptation data and suffers from parameter inefficiency, rendering it impractical for real-world applications with limited data available for model adaptation. Drawing inspiration from the success of adapters in self-supervised pre-trained models, this paper introduces a SE/BN adapter to address this challenge. By freezing the core speaker encoder and adjusting the feature maps' weights and activation distributions, we introduce a novel adapter utilizing trainable squeeze-and-excitation (SE) blocks and batch normalization (BN) layers, termed SE/BN adapter. Our experiments, conducted using VoxCeleb for pre-training and 4 genres from CN-Celeb for adaptation, demonstrate that the SE/BN adapter offers significant performance improvement over the baseline and competes with the vanilla fine-tuning approach by tuning just 1% of the parameters.
BibTeX
@misc{wang2024se,
  author = {Tianhao Wang and Lantian Li and Dong Wang},
  title = {{SE/BN Adapter: Parametric Efficient Domain Adaptation for Speaker Recognition}},
  year = {2024},
  eprint = {2406.07832},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2406.07832},
}
Figure