Abstract
Large Pre-trained Language Models (PLMs) possess vast internal knowledge but often struggle with complex, multi-step reasoning tasks. This paper introduces iCAP (iterative Context-Aware Prompter), a framework that dynamically generates prompts to "shepherd" a fixed PLM through a sequence of reasoning steps. By iteratively eliciting relevant facts based on the evolving context, iCAP significantly improves multi-step reasoning performance without requiring full model fine-tuning.
Introduction
While PLMs like GPT-3 or BART excel at simple factual retrieval, they frequently fail when an answer requires connecting multiple pieces of information. For instance, answering "What is the birthplace of Gwilym Lloyd George’s father?" requires first identifying the father and then locating his birthplace. Standard "probing" methods, which present the entire query at once, often result in failure or hallucinations because the model cannot focus on intermediate sub-steps.
The core challenge is that while the model may "know" the individual facts, it lacks a mechanism to organize them into a coherent "chain of thought." Researchers from The Ohio State University propose that instead of a single static prompt, models require dynamic guidance to navigate their internal knowledge base.
The iCAP Framework
The proposed iterative Context-Aware Prompter (iCAP) addresses this by decoupling the knowledge base from the reasoning logic. The system utilizes a large, frozen PLM (e.g., BART-large) as the knowledge source and a smaller, trainable "Prompter" (e.g., RoBERTa-base) to manage the reasoning process.
Iterative Synthesis and Context Awareness
Unlike traditional text prompting, iCAP generates continuous virtual tokens—mathematical vectors—that are prepended to the PLM's input. At each reasoning step $j$, the Prompter analyzes the original query $q$ alongside all previously recalled knowledge $c_1, ..., c_{j-1}$. It then synthesizes a new prompt specifically tailored to elicit the next necessary piece of information. This iterative process allows the model to build a context-aware evidence chain, effectively "thinking" in steps.
Experimental Evaluation
The authors evaluated iCAP across three diverse reasoning benchmarks:
- 2WikiMultiHopQA: Multi-step reasoning across Wikipedia facts.
- R4C: Deriving evidence paths to justify answers.
- LoT (Leap-of-Thought): Taxonomic and logical reasoning.
Key Results
iCAP demonstrated substantial improvements over both standard direct QA and static prompting methods like Prefix-Tuning. On the 2Wiki dataset, iCAP achieved an Answer Recall (Ans.R) of 54.6%, compared to 44.2% for standard Prefix-Tuning. When these recalled facts were utilized by a reader model, the final answer accuracy reached an F1 score of 47.9, a significant leap from the 29.3 F1 score achieved by the PLM alone.
Crucially, "Random Model" control experiments confirmed that iCAP is truly eliciting stored internal knowledge rather than simply memorizing training patterns. This highlights the framework's ability to act as a "shepherd," steering the model toward the correct information it already possesses.
Conclusion
The iCAP framework proves that dynamic, iterative prompting is a powerful tool for unlocking the latent reasoning capabilities of PLMs. By using a small, trainable model to guide a much larger, fixed knowledge base, iCAP achieves high performance with minimal computational overhead. Future work may involve scaling the prompter and developing more autonomous "stopping" criteria to allow models to determine when they have gathered sufficient evidence to conclude a reasoning chain.
Summary updated