Query Suggestion for Retrieval-Augmented Generation via Dynamic In-Context Learning
Fabian Spaeh, Tianyi Chen, Chen-Hao Chiang, Bin Shen

TL;DR
This paper proposes a dynamic few-shot learning approach for query suggestion in retrieval-augmented generation systems, aiming to improve answerability and relevance of suggested queries in multi-step workflows.
Contribution
It introduces a robust dynamic few-shot learning method that retrieves relevant workflow examples, enhancing query suggestion answerability in agentic RAG systems.
Findings
Outperforms few-shot and retrieval-only baselines in relevance and answerability.
Effective on three benchmark datasets and real-world user queries.
Enables safer, more effective user interaction with RAG systems.
Abstract
Retrieval-augmented generation with tool-calling agents (agentic RAG) has become increasingly powerful in understanding, processing, and responding to user queries. However, the scope of the grounding knowledge is limited and asking questions that exceed this scope may lead to issues like hallucination. While guardrail frameworks aim to block out-of-scope questions (Rodriguez et al., 2024), no research has investigated the question of suggesting answerable queries in order to complete the user interaction. In this paper, we initiate the study of query suggestion for agentic RAG. We consider the setting where user questions are not answerable, and the suggested queries should be similar to aid the user interaction. Such scenarios are frequent for tool-calling LLMs as communicating the restrictions of the tools or the underlying datasets to the user is difficult, and adding query…
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.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsTopic Modeling · Multimodal Machine Learning Applications · Information Retrieval and Search Behavior
