PromISe: Releasing the Capabilities of LLMs with Prompt Introspective Search

Minzheng Wang, Nan Xu, Jiahao Zhao, Yin Luo, Wenji MaoCOLING 2024

Abstract

The development of large language models (LLMs) raises the importance of assessing the fairness and completeness of various evaluation benchmarks. Regrettably, these benchmarks predominantly utilize uniform manual prompts, which may not fully capture the expansive capabilities of LLMs—potentially leading to an underestimation of their performance. To unlock the potential of LLMs, researchers pay attention to automated prompt search methods, which employ LLMs as optimizers to discover optimal prompts. However, previous methods generate the solutions implicitly, which overlook the underlying thought process and lack explicit feedback. In this paper, we propose a novel prompt introspective search framework, namely PromISe, to better release the capabilities of LLMs. It converts the process of optimizing prompts into an explicit chain of thought, through a step-by-step procedure that integrates self-introspect and self-refine. Extensive experiments, conducted over 73 tasks on two major benchmarks, demonstrate that our proposed PromISe significantly boosts the performance of 12 well-known LLMs compared to the baseline approach. Moreover, our study offers enhanced insights into the interaction between humans and LLMs, potentially serving as a foundation for future designs and implementations.

Introduction

As new Large Language Models (LLMs) are released at a breakneck pace, the AI community relies on standardized benchmarks like MMLU or AGIEval to rank them. However, these benchmarks typically use static, one-size-fits-all manual prompts. Because LLMs are highly sensitive to phrasing, a prompt that works perfectly for a LLaMA model might yield suboptimal results from a Falcon or Baichuan model. Consequently, current leaderboards might be underestimating the true capabilities of certain models due to an artificial bottleneck in how they are queried.

While automated prompt engineering exists, previous methods often rely on continuous soft prompts (unreadable to humans) or simple mutation strategies that edit prompts without understanding the underlying reasons for failure. PromISe (Prompt Introspective Search) addresses this by treating prompt optimization as an explicit, interpretable, and model-specific Chain-of-Thought process.

The PromISe Framework

The PromISe framework utilizes a highly capable "search LLM" (e.g., GPT-3.5-turbo) to find the optimal prompt for a specific target "prompted LLM." The pipeline is structured into three distinct stages:

  1. Extensive Search: The search LLM takes a benchmark's default manual prompt as a seed and generates a diverse batch of 50 new prompt variations.
  2. LLM-Oriented Selection: These prompts are tested on the specific target LLM. Evaluation scores are recorded, and the system isolates the top-performing and bottom-performing prompts.
  3. Introspective Refinement: Instead of random tweaking, PromISe feeds the successful and unsuccessful prompts—along with their scores—back to the search LLM. The search LLM is instructed to self-introspect (analyze linguistic traits that led to success or failure) and then self-refine to generate a new, optimized batch of prompts.
Overview of the PromISe framework, illustrating the three-step process of search, selection, and introspective refinement.

The core novelty lies in the "Introspect Instruction," which forces the search LLM to analyze the results in JSON format, identifying what is "good" and "bad" to guide further refinement. This explicit feedback loop ensures the search is grounded in the target model's specific behavior.

The Introspect Instruction used to guide the search LLM in analyzing performance results through an explicit chain of thought.

Experimental Evaluation

The framework was evaluated across 73 tasks from two major multiple-choice benchmarks:

  • MMLU (Massive Multitask Language Understanding): 57 tasks covering STEM, humanities, and social sciences.
  • AGIEval: 16 tasks derived from human standardized exams like the SAT and LSAT.

The researchers tested PromISe on 12 open-source LLMs, including the LLaMA, LLaMA2, Falcon, Baichuan, and MOSS families. To ensure fair testing, 15% of the test dataset was used for the prompt search phase, while the final optimized prompt was evaluated on the remaining 85%.

Key Results and Discussion

PromISe demonstrated significant performance boosts across all tested models:

  • Performance Gains: On MMLU, PromISe improved average accuracy by 1.5 to 4.0 percentage points. On AGIEval, gains were even more pronounced, ranging from 4.0 to 7.5 percentage points.
  • Model-Specific Optimization: The study confirmed there is no "universal best prompt." Optimal prompts for Baichuan-13B differed significantly from those for LLaMA2-7B, highlighting the necessity of model-tailored evaluation.
  • Bridging the Parameter Gap: Smaller models with optimized prompts often outperformed larger models using standard prompts. For instance, LLaMA-33B surpassed LLaMA-65B on AGIEval when using PromISe-refined instructions.
  • Ablation of Introspection: Removing the introspection phase significantly reduced performance gains (e.g., LLaMA2-70B's gain dropped from 4.69 to 2.60 points), proving that explicit analysis is more effective than simple mutation.

Linguistic analysis of the optimized prompts revealed that they often mimic effective human pedagogy, including welcoming messages, encouraging tones, and explicit instructions for careful consideration. However, the researchers noted that while prompt optimization aids knowledge-retrieval tasks, it has limited impact on heavy logical reasoning tasks where the model fundamentally lacks the underlying capability.

Conclusion

PromISe demonstrates that how we evaluate LLMs is just as critical as the benchmarks themselves. By moving away from static, uniform prompts toward dynamic, model-tailored evaluations, the AI community can obtain a truer measure of a model's inherent capabilities. While performance remains bounded by a model's parameter size and training data, PromISe provides a robust framework for ensuring those capabilities are fully realized during benchmarking.

Summary updated

BibTeX
@inproceedings{wang2024promise,
  author = {Minzheng Wang and Nan Xu and Jiahao Zhao and Yin Luo and Wenji Mao},
  title = {{PromISe: Releasing the Capabilities of LLMs with Prompt Introspective Search}},
  booktitle = {International Conference on Computational Linguistics},
  year = {2024},
  url = {https://openreview.net/forum?id=LdmJhl3qnT},
}
Figure