Score: 0

P3: Prompts Promote Prompting

Published: July 21, 2025 | arXiv ID: 2507.15675v1

By: Xinyu Zhang , Yuanquan Hu , Fangchao Liu and more

Potential Business Impact:

Makes AI smarter by improving its instructions.

Business Areas:
Natural Language Processing Artificial Intelligence, Data and Analytics, Software

Current large language model (LLM) applications often employ multi-component prompts, comprising both system and user prompts, to guide model behaviors. While recent advancements have demonstrated the efficacy of automatically optimizing either the system or user prompt to boost performance, such unilateral approaches often yield suboptimal outcomes due to the interdependent nature of these components. In this work, we introduce P3, a novel self-improvement framework that concurrently optimizes both system and user prompts through an iterative process. The offline optimized prompts are further leveraged to promote online prompting by performing query-dependent prompt optimization. Extensive experiments on general tasks (e.g., Arena-hard and Alpaca-eval) and reasoning tasks (e.g., GSM8K and GPQA) demonstrate that P3 achieves superior performance in the realm of automatic prompt optimization. Our results highlight the effectiveness of a holistic optimization strategy in enhancing LLM performance across diverse domains.

Country of Origin
🇨🇳 China

Page Count
18 pages

Category
Computer Science:
Computation and Language