arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2605.27463stat.MEcs.AIstat.AP
收藏

当提示扰动破坏你的A/B测试:一种用于生成式调查的有效统计检验

When prompt perturbations break your A/B test: A valid statistical test for generative surveying

Johns Hopkins University(约翰霍普金斯大学)

Hayden Helm, Carey Priebe

AI总结:

针对生成式调查中LLM对提示设计敏感的问题,提出一种置换检验方法,在包含扰动结构的统计模型下保持有效性,并给出预算分配建议。

摘要:

生成式调查——利用基于LLM的角色集合对消息提供反馈——已成为传统市场研究的廉价且可扩展的替代方案。然而,LLM对提示设计中的微小变化很敏感,从生成式调查中得出的结论可能依赖于任意的措辞选择。控制这种敏感性需要在分析中包含语义等价的扰动。在本文中,我们表明,在包含现实扰动结构的生成式调查统计模型下,标准假设检验(包括符号检验和Wilcoxon符号秩检验)是无效的。我们提出了一种在该模型下有效的置换检验,并正式刻画了标准检验失效的条件。将我们的框架应用于一个简单的生成式调查问题,我们估计了相关参数,刻画了置换检验在现实条件下的功效,并提供了关于在角色、扰动和重复之间分配预算的实用指导。最后,我们表明,即使在同一个模型家族内,估计效应的大小和方向都对模型选择敏感。

英文摘要:

Generative surveying -- where collections of LLM-based personas provide feedback on messages -- has emerged as a cheap and scalable alternative to traditional market research. However, LLMs are sensitive to small variations in prompt design and conclusions drawn from generative surveys may depend on arbitrary phrasing choices. Controlling for this sensitivity requires including semantically equivalent perturbations in the analysis. In this paper, we show that standard hypothesis tests, including the sign test and Wilcoxon signed-rank test, are invalid under a statistical model for generative surveying that includes realistic perturbation structure. We propose a permutation test that is valid under this model and formally characterize the conditions under which standard tests fail. Applying our framework to a simple generative surveying problem, we estimate relevant parameters, characterize the power of the permutation test under realistic conditions, and provide practical guidance on budget allocation across personas, perturbations, and replicates. Finally, we show that both the magnitude and direction of the estimated effect are sensitive to the choice of model, even within the same model family.

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

↑