TL;DR
This paper introduces DocQAC, an adaptive trie-guided decoding framework that improves in-document query auto-completion by leveraging document-specific context and user query history, outperforming larger models.
Contribution
The paper presents a novel adaptive trie-guided decoding approach for in-document query auto-completion that effectively incorporates document context and user interactions.
Findings
Outperforms strong baselines on the DocQAC benchmark.
Surpasses larger instruction-tuned models on seen queries.
Efficiently incorporates document context using retrieval-augmented generation.
Abstract
Query auto-completion (QAC) has been widely studied in the context of web search, yet remains underexplored for in-document search, which we term DocQAC. DocQAC aims to enhance search productivity within long documents by helping users craft faster, more precise queries, even for complex or hard-to-spell terms. While global historical queries are available to both WebQAC and DocQAC, DocQAC uniquely accesses document-specific context, including the current document's content and its specific history of user query interactions. To address this setting, we propose a novel adaptive trie-guided decoding framework that uses user query prefixes to softly steer language models toward high-quality completions. Our approach introduces an adaptive penalty mechanism with tunable hyperparameters, enabling a principled trade-off between model confidence and trie-based guidance. To efficiently…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
