Up nextNext guide
Socratic Prompts That Make AI Teach You
Language AI
Language AI GUIDE
Analogical and Step-Back prompting both guide a model to reason at a higher level first: analogical prompting has it recall similar solved problems, while step-back has it derive the underlying principle before tackling specifics.
Listen to this guideAI-narrated · ~2 min
They matter because abstraction often beats diving straight into details.
These are two related Google-research techniques from 2023 for improving reasoning. Analogical prompting, by Yasunaga and colleagues, asks the model to self-generate a few relevant exemplars, similar problems it has effectively seen, and their solutions before solving the target problem, removing the need for hand-written examples. Step-Back prompting, by Zheng and colleagues, instead asks an abstraction question first ("what general principle or fact governs this?"), retrieves or reasons about that principle, then applies it to the concrete question. Both push the model away from premature detail. Step-Back showed gains on physics and chemistry questions and on multi-hop reasoning, while analogical prompting improved math and code generation by tailoring examples to each specific problem.
Answering a physics question by first stating the relevant law (e.g., Newton's second law) via step-back, then plugging in numbers
Solving a new math problem by having the model recall a couple of similar solved problems through analogical prompting
Tackling a multi-hop trivia question by stepping back to the broader category or entity before chaining facts
Generating code by self-generating an analogous algorithm and its solution, then adapting it to the current task
Expect these abstraction-first patterns to merge with retrieval systems, where the step-back principle becomes a precise query into a knowledge base, and with agent planners that reason about strategy before tactics. Research is refining when self-generated analogies help versus when they introduce irrelevant or wrong examples, and combining step-back with verification so the chosen principle is checked before heavy reasoning is built on it. They are likely to be defaults in reasoning-tuned models.
Free newsletter
Three verified AI stories every weekday morning, written in plain English. Free forever, no ads.
One email each weekday. Unsubscribe in one click. We never sell or share your address.
Test yourself
Instant feedback on every answer, and a shareable certificate with a verifiable ID once you pass a course.
Support free AI education. AI Understanding is a 501(c)(3) nonprofit — no ads, no paywall, ever. Make a donation
Analogical and Step-Back prompting both guide a model to reason at a higher level first: analogical prompting has it recall similar solved problems, while step-back has it derive the underlying principle before tackling specifics. They matter because abstraction often beats diving straight into details.
Analogical prompting has the model generate its own relevant exemplars and solutions, tailored to the problem.
Step-Back first asks an abstraction question to surface the principle or fact that governs the problem.
Stating the governing principle first guides and constrains the detailed steps, lowering the chance of errors.
Step-Back improved performance on science questions and multi-hop reasoning by abstracting first.
Because the model invents its own analogies, those exemplars can sometimes be irrelevant or incorrect, hurting the answer.
Keep learning
More guides picked for this topic
Up nextNext guide
Socratic Prompts That Make AI Teach You
Language AI