Elamur Research

NGPU-LM: GPU-Accelerated N-Gram Language Model for Context-Biasing in Greedy ASR Decoding

Paper · 2025 · Vladimir Bataev, Andrei Andrusenko, Lilit Grigoryan et al.

Summary

A speech recognizer can be fast and accurate on familiar recordings yet struggle when the subject changes. A finance transcript and a spoken command can contain expressions that the recognizer rarely encountered during training. One way to help is to supply text from the new domain and use it to favor plausible continuations while the recognizer transcribes the audio. NGPU-LM makes this form of adaptation practical for greedy decoding, which commits to its preferred next step as it goes. The paper asks how much recognition accuracy this fast procedure can recover from a more expensive search.

NGPU-LM is a GPU implementation of an external language model based on n-grams, or sequences of adjacent tokens. A conventional lookup gives the score for a specified token after a specified history. The authors reorganize the data so the recognizer can request scores for every token in its vocabulary across a batch of histories. For each history, the GPU fills in scores for continuations that have explicit entries, then looks at shorter histories for the remaining tokens. The recognizer combines these scores with its own before committing to an output. The authors adapt this procedure for connectionist temporal classification, recurrent and token-and-duration transducers, and attention-based encoder-decoders. These architectures differ in how they handle a step that emits no text or ends a transcript.

On the out-of-domain tests with recognizers trained on roughly 24k hours of English speech, greedy fusion added less than 7% computational overhead across the architectures evaluated. For the token-and-duration transducer, it reduced word error rate by 9.7% relative to ordinary greedy decoding on the command-focused SLURP test. On SLURP, the greedy approach recovered over 56% of the relative improvement that beam search offered in the transducer comparison. Beam search keeps competing partial transcripts alive and can improve accuracy further, at a speed cost that was especially pronounced for transducers. In the experiments with recognizers trained on 960 hours of LibriSpeech, relative word error rate reduction reached 10.6% on the out-of-domain SLURP and SPGI tests for the recurrent transducer. The LibriSpeech-trained recurrent transducer also did better with greedy fusion than with the tested beam search on WSJ eval92.

The results show how changing the language lookup can change which decoding strategy is practical. Whole-vocabulary scoring gives the external text evidence a chance to affect even an immediate decision, while architecture-specific rules preserve the recognizer’s treatment of blanks, repeated labels, or transcript endings. The accuracy recovered varies by architecture and domain, with a larger advantage for beam search in the CTC experiments. The authors released the implementation in the open-source NeMo toolkit.

Deep dive: NGPU-LM: GPU-Accelerated N-Gram Language Model for Context-Biasing in Greedy ASR Decoding

NGPU-LM uses GPU-parallel n-gram scoring to adapt fast speech recognition to new domains while retaining the speed of greedy decoding. · about 36 minutes to read

The problem and its context

Adaptation at the point of transcription

Automatic speech recognition turns an acoustic input into a sequence of text tokens. The system has to infer both what was spoken and how its text output relates to successive parts of the recording. An end-to-end recognizer learns much of this behavior from speech paired with transcriptions. As the authors describe it, this simplified the development of speech recognition systems, while leaving them sensitive to the distributions of speech and text that they encounter during training.

A domain shift changes the kinds of expressions a recognizer is likely to hear. In this paper, command-oriented speech and financial speech provide examples of domains for which extra text can guide recognition. The intended use of that extra evidence is contextual biasing. A recognizer consults information about the target domain so that candidate outputs characteristic of that domain receive appropriate support. The recording still supplies the acoustic evidence. The extra text contributes information about which token sequences make sense as candidate transcriptions.

The paper distinguishes approaches by when the target information enters the system. In deep fusion, the recognizer receives context during training or fine-tuning. That lets the training process determine how acoustic and contextual evidence interact. The cost is that adapting the system involves work on its learned components. In shallow fusion, a separate source of language scores influences the decoder while it is choosing output tokens. The speech recognizer can be reused with different external language data. That property matters here because a domain can come with useful text even when producing another round of adapted acoustic training would be costly.

The authors also discuss prompting for systems that apply large language models to speech. They cite SpeechGPT and AudioPaLM as examples of research moving in this direction. In their account, the training and deployment demands of this line of work remain substantial. They also identify a concern specific to contextual prompting: the approach they discuss depends on training for in-context learning and becomes harder to scale as the number of phrases to favor grows. NGPU-LM pursues a different point of intervention, where the recognizer can take advantage of a separately prepared text corpus during inference.

How the recognizer makes room for language evidence

The paper traces its choice of architectures back to changes in end-to-end recognition. Connectionist temporal classification, or CTC, made it possible to learn an alignment from acoustic features and target text without the separate alignment training associated with the earlier hybrid systems described by the authors. During decoding, CTC has a blank symbol and collapses repeated labels under its output rule. A sequence of frame-level decisions thus yields a text sequence with fewer output events than there are decisions. The distinction between those sequences later determines when to advance the external language history.

The recurrent neural transducer, or RNN-T, adds a prediction network that uses the preceding outputs. The paper relates this development to Sequence Transduction with Recurrent Neural Networks. In the transducer arrangement, the prediction component and the acoustic encoder supply information to a joint network. The recurrent decoder gives the recognizer a means of capturing language dependencies from its training data. It also makes maintaining alternative partial transcripts computationally consequential, because alternative histories can require separate prediction and joint computations.

With an attention encoder-decoder, abbreviated AED, the decoder uses its previous outputs and attends to a representation of the recorded speech. The authors trace the adoption of this approach in speech recognition to earlier sequence-to-sequence work in machine translation. They describe developments that integrate tasks such as translation and timestamp prediction with recognition, citing Robust Speech Recognition via Large-Scale Weak Supervision among their examples. An AED recognizer explicitly predicts the end of a transcript. Its interface to external language scores therefore needs a way to judge where a sequence can finish.

These choices matter to an external scoring method because the same symbol need not represent the same kind of decision across architectures. A token that extends a text prefix can be scored according to the domain text. A blank that makes no text addition serves the recognizer’s alignment process. An end symbol makes a statement about whether the current text is complete. The authors’ shared data structure produces scores for possible language continuations, and each decoding rule decides when those scores should enter the decision.

Why the search procedure matters

Greedy decoding takes the highest-scoring allowed choice at the current step. With each text emission, it advances a single partial transcript for the utterance. Because it commits immediately, the score available at the moment of choice matters. If a promising token is discarded then, information consulted afterwards has no opportunity to make that token the winner of the same decision.

