Delayed Fusion: Integrating Large Language Models into First-Pass Decoding in End-to-end Speech Recognition

Takaaki Hori, Martin Kocour, Adnan Haider, Erik McDermott, Xiaodan Zhuang
1/16/2025
cs.CLcs.SDeess.AS

No confident code implementation found for this paper. 3 possible matches can be shown below.

Abstract

This paper presents an efficient decoding approach for end-to-end automatic speech recognition (E2E-ASR) with large language models (LLMs). Although shallow fusion is the most common approach to incorporate language models into E2E-ASR decoding, we face two practical problems with LLMs. (1) LLM inference is computationally costly. (2) There may be a vocabulary mismatch between the ASR model and the LLM. To resolve this mismatch, we need to retrain the ASR model and/or the LLM, which is at best time-consuming and in many cases not feasible. We propose "delayed fusion," which applies LLM scores to ASR hypotheses with a delay during decoding and enables easier use of pre-trained LLMs in ASR tasks. This method can reduce not only the number of hypotheses scored by the LLM but also the number of LLM inference calls. It also allows re-tokenizion of ASR hypotheses during decoding if ASR and LLM employ different tokenizations. We demonstrate that delayed fusion provides improved decoding speed and accuracy compared to shallow fusion and N-best rescoring using the LibriHeavy ASR corpus and three public LLMs, OpenLLaMA 3B & 7B and Mistral 7B.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 3 weaker matches are hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{hori2025delayed,
  title  = {Delayed Fusion: Integrating Large Language Models into First-Pass Decoding in End-to-end Speech Recognition},
  author = {Takaaki Hori and Martin Kocour and Adnan Haider and Erik McDermott and Xiaodan Zhuang},
  year   = {2025},
  eprint = {2501.09258},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2501.09258v1}
}

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

Discussion