arXiv Machine Learning By Eliza Berman, Rohan Subramanian, Shreya Jha, Lohit Jagarapu, Romain Lopez, Rajesh Ranganath

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

Read the original on arXiv Machine Learning →

The paper introduces Solver2System, a dataset of partial differential equation (PDE) solvers that includes multiple representations—code, equations, natural language, and numerical trajectories—along with controlled corruptions and lexical perturbations. It evaluates large language models (LLMs) on their ability to recover the underlying physical system through cross‑representation consistency and detection of physical invalidity, finding that LLMs often favor certain representations, are sensitive to lexical changes, and can sometimes judge physical validity correctly even when they misdiagnose the underlying defect. The study highlights how execution and representation consistency influence LLM reasoning in scientific simulation.

Machine-generated by The Flow from the publisher's headline and feed description — not written or checked by a human. The full article lives at arXiv Machine Learning.

arXiv AI
Sep 4

Discovering High Level Patterns from Simulation Traces

The paper proposes an unsupervised learning approach that uses program synthesis to translate detailed simulation traces into sparse, high‑level structural patterns, making them easier for large language models to interpret. These pattern detectors can be guided by human‑provided labels such as "rigid collision" or "stretching spring" and produce transparent, explainable functions mapping system states to concise annotations. Experiments on a physics benchmark show that the annotated representations improve natural language reasoning about specific physical systems and enable natural‑language goals to be converted into reward programs for solution search.

By Sean Memery, Kartic Subr
arXiv AI
Oct 28

Re4: Scientific Computing Agent with Rewriting, Resolution, Review and Revision

The paper introduces Re4, a scientific computing agent that employs a four-step logical chain—rewriting, resolution, review, and revision—using three large language models: a Consultant, a Programmer, and a Reviewer. The Consultant rewrites problem descriptions by linking them to domain knowledge, the Programmer generates and runs code, and the Reviewer iteratively refines the code through self-debugging. Experiments on PDEs, fluid dynamics, ill‑conditioned linear systems, and data‑driven physics show that this collaborative framework markedly improves bug‑free code generation and execution success rates across several LLMs.

By Ao Cheng, Lei Zhang, Guowei He