Beam search maintains several partial transcripts. It can extend each with candidate tokens and retain the strongest resulting hypotheses for the next step. Several paths may remain available long enough for subsequent evidence to distinguish them. Maintaining those alternatives requires work. The authors emphasize the cost for transducers, whose prediction and joint networks can be evaluated repeatedly when the search handles competing histories. They also describe previous work on label-looping and CUDA graphs that accelerated greedy transducer inference. When ordinary greedy inference becomes faster, contextual adaptation has to fit within a tighter runtime budget to preserve its value.

The common shallow-fusion strategy described in the paper is beam search with a separate language scorer. The beam decoder can first pick promising expansions for each partial transcript and then ask for their external scores. The language component thus receives selected token-and-history queries. The authors discuss using neural scorers based on recurrent networks or the Transformer and argue that those approaches require substantial domain text for training. A statistical n-gram scorer draws on shorter observed sequences and offers an option with smaller text and resource requirements.

The paper presents KenLM as a widely used implementation for this purpose. Its trie-based representation supports CPU-oriented lookup. A trie organizes sequences by shared prefixes, so related sequences can share structure. For the use described here, an incoming token and the current history identify a transition, and the lookup returns its score and the history to keep next. This interface suits a decoder that already has a short list of candidates.

A greedy decoder with contextual fusion needs the language evidence earlier. If it first chooses the acoustically preferred token and then looks up the language score for that token alone, the external text has no competing token to promote. The authors instead arrange to score the full vocabulary before the final token choice. Repeating a conventional targeted lookup for each vocabulary entry would make that arrangement expensive. Their problem is to make the vocabulary-wide operation efficient for a batch of utterances, within the decoding loop that already runs on the GPU.

The difference between the interfaces is central to the paper’s account of earlier work. There had already been research on parallel n-gram lookup, including gLM. The authors characterize existing structures in terms of how they find a particular outgoing transition for a token. They design NGPU-LM around a request for all available transitions of a state and the scores inherited from its shorter contexts. The next section follows that change from the probabilities in the text corpus to the final decoding decision.

The method, step by step

From observed sequences to continuation scores

The domain data supplies examples of how tokens occur together. A token can be a word or a piece of a word. The experiments use subword tokenization based on byte-pair encoding, or BPE, citing Neural Machine Translation of Rare Words with Subword Units. Using the recognizer’s own token units lets the external scorer evaluate the candidates that the decoder is about to compare. A word-level example in the paper explains the same structures in a form that is easier to read.

The example is a 3-gram built from a short sentence in which a cat sits on a mat. A unigram gives evidence about a token on its own. A bigram gives evidence about a token following the preceding token. At the highest order in the example, the predicted token has a history of two words available. The useful history changes as generation proceeds. After scoring the continuation from on the to mat, the context to retain for another prediction is the suffix the mat. The complete sequence used to score that particular event has already done its job.

The representation therefore needs to answer questions about both a score and a resulting state. A state summarizes the context that still matters to the next language query. It carries the part of the token history that the graph can use. When the requested continuation appears after that history in the n-gram data, the scorer reads the corresponding weight. When the graph lacks that entry, it can try a shorter history by dropping the oldest token. This process is called backoff. A shorter history pools evidence that applies across more preceding contexts, with a backoff weight accounting for the change in specificity.

The paper describes the underlying n-gram entries using ARPA, a text format for storing the sequences and their weights. Its schematic record can be written as follows.

W(token | context)   [context]   token   B(context + token)

W denotes the stored log-probability, token is the item being scored, and context is its preceding token sequence. The vertical bar means the probability is conditional on that context. [context] denotes the history field of the record, which can be empty. B is a backoff weight, and context + token is the string formed by appending the token to the history. The last field describes the backoff weight of that extended string when it serves as a context. The log representation lets the scorer add weights while building up the score of a sequence.

context length = N − 1

N denotes the order of the entry, context length counts its preceding tokens, and − 1 accounts for the token whose probability the entry gives. A unigram has N = 1 and therefore an empty preceding context. The configured order caps the number of tokens involved in any single conditional score, even when the recognizer has already emitted a much longer sequence.

A scoring pass begins from the beginning-of-sequence context. As tokens arrive, it accumulates their log weights. The paper describes the fallback rule for a candidate with no explicit entry under its current history as follows.

W(token | context) = B(context) + W(token | context₁:)

W is the log score for token under the history after the vertical bar. B(context) is the backoff weight for leaving the current history. context₁: means the suffix obtained by leaving out the first token of context. The plus sign adds the backoff weight to the continuation weight returned under that suffix. If the suffix still lacks the candidate, the same rule applies again. By the time the lookup succeeds, the score includes the backoff weights from the transitions it took to reach the explicit entry.

The beginning marker ⟨s⟩ establishes the sequence boundary for the first text prediction. The end marker ⟨/s⟩ gives the score for finishing a sequence. The symbol ⟨unk⟩ supplies a unigram weight when the token has no explicit entry even under the empty context. In NGPU-LM the bottom of the backoff chain is represented densely for the recognizer’s vocabulary. A vocabulary token missing from the ARPA data receives the normalized unknown-token weight in that dense representation. That means querying the empty-context state can supply the fallback for every token the recognizer might request.

From an n-gram graph to GPU arrays

In the graph view, a path along forward arcs corresponds to a sequence of tokens. The states on those paths stand for histories. A backoff link takes the lookup to a shorter suffix of the same history, and its weight records the adjustment for doing so. The graph for the 3-gram example uses the highest-order arcs to score a token and then points directly to the relevant lower-order state. For the on the mat transition, the two-word suffix contains the history needed by a subsequent query. The graph can therefore store the effect of the transition without allocating a separate continuing history for the full 3-gram.

Boundary information can also be carried by states. The paper describes a dedicated state for beginning a sequence and final weights on states for ending it. At the base of the backoff chain, the empty context supplies unigrams. It is useful to distinguish the purpose of this base case from that of a sentence boundary. The empty history says that the scorer has backed off to unigram evidence. The beginning marker gives the scorer information that the next token is the first in a sequence. Final weights similarly distinguish ending a sequence from following the current history with another ordinary text token.

Conventional queries in the paper have this shape.

(token, state) → (token_weight, next_state)

token is the requested continuation and state is the history in the graph. token_weight is the resulting score. next_state is the history reached by emitting that token, and the arrow shows which outputs the lookup returns. The state matters as much as the weight to a decoder that will consult the language scorer again after the emission.

When discussing earlier implementations, the paper writes the conditional probability being sought as follows.

P(token | context)

