Iteratively Prompt Pre-trained Language Models for Chain of Thought
Boshi Wang, Xiang Deng Huan Sun The Ohio State University, Columbus, OH
Abstract
While Pre-trained Language Models (PLMs) internalize a great amount of world knowledge, they have been shown incapable of recalling these knowledge to solve tasks requiring complex & multi-step reasoning. Similar to how humans develop a “chain of thought” for these tasks, how can we equip PLMs with such abilities? In this work, we explore an iterative prompting framework, a new prompting paradigm which progressively elicits relevant knowledge from PLMs for multi-step inference. We identify key limitations of existing prompting methods, namely they are either restricted to queries with a single identifiable relation/predicate, or being agnostic to input contexts, which makes it difficult to capture variabilities across different inference steps. We propose an iterative context-aware prompter, which addresses these limitations by learning to dynamically synthesize prompts conditioned on the current step’s contexts. Experiments on three datasets involving multi-step reasoning show the effectiveness of the iterative scheme and the context-aware prompter design.111Our source code is available at https://github.com/sunlab-osu/IterPrompt.
原文 arXiv:2203.08383;中英对照 + 大白话阅读 https://aha.fim.ai/paper/2203.08383v3