CoPrompter:面向用户的LLM指令对齐评估以改进提示工程
CoPrompter: User-Centric Evaluation of LLM Instruction Alignment for Improved Prompt Engineering
AI总结:
CoPrompter通过生成评估标准问题和用户可编辑检查清单,帮助提示工程师识别并细化LLM响应与提示要求的对齐,提升评估控制力。
摘要:
确保大型语言模型(LLM)的响应与提示指令保持一致对于应用开发至关重要。基于我们与行业专业人士进行的形成性研究,这种对齐需要大量的人工参与和繁琐的试错过程,尤其是在提示中包含许多指令时。为应对这些挑战,我们引入了CoPrompter,这是一个通过评估标准来识别多个LLM响应中不一致性的框架。它提出了一种方法,直接从提示要求生成评估标准问题,并提供了一个界面,将这些问题转化为用户可编辑的检查清单。我们与行业提示工程师进行的用户研究表明,与传统方法相比,CoPrompter提高了识别和细化指令与提示要求对齐的能力,帮助用户理解模型在何处以及以何种频率未能遵循用户的提示要求,并有助于澄清用户自身的要求,使其对响应评估过程拥有更大的控制权。我们还提出了设计经验教训,以强调该系统在简化提示工程流程方面的潜力。
英文摘要:
Ensuring large language models' (LLMs) responses align with prompt instructions is crucial for application development. Based on our formative study with industry professionals, the alignment requires heavy human involvement and tedious trial-and-error especially when there are many instructions in the prompt. To address these challenges, we introduce CoPrompter, a framework that identifies misalignment based on assessing multiple LLM responses with criteria. It proposes a method to generate evaluation criteria questions derived directly from prompt requirements and an interface to turn these questions into a user-editable checklist. Our user study with industry prompt engineers shows that CoPrompter improves the ability to identify and refine instruction alignment with prompt requirements over traditional methods, helps them understand where and how frequently models fail to follow user's prompt requirements, and helps in clarifying their own requirements, giving them greater control over the response evaluation process. We also present the design lessons to underscore our system's potential to streamline the prompt engineering process.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。