P is a probability, token is the candidate being evaluated, and context is the history on which that probability depends. The vertical bar expresses conditioning. This is the probability represented by a weight in log form. A transition array sorted for search can find the entry for the given token using binary search or a version that splits the search into more branches for parallel processing. The paper also describes hash-based transition lookup using this complexity notation.

O(1)

O denotes an asymptotic cost bound. The 1 denotes a constant bound with respect to the size of the collection being indexed. Here it characterizes the hash-based transition lookup discussed by the authors. Finding an individual transition efficiently is a different operation from assembling the complete vocabulary output, where the decoder wants a score and resulting state for every candidate.

NGPU-LM groups the arcs by starting state and lays them out in tensors, arrays that can be processed together on the GPU. Each arc has a token, a weight, a source state, and a target state. The source states and tokens determine the ordering.

(from_state, token)

from_state identifies the context from which the arc departs. token identifies the symbol emitted on that arc. Sorting by this pair puts arcs from the same source in a contiguous segment, ordered by token within the segment. Two additional tensors, start_arcs and end_arcs, give the boundaries of each segment. A lookup can get the boundaries from a state identifier and then read the corresponding region of the arc tensors. The paper describes this reading operation in terms of parallel indexed selection.

The remaining tensors hold state information. Each state can have a backoff target, stored in boff_to_states, a weight for the backoff step, and a final weight. The arc target, stored in to_states, is the state reached by emitting a token. The backoff target is the state reached by looking at a shorter context for the same token. While a lookup is backing off, the decoder has made no additional text emission. Once it chooses an emission, it can advance to the selected arc’s target.

Filling a row of scores and extending the operation to a batch

Consider the work needed for one history in one decoding step. The initial state supplies the most specific available context. NGPU-LM reads that state’s outgoing arcs and places their weights and next states at the vocabulary positions corresponding to their token labels. This step can fill several positions at once. Positions that already have explicit answers keep them when the lookup proceeds to a shorter state.

For the remaining positions, the lookup follows the current state’s backoff link and accumulates the associated weight. At the shorter context it fills entries still awaiting a score, adding the accumulated backoff weight to the explicit arc weight. The next states come from the arcs that actually resolve the tokens. An arc found on a shorter path can therefore determine the next state as well as provide the continuation score. A lookup continues this way until the row is complete. The dense unigram transitions guarantee completion for the recognizer’s vocabulary, and the authors bound the iteration count by the order of the n-gram scorer.

The dense output is important to understanding the performance argument. A decoder must eventually compare scores at vocabulary positions. The representation lets it get explicit scores by reading stored arc segments and filling the relevant positions in parallel. Backoff processes shorter contexts together for unresolved positions instead of starting a separate walk from the original history for every token. The paper’s task therefore involves two forms of parallel work: assembling vocabulary entries for a state, and doing that operation over a batch of states.

The complete query interface is described with the following shapes.

state[B] → (token_weights[B, V], next_states[B, V])

state[B] is the input array, with one state for each of the B hypotheses in the batch. V denotes the vocabulary dimension. token_weights has one row per hypothesis and one column per possible token. next_states has the same shape and gives the candidate language state associated with each score. The brackets show array dimensions, and the arrow gives the direction of the operation. B here is the batch size. In the ARPA and backoff formulas, B denotes a weight function.

At the point of greedy choice, having the next states ready saves the decoder from redoing a query after it finds the winning token. If a candidate creates a text emission, the decoder can take the state stored in the corresponding column and carry it into the next decoding step. If the architecture’s rule instead produces a blank or another event that leaves the text prefix unchanged, the external history can stay where it is. Preparation of scores, selection, and advancement of the text history are distinct responsibilities in the decoding loop.

From domain text to a context-biased decoding decision

The steps in order.

From domain text to a context-biased decoding decisionStep 1: Fit token n-grams to domain text1. Fit token n-grams to domain textStep 2: Store grouped arcs and backoff links in tensors2. Store grouped arcs and backoff links in tensorsStep 3: Read outgoing arcs for each current state3. Read outgoing arcs for each current stateStep 4: Fill unresolved vocabulary entries through shorter histories4. Fill unresolved vocabulary entries through shorter historiesStep 5: Add weighted language scores to eligible candidates5. Add weighted language scores to eligible candidatesStep 6: Select the output under the architecture’s decoding rule6. Select the output under the architecture’s decoding ruleStep 7: Carry forward the chosen language state7. Carry forward the chosen language state

Keeping the lookup on the decoding path

The authors implemented a version in PyTorch and a custom Triton kernel. The PyTorch version demonstrates the algorithm using operations available in that framework and provides a fallback, including for CPU decoding. Its eager execution evaluates the loop conditions on the CPU. In the authors’ account, this slows the lookup and prevents the implementation from working with the CUDA graphs used for decoding acceleration. The problem is the repeated control work in an operation that runs inside many small decoding steps.

The Triton implementation makes the parallel lookup suitable for the optimized GPU path. A CUDA graph lets the decoder use a previously captured sequence of GPU operations, reducing the launch overhead that otherwise matters for small operations. This is especially relevant if every fresh token decision depends on the language state resulting from the preceding decision. Across the steps of one partial transcript, that dependence still exists. Within a step, the scoring work can be arranged to keep the GPU busy across arcs, vocabulary entries, and utterances.

The paper presents the non-batched algorithm and describes how the input and output extend to a batch. The complete implementation is distributed as part of NeMo, which the authors also used to train the recognizers. The two implementations share the purpose of returning vocabulary scores and next states. The faster path matters because the usefulness of full-vocabulary fusion depends on its cost relative to ordinary greedy decoding, where a decision could otherwise be made without consulting the external graph.

Protecting blank decisions in transducers

The authors implement greedy fusion for RNN-T and the token-and-duration transducer, or TDT, on the label-looping and CUDA-graph decoding path. In these architectures, the blank competes with text labels in the recognizer’s output. A blank does not extend the partial transcript, so it has no comparable continuation weight from the external text scorer. Placing fused text scores and the unmodified blank score into the same competition altered that balance in the authors’ initial experiments. The observed symptom was an increased rate of deletions, where reference words were omitted.

Their decoding rule gives the blank decision priority. The decoder first checks the ordinary greedy prediction. If that prediction is blank, the blank remains the result. If the ordinary prediction is a text label, the decoder uses the external scorer to compare non-blank candidates. It chooses the best of those fused candidates and advances the language state associated with the winning token. Here the language evidence can change the identity of the output once the speech recognizer has decided to emit text.

