arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2412.12644cs.CL
收藏

iPrOp:人在回路的大语言模型交互式提示优化

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

Fundamentals of Natural Language Processing, University of Bamberg, Germany(自然语言处理基础,巴姆堡大学,德国)

Jiahui Li, Roman Klinger

AI总结:

本文提出iPrOp,一种人在回路的交互式提示优化方法,通过提示变体、模型预测解释和性能指标引导用户参与优化,生成定制化最优提示并提升任务性能。

摘要:

提示工程在大语言模型时代做出了重要贡献,但其有效性取决于提示编写者的技能。本文提出了iPrOp,一种新颖的交互式提示优化方法,旨在连接手动提示工程与自动提示优化,同时为用户提供评估不断演变的提示的灵活性。我们旨在为用户提供特定任务的指导,以增强人类在优化过程中的参与度,该过程通过提示变体、信息性实例、大语言模型生成的预测及其相应解释,以及相关的性能指标来构建。这种方法使用户能够根据个人偏好和需求选择并进一步细化提示。它不仅能协助非技术领域专家生成针对其特定任务或领域定制的最优提示,还能研究影响提示优化性能的内在参数。评估表明,我们的方法能够生成改进的提示,从而提升任务性能。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