通过预注册下一个LLM来缓解基于LLM的p-hacking
Mitigating LLM-based p-Hacking by Preregistering for the Next LLM
AI总结:
提出一种协议,通过预注册实验和合格模型,并在预注册后发布的第一个合格LLM上运行,以缓解LLM研究中的p-hacking问题。实验表明该协议能有效阻止73.9%和72.7%的p-hack转移。
摘要:
大型语言模型(LLMs)越来越多地被用于生成、分类和注释数据,其输出用于下游假设检验。然而,基于LLM的研究很容易进行p-hacking:研究人员可以调整提示、解码参数或输出格式,直到达到期望的结果。我们提出了一种协议来缓解基于LLM的研究中的p-hacking:预注册实验和合格模型,然后在预注册后发布的第一个合格LLM上运行。研究人员在当前模型上确定程序,预注册分析计划以及一组合格的未来模型,并在之后发布的第一个合格模型上运行确认性分析。由于该模型在承诺时不存在,因此无法针对其进行hack;此外,针对一个模型hack的配置通常不会转移到下一个模型。我们在两个已知真实值的任务上评估了该协议。在来自四个提供商的20个模型和11个LLM分析配置中,该协议将在两个任务中分别阻止73.9%和72.7%的p-hack成功转移。额外的分析表明,在几种压力测试下,缓解效果仍然显著。最后,我们言出必行,遵循自己的协议并预注册了我们的实验。预注册的实验证实了该协议的有效性:在7个hack了先前模型的配置中,有6个配置在之后发布的第一个合格模型上未能成功转移。
英文摘要:
Large language models (LLMs) are increasingly used to generate, classify, and annotate data whose outputs feed downstream hypothesis tests. However, LLM-based research is easy to p-hack: a researcher can tune the prompts, decoding parameters, or output format until a desired result is reached. We propose a protocol to mitigate p-hacking in LLM-based research: preregistering the experiment and eligible models, and then running it on the first eligible LLM that is released after the preregistration. The researcher finalizes the procedure on current models, preregisters the analysis plan together with a set of eligible future models, and runs the confirmatory analysis on the first eligible model released afterward. Because this model does not exist at commitment time, it cannot be hacked against; furthermore, configurations that hack one model frequently do not transfer to the next. We evaluate the protocol on two tasks whose true values are known. Across 20 models from four providers and 11 LLM-analysis configurations, the protocol would have blocked successful transfer of the p-hack in 73.9% and 72.7% of cases in the two tasks. Additional analyses reveal that mitigation remains substantial under several stress tests. Finally, putting money where our mouth is, we followed our own protocol and preregistered our experiment. The preregistered experiment confirmed the protocol's effectiveness: out of the 7 configurations that hacked the prior model, the hacking failed to carry over in 6 configurations on the first eligible model released afterward.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。