Share your thoughts, 1 month free Claude Pro on usSee more
WorkDL logo mark

SCULPT: Systematic Tuning of Long Prompts

About

Prompt optimization is essential for effective utilization of large language models (LLMs) across diverse tasks. While existing optimization methods are effective in optimizing short prompts, they struggle with longer, more complex ones, often risking information loss and being sensitive to small perturbations. To address these challenges, we propose SCULPT (Systematic Tuning of Long Prompts), a framework that treats prompt optimization as a hierarchical tree refinement problem. SCULPT represents prompts as tree structures, enabling targeted modifications while preserving contextual integrity. It employs a Critic-Actor framework that generates reflections and applies actions to refine the prompt. Evaluations demonstrate SCULPT's effectiveness on long prompts, its robustness to adversarial perturbations, and its ability to generate high-performing prompts even without any initial human-written prompt. Compared to existing state of the art methods, SCULPT consistently improves LLM performance by preserving essential task information while applying structured refinements. Both qualitative and quantitative analyses show that SCULPT produces more stable and interpretable prompt modifications, ensuring better generalization across tasks.

Shanu Kumar, Akhila Yesantarao Venkata, Shubhanshu Khandelwal, Bishal Santra, Parag Agrawal, Manish Gupta• 2024

Related benchmarks

TaskDatasetResultRank
Prompt OptimizationDQA
Best Score82.3
8
Prompt OptimizationCJ
Best Score76.9
8
Prompt OptimizationST
Best Score71.7
8
Prompt OptimizationBT
Best Score61
8
Prompt OptimizationGoE
Best Performance37
8
Prompt OptimizationFF
Best Score73.9
8
Showing 6 of 6 rows

Other info

Follow for update