ChainForge: A Visual Toolkit for Prompt Engineering and LLM Hypothesis Testing
Ian Arawjo, Chelse Swoopes, Priyan Vaithilingam, Martin Wattenberg, Elena L. Glassman
摘要
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.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 59 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Who Validates the Validators? Aligning LLM-Assisted Evaluation of LLM Outputs with Human Preferences 引用了 Why Johnny Can't Prompt: How Non-AI Experts Try (and Fail) to Design LLM Prompts
- Who Validates the Validators? Aligning LLM-Assisted Evaluation of LLM Outputs with Human Preferences 引用了 Supporting Sensemaking of Large Language Model Outputs at Scale
- Understanding the LLM-ification of CHI: Unpacking the Impact of LLMs at CHI through a Systematic Literature Review 引用了 AI Chains: Transparent and Controllable Human-AI Interaction by Chaining Large Language Model Prompts
- Understanding the LLM-ification of CHI: Unpacking the Impact of LLMs at CHI through a Systematic Literature Review 引用了 DirectGPT: A Direct Manipulation Interface to Interact with Large Language Models
- TeachTune: Reviewing Pedagogical Agents Against Diverse Student Profiles with Simulated Students 引用了 AI Chains: Transparent and Controllable Human-AI Interaction by Chaining Large Language Model Prompts
- TeachTune: Reviewing Pedagogical Agents Against Diverse Student Profiles with Simulated Students 引用了 Why Johnny Can't Prompt: How Non-AI Experts Try (and Fail) to Design LLM Prompts
- DirectGPT: A Direct Manipulation Interface to Interact with Large Language Models 引用了 Interactive and Visual Prompt Engineering for Ad-hoc Task Adaptation with Large Language Models
- DirectGPT: A Direct Manipulation Interface to Interact with Large Language Models 引用了 AI Chains: Transparent and Controllable Human-AI Interaction by Chaining Large Language Model Prompts
- DirectGPT: A Direct Manipulation Interface to Interact with Large Language Models 引用了 Why Johnny Can't Prompt: How Non-AI Experts Try (and Fail) to Design LLM Prompts
引用它的顶会 Paper59
- Who Validates the Validators? Aligning LLM-Assisted Evaluation of LLM Outputs with Human PreferencesShreya Shankar, J. D. Zamfirescu-Pereira, Bjoern Hartmann, Aditya G. Parameswaran 等UIST 2024 · 143 次引用
- DirectGPT: A Direct Manipulation Interface to Interact with Large Language ModelsDamien Masson, Sylvain Malacria, Géry Casiez, Daniel VogelCHI 2024 · 104 次引用
- TeachTune: Reviewing Pedagogical Agents Against Diverse Student Profiles with Simulated StudentsHyoungwook Jin, Minju Yoo, Jeongeon Park, Yokyung Lee 等CHI 2025 · 58 次引用
- Supporting Sensemaking of Large Language Model Outputs at ScaleKaty Ilonka Gero, Chelse Swoopes, Ziwei Gu, Jonathan K. Kummerfeld 等CHI 2024 · 52 次引用
- Understanding the LLM-ification of CHI: Unpacking the Impact of LLMs at CHI through a Systematic Literature ReviewRock Yuren Pang, Hope Schroeder, Kynnedy Simone Smith, Solon Barocas 等CHI 2025 · 51 次引用
它引用的 Paper13
- Why Johnny Can't Prompt: How Non-AI Experts Try (and Fail) to Design LLM PromptsJ. D. Zamfirescu-Pereira, Richmond Y. Wong, Bjoern Hartmann, Qian YangCHI 2023 · 892 次引用
- AI Chains: Transparent and Controllable Human-AI Interaction by Chaining Large Language Model PromptsTongshuang Wu, Michael Terry, Carrie Jun CaiCHI 2022 · 465 次引用
- Grounded Copilot: How Programmers Interact with Code-Generating ModelsShraddha Barke, Michael B. James, Nadia PolikarpovaOOPSLA 2023 · 408 次引用
- Large Language Models are Human-Level Prompt EngineersYongchao Zhou, Andrei Ioan Muresanu, Ziwen Han, Keiran Paster 等ICLR 2023 · 297 次引用
- Interactive and Visual Prompt Engineering for Ad-hoc Task Adaptation with Large Language ModelsHendrik Strobelt, Albert Webson, Victor Sanh, Benjamin Hoover 等IEEE VIS 2022 · 191 次引用
相关 Paper
- ChainBuddy: An AI-assisted Agent System for Generating LLM PipelinesJingyue Zhang, Ian ArawjoCHI 2025 · 13 次引用
- LLM Comparator: Interactive Analysis of Side-by-Side Evaluation of Large Language ModelsMinsuk Kahng, Ian Tenney, Mahima Pushkarna, Michael Xieyang Liu 等IEEE VIS 2024 · 23 次引用
- Heuristic-based Search Algorithm in Automatic Instruction-focused Prompt Optimization: A SurveyWendi Cui, Jiaxin Zhang, Zhuohang Li, Hao Sun 等ACL Findings 2025 · 3 次引用
- EvalLM: Interactive Evaluation of Large Language Model Prompts on User-Defined CriteriaTae Soo Kim, Yoonjoo Lee, Jamin Shin, Young-Ho Kim 等CHI 2024 · 81 次引用
- From Assistant to Independent Developer — Are GPTs Ready for Software Development?Dezhi Ran, Yuan Cao, Mengzhou Wu, Simin Chen 等ICLR 2026 · 4 次引用