This arrangement clarifies the role of the fusion weight. In an unrestricted comparison with a blank, adjusting the external weight has consequences for both the preferred text and the decision to emit any text. Under the paper’s rule, the weight operates within the text-label comparison. That lets the authors use more influence from the external text scorer without giving a differently treated symbol an advantage over all text labels. It also gives the procedure a definite scope: decisions made blank by the original greedy step stay blank.

Greedy fusion still changes future decisions through the history. A different emitted label changes the language state and can change what the transducer predicts next. Preserving the current blank choice establishes a constraint on the local decision. It does not imply that complete greedy transcripts have the same pattern of future blank predictions under fusion, since the path can reach different token histories.

Handling repeats in CTC and endings in AED

CTC also has a blank, and it has the additional distinction between a repetition at the current step and an emission that adds a token to the transcript. The paper’s decoder protects the blank, the previous label when it would be collapsed as a repeat, and the group of other labels as separate categories. The external score participates when the decoder is choosing an actual text continuation. A repeat that is collapsed should not be treated as a fresh language event.

The reason follows from what the n-gram state represents. It follows the emitted text, whereas CTC’s intermediate decisions belong to a frame-level path. Using each repeated frame label as if it appended a token would supply the n-gram scorer with a history different from the transcript that the decoder is producing. Fusion requires keeping track of the preceding decision so the decoder knows which labels would extend the text. The paper uses CUDA graphs for this sequential processing because the individual operations are small and kernel launches can otherwise contribute substantially to execution time.

An AED decoder has a different terminal event. It uses an end-of-sentence symbol, ⟨eos⟩, in place of the blank needed by the other architecture families. In the external graph, that symbol corresponds to the final weight of the current language state. Sometimes an explicit n-gram supplies the final weight immediately. In other cases the score comes from backing off through shorter histories.

The authors resolve the final weight for every state when they load the graph. This precomputation follows the needed backoff links in advance. A decoding step can then retrieve the weight for ending directly, in addition to looking at scores for ordinary text continuations. There is a practical distinction between what can be precomputed and what the decoder looks up online. Every state has a single resolved final weight. The text continuation query asks for a vocabulary-wide result, so it uses the compact arc and backoff representation to assemble that result as needed. The authors integrate NGPU-LM with both greedy and beam decoding for AED.

Preparing the recognizers and the text scorers

The speech training procedure and the external language training procedure use different inputs. The recognizers learn from transcribed audio, with a shared FastConformer encoder design across the main architecture comparisons. The paper cites Conformer among the foundations of that encoder. The external scorer is fitted to tokenized text from the target domain and then converted into the representation used at decoding time. Its role is to adapt the next-token choices of a recognizer whose acoustic training is already complete.

For SLURP and SPGI, the external scorers are trained on the respective domain training data. KenLM fits token-level 10-grams, using the same BPE vocabulary of 1024 tokens that the speech systems use. The paper applies pruning to SPGI and leaves the other described n-gram training unpruned. Pruning drops selected entries from the representation rather than storing them all. The domain development sets are used to tune the fusion weights. In the extra Wall Street Journal evaluation with LibriSpeech-trained recognizers, the weight is set using dev93 and performance is evaluated on eval92.

This setup separates learning language statistics from deciding how much they should matter at decoding time. A domain corpus determines which continuation entries the graph contains and their weights. The development split calibrates how much influence the external weights should have relative to the recognizer’s scores. The test result is then a measurement of a configured domain adaptation procedure. The following comparisons use that procedure at different speech training scales and with several ways to search the output space.

Experiments and results

Recognizers, domains, and comparison points

The authors evaluate CTC, RNN-T, TDT, and AED. Each uses a FastConformer encoder with 108M parameters. The two transducers in the main comparison use a single-layer long short-term memory decoder with 640 hidden units and have 114M parameters each in total. With 179M parameters in total, the AED system uses a Transformer decoder that has four layers and a hidden size of 1024. The main comparison spans different output architectures while holding the encoder design and general training setup in common.

The high-resource condition uses approximately 24k hours of English speech gathered from open sources. The smaller condition uses 960 hours of LibriSpeech. The paper calls the latter the low-resource scenario. It is low resource relative to the larger acoustic training corpus in this study, and the test concerns how these recognizers respond to the same kind of domain-specific text guidance. The models are trained in NeMo under common conditions, and the speech systems use the same BPE vocabulary size of 1024 tokens. These controls help when comparing fusion behavior across architectural choices, although the decoder designs and parameter totals differ.

The two principal target domains are command-focused SLURP and finance-related SPGISpeech, shortened to SPGI in the paper. Both serve as out-of-domain recognition tests. For the LibriSpeech-trained condition, the authors also test recognition on WSJ eval92 and tune the language weight on dev93. The data preparation for the domain scorer uses text from the relevant training data, and the fusion weights for SLURP and SPGI are tuned on their development sets. This lets the experiment ask how well a recognizer with acoustic training from elsewhere can exploit target-domain text at inference.

The first comparison point is ordinary greedy decoding, using the recognizer’s own score to decide the next step. Greedy decoding with NGPU-LM keeps the same broad search strategy but changes the scores available for choosing text. The beam comparisons show what happens when the decoder keeps several candidate prefixes. For transducer beam decoding with a language scorer, the authors use Modified Adaptive Expansion Search with KenLM fusion. For CTC beam decoding, they use Flashlight. The beam width is held at the value below in all their beam runs.

beam = 4

beam is the configured width of the search. 4 is the numerical setting used for that comparison. This parameter places the results in the context of a particular beam configuration. It matters because the ability to keep more partial transcripts and the computational cost of doing so both depend on the search procedure.

The language graph is also part of the resource setup. The authors report that the external scorers other than SPGI occupy less than 100MB each in GPU memory. The SPGI scorer uses 1.5GB, even though SPGI is the domain for which pruning was used. These figures refer to the added language representation, alongside the speech recognizer and its other decoding resources. They give a separate view of the cost of the method from the speed measurements.

What the metrics measure

The paper uses word error rate, or WER, to measure transcription accuracy. The metric counts discrepancies with the reference in terms of word substitutions, omissions, and insertions relative to the reference word count. Lower WER is better. Relative word error rate reduction, abbreviated WERR, states the drop in WER relative to a starting WER. When the paper describes the improvement from adding NGPU-LM to greedy decoding, the starting point is the corresponding recognizer’s greedy result. A WERR value says how far error falls relative to that starting point. Comparing such values across architectures does not give an ordering of their final absolute WERs.

