Step-back prompting rewrites a detailed user question into a broader, more foundational question before vector retrieval. The broader wording can better match information-rich documents, widen the search, and reduce missed facts caused by query-specific phrasing. section 3.0 section 3.1
Implement the technique as a query-rewriting stage:
- Give an LLM a system instruction to paraphrase the input into a more generic, easier-to-answer question. section 3.1
- Use zero-shot prompting for a direct instruction, or add two to five examples with few-shot prompting to make the transformation more consistent. section 3.1
- Send the original question with the rewriting prompt, then use the generated step-back question for vector retrieval. section 3.1 section 3.0
Career-history retrieval
Rewrite “Which team did Thierry Audel play for from 2007 to 2008?” as “What is the career history of Thierry Audel?” The broader query searches across more comprehensive career information before the system generates the answer. section 3.1
Figure 3.1 Query rewriting by using the step-back technique to increase the vector retrieval accuracy
Shows how a detailed question becomes a broader retrieval query, widening the search before answer generation. section 3.0

