iPrOp: Interactive Prompt Optimization for Large Language Models with a Human in the Loop

Jiahui Li, Roman Klinger
12/17/2024
cs.CL

No confident code implementation found for this paper. 2 possible matches can be shown below.

Abstract

Prompt engineering has made significant contributions to the era of large language models, yet its effectiveness depends on the skills of a prompt author. This paper introduces $\textit{iPrOp}$, a novel interactive prompt optimization approach, to bridge manual prompt engineering and automatic prompt optimization while offering users the flexibility to assess evolving prompts. We aim to provide users with task-specific guidance to enhance human engagement in the optimization process, which is structured through prompt variations, informative instances, predictions generated by large language models along with their corresponding explanations, and relevant performance metrics. This approach empowers users to choose and further refine the prompts based on their individual preferences and needs. It can not only assist non-technical domain experts in generating optimal prompts tailored to their specific tasks or domains, but also enable to study the intrinsic parameters that influence the performance of prompt optimization. The evaluation shows that our approach has the capability to generate improved prompts, leading to enhanced task performance.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 2 weaker matches are hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{li2024iprop,
  title  = {iPrOp: Interactive Prompt Optimization for Large Language Models with a Human in the Loop},
  author = {Jiahui Li and Roman Klinger},
  year   = {2024},
  eprint = {2412.12644},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2412.12644v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2412.12644.svg)](https://codeofpaper.com/paper/2412.12644)

Discussion