Data-Prompt Co-Evolution: Growing Test Sets to Refine LLM Behavior
Abstract
Large Language Models (LLMs) are increasingly embedded in applications, and people can shape model behavior by editing prompt instructions. Yet encoding subtle, domain-specific policies into prompts is challenging. Although this process often benefits from concrete test cases, test data and prompt instructions are typically developed as separate artifacts, reflecting traditional machine learning practices in which model tuning was slow and test sets were static. We argue that the fast, iterative nature of prompt engineering calls for removing this separation and enabling a new workflow: data-prompt co-evolution, where a living test set and prompt instructions evolve in tandem. We present an interactive system that operationalizes this workflow. It guides application developers to discover edge cases, articulate rationales for desired behavior, and iteratively evaluate revised prompts against a growing test set. A user study shows our workflow helps people refine prompts systematically, better aligning them with their intended policies. This work points toward more robust and responsible LLM applications through human-in-the-loop development.
Fields of Study & Subjects
Ethics and Social Impacts of AI
Natural Language Processing Techniques
Topic Modeling
Publication details
- Journal / source
- CHI Conference on Human Factors in Computing Systems
- Pages
- 1–17
- Publication date
- 13 April 2026
- Language
- EN