SCULPT: Systematic Tuning of Long Prompts

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Kumar, Shanu, Venkata, Akhila Yesantarao, Khandelwal, Shubhanshu, Santra, Bishal, Agrawal, Parag, Gupta, Manish
Format: Preprint
Published: 2024
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866915394230419456
author Kumar, Shanu
Venkata, Akhila Yesantarao
Khandelwal, Shubhanshu
Santra, Bishal
Agrawal, Parag
Gupta, Manish
author_facet Kumar, Shanu
Venkata, Akhila Yesantarao
Khandelwal, Shubhanshu
Santra, Bishal
Agrawal, Parag
Gupta, Manish
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2410_20788
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle SCULPT: Systematic Tuning of Long Prompts
Kumar, Shanu
Venkata, Akhila Yesantarao
Khandelwal, Shubhanshu
Santra, Bishal
Agrawal, Parag
Gupta, Manish
Computation and Language
Machine Learning
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.
title SCULPT: Systematic Tuning of Long Prompts
topic Computation and Language
Machine Learning
url https://arxiv.org/abs/2410.20788