arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2603.00214cs.SEcs.AIcs.MSphysics.geo-ph
收藏

代理科学模拟:基于执行的模型构建与重建

Agentic Scientific Simulation: Execution-Grounded Model Construction and Reconstruction

SINTEF Digital(SINTEF数字研究院);Department of Mathematical Sciences(数学科学系);NTNU(挪威特纳厄大学)

Knut-Andreas Lie, Olav Møyner, Elling Svee, Jakob Torben

AI总结:

本文提出JutulGPT,通过代理科学模拟实现基于执行的模型构建与重建,解决模拟描述中的歧义问题,并公开所有代码和日志以确保可重现性。

摘要:

LLM代理越来越多地用于代码生成,但基于物理的模拟提出了更深的挑战:自然语言描述的模拟模型本质上是不充分的,不同的隐含选择的可接受解释会产生物理上有效但科学上不同的配置。没有显式检测和解决这些歧义,结果的正确性及其从原始描述的可重现性都无法保证。本文研究了代理科学模拟,其中模型构建被组织成基于执行的解释-行动-验证循环,模拟器作为物理有效性的权威仲裁者,而不是仅仅作为运行时。我们提出了JutulGPT,这是基于完全可微的Julia基于 reservoir 模拟器JutulDarcy的参考实现。代理结合了文档和示例的结构检索与代码合成、静态分析、执行和系统解释求解器诊断。不充分的建模选择被显式检测并解决,要么自主(带有记录的假设)要么通过有针对性的用户查询。结果表明,代理介导的模型构建可以基于模拟器验证,同时揭示了结构限制:通过模拟器默认值隐式解决的选择对假设日志和任何下游表示都是不可见的。一个二次实验使用自主重建参考模型从逐步抽象的文本描述中展示,重建的变异性暴露了模拟描述中的潜在自由度,并提供了一种实用的方法来审计可重现性。所有代码、提示和代理日志都公开可用。

英文摘要:

LLM agents are increasingly used for code generation, but physics-based simulation poses a deeper challenge: natural-language descriptions of simulation models are inherently underspecified, and different admissible resolutions of implicit choices produce physically valid but scientifically distinct configurations. Without explicit detection and resolution of these ambiguities, neither the correctness of the result nor its reproducibility from the original description can be assured. This paper investigates agentic scientific simulation, where model construction is organized as an execution-grounded interpret-act-validate loop and the simulator serves as the authoritative arbiter of physical validity rather than merely a runtime. We present JutulGPT, a reference implementation built on the fully differentiable Julia-based reservoir simulator JutulDarcy. The agent combines structured retrieval of documentation and examples with code synthesis, static analysis, execution, and systematic interpretation of solver diagnostics. Underspecified modelling choices are detected explicitly and resolved either autonomously (with logged assumptions) or through targeted user queries. The results demonstrate that agent-mediated model construction can be grounded in simulator validation, while also revealing a structural limitation: choices resolved tacitly through simulator defaults are invisible to the assumption log and to any downstream representation. A secondary experiment with autonomous reconstruction of a reference model from progressively abstract textual descriptions shows that reconstruction variability exposes latent degrees of freedom in simulation descriptions and provides a practical methodology for auditing reproducibility. All code, prompts, and agent logs are publicly available.

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

↑