动态提示中间件:面向理解任务的上下文提示细化控制
Dynamic Prompt Middleware: Contextual Prompt Refinement Controls for Comprehension Tasks
AI总结:
本文针对理解任务中用户难以控制AI解释的问题,提出并评估Dynamic PRC与Static PRC两种提示中间件,发现动态上下文细化控件能增强控制、降低上下文表达门槛并改善生成式AI工作流体验。
摘要:
对许多用户而言,有效提示生成式AI颇具挑战,尤其是在解释电子表格公式、Python代码和文本段落等理解任务中表达上下文时。提示中间件旨在通过协助构建提示来克服这一障碍,但用户在表达充分控制以获得符合其偏好的AI回复方面仍存在困难。我们开展了一项形成性调查(n=38),研究用户在理解任务中控制AI生成解释的需求,揭示了标准化但可预测的提示支持,与针对用户和任务定制的自适应但不可预测的支持之间的权衡。为探索这一权衡,我们实现了两种提示中间件方法:Dynamic Prompt Refinement Control(Dynamic PRC,动态提示细化控制)和Static Prompt Refinement Control(Static PRC,静态提示细化控制)。Dynamic PRC方法生成特定于上下文的UI元素,根据用户的提示以及用户向AI提出的需求提供提示细化;而Static PRC方法提供一个预设的、普遍适用的细化列表。我们通过一项受控用户研究(n=16)评估这两种方法,以考察其对用户控制AI回复、从而构建更好解释的影响。结果显示,参与者更偏好Dynamic PRC方法,因为它提供了更多控制,降低了提供上下文的障碍,并鼓励对任务进行探索和反思;但要推断不同生成控件对最终输出的影响仍然具有挑战性。基于参与者反馈,我们讨论了未来Dynamic PRC系统在增强用户对AI回复控制方面的设计启示。研究结果表明,动态提示中间件可通过提供更强的控制并引导用户获得更好的AI回复,改善生成式AI工作流的用户体验。
英文摘要:
Effective prompting of generative AI is challenging for many users, particularly in expressing context for comprehension tasks such as explaining spreadsheet formulas, Python code, and text passages. Prompt middleware aims to address this barrier by assisting in prompt construction, but barriers remain for users in expressing adequate control so that they can receive AI-responses that match their preferences. We conduct a formative survey (n=38) investigating user needs for control over AI-generated explanations in comprehension tasks, which uncovers a trade-off between standardized but predictable support for prompting, and adaptive but unpredictable support tailored to the user and task. To explore this trade-off, we implement two prompt middleware approaches: Dynamic Prompt Refinement Control (Dynamic PRC) and Static Prompt Refinement Control (Static PRC). The Dynamic PRC approach generates context-specific UI elements that provide prompt refinements based on the user's prompt and user needs from the AI, while the Static PRC approach offers a preset list of generally applicable refinements. We evaluate these two approaches with a controlled user study (n=16) to assess the impact of these approaches on user control of AI responses for crafting better explanations. Results show a preference for the Dynamic PRC approach as it afforded more control, lowered barriers to providing context, and encouraged exploration and reflection of the tasks, but that reasoning about the effects of different generated controls on the final output remains challenging. Drawing on participant feedback, we discuss design implications for future Dynamic PRC systems that enhance user control of AI responses. Our findings suggest that dynamic prompt middleware can improve the user experience of generative AI workflows by affording greater control and guide users to a better AI response.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。