EMNLP Findings2023
Beyond Testers' Biases: Guiding Model Testing with Knowledge Bases using LLMs
Chenyang Yang, Rishabh Rustogi, Rachel A. Brower-Sinning, Grace A. Lewis, Christian Kästner, Tongshuang Wu
Abstract
Current model testing work has mostly focused on creating test cases. Identifying what to test is a step that is largely ignored and poorly supported. We propose WEAVER, an interactive tool that supports requirements elicitation for guiding model testing. 1 WEAVER uses large language models to generate knowledge bases and recommends concepts from them interactively, allowing testers to elicit requirements for further testing. WEAVER provides rich external knowledge to testers, and encourages testers to systematically explore diverse concepts beyond their own biases. In a user study, we show that both NLP experts and non-experts identified more, as well as more diverse concepts worth testing when using WEAVER. Collectively, they found more than 200 failing test cases for stance detection with zero-shot ChatGPT. Our case studies further show that WEAVER can help practitioners test models in real-world settings, where developers define more nuanced application scenarios (e.g., code understanding and transcript summarization) using LLMs.
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
3 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- What Is Wrong with My Model? Identifying Systematic Problems with Semantic Data Slicing cites Domino: Discovering Systematic Errors with Cross-Modal Embeddings
- What Is Wrong with My Model? Identifying Systematic Problems with Semantic Data Slicing cites Why Johnny Can't Prompt: How Non-AI Experts Try (and Fail) to Design LLM Prompts
- Clarify: Improving Model Robustness With Natural Language Corrections cites Domino: Discovering Systematic Errors with Cross-Modal Embeddings
Cited by top-tier papers3
- Selenite: Scaffolding Online Sensemaking with Comprehensive Overviews Elicited from Large Language ModelsMichael Xieyang Liu, Tongshuang Wu, Tianying Chen, Franklin Mingzhe Li et al.CHI 2024 · 44 citations
- Clarify: Improving Model Robustness With Natural Language CorrectionsYoonho Lee, Michelle S. Lam, Helena Vasconcelos, Michael S. Bernstein et al.UIST 2024 · 3 citations
- What Is Wrong with My Model? Identifying Systematic Problems with Semantic Data SlicingChenyang Yang, Yining Hong, Grace A. Lewis, Tongshuang Wu et al.ASE 2024 · 2 citations
Builds on19
- The Hateful Memes Challenge: Detecting Hate Speech in Multimodal MemesDouwe Kiela, Hamed Firooz, Aravind Mohan, Vedanuj Goswami et al.NeurIPS 2020 · 1,022 citations
- 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 citations
- AI Chains: Transparent and Controllable Human-AI Interaction by Chaining Large Language Model PromptsTongshuang Wu, Michael Terry, Carrie Jun CaiCHI 2022 · 465 citations
- Domino: Discovering Systematic Errors with Cross-Modal EmbeddingsSabri Eyuboglu, Maya Varma, Khaled Kamal Saab, Jean-Benoit Delbrouck et al.ICLR 2022 · 178 citations
- Collaboration Challenges in Building ML-Enabled Systems: Communication, Documentation, Engineering, and ProcessNadia Nahar, Shurui Zhou, Grace A. Lewis, Christian KästnerICSE 2022 · 122 citations
Related papers
- TestWeaver: Execution-aware, Feedback-driven Regression Testing Generation with Large Language ModelsCuong Chi Le, Cuong Duc Van, Tung Duy Vu, Minh Vu Thai Pham et al.ICSE 2026 · 1 citation
- Validating Formal Specifications with LLM-Generated Test CasesAlcino Cunha, Nuno MacedoFM 2026 · 1 citation
- Test Intention Guided LLM-Based Unit Test GenerationZifan Nan, Zhaoqiang Guo, Kui Liu, Xin XiaICSE 2025 · 5 citations
- DesignWeaver: Dimensional Scaffolding for Text-to-Image Product DesignSirui Tao, Ivan Liang, Cindy Peng, Zhiqing Wang et al.CHI 2025 · 19 citations
- Evaluating and Improving ChatGPT for Unit Test GenerationZhiqiang Yuan, Mingwei Liu, Shiji Ding, Kaixin Wang et al.FSE 2024 · 89 citations
