arXiv:2610.27867eess.ASOct 2026

Manuscript Offprint

arXiv:2610.27867

VISH-ASR: Viterbi-Guided Selection of Hotwords for Speech-LLM Contextual ASR

Xiaoyu Gu, Yu Xi, Chencheng Wang, Zonghan Zhou, Haoyu Li, Jing Peng, Kai Yu

ABSTRACT

Prompt-based contextual ASR requires selecting a compact hotword subset from large dynamic inventories, yet existing pre-selection methods rely either on discrete ASR hypotheses that may discard acoustic evidence or on separately trained retrieval models. We propose Viterbi-guided Selection of Hotwords (VISH), a training-free, plug-and-play framework that directly verifies candidate-specific acoustic support over frame-level CTC posteriors. VISH formulates pre-selection as constrained posterior search; M-VISH makes large-list verification scalable through frame-synchronous shared-prefix Viterbi search with bounded top-K pruning, while Bi-MVISH exploits complementary backward evidence for robust verification. Across five benchmarks, M-VISH achieves up to 11.7% absolute improvement in Best-F1 over a strong learned-retrieval baseline and reduces candidate-search latency by 75.2% at 2,000 candidates relative to hypothesis-based filtering. These results demonstrate the effectiveness of posterior-level verification for accurate and scalable hotword pre-selection without additional model training.

Index Terms— automatic speech recognition, speech large language models, contextual ASR, hotword pre-selection

1. INTRODUCTION

End-to-end automatic speech recognition (ASR) performs well on general-domain corpora [1, 2], yet remains vulnerable to hotwords: semantically critical long-tail terms, such as contact names, locations, and products, that are sparsely represented in training data. These user- and task-specific terms are better supplied as external lexical context [3–5]. Contextual ASR has used weighted finite-state transducers (WFSTs) [6] and neural context injection [7–10]. Speech large language models (Speech LLMs) offer a new paradigm [11–13].

Speech-LLM contextualization follows two paradigms. Architecture modification or extensive fine-tuning learns hotword-aware representations [14–17], but is computationally costly, inflexible for dynamic contexts, and difficult to generalize without retraining. Alternatively, prompt-based systems inject hotwords directly into the input without adapting the Speech LLM [18–20], preserving model generality and enabling inexpensive per-request personalization. However, large candidate lists weaken prompt conditioning, increase interference, and cause bias-driven substitutions in both hotwords and background words [20]. Most systems therefore pre-select a compact candidate subset that retains acoustically supported hotwords while rejecting irrelevant alternatives [18].

Existing pre-selection methods differ mainly in how candidate evidence is obtained. Hypothesis-based filtering relies on discrete recognition outputs and candidate matching [12,21,22]. For example, CTC-Assistant [22] first decodes a CTC hypothesis and then filters hotwords through lexical indexing and edit-distance matching; relevant acoustic evidence may therefore be lost when the candidate is absent from the discrete hypothesis. Learned speech-text retrievers, including BR-ASR, GLCLAP, and CLAR, require separately trained retrieval models [20, 23, 24]. Search-graph approaches based on WFST composition or lattice rescoring [25,26] often require decoderside graphs, lattices, or task-specific search structures, making them less convenient for black-box contextual ASR. CTC-based keyword spotting has also explored posterior-level keyword-constrained alignment for detection [27]; however, its objective is keyword detection rather than ranking and selecting a compact subset from a large, dynamically changing inventory for downstream contextual prompting.

We propose Viterbi-guided Selection of Hotwords (VISH), which formulates large-list hotword pre-selection as candidate-specific constrained search directly over frame-level CTC posterior trajectories. Unlike hypothesis-based filtering, VISH does not require a candidate to appear in a discrete first-pass transcript, and it requires no additional retrieval-model training. To make this formulation scalable, Multi-Word VISH (M-VISH) introduces a frame-synchronous shared-prefix search that reuses constrained-search computation among candidates with common token prefixes and bounds the active search space through top-K pruning. Bidirectional M-VISH (Bi-MVISH) further exploits complementary backward acoustic evidence to improve verification robustness.

The contributions of this work are threefold:

  1. We formulate large-list hotword pre-selection as candidate-specific constrained search over frame-level CTC posteriors and propose VISH, enabling direct acoustic verification without relying on discrete ASR hypotheses or additional retrieval-model training.

  2. We introduce M-VISH, a frame-synchronous shared-prefix multi-candidate search with bounded top-K pruning, making acoustic verification scalable to large dynamic inventories. Bi-MVISH further exploits complementary backward evidence for more robust verification.

  3. Experiments across multiple datasets and ASR systems demonstrate that improved pre-selection translates into lower downstream biased error while preserving overall recognition accuracy, with both native and external CTC posteriors supporting flexible integration.

References (32)