arXiv:2606.09774cs.AIcs.CL2026-06

用轻量适配器让编码智能体自动配置科学模拟器,大幅提效。

Auto-Configuring Scientific Simulators with Lightweight Coding-Agent Adapters

论文配图:Auto-Configuring Scientific Simulators with Lightweight Coding-Agent Adapters
图 1 · 摘自论文原文
  • 在通用编码代理外加轻量适配器,提供模拟器的执行契约
  • 在GEOS上使任务成功率从0.720提升至0.789,标准差降低16倍
  • 适配器可自演化,适合科研人员快速生成高质量输入文件

配置高级科学模拟器——将建模目标转化为有效可运行的输入文件——是领域科学家长期面临的瓶颈,耗时数小时至数天。输入文件是特定于模拟器的可执行接口,需满足词汇、跨文件引用、结构约束和验证规则的一致性才能运行。我们表明,通过在现成编码代理外添加轻量级适配器,而非构建专用模拟器代理,可显著缓解这一瓶颈。编码代理已具备文件导航、代码编辑、命令执行和输出修复能力,但缺乏模拟器的执行契约。重建代理循环可能破坏已校准的工具使用与自我修正行为。我们提出SIGA,通过检索、过程记忆、代理可调用验证及验证门控终止,外部供给该契约,同时保持模型与运行循环不变。由于契约小且外部化,SIGA支持适配器自演化:先前轨迹可重写适配器内容而不修改底层代理。在多物理场地下模拟器GEOS上,主要成效为可靠性提升:在更难的保留任务中,树搜索成功率从0.720升至0.789,并将跨运行标准差降低约16倍,防止空或无效输入文件。人类校准实验显示,SIGA仅需约五分钟即可达到专家三小时才达成的文件质量。向OpenFOAM和LAMMPS的迁移表明该方法具有可移植性,但依赖接口特性:当结构完整性为瓶颈时,完成门控有帮助;当数值正确性为关键时,记忆与检索更有效。

原文摘要 · Abstract (English)

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.

科学模拟编码代理自动配置适配器

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。