Solver to System: LLM Reasoning Across Representations and Execution in Scientific Simulation

Eliza Berman, Rohan Subramanian, Shreya Jha, Lohit Jagarapu, Romain Lopez +1 more
11/16/2026
cs.LGcs.CL

No confident code implementation found for this paper.

Abstract

Simulators based on partial differential equations (PDEs) are widely used to model physical systems, but generating and interpreting PDE solver code with large language models (LLMs) remains challenging. Scientific simulation code is a useful testbed for LLM scientific reasoning because (1) one system can be represented by code, equations, natural language, and numerical trajectories and (2) code can execute successfully while implementing invalid physics.

Show full abstract

We introduce Solver2System, a dataset of PDE solvers with multiple representations, controlled corruptions, and lexical perturbations, to evaluate whether LLMs can recover the underlying physical system through (1) cross-representation consistency and (2) static and agentic detection of physical invalidity. Across eight open-weight models, LLMs systematically favor some representations when evidence conflicts, and lexical perturbations to code alter interpretation of other unchanged representations. Execution improves physical-validity judgments, but weaker agents can judge correctly without identifying the causal defect. Thus, LLMs may reach correct judgments despite inconsistent representation reconciliation or causal misdiagnosis.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{berman2026solver,
  title  = {Solver to System: LLM Reasoning Across Representations and Execution in Scientific Simulation},
  author = {Eliza Berman and Rohan Subramanian and Shreya Jha and Lohit Jagarapu and Romain Lopez and Rajesh Ranganath},
  year   = {2026},
  eprint = {2611.21964},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2611.21964v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2611.21964.svg)](https://codeofpaper.com/paper/2611.21964)

Discussion