Data-Prompt Co-Evolution: Growing Test Sets to Refine LLM Behavior

Minjae Lee and Minsuk Kahng

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.

Venue
CHI 2026
Volume
Proceedings of the 2026 CHI Conference on Human Factors in Computing Systems
DOI
10.1145/3772318.3791222
PDF
https://dl.acm.org/doi/pdf/10.1145/3772318.3791222
Anthology ID
2026.chi.935

Cite

@inproceedings{lee-kahng-2026-dataprompt,
    title = {{Data-Prompt Co-Evolution: Growing Test Sets to Refine LLM Behavior}},
    author = {Minjae Lee and Minsuk Kahng},
    booktitle = {Proceedings of the 2026 CHI Conference on Human Factors in Computing Systems},
    isbn = {9798400722783},
    year = {2026},
    publisher = {Association for Computing Machinery},
    address = {New York, NY, USA},
    doi = {10.1145/3772318.3791222},
    url = {https://doi.org/10.1145/3772318.3791222},
    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.}
}