2024 · 124 citations · 17 references
ComputingComputer ScienceComputational LinguisticsNatural Language ProcessingSoftware EngineeringHypothesis GenerationLanguage ModelingNatural Language GenerationSoftware TestingText GenerationEvaluation Of Text GenerationIterative Hypothesis RefinementIterative RefinementLanguage Model PromptingLarge Language ModelsPrompt-based GenerationPromptingTemplate Design
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.
17
Why Johnny Can’t Prompt: How Non-AI Experts Try (and Fail) to Design LLM Prompts
J.D. Zamfirescu-Pereira, Richmond Y. Wong, Bjoern Hartmann et al. · 2023 · 799 citations · Full text
Computing, Computer Science, Design +17
Usability evaluation considered harmful (some of the time)
Saul Greenberg, Bill Buxton · 2008 · 595 citations
Arts, Computer Science, Design +11
Evaluation Strategies for HCI Toolkit Research
David Ledo, Steven Houben, Jo Vermeulen et al. · 2018 · 308 citations · Full text