NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

SIGA: Scientific Simulation Coding Agent Adapter- A Geophysics Case Study

Matthew Ho, Brian Zhou Liu, Jixuan Chen, Lianhui QinNeurIPS 2026

TL;DR

Before a scientist can simulate fluid flow or underground carbon storage, they often spend days wrestling with arcane configuration files just to get the software to boot. Rather than building a custom AI agent from scratch to solve this, the authors wrap an off-the-shelf coding agent in a lightweight "grounding adapter" called SIGA. By giving the frozen agent simulator-specific memory, search, and strict validation gates, SIGA turns hours of frustrating setup into a reliable five-minute task.

What Problem Does This Paper Address?

Modern science runs on massive simulation engines—tools like GEOS for subsurface geophysics, OpenFOAM for fluid dynamics, and LAMMPS for molecular dynamics. While a scientist’s goal starts in plain English ("model $CO_2$ leaking through a permeable well"), the simulator demands an input deck: a rigid, executable configuration written in a massive domain-specific language.

Writing a valid input deck is a notorious bottleneck. In GEOS, for instance, a newcomer has to wade through 646+ pages of documentation to align 263 element types and 732 attributes across interconnected XML files, where near-duplicate names (like DruckerPrager vs. ExtendedDruckerPrager) can silently break a run.

Figure 1: The configuration bottleneck, illustrated on a GEOS carbon-sequestration task. A scientist (1) gathers a specification with about 40 values per task, (2) consults extensive documentation (646+ pages), (3) writes a configuration that encodes simulator-specific dependencies (263 element types, 732 attributes), and (4) runs and refines it, which typically requires debugging.

Recently, researchers have tried automating this by building bespoke AI agent loops from scratch for specific simulators. The authors argue this throws the baby out with the bathwater: general-purpose coding agents (like Claude Code) already know how to navigate files, run bash commands, and debug errors. What they lack isn't a new brain or control loop—it's the simulator's "executable contract."

Methods

The authors introduce SIGA (Simulator-Interface Grounding Adapter), a thin wrapper around a frozen coding agent (Claude Code, primarily running deepseek-v4-flash). Instead of retraining the model or rewriting its core loop, SIGA plugs into the agent's native extension points across four modular components:

  • Retrieval (R): An MCP server providing semantic search over simulator docs, schemas, and examples, rescuing the agent when grep fails on unfamiliar jargon.
  • Procedural Memory (M): A compact (~820-token) "cheatsheet" appended to the system prompt, distilled offline from past trajectories to keep high-frequency vocabulary and routing rules in view.
  • Callable Validator (X): A tool letting the agent check its draft against the simulator's schema mid-flight.
  • Validation Stop Hook (S): A completion gate that intercepts the agent when it tries to finish. If the deck is missing, unparseable, or fails validation, the hook blocks termination and hands back structured error feedback for repair.

Because this adapter is just external text and lightweight hooks, SIGA also supports offline self-evolution (SE): a meta-agent inspects past runs and rewrites the primer and cheatsheet to improve performance without touching the base agent.

Datasets

  • GEOS Benchmark (New): Mined from GEOS tutorials and examples, yielding 45 usable tasks pairing natural-language briefs with hand-validated reference XML decks (18 for memory distillation, 17 for validation, and 10 harder multiphysics problems held out for evaluation).
  • OpenFOAM Transfer: 30 case-authoring tasks derived from FoamGPT.
  • LAMMPS Transfer: 9 molecular-dynamics input script tasks.

Key Insights and Ideas

  • Adapt the harness, don't rebuild the agent: Keeping the native coding harness intact preserves tool-use and self-correction behaviors the underlying model was already calibrated for.
  • Grounding buys reliability, not perfection: On easy tasks, the bare coding agent is already near ceiling. SIGA's magic shows up on the hard tail—preventing "silent incompleteness," where an overwhelmed agent gives up early and leaves behind empty or broken files.
  • The binding component depends on the interface: Porting SIGA across three simulators revealed a clean, portable rule of thumb:
  • When structural completeness is the bottleneck (multi-file OpenFOAM cases or strict XML in GEOS), validation stop hooks (S) do the heavy lifting.
  • When scripts are structurally simple but parameter values and command ordering are tricky (LAMMPS), memory (M) and retrieval (R) carry the gains.
  • Autonomous agents resist asking for help: When given partial briefs and a tool to consult a simulated human supervisor, the agent asked for help in only 2 of 64 runs—preferring to scavenge plausible missing numbers from nearby example files instead.

Key Results

  • Reliability on GEOS: On harder held-out tasks, self-evolved SIGA lifted structural similarity (TreeSim, scored 0 to 1) from 0.720 to 0.789, while hand-designed adapters slashed across-run standard deviation by ~16× (from 0.081 down to 0.005) by eliminating catastrophic zero-score failures.
  • Simulator Execution: SIGA achieved 100% XML schema validity across runs (vs. 91.2% for Vanilla). Using GEOS’s stricter native input checker in the loop, 90% of decks were accepted (vs. 80% Vanilla), and 77 out of 77 accepted decks ran to convergence with high physical output fidelity (mean 0.958).
  • Human Calibration: On an introductory two-file GEOS task, two geoscientists new to GEOS finished only one file in an hour, with one taking ~3 hours to complete both (0.931 TreeSim). The agent authored both files in ~5 minutes (0.86–0.90 TreeSim) with no extra wall-clock cost over Vanilla.
  • Cross-Simulator Transfer: On OpenFOAM, adding the stop hook jumped solver-executable cases from 4/30 (Vanilla) to 26/29. On LAMMPS (with DeepSeek), the full adapter boosted LLM-judged quality from 4.56 to 7.78 out of 10.

Limitations and Future Work

  • Attribute-level errors persist: Schema gates catch missing blocks, but they can't tell if a physically plausible number or solver setting is subtly wrong for the domain. Tackling these bad_attribute_value errors is the next frontier.
  • Small sample sizes: With 10 held-out GEOS tasks (3 runs per cell) and $n=2$ humans on a single calibration task, exact mean lifts carry wide confidence intervals.
  • Transfer evaluation caveats: OpenFOAM transfer was mostly single-run and checked whether solvers started rather than physical accuracy; LAMMPS relied on an LLM judge from one of the evaluated model families.

Summary updated

BibTeX
@inproceedings{ho2026siga,
  author = {Matthew Ho and Brian Zhou Liu and Jixuan Chen and Lianhui Qin},
  title = {{SIGA: Scientific Simulation Coding Agent Adapter- A Geophysics Case Study}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=VBiAc0ibjz},
}
Figure