arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2510.12728cs.HCcs.LG
收藏

数据提示共演:通过增长测试集来完善LLM行为

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

Yonsei University(延世大学)

Minjae Lee, Minsuk Kahng

AI总结:

本文提出数据提示共演方法,通过交互系统帮助开发者发现边缘案例并迭代优化提示,使LLM行为更符合预期政策。

摘要:

大型语言模型(LLM)日益融入应用中,人们可通过编辑提示指令来塑造模型行为。然而,将细微的领域特定策略编码到提示中具有挑战性。尽管此过程常受益于具体的测试用例,但测试数据和提示指令通常作为独立的艺术品开发,反映传统机器学习实践中模型调优缓慢且测试集静态的状况。我们主张提示工程快速迭代的性质要求消除这种分离,并启用新的工作流程:数据提示共演,其中活生生的测试集和提示指令同步演进。我们提出一个交互系统来实现这一工作流程。它指导应用开发者发现边缘案例,阐述期望行为的合理性,并迭代评估修订后的提示与增长的测试集。用户研究显示我们的工作流程帮助人们系统性地优化提示,使其更符合预期政策。这项工作通过人机协同开发,指向更稳健和负责任的LLM应用。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