The paper also discusses the share of the greedy-to-beam improvement recovered by greedy fusion. That comparison asks how far the fused greedy result moves towards the beam result, given the gap for the recognizer and domain being discussed. The share depends on how much beam decoding improved the result as well as on how much greedy fusion improved it. This is why a similar WERR for two domains can coexist with different fractions of the beam improvement recovered. The paper reports both views because they answer different questions about a fast decoder’s accuracy.

For speed, the authors use the inverse real-time factor, written RTFx.

RTFx = total audio duration ÷ evaluation time

RTFx measures how much audio the system processes in a unit of elapsed evaluation time. total audio duration is the combined duration of the audio being recognized, evaluation time is the duration of the recognition run, and ÷ means division. A higher value means greater throughput. After one warm-up run, measurements were recorded using a single A6000 GPU and batches of 32. The runtime figures thus describe a batched evaluation under that hardware and software setup.

The larger speech training condition

With the recognizers trained on approximately 24k hours, the authors report computational overhead below 7% for adding NGPU-LM to greedy decoding across the architectures evaluated. The accompanying recognition gains are measurable on both target domains. The transducer results are especially important to the argument, because standard greedy decoding for these systems already benefits from the label-looping and CUDA-graph optimizations that make it a demanding baseline for any extra scoring work.

RNN-T and TDT each give a relative WER reduction of 8.4% on SPGI when the external scorer is added to greedy decoding. On SLURP, the range reported for the transducers reaches 9.7% with TDT. The authors report that greedy fusion supplies over 56% of the relative improvement from beam search on SLURP and more than 30% on SPGI in their transducer discussion. The domains therefore illustrate different degrees to which a vocabulary-wide score at the current greedy step can substitute for retaining competing prefixes.

Beam search without language fusion produces a substantial 11x slowdown in the transducer comparison while yielding little accuracy improvement in that condition. This is a comparison of decoding procedures as implemented. The slowdown already occurs in a beam run with no external language component, which locates substantial extra work in running the search. The result gives practical context for the relatively small overhead of greedy fusion. For a user choosing between the options in the paper, the relevant comparison includes the cost of maintaining several hypotheses and invoking the recognizer on them.

The AED results show a different distribution of relative gains across the domains. Adding NGPU-LM to greedy decoding gives a WERR of 5.9% on SLURP and 10.2% on SPGI. The paper also reports an abnormal decline for AED beam decoding without language fusion on SLURP. It attributes this to difficulty producing the end-of-sequence symbol. The decline is resolved with language fusion, in a decoder where the external scorer supplies a precomputed final weight for each language state. This observation concerns a termination failure in a particular setting, alongside the broader comparison in WER.

The charts compare improvements from greedy fusion relative to each recognizer’s own ordinary greedy baseline. The stars identify the largest reported improvement among the configurations displayed for each domain. On SLURP, TDT benefits more by this metric than AED. On SPGI, AED benefits more than either of the main transducers. Looking at both domains makes the dependence on the pairing of recognizer and target data visible.

Greedy NGPU-LM fusion on SLURP with large-corpus training, relative WER reduction

TDT gains more from fusion than AED relative to their respective greedy baselines.

Greedy NGPU-LM fusion on SLURP with large-corpus training, relative WER reductionAED with NGPU-LM: 5.9AED with NGPU-LM5.9TDT with NGPU-LM (this paper): 9.7TDT with NGPU-LM (this paper)9.7
The numbers
System or settingrelative WER reduction %
AED with NGPU-LM5.9
TDT with NGPU-LM (this paper)9.7

Greedy NGPU-LM fusion on SPGI with large-corpus training, relative WER reduction

AED has the greatest relative improvement among the displayed recognizers, while the transducers tie.

Greedy NGPU-LM fusion on SPGI with large-corpus training, relative WER reductionRNN-T with NGPU-LM: 8.4RNN-T with NGPU-LM8.4TDT with NGPU-LM: 8.4TDT with NGPU-LM8.4AED with NGPU-LM (this paper): 10.2AED with NGPU-LM (this paper)10.2
The numbers
System or settingrelative WER reduction %
RNN-T with NGPU-LM8.4
TDT with NGPU-LM8.4
AED with NGPU-LM (this paper)10.2

CTC also improves with greedy fusion. The paper reports relative reductions between 6.1% and 8.9% for the larger training condition. It describes the separation between greedy fusion and beam search as greatest for CTC among the architecture families. A useful way to read these findings together is that the external scorer can help CTC choose individual text continuations under its greedy rule, while the reported beam condition still offers appreciable additional accuracy. The timings and the gap recovered are separate reasons to favor different operating settings.

The smaller speech training condition

The 960-hour LibriSpeech experiment asks whether the same decoding technique is useful when the recognizer has seen less acoustic training data. The authors report broadly similar trends in the two out-of-domain settings, with distinct results for different architectures. In the reported RNN-T comparison, greedy fusion closes over 87% of the difference between greedy decoding and beam decoding, reaching as high as 10.6% WERR on the SLURP and SPGI tests. Those numbers describe different measurements. One compares the fused greedy improvement with the beam improvement, and the other measures the relative decrease in word error from the ordinary greedy result.

On WSJ eval92, the LibriSpeech-trained RNN-T with greedy fusion outperforms the beam condition evaluated in the paper. The fusion weight for this test was chosen on dev93. The result shows that the tested beam configuration need not be the most accurate of these choices for every domain. It belongs to the reported WSJ setup, where both the acoustic training corpus and the procedure for tuning the language weight are specified.

The CTC result in the smaller training condition again leaves more of the beam gain available. The authors report that greedy fusion recovers approximately 35% of that gap for CTC. The difference from the reported RNN-T recovery makes architecture an important part of interpreting the result. An external n-gram lookup can supply the same kind of domain evidence to either decoder, but the decoding rules and the ways they use competing paths are different. The common scorer makes the greedy adaptation available across architectures, while the usefulness of holding onto multiple hypotheses is an empirical question for each setup.

Taken as a set, the tests characterize a family of accuracy and runtime choices. For the transducers, adding full-vocabulary language scores to the greedy path frequently recovers an appreciable share of the gain associated with a beam and preserves much of the speed of ordinary greedy inference. For AED, external scores help both word error and the handling of a particular ending problem. For CTC, accuracy improves under greedy fusion, and the reported room for improvement with a beam remains larger. The findings are quantified under the experimental domains and decoding settings used by the authors.

What the ablations show

Separating the cost of search from the value of the extra text

