Conversation Regression Testing: A Design Technique for Prototyping Generalizable Prompt Strategies for Pre-trained Language Models
J.D. Zamfirescu-Pereira, Bjoern Hartmann, Qian Yang

TL;DR
This paper introduces Conversation Regression Testing, a technique and tool for systematically evaluating how different prompt strategies affect chatbot conversation quality, aiding designers in iterative chatbot development.
Contribution
It presents a novel regression testing approach and an interactive tool, BotDesigner, for analyzing prompt impacts on chatbot conversations, addressing brittleness in prompt-based improvements.
Findings
Regression testing helps identify persistent conversational errors.
BotDesigner effectively visualizes conversation patterns and prompt effects.
Pilot study confirms usefulness for chatbot designers.
Abstract
Pre-trained language models (LLMs) such as GPT-3 can carry fluent, multi-turn conversations out-of-the-box, making them attractive materials for chatbot design. Further, designers can improve LLM chatbot utterances by prepending textual prompts -- instructions and examples of desired interactions -- to its inputs. However, prompt-based improvements can be brittle; designers face challenges systematically understanding how a prompt strategy might impact the unfolding of subsequent conversations across users. To address this challenge, we introduce the concept of Conversation Regression Testing. Based on sample conversations with a baseline chatbot, Conversation Regression Testing tracks how conversational errors persist or are resolved by applying different prompt strategies. We embody this technique in an interactive design tool, BotDesigner, that lets designers identify archetypal…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsEthics and Social Impacts of AI · Topic Modeling · AI in Service Interactions
