从求解器到系统:大语言模型在科学仿真中的跨表示推理与执行 Solver to System: LLM Reasoning Across Representations and Execution in Scientific Simulation 预印本

⚠️ 本文为 预印本(arXiv 公开版本),尚未经过正式同行评审。作者自发公开,结论未经期刊审稿验证,阅读时请知悉。
发布时间:2026-11-16
👁️ 预览文献
💡 AI 中文简介
科学仿真代码常用来测试大模型是否真懂物理。作者构建了Solver2System数据集,包含同一物理系统的代码、方程、自然语言和数值轨迹四种表示,并故意加入错误和措辞扰动。测试8个开源模型发现:证据冲突时模型会偏袒某些表示,改动代码措辞会影响对其他未变表示的理解;让模型执行代码能提升物理正确性判断,但弱模型可能结论对却找错原因。
领域大语言模型科学推理 / 科学计算与仿真
适合谁读需要一定专业背景(了解PDE仿真与LLM评测)
核心贡献提出Solver2System多表示PDE求解器数据集,系统评测LLM能否通过跨表示一致性和静态/智能体式物理无效性检测还原真实物理系统;揭示LLM在证据冲突时的表示偏好及代码措辞扰动对其他表示的连带影响。
关键数据覆盖8个开源权重模型;执行可提升物理有效性判断,但弱智能体可在未识别因果缺陷时给出正确判断。
推荐理由如果你关心大模型是真懂物理还是只会“蒙对答案”,这篇用多表示对照实验把问题拆得很清楚,值得一读。
关键词["大语言模型", "科学推理", "偏微分方程求解器", "跨表示一致性", "物理有效性检测", "代码执行"]

原文摘要

查看英文原文摘要

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. 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.