The beam comparisons provide a way to distinguish the effect of retaining multiple hypotheses from the effect of external language information. Ordinary greedy decoding uses the recognizer’s existing preference and immediately advances its chosen path. Greedy fusion changes the preferred text token without introducing competing paths that persist across steps. Beam decoding without fusion introduces those paths while leaving external domain scores out of the decision, and the fused beam can use both sources of improvement.

For the high-resource transducers, the authors’ beam run without fusion improves accuracy little while incurring the substantial speed penalty reported for beam search. That observation supports their explanation that running alternative histories through the transducer is costly in its own right. In the other direction, the improvement from adding NGPU-LM to the greedy path establishes that some domain-related errors can be addressed at the immediate token decision. The search procedure need not keep alternatives alive to benefit from a better ranking at that step.

The relative size of the two gains varies by test. On SLURP, the high-resource transducer comparison gives greater recovery of the beam improvement than on SPGI. CTC retains a larger beam advantage under the tested decoding rules. These comparisons measure the combined consequence of the architecture and its search implementation. The results do not isolate particular errors for which a beam’s later evidence changed a decision. They show how much accuracy the tested greedy and beam procedures recover under each domain and architecture.

Blanks, repeats, and transcript endings

The transducer deletion finding is a design comparison within shallow fusion. The authors first tried combining the speech recognizer’s scores and n-gram scores directly. Text labels received language terms, while the blank retained its own recognizer score. Deletions increased. The revised rule first commits to the ordinary greedy blank decision and then conducts the fused comparison only when the recognizer proposed text. This gives a reason for taking architecture-specific treatment seriously even when the same vocabulary scorer can be used across systems.

The deletion finding is described qualitatively. It explains the design constraint and identifies the error mode the authors encountered. The final WERR measurements apply to the entire greedy fusion procedure, including that constraint. The paper supplies no separate numerical deletion rates for the two transducer rules, so the size of the deletion improvement attributable to the gate is unresolved. The controlled distinction available from the description is behavioral: direct fusion can alter a text-versus-blank decision, while the adopted rule holds that local decision fixed.

The CTC procedure extends the same reasoning to repeats that collapse. Here the issue is whether a decision actually creates a new token in the transcript. The paper reports the performance of the resulting system without a separate numerical ablation that removes the repeat treatment. The rationale comes from the meaning of the language history. A repeated label that collapses can consume an acoustic step without adding another token to the external history. Treating that step as a text continuation would score a sequence of events different from the one represented by the output.

In AED, the abnormal SLURP beam result provides another boundary case. The authors connect the degradation without fusion to trouble generating an end marker and report recovery with fusion. The full fused decoder scores ordinary continuations as well as endings. This comparison shows that fusion addresses the failure under the tested setup. An intervention that changes only the final weight would be needed to quantify how much of the recovery comes specifically from the terminal score. Precomputing final weights is a separate implementation choice that makes the terminal score available with a direct read during decoding.

Factorizing the transducer and shortening its history

The paper also compares recurrent and stateless prediction decoders in conventional RNN-T and in the hybrid autoregressive transducer, or HAT. The transducer variants are evaluated using the larger speech training condition. This comparison poses a question about how strongly the recognizer’s own language preferences affect the usefulness of an external scorer.

Factorized transducers separate the probability associated with text labels from the blank probability. This structure makes it easier to estimate an internal language model, abbreviated ILM, and to subtract its contribution when adding external language information. The idea is to account for preferences the recognizer already learned from its training transcripts as part of adapting it to another domain. Such a change concerns the relative influence of internal and external language evidence. NGPU-LM supplies the external terms regardless of whether the recognizer’s prediction architecture makes its own language contribution easy to estimate.

The stateless decoder changes the way the recognizer represents preceding labels. It uses embeddings of the last two predicted tokens in place of the usual recurrent decoder. The paper considers the possibility that this lighter prediction network would learn weaker domain preferences from the original training data and therefore adapt more readily under external fusion. The reported comparisons offer no clear overall advantage for that change. In this experiment, reducing the prediction history by itself is an insufficient guide to which transducer will benefit most from contextual fusion.

The ranking of the recurrent variants changes by domain. HAT with an LSTM has the best result on SLURP in this comparison. RNN-T with an LSTM does slightly better on SPGI. This gives some grounds for considering the degree of factorization when designing a fused recognizer, but the evidence does not identify one recurrent architecture as the strongest choice across the two domains. A result on the command-focused test and a result on financial speech can legitimately select different systems within the same broader fusion method.

Biasing toward a named collection of terms

The authors additionally test an internal dataset designed to measure recognition of computer science keywords. For that run they derive the external scorer from a target list containing 200 items. This is a different adaptation input from the SLURP and SPGI training text. In the keyword setting, the desired evidence is concentrated in an explicit collection of target expressions. The same decoding machinery can make those expressions more plausible by scoring advances through the token sequences they contain.

The authors report that the method works for this form of keyword boosting, with the best result in the comparison obtained by the LSTM-based RNN-T. The outcome widens the range of demonstrated uses from domain text to a curated list. Its scope is the authors’ computer science test and the particular target inventory. The paper provides a qualitative outcome and a ranking for that comparison. The changes in word-level errors for target terms and for the rest of the transcript are unspecified, so their relative contributions to the finding cannot be quantified from the reported analysis.

Limitations

Scope the authors identify

The paper’s primary investigation is efficient shallow fusion during greedy recognition. It implements AED beam integration and uses beam search as an experimental comparison. The conclusion puts deeper integration with different beam algorithms into future work. The current results therefore describe the cost of the beam configurations actually used, including the transducer comparisons based on KenLM. Further integration could change the balance of computation inside a beam decoder, and the paper does not establish its effect.

The authors describe the batched interface and explain the data layout and non-batched procedure, while directing readers to the released implementation for the batched version. That is a limit of the algorithm description. It specifies what ends up in the output tensors and how increasingly short contexts supply scores. The implementation is needed for the details of how the parallel kernel distributes this work across a batch.

The authors also preserve a PyTorch fallback for cases where the Triton kernel cannot be used. They identify CPU control of the eager loop as a performance issue and as an obstacle to CUDA graph use. The fallback establishes that the scoring procedure can be used outside the optimized path. The speed evidence concerns the GPU configuration in the evaluation, where the custom kernel and CUDA-based decoding optimizations are part of the design.

What follows from the evaluation setup

The headline speed measurement is for batched throughput on one A6000 with the stated warm-up procedure and batch size. Recognition of a single short utterance, a streaming workload with narrower batches, and a deployment on other accelerators can give different proportions of time to launch overhead, graph traversal, and the recognizer itself. The paper gives evidence that whole-vocabulary fusion can be inexpensive in its measured setting. It leaves the overhead and latency of those other workloads open.

