Introduction
Query Auto Completion (QAC) is a critical feature in modern search interfaces, reducing user effort by predicting the intended query from partial input. While traditional QAC assumes that user input is a literal prefix of the final query, this assumption is frequently violated in voice-based search. In streaming voice systems, intermediate transcripts from Automatic Recognition (ASR) are often unstable and may not be prefixes of the final result. This paper presents a novel ASR-aware QAC framework that leverages the dynamics of intermediate ASR outputs to significantly improve prediction accuracy.
The Challenge of Voice QAC
In text-based QAC, a user typing "COV" is likely looking for "COVID vaccine." In voice search, however, the intermediate "best guesses" of an ASR system evolve as more audio is processed. For instance, a user saying "Hulu" might initially be transcribed as "who" before the system corrects itself. Because "who" is not a prefix of "Hulu," standard QAC models fail to provide relevant suggestions. The core challenge lies in predicting the final intended query from these noisy, non-prefix intermediate states.
Methodology
The authors propose several models designed to handle the specific noise patterns of ASR systems:
- Concatenated Sequence Transformation: To capture the evolution of ASR hypotheses, the models are conditioned on a window of previous intermediate transcripts concatenated with the current one. This allows the model to learn how the ASR system typically "corrects" its initial phonetic guesses.
- CAT-MPC and CAT-NQLM: These are "ASR-aware" versions of standard baselines. CAT-MPC (Concatenated Most Popular Completion) uses a frequency-based trie over concatenated histories, while CAT-NQLM (Concatenated Neural Query Language Model) employs a transformer-based architecture to model the sequences.
- Neural Trie (NT) Objective: A significant contribution is the NT objective, where a neural model is trained to minimize the Kullback–Leibler (KL) divergence between its output and the probability distribution of a frequency-based trie. This technique combines the statistical robustness of search logs with the generalization power of neural networks.
Dataset: EntSys1M
The models were evaluated on EntSys1M, a proprietary dataset of 1.1 million real-world voice queries from the Xfinity X1 smart TV platform. This dataset is unique because it includes the full sequence of intermediate ASR updates for every query, reflecting actual "living room" usage patterns such as channel navigation and media searches.
Key Results
The primary metric for evaluation was Mean Reciprocal Rank (MRR). The proposed CAT-NQLM_NT model achieved an 18% relative improvement in MRR over standard neural language models.
As shown in the results, MRR generally increases as the user finishes their utterance (Portion of Audio Clip approaches 1.0). Interestingly, the ASR-aware models remain effective even when the intermediate transcript is orthographically distant from the final query, demonstrating that the model learns to "translate" ASR errors into correct intents.
Conclusion and Future Directions
By treating intermediate ASR "errors" as informative features rather than noise, the authors demonstrate that QAC for voice requires a departure from prefix-matching paradigms. The success of the Neural Trie objective suggests that hybridizing statistical and neural approaches is highly effective for production-scale search systems. Future work includes applying these models to speculative processing, where search results are pre-fetched based on early, high-confidence QAC predictions to minimize latency.
Summary updated