通过任务分解阐明人工智能生成的科学分析中的假设
Articulating Assumptions in AI-Generated Scientific Analyses through Task Decomposition
AI总结:
研究旨在解决大语言模型生成的科学分析结果的可理解性和可重现性问题,通过引入基于数量的语义差异多智能体框架及相关模块,经对撞机物理分析验证,模块化任务分解提升了透明度与可靠性,还能让小模型执行完整流程。
摘要:
由大语言模型生成的分析代码所产生的科学结果必须是可理解和可重现的。然而,在该过程的不同阶段,无论是在原始自然语言规范中还是在生成的实现中,都可能出现不确定性。因此,即使是可执行代码,也可能无法清楚地了解正在计算哪些量或哪些假设决定了最终结果。为应对这一挑战,我们引入了基于数量的语义差异,这是一个用于分析和比较大语言模型生成的科学程序的多智能体框架。该框架将代码生成、执行、跟踪和验证分配给不同的智能体,使其能够重构关键输出量是如何产生的,并识别预期分析与实现代码之间的差异。我们还引入了一个模块,该模块在代码生成之前检查初始用户指令中的歧义并建议替代重写。其模块化设计通过替换特定领域的资源,在保持相同工作流程的同时,实现了在不同科学领域的应用。我们在代表性的对撞机物理分析中验证了该框架。结果表明,相对于之前的单提示方法,模块化任务分解提高了透明度和可靠性,同时使小得多的模型能够执行完整的工作流程。
英文摘要:
Scientific results produced by LLM generated analysis code must be understandable and reproducible. However, uncertainty can arise at different stages of the process, both in the original natural language specification and in the generated implementation. As a result, even executable code may not provide a clear understanding of which quantities are being computed or which assumptions determine the final results. To address this challenge, we introduce quantity grounded semantic differencing, a multi-agent framework for analyzing and comparing scientific programs generated by LLMs. The framework assigns code generation, execution, tracing, and validation to separate agents, allowing it to reconstruct how key output quantities are produced and to identify differences between the intended analysis and the implemented code. We also introduce a module that inspects ambiguities in the initial user instruction and suggests alternative rewrites before code generation. Its modular design enables application to different scientific domains by replacing domain specific resources while preserving the same workflow. We validate the framework on representative collider physics analyses. The results demonstrate that the modular task decomposition enhances both transparency and reliability relative to the previous single prompt approach, while enabling substantially smaller models to execute the complete workflow.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。