Vocabulary and n-gram order matter to that conclusion. The graph reads explicit arc segments and produces dense vocabulary outputs for the batch at each application of the scorer. The backoff depth is bounded by the order of the n-gram model. The experiments use a vocabulary of 1024 tokens and 10-gram scorers for the two main domains. Behavior under very different vocabulary sizes, much larger context graphs, or other distributions of arc density remains an empirical question. The SPGI footprint of 1.5GB, compared with less than 100MB for the other scorers, already shows that the memory demand can vary substantially across the reported domains.

The procedure also assumes access to useful text about the target domain. For SLURP and SPGI the authors use the target-domain training text and tune the weight with domain development data. The WSJ weight is tuned on dev93. The keyword run involves a list designed for the target task. These are controlled ways to test the value of domain adaptation. A recognizer faced with an unanticipated domain, little matching text, or a weight chosen for another setting falls outside what the experiments establish. The performance figures measure adaptation with the target information available at inference and during weight selection.

The paper tests English recognizers and particular out-of-domain data. It demonstrates the method across several architectural families, all with the FastConformer encoder chosen for the study. It supplies no cross-language comparison from which to infer how the effects would change with other tokenizations or with speech training from other languages. Comparisons of recurrent, factorized, and stateless transducers cover specific architectures and datasets. Their changed ranking between SLURP and SPGI is already a reason to keep claims about recognition architecture tied to the observed conditions.

A final constraint follows from the decoding rule itself. Greedy fusion can alter the relative preference among permitted next labels. Its ability to recover from an early commitment is limited by keeping only the chosen partial transcript. The transducer blank gate further protects blank decisions from direct override by the external text. The CTC gate preserves its treatment of blank and collapsed repeats. These are useful constraints for the problems the authors observed, and they also limit which kinds of errors language evidence can repair. The larger residual beam advantage for CTC puts that distinction into view.

Some analyses remain qualitative or use relative metrics. The termination episode for AED shows that fusion fixes an observed failure in the tested SLURP beam setup, with the contribution of terminal scoring alone left unmeasured. The direct-fusion deletion problem motivates the blank gate, with no reported deletion-rate comparison for that design choice. The keyword experiment identifies a winning system and confirms usefulness for the internal test without detailing the balance between desired keyword boosts and errors elsewhere. Those analyses explain the authors’ design and extend the evaluation, while the strength of the numerical accuracy claims rests on the main WER comparisons.

What came after

Supplementary Resources and Analysis for ASR on the Loquacious Dataset cites NGPU-LM. Its stated subject is resources and analysis for automatic speech recognition systems trained on Loquacious. That places the citation in later work concerned with speech recognition systems and their evaluation. The citation establishes a connection to the NGPU-LM paper. Whether the later study used the GPU lookup, adopted the greedy fusion rule, or cited the method as context remains unspecified.

Cite

Cite as Vladimir Bataev, Andrei Andrusenko, Lilit Grigoryan, Aleksandr Laptev, Vitaly Lavrukhin and Boris Ginsburg. 2025. NGPU-LM: GPU-Accelerated N-Gram Language Model for Context-Biasing in Greedy ASR Decoding. arXiv:2505.22857.

The paper itself, not this page. BibTeX from the library's record of the work. DOI 10.48550/arxiv.2505.22857 · arXiv 2505.22857

