随机对照试验风险偏误自动评估:一种基于GEPA训练的程序化提示框架初探
Automated Risk-of-Bias Assessment of Randomized Controlled Trials: A First Look at a GEPA-trained Programmatic Prompting Framework
AI总结:
GEPA通过结构化优化生成一致的提示,提升随机对照试验偏误风险评估的自动化与可重复性。
摘要:
在随机对照试验中评估偏误风险(RoB)对于生成可信的证据综合至关重要,但这一过程资源消耗大且不同评审者之间存在较大差异。大语言模型(LLMs)提供了一种自动化途径,但现有方法依赖于人工设计的提示,难以重复、推广或评估。本研究介绍了一种可编程的RoB评估流程,用结构化、基于代码的优化替代了随意的提示设计,利用DSPy及其GEPA模块。GEPA通过帕累托引导搜索优化LLM推理,并生成可检查的执行轨迹,使优化过程中的每一步都能透明重现。我们对100个来自已发表元分析的RCTs在七个RoB领域进行了评估。GEPA生成的提示应用于开放式权重模型(Mistral Small 3.1与GPT-oss-20b)和商业模型(GPT-5 Nano和GPT-5 Mini)。在方法学报告更清晰的领域,如随机序列生成,GEPA生成的提示表现最佳,分配隐藏和受试者盲法的测试结果相似,而商业模型在整体上略胜一筹。我们还比较了GEPA与三个手动设计的提示使用Claude 3.5 Sonnet。GEPA在整体准确性上最高,并在随机序列生成和选择性报告中提高了30%-40%的性能,与其他领域相比,相对于手动提示表现一般,但具有竞争力。这些发现表明,GEPA可以生成一致且可重复的提示用于RoB评估,支持在证据综合中结构化和原则性地使用LLMs。
英文摘要:
Assessing risk of bias (RoB) in randomized controlled trials is essential for trustworthy evidence synthesis, but the process is resource-intensive and prone to variability across reviewers. Large language models (LLMs) offer a route to automation, but existing methods rely on manually engineered prompts that are difficult to reproduce, generalize, or evaluate. This study introduces a programmable RoB assessment pipeline that replaces ad-hoc prompt design with structured, code-based optimization using DSPy and its GEPA module. GEPA refines LLM reasoning through Pareto-guided search and produces inspectable execution traces, enabling transparent replication of every step in the optimization process. We evaluated the method on 100 RCTs from published meta-analyses across seven RoB domains. GEPA-generated prompts were applied to both open-weight models (Mistral Small 3.1 with GPT-oss-20b) and commercial models (GPT-5 Nano and GPT-5 Mini). In domains with clearer methodological reporting, such as Random Sequence Generation, GEPA-generated prompts performed best, with similar results for Allocation Concealment and Blinding of Participants, while the commercial model performed slightly better overall. We also compared GEPA with three manually designed prompts using Claude 3.5 Sonnet. GEPA achieved the highest overall accuracy and improved performance by 30%-40% in Random Sequence Generation and Selective Reporting, and showed generally comparable, competitively aligned performance in the other domains relative to manual prompts. These findings suggest that GEPA can produce consistent and reproducible prompts for RoB assessment, supporting the structured and principled use of LLMs in evidence synthesis.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。