paper-with-me

Papers

PromptWizard: Task-Aware Prompt Optimization Framework

2024-05-28 · Eshaan Agarwal, Joykirat Singh, Vivek Dani, Raghav Magazine, Tanuja Ganu, Akshay Nambi

Large language models (LLMs) have transformed AI across diverse domains, with prompting being central to their success in guiding model outputs. However, manual prompt engineering is both labor-intensive and domain-specific, necessitating the need for automated solutions. We introduce PromptWizard, a novel, fully automated framework for discrete prompt optimization, utilizing a self-evolving, self-adapting mechanism. Through a feedback-driven critique and synthesis process, PromptWizard achieves an effective balance between exploration and exploitation, iteratively refining both prompt instructions and in-context examples to generate human-readable, task-specific prompts. This guided approach systematically improves prompt quality, resulting in superior performance across 45 tasks. PromptWizard excels even with limited training data, smaller LLMs, and various LLM architectures. Additionally, our cost analysis reveals a substantial reduction in API calls, token usage, and overall cost, demonstrating PromptWizard's efficiency, scalability, and advantages over existing prompt optimization strategies.

📄 PDF Abstract BibTeX arXiv:2405.18369

Code (1)

microsoft/promptwizard

Tasks

Computational EfficiencyDiversityPrompt Engineering

Similar Papers 제목 키워드 기반

C-MOP: Integrating Momentum and Boundary-Aware Clustering for Enhanced Prompt Evolution

2026-02-11 · Binwei Yan, Yifei Fu, Mingjian Zhu, Hanting Chen 외 arxiv

Automatic prompt optimization is a promising direction to boost the performance of Large Language Models (LLMs). However, existing methods often suffer from noisy and conflicting update signals. In this research, we prop…

Grammar-Guided Evolutionary Search for Discrete Prompt Optimisation

2025-07-14 · Muzhaffar Hazman, Minh-Khoi Pham, Shweta Soundararajan, Goncalo Mordido 외 arxiv

Prompt engineering has proven to be a crucial step in leveraging pretrained large language models (LLMs) in solving various real-world tasks. Numerous solutions have been proposed that seek to automate prompt engineering…

Prompt Engineering

TAPO: Task-Referenced Adaptation for Prompt Optimization

2025-01-12 · Wenxin Luo, Weirui Wang, Xiaopeng Li, Weibo Zhou 외

Prompt engineering can significantly improve the performance of large language models (LLMs), with automated prompt optimization (APO) gaining significant attention due to the time-consuming and laborious nature of manua…

Prompt EngineeringSpecificity

Inference-Aware Prompt Optimization for Aligning Black-Box Large Language Models

2025-08-08 · Saaduddin Mahmud, Mason Nakamura, Kyle Hollins Wray, Shlomo Zilberstein arxiv

Prompt optimization methods have demonstrated significant effectiveness in aligning black-box large language models (LLMs). In parallel, inference scaling strategies such as Best-of-N Sampling and Majority Voting have li…

Text Generation

Promptomatix: An Automatic Prompt Optimization Framework for Large Language Models

2025-07-17 · Rithesh Murthy, Ming Zhu, Liangwei Yang, Jielin Qiu 외 arxiv

Large Language Models (LLMs) perform best with well-crafted prompts, yet prompt engineering remains manual, inconsistent, and inaccessible to non-experts. We introduce Promptomatix, an automatic prompt optimization frame…

Prompt Engineering