HydraFormer: One Encoder For All Subsampling Rates

Yaoxun Xu, Xingchen Song, Zhiyong Wu, Di Wu, Zhendong Peng +1 more
8/8/2024
eess.AScs.CL

Official code: HydraFormer/hydraformer (9 stars, last commit 2023-12-31).

Abstract

In automatic speech recognition, subsampling is essential for tackling diverse scenarios. However, the inadequacy of a single subsampling rate to address various real-world situations often necessitates training and deploying multiple models, consequently increasing associated costs. To address this issue, we propose HydraFormer, comprising HydraSub, a Conformer-based encoder, and a BiTransformer-based decoder. HydraSub encompasses multiple branches, each representing a distinct subsampling rate, allowing for the flexible selection of any branch during inference based on the specific use case. HydraFormer can efficiently manage different subsampling rates, significantly reducing training and deployment expenses. Experiments on AISHELL-1 and LibriSpeech datasets reveal that HydraFormer effectively adapts to various subsampling rates and languages while maintaining high recognition performance. Additionally, HydraFormer showcases exceptional stability, sustaining consistent performance under various initialization conditions, and exhibits robust transferability by learning from pretrained single subsampling rate automatic speech recognition models\footnote{Model code and scripts: https://github.com/HydraFormer/hydraformer}.

View on arXivView PDF

Code Implementations(1)

91C, C++Dec 29, 20232 years ago

Similar Papers

Cite this paper

@article{xu2024hydraformer,
  title  = {HydraFormer: One Encoder For All Subsampling Rates},
  author = {Yaoxun Xu and Xingchen Song and Zhiyong Wu and Di Wu and Zhendong Peng and Binbin Zhang},
  year   = {2024},
  eprint = {2408.04325},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2408.04325v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2408.04325.svg)](https://codeofpaper.com/paper/2408.04325)

Discussion