Hierarchical Recurrent Adapters for Efficient Multi-Task Adaptation of Large Speech Models

Tsendsuren Munkhdalai, Youzheng Chen, Khe Chai Sim, Fadi Biadsy, Tara N. Sainath, Pedro Moreno MengibararXiv 2024 · DOI

Introduction

The advent of massive pre-trained speech models, such as Google’s 2-billion parameter Universal Speech Model (USM), has revolutionized automatic speech recognition (ASR). However, these models present a significant challenge when it comes to personalization. Adapting such a large model for thousands of individual users, specific dialects, or atypical speech patterns typically requires either prohibitively expensive full fine-tuning or the storage of numerous task-specific adapter layers.

The Scaling Bottleneck in Model Adaptation

Standard adaptation techniques often involve inserting small "bottleneck" layers, known as adapters, into the pre-trained backbone. While significantly more efficient than full fine-tuning, these methods still face a scaling nightmare. In a typical setup, adapters are unique to both the model layer and the specific task. As models grow deeper and the number of target tasks (e.g., individual users) increases into the thousands, the cumulative storage requirement for these "efficient" adapters can easily reach tens of gigabytes.

Hierarchical Recurrent Adapters (HRA)

To address this, the authors propose Hierarchical Recurrent Adapters (HRA). This architecture introduces two primary innovations to maximize parameter efficiency without sacrificing performance.

1. Recurrency Across Layers

Instead of deploying a unique adapter for every layer of the backbone model, HRA utilizes a single Recurrent Controller. By employing an Independently Recurrent Neural Network (IndRNN), the controller weights are shared across the entire depth of the model. This design choice is based on the insight that the fundamental nature of adaptation required at different depths of a speech model is largely redundant.

2. Hierarchical Decomposition

The HRA architecture splits the adaptation process into two distinct components:

  • Shared Controller: A central module that learns the general logic of interacting with the backbone model. This component is shared across all tasks.
  • Task-Specific Heads: Small, lightweight modules (either linear layers or simple Feed-Forward Networks) that capture the unique characteristics of a specific task or speaker.
Architecture of the Hierarchical Recurrent Adapter (HRA).

In a multi-task environment, only the tiny task-specific heads need to be swapped, while the controller and the backbone model remain static. This leads to sub-linear parameter growth as new tasks are added.

Key Results and Performance

The experimental results demonstrate that HRA provides a superior trade-off between accuracy and efficiency compared to existing methods like LoRA or standard Residual Adapters.

Comparison of Word Error Rate (WER) vs. number of parameters for various adaptation methods.

On the Voice Search task, an HRA variant with only 12.8M parameters achieved a Word Error Rate (WER) of 5.1%. Remarkably, this outperformed the full fine-tuning of the 1.8B parameter backbone model, which yielded a 5.3% WER. Furthermore, HRA matched the performance of standard Residual Adapters while requiring 8x fewer parameters.

In the Project Euphonia multi-task benchmark (atypical speech), the FFN-Head HRA variant achieved the best overall WER of 9.9%, significantly narrowing the gap with the "golden baseline" of per-speaker full fine-tuning.

Conclusion

Hierarchical Recurrent Adapters offer a scalable solution for personalizing large-scale speech models. By separating the "how" of adaptation (the controller) from the "what" (the task head) and sharing weights across layers, HRA achieves state-of-the-art performance with a fraction of the storage overhead. This approach not only facilitates massive-scale multi-tasking but also opens doors for privacy-preserving online adaptation where only minimal, task-specific parameters are updated.

Summary updated

BibTeX
@misc{munkhdalai2024hierarchical,
  author = {Tsendsuren Munkhdalai and Youzheng Chen and Khe Chai Sim and Fadi Biadsy and Tara N. Sainath and Pedro Moreno Mengibar},
  title = {{Hierarchical Recurrent Adapters for Efficient Multi-Task Adaptation of Large Speech Models}},
  year = {2024},
  eprint = {2403.19709},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2403.19709},
}
Figure