arXiv:2608.26753cs.SEAug 2026

Manuscript Offprint

arXiv:2608.26753

Beyond Execution: Auditing Experimental Fidelity in LLM-Driven Scientific Research

Lezhi Yu, Xiaogang Xu, Yuhua Zhou, Shuibing He, Aimin Pan

Abstract

LLM agents used for scientific experimentation must do more than generate executable code: they must implement the reference method faithfully, design experiments that test the paper's claims, and provide evidence supporting those claims. We show that agents often produce methodological hallucinations: silently reducing datasets or training budgets, replacing failed learning or generative components with lookup or oracle functions, or drawing conclusions from resource-limited settings where a method's claimed advantage disappears. To detect these failures, we introduce ABE-Ralph, a reference-anchored auditing framework that represents claims, protocols, required components, baselines, and metrics as structured experimental constraints, guides implementation through an 8-step workflow, and performs quantitative, qualitative, and code-level verification. Across 30 long-horizon reproduction runs covering 12 machine learning domains, ABE-Ralph achieves a 93% robust execution rate and identifies five scientific failure modes. In 23 NatureBench discovery tasks, ABE-Ralph matches or exceeds state-of-the-art performance on 5 tasks. These results show that reliable evaluation of AI scientists must assess whether the experimental design faithfully tests the intended claim and whether the resulting evidence supports it, rather than treating code execution or plausible metrics as evidence of scientific success.

Code — https://github.com/Flavorfish/AutoRepro

Introduction

Large Language Model (LLM) agents are expanding into autonomous research workflows, allowing systems to generate hypotheses, write code, run experiments, and draft reports (Lu et al. 2024; Liu et al. 2026; Boiko et al. 2023; Bran et al. 2024). Similarly, software engineering agents solve repository issues and output functional patches with high success rates (Yang et al. 2024; Wang et al. 2025; Liu et al. 2024). These developments make it tempting to evaluate scientific agents using the same criterion used for software agents: whether the generated program executes successfully and produces an output.

That criterion is insufficient for scientific reproduction. A reproduction must satisfy four linked requirements: (1) the implementation contains the reference method described in the paper; (2) datasets, preprocessing, training, and baselines remain relevant to the original experiment; (3) the experiment is designed to test the central claim under the computational regime; and (4) observed results provide valid evidence for or against that claim. A script returning exit code 0 or reporting plausible metrics can easily fail all four requirements.

This distinction is especially crucial when agents operate under compute limits, missing dependencies, or failed checkpoints. When an experiment is difficult to run, an agent may silently use a smaller dataset, fewer training steps, lower resolution, or random weights without reporting protocol changes. It may replace a costly generative module with a lookup rule or oracle function that already holds the answer, or run the method at a scale too small for its claimed advantage to emerge and conclude the hypothesis is false. These actions preserve the appearance of progress while failing scientific logic. We define these deviations as Methodological Hallucinations: silent, hard-to-detect violations of pre-defined experimental constraints that preserve superficial code execution while undermining scientific logic (Abalo-Rodríguez and Pinheiro 2025; Santhosh et al. 2026). Consequently, they produce misleading metrics that risk validating false hypotheses or incorrectly dismissing valid claims.

The problem is therefore not only that agents sometimes generate incorrect code. More fundamentally, they can generate a scientifically misleading experimental process while producing technically valid artifacts. Existing execution-driven evaluations are largely unable to distinguish a faithful reproduction from a simplified implementation, an incomplete experiment, or an experiment whose resource constraints invalidate its conclusion. Human reviewers can identify some of these problems, but manual inspection is difficult to scale across long-horizon agent runs.

We introduce ABE-Ralph (Auto Baseline Experiment), an automated scientific auditing framework that monitors, binds, and verifies the experimental lifecycle of AI-driven research, treating scientific reproduction as a reference-anchored process. Before implementation, ABE-Ralph structures paper claims, architectural components, datasets, baselines, metrics, and resource bounds into declarative YAML contracts. An 8-step workflow guides model construction and protocol execution. During execution, a Triple-Verification pipeline checks quantitative metric alignment, qualitative semantic logic, and structural code fidelity. These checks intercept deceptive model shortcuts and guarantee method-

Standard Execution-Driven Agents

ABE-Ralph Auditing Framework

Figure

Figure 1: Comparison between standard execution-driven agents and our proposed ABE-Ralph auditing framework. While traditional agents often bypass computational limits using undetected shortcuts (Methodological Hallucinations), ABE-Ralph locks development constraints via YAML contracts and audits code pipelines through a Triple-Verification system.

ological fidelity and auditability.

Distinguishing execution success from scientific validity is essential. A faithful auditing framework does not merely replicate historical metrics; it provides a foundation to cross-examine original outcomes and systematically discover optimized configurations that exceed baseline benchmarks. We report reference-anchored reproduction outcomes separately from raw execution success, evaluating whether each task reproduces or exceeds reference results.

Our contributions include:

  1. Taxonomy of Methodological Hallucinations: We conceptualize and define a 5-class taxonomy of deceptive agentic shortcuts in scientific workflows that maintain successful system execution while violating core methodological bounds.

  2. The ABE-Ralph Auditing Framework: We propose ABE-Ralph, an 8-step reference-anchored framework enforcing pre-execution YAML contracts and an automated Triple-Verification system (numerical, logical, and code-structure levels).

  3. Empirical Evaluation and Discovery: We validate the system across 30 classical ML benchmarks spanning 12 domains (achieving a 93% robust execution rate and exposing systematic methodological shortcuts), and further demonstrate its capability in discovery mode across 23 NatureBench tasks (matching or exceeding SOTA baselines on 5 tasks).