HyperConformer: Multi-head HyperMixer for Efficient Speech Recognition

Florian Mai, Juan Zuluaga-Gomez, Titouan Parcollet, Petr Motlicek
5/29/2023
cs.CLcs.AIcs.LG

Official code: speechbrain/speechbrain (11,801 stars, Apache-2.0, PyTorch, last commit 2026-05-03).

Abstract

State-of-the-art ASR systems have achieved promising results by modeling local and global interactions separately. While the former can be computed efficiently, global interactions are usually modeled via attention mechanisms, which are expensive for long input sequences. Here, we address this by extending HyperMixer, an efficient alternative to attention exhibiting linear complexity, to the Conformer architecture for speech recognition, leading to HyperConformer. In particular, multi-head HyperConformer achieves comparable or higher recognition performance while being more efficient than Conformer in terms of inference speed, memory, parameter count, and available training data. HyperConformer achieves a word error rate of 2.9% on Librispeech test-clean with less than 8M neural parameters and a peak memory during training of 5.7GB, hence trainable with accessible hardware. Encoder speed is between 38% on mid-length speech and 56% on long speech faster than an equivalent Conformer. (The HyperConformer recipe is publicly available in: https://github.com/speechbrain/speechbrain/tree/develop/recipes/LibriSpeech/ASR/transformer/)

View on arXivView PDF

Code Implementations(1)

PyTorchApache-2.0

A PyTorch-based Speech Toolkit

11,8011,721Perl, ShellApr 28, 20205 months agoApache-2.0
asraudioaudio-processingdeep-learninghuggingface+15 more

Similar Papers

Cite this paper

@article{mai2023hyperconformer,
  title  = {HyperConformer: Multi-head HyperMixer for Efficient Speech Recognition},
  author = {Florian Mai and Juan Zuluaga-Gomez and Titouan Parcollet and Petr Motlicek},
  year   = {2023},
  eprint = {2305.18281},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2305.18281v1}
}

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/2305.18281.svg)](https://codeofpaper.com/paper/2305.18281)

Discussion