Efficient Adapters for Giant Speech Models

Nanxin Chen, Izhak Shafran, Yu Zhang, Chung-Cheng Chiu, Hagen Soltau, James Qin, Yonghui WuarXiv 2023 · DOI

Abstract

As speech models scale to billions of parameters, traditional full-model fine-tuning becomes computationally prohibitive and prone to catastrophic forgetting. We present the Two Parallel Adapter (TPA), a parameter-efficient fine-tuning method optimized for the Conformer architecture. By integrating small bottleneck layers in parallel with both feed-forward networks in a Conformer block, TPA achieves performance parity with full fine-tuning while updating as little as 1.4% of the total parameters. Our results across diverse multilingual and English benchmarks demonstrate that TPA provides a robust, scalable solution for adapting giant foundation models to downstream speech tasks.

Introduction

In the era of foundation models, the prevailing paradigm involves pre-training massive models on vast unlabeled datasets followed by fine-tuning on specific downstream tasks. However, for "giant" models—such as the 2-billion-parameter Conformer used in this study—this approach faces significant hurdles.

First, the computational cost of updating billions of parameters is immense. Second, the storage requirements for maintaining separate versions of a 2B-parameter model for dozens or hundreds of different languages create a significant deployment challenge. Finally, fine-tuning such large models on specialized, often smaller, datasets frequently leads to overfitting or the loss of general representations learned during pre-training, a phenomenon known as catastrophic forgetting.

Methodology: The Two Parallel Adapter (TPA)

To address these challenges, we investigate Residual Adapters—compact modules inserted into a frozen pre-trained network. While adapters are well-established in Natural Language Processing (NLP), their application to the Conformer architecture, the current state-of-the-art for speech processing, requires a specialized approach.

The Conformer block is unique in its dual Feed-Forward Network (FFN) structure. Our systematic study revealed three critical design principles for speech adaptation:

  1. Parallel Integration: Placing adapters in parallel with the FFN and summing their outputs proved superior to serial placement (placing them after the component).
  2. Symmetrical Adaptation: The best performance was achieved by attaching adapters to both FFNs within the Conformer block, maintaining the architecture's inherent symmetry.
  3. Bottleneck Architecture: Each adapter utilizes a bottleneck design, projecting high-dimensional inputs to a lower dimension (e.g., 256) before projecting them back, utilizing a ReLU non-linearity for efficiency.
Figure 1: Comparison of adapter configurations within a Conformer block. (a) Serial adapter, (b) Single parallel adapter, and (c) the proposed Two Parallel Adapter (TPA) configuration.

Experimental Setup

We evaluated TPA across a comprehensive suite of speech benchmarks:

  • FLEURS: A multilingual dataset covering 102 languages for testing adaptation across varying resource levels.
  • SpeechStew: A composite of seven public English corpora (including LibriSpeech and Switchboard) to evaluate robust Automatic Speech Recognition (ASR).
  • CoVoST 2: A large-scale benchmark for multilingual speech-to-text translation (AST).

The base 2B-parameter model was pre-trained on over 12 million hours of unlabeled audio across 300+ languages using the BEST-RQ objective.

Key Insights and Results

Our analysis yielded several significant findings regarding the behavior of adapters in giant models. We observed that higher layers in the model require substantially more adaptation than lower layers. In the initial 10–12 blocks, many adapter neurons remain inactive (zeroed by ReLU), suggesting significant potential for structured pruning in the early stages of the network.

Quantitatively, TPA demonstrates remarkable efficiency:

  • ASR Performance: On the FLEURS dataset, TPA achieved a Word Error Rate (WER) of 19.1, nearing the 18.0 WER of a full 100% parameter fine-tune while updating only a fraction of the weights.
  • Translation Accuracy: On CoVoST 2, TPA reached 27.8 BLEU, nearly matching the full fine-tuning score of 28.7 with only 1.4% of parameters updated.
  • Regularization Benefits: On specific English subsets of SpeechStew, TPA actually outperformed full fine-tuning. We hypothesize that the restricted parameter count acts as a natural regularizer, preventing the model from overfitting to the task-specific data.
Figure 2: Word Error Rate (WER) as a function of the percentage of parameters updated. TPA (blue) converges toward the performance of 100% fine-tuning (red) while remaining highly efficient.

Conclusion and Future Work

The Two Parallel Adapter (TPA) provides a highly efficient mechanism for scaling speech model adaptation. By respecting the architectural symmetry of the Conformer, TPA matches the accuracy of full-model fine-tuning with a 70x reduction in updated parameters. Future research will explore iterative pruning to further shrink adapter size and the use of knowledge distillation to bridge the remaining performance gap on complex multilingual tasks.

Summary updated

BibTeX
@misc{chen2023efficient,
  author = {Nanxin Chen and Izhak Shafran and Yu Zhang and Chung-Cheng Chiu and Hagen Soltau and James Qin and Yonghui Wu},
  title = {{Efficient Adapters for Giant Speech Models}},
  year = {2023},
  eprint = {2306.08131},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2306.08131},
}
Figure