What is step-back prompting?

Step-back prompting is a prompting technique that asks a language model, before answering, to pose a question at a higher level of abstraction that draws out the relevant concept or principle, then ground its answer in it. Asked which school someone attended in a given period, the step-back question asks about their education history.

Unlike chain of thought and least-to-most prompting, which break a problem into intermediate steps or simpler subquestions, step-back prompting moves the question to a more abstract, general level.

Topic
Prompts, context, reasoning and generation
Also known as
Step-back question, abstraction prompting
Origin
2023 study on reasoning via abstraction, ICLR 2024

How step-back prompting works

  1. Abstraction: helped by few-shot demonstrations, the model generates a generic step-back question in place of the original.
  2. Gathering: the step-back question is answered from the model's own knowledge or by retrieval, yielding relevant principles and facts.
  3. Reasoning: grounded on those principles and facts, the model answers the original question.

In more detail

Abstraction versus decomposition

Decomposition splits a question about which employer someone worked for in a given year into subquestions such as what they were doing that year and who employed them. Step-back prompting turns the same question into a generic one about their employment history; such generic questions can serve many specific questions at once.

Commonly confused terms

TermHow it differs
Query rewritingQuery rewriting rephrases a user's query at the same level, more explicitly or differently, to improve retrieval. Step-back prompting deliberately lifts the question to a more abstract concept and grounds the answer in its principles.

Why step-back prompting matters for on-premises AI

The study introducing the method reported gains for one model of 7% and 11% on physics and chemistry questions, 27% on a time-sensitive question set and 7% on a multi-hop reasoning set. On the time-sensitive set, Retrieval-Augmented Generation reached 57.4% accuracy and retrieval driven by the step-back question 68.7%. Error analysis traced most remaining errors to the model's reasoning limits rather than abstraction.

ON-PREMISES EXAMPLE

Asked whether a contract's termination clause is valid, a company's legal assistant first asks a step-back question about the general rules governing termination in such contracts. It uses it to retrieve relevant principles from the internal policy archive, then assesses the clause against them.

Common questions

Does step-back prompting help with every question?

No. It helps most with reasoning or knowledge-intensive questions where details are easy to get lost in and a general principle guides the answer. On simple factual questions it adds the cost of an extra model call.

How is step-back prompting combined with RAG?

The step-back question serves as the retrieval query. The study introducing the method rests on the hypothesis that facts about high-level concepts are easier to reach than low-level details.

Sources

In the glossary: Glossary, R to Z

What does this term mean for your infrastructure?

We can work out together in a technical assessment how it maps onto your data, hardware and security requirements.

Request a technical assessment →

This site sets no cookies. Visitor numbers are counted in aggregate using a cookieless method that does not identify anyone. See the Privacy Policy for details.