SIGA: 用于科学模拟的自演化编码智能体适配器
Auto-Configuring Scientific Simulators with Lightweight Coding-Agent Adapters
AI总结:
提出SIGA适配器,通过检索、程序记忆、轨迹内验证和验证强制终止,将通用编码智能体转化为科学模拟软件操作员,在GEOS上实现36倍加速,并支持自演化提升性能。
摘要:
高级科学模拟器暴露了专门的输入语言,将模拟目标转化为可执行配置,但学习这些语言可能需要领域科学家花费数小时到数天。我们将模拟器设置研究为智能体-工具接口接地问题:需要哪些最小的模拟器特定适配才能使现成的编码智能体操作真实的科学软件?我们的直觉是,编码智能体已经知道如何导航文件、编辑代码、运行命令和修复输出,但它们缺乏模拟器的可执行契约:其词汇、结构约束、验证规则和终止条件。我们介绍了SIGA,一个模拟器接口接地适配器,通过检索、程序记忆、轨迹内验证和验证强制终止来提供此契约。我们主要在GEOS上评估SIGA,GEOS是一个用于地下科学的开源多物理场模拟器。SIGA在大约五分钟内生成完整的GEOS输入文件,TreeSim高于0.90,与花费大约三小时的扩展预算人类专家相当,实现了大约36倍的挂钟加速。在更难的保留集上,接地将TreeSim从0.720提高到0.789,相对于裸智能体提高了大约10%,并且可以将跨种子的标准差降低16倍。自演化通过从先前轨迹重写适配器内容进一步改进SIGA,产生了最高的保留GEOS平均值,并匹配或超过了最强的手工设计配置。迁移到OpenFOAM和LAMMPS表明,主导机制因接口而异:当结构完整性是瓶颈时,验证最重要;而当领域正确性是瓶颈时,记忆和检索最重要。这些结果表明,轻量级、可自我改进的接地层可以将通用编码智能体转变为科学软件的实用操作员。
英文摘要:
Configuring an advanced scientific simulator, translating a modeling goal into a valid, runnable input deck, is a persistent bottleneck that costs domain scientists hours to days. Input decks are executable interfaces: simulator-specific vocabulary, cross-file references, schema constraints, and validation rules must align before a simulation can run. We show that this bottleneck can be substantially reduced with a lightweight adapter around an off-the-shelf coding agent, rather than a bespoke simulator agent. Coding agents already navigate files, edit code, run commands, and repair outputs; what they lack is the simulator's executable contract, and rebuilding the agent loop risks discarding harness-calibrated tool-use and self-correction behavior. We introduce SIGA, a coding-agent adapter that supplies this contract through retrieval, procedural memory, agent-callable validation, and validation-gated termination while leaving the model and loop frozen. Because this contract is small and external, SIGA also supports adapter self-evolution: prior trajectories can rewrite the adapter contents without modifying the underlying agent. On GEOS, a multiphysics subsurface simulator, SIGA's main gain is reliability: on harder held-out tasks it improves TreeSim from 0.720 to 0.789 and reduces across-run standard deviation by about 16x by preventing empty or invalid decks. In a human calibration, SIGA reaches in about five minutes the deck quality a domain expert reached in about three hours. Transfers to OpenFOAM and LAMMPS show the recipe is portable but interface-dependent: completion gates help when structural completeness is the bottleneck, while memory and retrieval help when value correctness is.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。