Step-Back Prompting
Step-Back Prompting, introduced in the paper, lets LLMs derive high-level concepts and first principles from examples with specific details.
Definition · At a glance · How it works
Definition
The paper introduces Step-Back Prompting, a technique that prompts LLMs to derive high-level concepts and first principles from examples containing specific details. Its first step uses in-context learning to show LLMs how to step back: for a specific example, the model derives high-level abstractions such as concepts and principles. The second step uses the model's reasoning ability to reason from those high-level concepts and principles. The authors implement Step-Back Prompting on LLMs through few-shot demonstrations.
At a glance
The authors call reasoning based on facts about a high-level concept or principle Abstraction-grounded Reasoning. Abstract questions are often general enough for several original questions to share the same abstract question, forming a many-to-one mapping.
How it works
The authors motivate Step-Back Prompting by an observation: many tasks contain so much detail that LLMs struggle to retrieve the facts needed to solve them. They define a step-back question as a question derived from the original at a higher level of abstraction. The authors report that using concepts and principles to guide reasoning significantly improves LLMs' ability to follow a correct reasoning path to the solution.
For MMLU high-school Physics and Chemistry, the model first generates the first principles behind the question. It then uses those first principles and few-shot demonstrations to generate the final answer. For these MMLU tasks, the implicit step-back question is "what are the physics or chemistry principles and concepts involved in solving this task?". In the PaLM-2L ablation on MMLU high-school Physics, the authors report no further improvement from adding demonstrations beyond a single example.
Except in the ablation studies, the authors use a single exemplar for few-shot prompting throughout the paper. Step-Back Prompting raises a question to a more abstract, higher level. Decomposition usually breaks the original question into lower-level parts. In the paper's example, "which employer did Steve Jobs work for in 1990?" could become the more general question "what is the employment history of Steve Jobs?".
Decomposition would instead produce sub-questions such as "What was Steve Jobs doing in 1990?", "Was Steve Jobs employed in 1990?" and "If Steve Jobs was employed, who was his employer?". According to the paper, abstraction is not necessary in every scenario and is not always possible. The paper identifies the Reasoning step as the remaining bottleneck for tasks such as MMLU that require complex reasoning.
Example
Figure 2 shows a Physics example at the top: "What happens to the pressure, P, of an ideal gas if the temperature is increased by a factor of 2 and the volume is increased by a factor of 8 ?" The authors say that reasoning directly about this question can lead an LLM away from the ideal gas law as a first principle. The appendix marks the original answer as incorrect. That answer calls option 0 correct and says pressure decreases by a factor of 16 when temperature increases by a factor of 2 and volume by a factor of 8. The example's step-back question is "What are the physics principles behind this question?".
The listed principle is the ideal gas law, PV = nRT: P is pressure, V is volume, n is the number of moles, R is the gas constant, and T is temperature. In the final answer, increasing temperature by a factor of 2 changes T to 2T; increasing volume by a factor of 8 changes V to 8V. The example substitutes these values: P(8V) = nR(2T).
It then rearranges the equation: P = nR(2T) / 8V. The example concludes that pressure decreases by a factor of 4. Its final answer selects 1) P decreases by a factor of 4.
Sources
This page is written from the official sources below. Open them to check the original text.
- Paperhttps://arxiv.org/html/2310.06117Fetched
Verified ·
This page is written by AI from the official sources above and checked automatically. This site has not tested it. Found a mistake? Tell us.