Manuscript Offprint

arXiv:2609.35515

MechBench: Can AI Scientific Agents Discover Mechanisms Beyond Phenomenal Laws?

Zihan Yu, Jiadong Zhang, Jialin Cheng, Jingtao Ding, Yong Li

ABSTRACT

Scientific discovery requires not only recovering mathematical laws that describe observable behavior, but also identifying the mechanisms that generate them. Existing benchmarks for symbolic regression and scientific agents primarily evaluate phenomenal-law recovery, leaving mechanism discovery largely untested. We introduce MECHBENCH, a benchmark that explicitly separates these two capabilities. Each task is defined by a mechanistic model, a structured set of scientifically meaningful relations whose joint consequences entail an observable phenomenal law, while agents receive only observational data and scientific context. We evaluate mechanism recovery through mechanism probes, which query internal scientific consequences that cannot be inferred from the phenomenal law alone. To reduce reliance on memorized textbook mechanisms, we construct unfamiliar variants through controlled, scientifically interpretable mutations of canonical mechanisms, and screen for mechanistic indistinguishability to exclude ambiguous instances admitting comparable competing mechanisms. Experiments across representative scientific agents reveal a substantial phenomenal–mechanism recovery gap: for Codex with GPT-5.6-sol, phenomenal-law accuracy reaches 35.00% on the Core-set while mechanism accuracy is only 13.75%, with mechanism recovery failing in 64.29% of cases where the phenomenal law is correctly recovered. The gap widens as mechanisms become increasingly mutated, and even providing the correct phenomenal law leaves mechanism recovery below 50%. These results reveal a substantial generalization gap in mechanistic reasoning and establish mechanism discovery as a distinct challenge beyond recovering observable scientific laws.

1 Introduction

Discovering compact mathematical laws from observations has long been a central objective of science and, more recently, of automated scientific discovery. Yet recovering a law that describes observable behavior is not the same as recovering the mechanism that produces it. In the philosophy of science, phenomenal models characterize the observable inputs, modulators, and outputs of a system while leaving its relevant internal causal structure unspecified, whereas mechanistic models further describe the components, relations, and organization responsible for generating the phenomenon Machamer et al. (2000); Kaplan & Craver (2011); Craver & Kaplan (2020). The distinction is exemplified by the transition from Kepler's empirical laws of planetary motion to Newtonian mechanics: the former compactly characterize regularities among observable quantities, while the latter provides an underlying structure from which those regularities can be derived. Mechanistic models therefore make commitments beyond observational adequacy: they seek to explain how a phenomenon is generated and imply properties of scientifically meaningful internal quantities.

∗^{*}Equal contribution.

†^{\dagger}Corresponding authors.

that are not specified by the observable law itself. Assessing whether AI systems can recover such mechanisms is thus a distinct and stronger test of scientific discovery than accurate equation recovery.

Large language models and scientific agents have recently shown rapidly improving capabilities for discovering mathematical regularities from data, progressing from LLM-guided symbolic regression to autonomous systems that analyze observations, conduct experiments, invoke scientific tools, and iteratively refine hypotheses Shojaee et al. (2025a); Xia et al. (2026); Yang et al. (2026). Accordingly, recent benchmarks have substantially strengthened the evaluation of scientific law discovery: they introduce unfamiliar or counterfactual laws to reduce memorization, allow agents to actively interrogate simulated systems, and increasingly ground discovery in realistic scientific contexts and data Shojaee et al. (2025b); Zheng et al. (2026); Cerrato et al. (2026); Huang et al. (2026). Despite these advances, their principal target remains the recovery of mathematical relations that reproduce observable system behavior. Such evaluations establish whether an agent can discover an observationally adequate law, but do not require it to reconstruct any internal mechanism from which that law follows. A recent work argues that a central missing capability in current LLMs is the abductive “jump” from observations to explanatory premises, distinguishing it from induction over observed patterns and deduction from given premises Zahavy (2026). This perspective highlights a capability that existing law-discovery benchmarks do not directly test: whether AI systems can infer explanatory internal structure beyond observable regularities.

Extending evaluation from law discovery to mechanism discovery is nontrivial. A benchmark must specify mechanistic structure in a form that can be evaluated objectively, distinguish genuine reconstruction from recall of familiar textbook mechanisms, and account for mechanistic indistinguishability, where distinct scientifically plausible mechanisms entail the same observable law. These challenges make it difficult to determine, under controlled conditions, whether the growing law-discovery capability of scientific agents extends to recovering underlying mechanisms.

To address these challenges, we introduce MECHBENCH, a benchmark that explicitly separates the recovery of observable laws from the recovery of the mechanisms that generate them, as illustrated in Figure 1. We represent a mechanism as a structured set of scientifically meaningful relations whose joint consequences entail an observable phenomenal law, allowing an agent to be evaluated not only on whether its proposed mechanism reproduces the observed input–output relationship, but also on whether it makes the correct additional commitments about internal scientific quantities. We operationalize the latter through mechanism probes, which query scientifically defined internal consequences that follow from the submitted mechanism but cannot be inferred from the phenomenal law and provided scientific context alone. To distinguish reconstruction from memorization, we construct unfamiliar mechanism variants through controlled, scientifically interpretable mutations of canonical mechanisms. Finally, we explicitly screen for mechanistic indistinguishability and revise or exclude instances admitting readily constructible competing mechanisms with the same phenomenal law. Together, these components turn mechanism discovery from an informal notion of “deeper understanding” into a controlled and objectively testable discovery task.

