Manuscript Offprint

arXiv:2610.26986

Think Before You Transcribe: Context-Steered Reasoning for Hotword-Aware Speech Recognition

Qihao Wang, Hang Su, Fan Cui, Lichun Fan, Jian Luan, Yue Hu

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Contextual automatic speech recognition (ASR) improves rare-entity recognition by supplying candidate hotwords, but retrieved candidates may be incomplete or incorrect. A reliable system must therefore exploit a relevant candidate without allowing unsupported alternatives to override the acoustic evidence. We propose a context-steered reasoning framework that generates a short, audio-grounded caption before transcription. This task-specific representation lets the model assess candidate relevance before making a lexical decision. Supervised fine-tuning establishes the structured caption-to-transcription behavior, while targeted trajectory injection strengthens group relative policy optimization when difficult utterances yield only unsuccessful rollouts. Experiments across diverse context conditions show that the proposed method consistently improves both transcription quality and hotword recognition while remaining robust to irrelevant candidates.

Introduction

Modern ASR systems, such as Whisper (Radford et al. 2023), achieve high accuracy on general-domain speech, yet remain unreliable on rare names and specialized terminology in medical, legal, financial, and technical applications (Bai et al. 2024). These expressions are sparsely represented in general training data, often acoustically confusable, and disproportionately important to the utterance. Because such errors can invalidate otherwise readable transcripts and downstream search, rare-entity recognition remains a persistent obstacle to deploying ASR in knowledge-intensive settings.

Contextual ASR mitigates this problem by supplying candidate hotwords as an additional prior. Conventional systems integrate this information through shallow fusion, contextual adapters, specialized biasing modules, or external memories (Yu et al. 2024; Mittal et al. 2023); recent audio-language models instead place candidate entities directly in the prompt (Bai et al. 2024; Xiao et al. 2025; Zhou and Li 2025; Xu et al. 2025b). Both paradigms improve rare-entity recognition when the supplied context is accurate. In deployment, however, hotwords are retrieved from a large inventory rather than curated for each utterance. Deeper retrieval improves target coverage but also introduces more plausible distractors, so the list may omit a spoken entity or contain no relevant entity at all. Context is thus uncertain evidence rather than a trusted constraint.

This retrieval setting changes the problem from unconditional biasing to selective use of uncertain evidence. A model that discounts the list can still miss a relevant candidate, whereas a model that trusts it too readily can insert an unsupported entity. Yet most contextual ASR benchmarks emphasize curated ground-truth lists or a single domain. A controlled evaluation should instead vary candidate quality for the same utterance, separating gains from relevant context from degradation caused by unsupported context. Without such pairing, it is unclear whether an improvement reflects better speech recognition, stronger contextual integration, or merely an easier candidate list.

The same uncertainty exposes a limitation in direct transcription. Mapping audio and candidates immediately to the final text leaves no explicit stage at which the model can relate a plausible lexical form to the acoustic and semantic content before committing to it. Weak steering may miss an ambiguous entity, while excessive steering copies a plausible but unsupported candidate. Intermediate reasoning has proved useful in language and audio tasks (Guo et al. 2025; Ma et al. 2025; Diao et al. 2025); for contextual ASR, it can instead serve the focused role of grounding supported candidates in a description of the utterance while leaving unrelated candidates unused.

Learning this selective behavior also creates an optimization problem. Relative policy objectives are informative when a rollout group contains outputs of different quality, but every rollout for a difficult utterance may miss a supplied target entity. GRPO can rank these failures, yet the group contains no trajectory that demonstrates how a successful caption should connect the audio, candidate, and final lexical choice.

We propose CAST (Contextual ASR with Steered Thinking), a framework that produces a natural-language caption before the transcript. The caption summarizes the perceived utterance and naturally mentions only candidates that the model finds supported before it commits to a lexical choice. We train this behavior with supervised fine-tuning (SFT) followed by GRPO (Shao et al. 2024b). During GRPO, targeted off-policy trajectory injection handles eligible all-failure groups by probabilistically replacing the lowest-reward roll-

Copyright © 2027, Association for the Advancement of Artificial Intelligence (www.aaai.org). All rights reserved.

out with a reference-conditioned caption-to-transcription trajectory generated by the SFT checkpoint. This replacement supplies a concrete positive example while retaining the remaining sampled failures for relative comparison. The resulting mixed group is processed by the usual group-normalized loss. Because the injected item is not sampled under the original policy input and receives no importance correction, the update is a deliberately biased training heuristic rather than an on-policy GRPO estimate.

We introduce RACE-Bench (Robust ASR with Contextual Entities Benchmark) to evaluate the same model as context quality changes. The benchmark contains 9,136 real and synthetic English and Chinese utterances, all reserved for testing. Each utterance is paired with correct-only, contextless, retrieved, and all-noise candidate lists. This paired design measures not only whether a model can exploit a supplied entity, but also how its behavior changes as useful context disappears and distractors remain. Because the audio is fixed across conditions, the results separate effective use of available entities from resistance to unsupported candidates.

On RACE-Bench, caption-based reasoning outperforms direct-transcription variants trained on the same data, and targeted injection further improves an otherwise identical GRPO policy. CAST gains from larger retrieved candidate sets without becoming more susceptible to all-noise context. Comparisons with native reasoning models show that the benefit comes from the task-specific intermediate representation rather than reasoning length alone. Its performance also transfers to ContextASR-Bench, while its output remains much shorter than unrestricted audio reasoning.

The main contributions of this work are:

  1. We propose CAST, a caption-then-transcription framework that explicitly grounds candidate entities in the perceived audio content before the final lexical decision.

  2. We introduce targeted off-policy trajectory injection, supplying a positive trajectory when every GRPO rollout misses a target entity.

  3. We construct RACE-Bench, a 9,136-utterance bilingual benchmark that provides a controlled evaluation of contextual ASR under correct-only, contextless, retrieved, and all-noise context on the same audio.

References (43)