Abstract
Chain-of-Thought (CoT) prompting has significantly improved the reasoning capabilities of Large Language Models (LLMs). However, the standard practice of using a fixed, manually selected set of examples for all tasks is often suboptimal. This paper introduces Active-Prompt, a framework that dynamically selects the most informative examples for human annotation based on model uncertainty. By prioritizing questions that the model finds most challenging, Active-Prompt achieves state-of-the-art performance across various arithmetic, commonsense, and symbolic reasoning benchmarks.
Introduction
The effectiveness of few-shot prompting in LLMs depends heavily on the quality and relevance of the provided exemplars. Current methods typically rely on a small set of random or manually curated reasoning chains. This "one-size-fits-all" approach fails to account for the fact that different questions provide varying levels of learning signals. The central challenge addressed here is identifying which specific questions from a large unlabeled pool are most beneficial to annotate when working within a limited human-annotation budget.
Methodology
Active-Prompt borrows principles from active learning to automate the selection of high-impact exemplars. The framework operates in four distinct stages:
- Uncertainty Estimation: The model is presented with a pool of unlabeled questions and asked to generate $k$ independent answers for each, using a non-zero temperature to introduce variability.
- Selection: The "uncertainty" of the model's outputs is calculated using metrics such as Disagreement (number of unique answers), Entropy, or Variance. Questions with the highest uncertainty are identified as those where the model lacks a stable logical framework.
- Annotation: A human annotator writes correct step-by-step reasoning chains (CoT) for the $n$ most uncertain questions.
- Inference: These newly annotated, high-impact examples are used as few-shot prompts for the final task.
Experimental Results
The method was evaluated on eight benchmarks, including GSM8K, ASDiv, and StrategyQA, across multiple model families such as GPT-3.5 and the davinci series.
Active-Prompt consistently outperformed standard CoT and Self-Consistency baselines. For instance, using the code-davinci-002 model on the GSM8K benchmark, Active-Prompt achieved 83.4% accuracy, a substantial improvement over the 63.1% achieved by standard CoT and the 78.0% achieved by Self-Consistency. Across eight tasks using text-davinci-002, the method improved average accuracy by 7.0% over standard CoT.
Discussion and Key Insights
- Uncertainty as a Proxy for Informativeness: The core finding is that model disagreement is a strong indicator of logical gaps. Providing a "gold standard" reasoning chain for these specific points of confusion effectively "unlocks" the model's reasoning for that domain.
- Limitations of Self-Confidence: The researchers found that LLMs are often overconfident in their errors. Consequently, asking the model to self-report its confidence performed poorly compared to objective measures like answer disagreement.
- Cross-Model Transferability: Interestingly, questions that induce uncertainty in one model often prove difficult for others, suggesting that uncertainty is frequently inherent to the task's underlying logic rather than specific model weights.
Conclusion
Active-Prompt demonstrates that annotating a small number of "smartly chosen" examples is significantly more effective than using a larger set of random ones. While the method requires additional inference steps for uncertainty estimation, the resulting gains in accuracy and annotation efficiency make it a powerful tool for optimizing LLM performance on complex reasoning tasks. Future work may explore combining uncertainty-based selection with diversity-based approaches to ensure a broader coverage of logical patterns.
Summary updated