ChainForge:用于提示工程与LLM假设检验的可视化工具包
ChainForge: A Visual Toolkit for Prompt Engineering and LLM Hypothesis Testing
AI总结:
本文提出开源可视化工具ChainForge,支持无需编程即可进行LLM提示工程与假设检验,并通过用户研究验证其可用性,总结出三种使用模式。
摘要:
评估大型语言模型(LLM)的输出具有挑战性,需要生成并理解大量响应。然而,超越基础提示的工具往往要求掌握编程API知识、聚焦于狭窄领域,或为闭源软件。我们提出ChainForge,一个开源可视化工具包,用于文本生成LLM的提示工程和按需假设检验。ChainForge提供图形界面,支持跨模型和提示变体比较响应。我们的系统旨在支持三项任务:模型选择、提示模板设计和假设检验(例如审计)。我们在开发早期发布了ChainForge,并与学术界和在线用户迭代改进其设计。通过实验室和访谈研究,我们发现各类人群都能使用ChainForge探究对他们重要的假设,包括在真实世界场景中。我们识别出提示工程和LLM假设检验的三种模式:机会性探索、有限评估和迭代优化。
英文摘要:
Evaluating outputs of large language models (LLMs) is challenging, requiring making -- and making sense of -- many responses. Yet tools that go beyond basic prompting tend to require knowledge of programming APIs, focus on narrow domains, or are closed-source. We present ChainForge, an open-source visual toolkit for prompt engineering and on-demand hypothesis testing of text generation LLMs. ChainForge provides a graphical interface for comparison of responses across models and prompt variations. Our system was designed to support three tasks: model selection, prompt template design, and hypothesis testing (e.g., auditing). We released ChainForge early in its development and iterated on its design with academics and online users. Through in-lab and interview studies, we find that a range of people could use ChainForge to investigate hypotheses that matter to them, including in real-world settings. We identify three modes of prompt engineering and LLM hypothesis testing: opportunistic exploration, limited evaluation, and iterative refinement.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。