Experiments across representative scientific agents reveal a substantial gap between phenomenal-law and mechanism recovery. Taking Codex with GPT-5.6-sol as an example, phenomenal-law accuracy reaches 35.00% on the Core-set while mechanism accuracy is only 13.75%, and mechanism recovery still fails in 64.29% of cases where the phenomenal law is recovered correctly. This separation grows as mechanisms depart further from their canonical forms: phenomenal-law and mechanism recovery decline together with increasing mutation count, but mechanism recovery deteriorates more sharply. Moreover, even when the correct phenomenal law is directly provided, mechanism accuracy remains below 50% and drops rapidly on increasingly mutated mechanisms. These results expose a substantial generalization gap in mechanistic reasoning and suggest that mechanism discovery constitutes an additional, qualitatively more difficult challenge beyond observable-law recovery.

References (50)

  • Transcriptional regulation by the numbers: models
  • Theory of thermal stresses, 1961
  • A simple testbed for ai-driven scientific discovery
  • Are more details better? on the norms of completeness for mechanistic explanations
  • Empirical equivalence, underdetermination, and systems of the world
  • Can LLMs Discover Scientific Laws in Real and Parallel Worlds?
  • The explanatory force of dynamical and mathematical models in neuroscience: A mechanistic perspective
  • Use of ranks in one-criterion variance analysis
  • Contemporary symbolic regression methods and their relative performance
  • Thinking about mechanisms
  • Rethinking symbolic regression datasets and benchmarks for scientific discovery (opens arXiv in a new tab)
  • a plausible model
  • Description of the chemostat
  • Llm-sr: Scientific equation discovery via programming with large language models
  • Llm-srbench: A new benchmark for scientific equation discovery with large language models (opens arXiv in a new tab)
  • Ai feynman: A physics-inspired method for symbolic regression
  • Sr-scientist: Scientific equation discovery with agentic ai
  • Think like a scientist: Physics-guided llm agent for equation discovery (opens arXiv in a new tab)
  • Self-evolving agentic llms for symbolic regression via hierarchical coordination (opens arXiv in a new tab)
  • Benchmarking generalizable scientific law discovery in llm agents
  • Each family is organized around a standard scientific construction
  • Variant 1-3-5
  • Querying them separately therefore distinguishes recovery of the trapping and pressure-barrier relations from recovery of their aggregate observable effect
  • Before generating observations, we solve the mechanism equations for every internal variable and the target as explicit functions of the input and auxiliary variables
  • We independently sample all source variables using their specified distributions
  • Samples producing a non-real or non-finite value for any derived quantity are discarded and resampled
  • task_description
  • All seven standard-discovery configurations are evaluated on the Core-set
  • All other reported standard-discovery configurations use a single run
  • Writing $\equiv$ for symbolic equivalence and $K_i$ for the number of probes associated with task $i$, we define
  • a task is counted as correct only when all of its mechanism probes are symbolically correct
  • For $S \in \{ID, OOD\}$, let $y_{ij}^S$ and $\widehat{y}_{ij}^S$ denote the reference and predicted target values for held-out sample $j$ of task $i$
  • The Original instance of each task family has mutation count zero, while constructed variants contain between one and five applied base mutations
  • Results stratified by mutation count and the complete variant-only results are reported in Appendix C.2
  • Standard discovery uses a 900-second wall-clock limit per task for Codex, Claude Code, DeepSeek Harness, and PySR
  • The standard Codex and Claude Code launches do not explicitly set temperature, top-p, maximum context length, or maximum output tokens; these remain the selected CLI/provider defaults and no uniform values are available in the run receipts
  • numeric literals, or (none)}
  • {variables}
  • Do not add variables, equations, or prose; do not modify the frozen phenomenal model; and do not use tools
  • Answer the user’s mechanism probe directly from the supplied frozen equation. Follow its output contract exactly: emit one plain-text equation and no reasoning, prose, Markdown, or additional equations
  • ><tr><td rowspan=
  • For the two three-run Codex configurations, the rate is computed separately for each run and then averaged
  • The size of the phenomenal–mechanistic gap nevertheless varies substantially
  • Numerical agreement is less stringent than exact symbolic recovery: Codex with GPT-5.6-sol attains $\mathrm{Acc}_{0.1}^{\mathrm{ID}} = 55.00\%$ and $\mathrm{Acc}_{0.1}^{\mathrm{OOD}} = 43.75\%$, compared with $\mathrm{SA}(P) = 35.00\%$
  • For Codex with GPT-5.6-sol, Core-set SA($\mathcal{P}$) declines from 75.00% on Original instances to 75.00%, 31.25%, 25.00%, 6.25%, and 0.00% with one through five mutations
  • On the Core-set, none of these standard discovery configurations recovers a complete mechanism with three or more mutations, and only isolated phenomenal-law successes remain beyond two mutations
  • With Codex fixed, paired Wilcoxon comparisons between DeepSeek-v4-flash-0731 and GLM-5.3-flash detect no difference in phenomenal recovery ($p = .234$), mechanism recovery ($p = .414$), or OOD numerical accuracy ($p = .662$)
  • Holding DeepSeek-v4-flash-0731 fixed and comparing Codex, Claude Code, and DeepSeek Harness on the same 80 tasks, Cochran's $Q$ test Cochran (1950) is nonsignificant for all three metrics ($p = .867$, .607, and .264)
  • For the GPT-5.6-sol comparisons, the displayed $p$ values are Holm-adjusted; the other entries are the corresponding two-sided paired or omnibus tests
  • Rates follow the order of the groups named in each row