@misc{bataev2025ngpu,
  title = {{NGPU-LM: GPU-Accelerated N-Gram Language Model for Context-Biasing in Greedy ASR Decoding}},
  author = {Vladimir Bataev, Andrei Andrusenko, Lilit Grigoryan, Aleksandr Laptev, Vitaly Lavrukhin and Boris Ginsburg},
  year = {2025},
  doi = {10.48550/arxiv.2505.22857},
  eprint = {2505.22857},
  archivePrefix = {arXiv},
  url = {https://doi.org/10.48550/arxiv.2505.22857}
}

↑ back to top

This page in Markdown https://md.research.elamur.ai/free/en/papers/bataev-2025-ngpu-lm-gpu-accelerated-n/

References

38 references, from the paper's own bibliography.

  1. A. Graves, S. Fernández, F. Gomez, and J. Schmidhuber, “Connectionist temporal classification: labelling unsegmented sequence data with recurrent neural networks,” in ICML, 2006. OpenAlex ↗ · Scholar ↗
  2. G. E. Hinton, L. Deng, D. Yu, G. E. Dahl, A. rahman Mohamed, N. Jaitly, A. W. Senior, V. Vanhoucke, P. Nguyen, T. N. Sainath, and B. Kingsbury, “Deep neural networks for acoustic modeling in speech recognition,” IEEE Signal Processing Magazine, vol. 29, p. 82, 2012. OpenAlex ↗ · Scholar ↗
  3. A. Graves, “Sequence transduction with recurrent neural networks,” in ICML, 2012. our card
  4. W. Chan, N. Jaitly, Q. V. Le, and O. Vinyals, “Listen, attend and spell: A neural network for large vocabulary conversational speech recognition,” ICASSP, 2016. OpenAlex ↗ · Scholar ↗
  5. A. Radford, J. W. Kim, T. Xu, G. Brockman, C. McLeavey, and I. Sutskever, “Robust speech recognition via large-scale weak supervision,” in ICML, 2022. our card
  6. K. C. Puvvada, P. Żelasko, H. Huang et al., “Less is more: Accurate speech recognition & translation without web-scale data,” in Interspeech, 2024. OpenAlex ↗ · Scholar ↗
  7. D. Zhang, S. Li, X. Zhang, J. Zhan, P. Wang, Y. Zhou, and X. Qiu, “Speechgpt: Empowering large language models with intrinsic cross-modal conversational abilities,” in Conference on Empirical Methods in Natural Language Processing, 2023. our card
  8. P. K. Rubenstein, C. Asawaroengchai, D. D. Nguyen et al., “Audiopalm: A large language model that can speak and listen,” ArXiv, vol. abs/2306.12925, 2023. our card
  9. G. Pundak, T. N. Sainath, R. Prabhavalkar, A. Kannan, and D. Zhao, “Deep context: End-to-end contextual speech recognition,” in SLT, 20218. OpenAlex ↗ · Scholar ↗
  10. M. Jain, G. Keren, J. Mahadeokar, and Y. Saraf, “Contextual rnn-t for open domain asr,” in Interspeech, 2020. OpenAlex ↗ · Scholar ↗
  11. Z. Chen, H. Huang, A. Andrusenko, O. Hrinchuk, K. C. Puvvada, J. Li, S. Ghosh, J. Balam, and B. Ginsburg, “Salm: Speech-augmented language model with in-context learning for speech recognition and translation,” in ICASSP 2024. 1em plus 0.5em minus 0.4em IEEE, 2024. OpenAlex ↗ · Scholar ↗
  12. D. Zhao, T. N. Sainath, D. Rybach, P. Rondon, D. Bhatia, B. Li, and R. Pang, “Shallow-fusion end-to-end contextual biasing,” in Interspeech, 2019. OpenAlex ↗ · Scholar ↗
  13. N. Jung, G. min Kim, and J. S. Chung, “Spell my name: Keyword boosted speech recognition,” in ICASSP, 2022. OpenAlex ↗ · Scholar ↗
  14. A. Andrusenko, A. Laptev, V. Bataev, V. Lavrukhin, and B. Ginsburg, “Fast context-biasing for ctc and transducer asr models with ctc-based word spotter,” Interspeech, 2024. OpenAlex ↗ · Scholar ↗
  15. S. Hochreiter and J. Schmidhuber, “Long short-term memory,” Neural Computation, vol. 9, pp. 1735–1780, 1997. OpenAlex ↗ · Scholar ↗
  16. A. Vaswani, N. M. Shazeer, N. Parmar, J. Uszkoreit, L. Jones, A. N. Gomez, L. Kaiser, and I. Polosukhin, “Attention is all you need,” in Neural Information Processing Systems, 2017. our card
  17. K. Heafield, “KenLM: Faster and smaller language model queries,” in Proceedings of the Sixth Workshop on Statistical Machine Translation. 1em plus 0.5em minus 0.4em Edinburgh, Scotland: Association for Computational Linguistics, 2011, pp. 187–197. our card
  18. V. Bataev, H. Xu, D. Galvez, V. Lavrukhin, and B. Ginsburg, “Label-looping: Highly efficient decoding for transducers,” in 2024 IEEE Spoken Language Technology Workshop (SLT), 2024, pp. 7–13. OpenAlex ↗ · Scholar ↗
  19. D. Galvez, V. Bataev, H. Xu, and T. Kaldewey, “Speed of light exact greedy decoding for rnn-t speech recognition models on gpu,” in Interspeech 2024, 2024, pp. 277–281. OpenAlex ↗ · Scholar ↗
  20. O. Kuchaiev, J. Li, H. Nguyen et al., “Nemo: a toolkit for building ai applications using neural modules,” in NeurIPS Workshop on Systems for ML, 2019. our card
  21. N. Bogoychev and A. Lopez, “N-gram language models for massively parallel devices,” in Proceedings of the 54th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), 2016, pp. 1944–1953. OpenAlex ↗ · Scholar ↗
  22. R. Sennrich, B. Haddow, and A. Birch, “Neural machine translation of rare words with subword units,” in Proceedings of the 54th Annual Meeting of the Association for Computational Linguistics, 2016. our card
  23. P. Tillet, H.-T. Kung, and D. Cox, “Triton: an intermediate language and compiler for tiled neural network computations,” in Proceedings of the 3rd ACM SIGPLAN International Workshop on Machine Learning and Programming Languages, 2019, pp. 10–19. our card
  24. S. Watanabe, T. Hori, S. Karita, T. Hayashi, J. Nishitoba et al., “ESPnet: End-to-end speech processing toolkit,” in Interspeech, 2018. OpenAlex ↗ · Scholar ↗
  25. H. Xu, F. Jia, S. Majumdar, H. Huang, S. Watanabe, and B. Ginsburg, “Efficient sequence transduction by jointly predicting tokens and durations,” in ICML, 2023. OpenAlex ↗ · Scholar ↗
  26. A. Gulati, J. Qin, C.-C. Chiu et al., “Conformer: Convolution-augmented Transformer for speech recognition,” in Interspeech, 2020. our card
  27. D. Rekesh, N. R. Koluguri, S. Kriman, et al., “Fast Conformer with linearly scalable attention for efficient speech recognition,” in Automatic Speech Recognition and Understanding Workshop (ASRU), 2023. OpenAlex ↗ · Scholar ↗
  28. V. Panayotov, G. Chen, D. Povey, and S. Khudanpur, “Librispeech: An asr corpus based on public domain audio books,” ICASSP, 2015. OpenAlex ↗ · Scholar ↗
  29. E. Bastianelli, A. Vanzo, P. Swietojanski, and V. Rieser, “SLURP: A spoken language understanding resource package,” in EMNLP, 2020. our card
  30. P. K. O’Neill, V. Lavrukhin, S. Majumdar et al., “Spgispeech: 5, 000 hours of transcribed financial audio for fully formatted end-to-end speech recognition,” in Interspeech, 2021. OpenAlex ↗ · Scholar ↗
  31. D. B. Paul and J. Baker, “The design for the Wall Street Journal-based CSR corpus,” in Speech and Natural Language Workshop, 1992. OpenAlex ↗ · Scholar ↗
  32. J. Kim, Y. Lee, and E. Kim, “Accelerating RNN Transducer inference via adaptive expansion search,” IEEE Signal Processing Letters, 2020. OpenAlex ↗ · Scholar ↗
  33. J. Kahn, V. Pratap, T. Likhomanenko et al., “Flashlight: Enabling innovation in tools for machine learning,” 2022. OpenAlex ↗ · Scholar ↗
  34. E. McDermott, H. Sak, and E. Variani, “A density ratio approach to language model fusion in end-to-end automatic speech recognition,” ASRU, 2019. OpenAlex ↗ · Scholar ↗
  35. Z. Meng, S. Parthasarathy, E. Sun, and other, “Internal language model estimation for domain-adaptive end-to-end speech recognition,” SLT, 2021. OpenAlex ↗ · Scholar ↗
  36. Z. Meng, T. Chen, R. Prabhavalkar, and other, “Modular hybrid autoregressive transducer,” SLT, 2022. OpenAlex ↗ · Scholar ↗
  37. E. Variani, D. Rybach, C. Allauzen, and M. Riley, “Hybrid autoregressive transducer (hat),” ICASSP, 2020. OpenAlex ↗ · Scholar ↗
  38. M. R. Ghodsi, X. Liu, J. A. Apfel, R. Cabrera, and E. Weinstein, “RNN-Transducer with stateless prediction network,” ICASSP, 2020. OpenAlex ↗ · Scholar ↗