Home Knowledge Base Analogical Prompting

Analogical Prompting is the reasoning strategy that guides language models to solve problems by first recalling or generating analogous problems with known solutions, then transferring the solution approach from the analogy to the target problem — leveraging structural similarity across domains to solve novel challenges — the cognitively-inspired technique that unlocks reasoning by pattern transfer, particularly effective for problems where direct examples are unavailable but structurally similar precedents exist in the model's training knowledge.

What Is Analogical Prompting?

Why Analogical Prompting Matters

Analogical Prompting Implementation

Self-Generated Analogy:

Provided Analogy:

Multi-Analogy Ensemble:

Analogical Prompting Performance

Task DomainCoT AccuracyAnalogical PromptingImprovement
GSM8K (Math)78.2%83.7%+5.5%
MATH (Competition)42.1%48.9%+6.8%
Science QA71.3%77.6%+6.3%
Creative Problem Solving54.8%63.2%+8.4%

When Analogical Prompting Works Best

ScenarioEffectivenessRationale
Novel problem, no direct examplesVery highAnalogy provides the missing context
Cross-domain transfer neededHighStructural similarity bridges domains
Standard problem with examplesModerateDirect examples may be sufficient
Purely factual recallLowNo reasoning structure to transfer

Analogical Prompting is the reasoning amplifier that gives language models access to their full knowledge base through structural pattern matching — enabling solutions to novel problems by recognizing that the answer already exists in a different form within the model's parametric memory, mirroring one of humanity's most powerful cognitive strategies.

analogical promptingreasoning

Explore 500+ Semiconductor & AI Topics

From EUV lithography to CUDA optimization — search the full knowledge base or chat with our AI assistant.