Designing reproducible large-language-model-assisted scientific analyses.
Casey W Dunn, Darrin T Schultz, Jacob M Musser
Department of Ecology and Evolutionary Biology and Quantitative Biology Institute, Yale University, New Haven, CT, USA. · Department of Biological Sciences, Lehigh University, Bethlehem, PA, USA.
Key points
From the paper's conclusion- We derive six recommendations: (1) keep the LLM off the data path where possible, (2) preserve LLM-generated artifacts, (3) verify results by methods suited to the LLM's role, (4) consider open-weight models, (5) record the model version, and (6) assess determinism.
Abstract
Large language models (LLMs) increasingly write code, analyze data, and orchestrate scientific workflows. This can create reproducibility challenges because LLMs blur the boundary between how an analysis is built and what it depends on at run time. Guidelines for LLM-assisted science begin with a critical choice: whether the LLM sits on the data path of the published analysis, a live step results depend on, or off the data path, producing durable artifacts such as code. Reproducible analyses require preserving data, code, and runtime; an on-path LLM becomes part of the runtime, a dependency that may change, be deprecated, or become inaccessible. We derive six recommendations: (1) keep the LLM off the data path where possible, (2) preserve LLM-generated artifacts, (3) verify results by methods suited to the LLM's role, (4) consider open-weight models, (5) record the model version, and (6) assess determinism.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- The Findings Workflow: An agentic, collaborative, provenance-tracked framework for scientific data analysis with Claude CodebioRxiv · 2026
- Jagged competencies: Measuring the reliability of generative AI in academic researchJournal of Business Research · 2025
- Coordinated Use of Large Language Models in Academic ResearcharXiv · 2026
- Guidelines for empirical studies in software engineering involving large language modelsEmpirical Software Engineering · 2026
- Evaluating Local Language Model Agents for Reproducible Data Engineering: An Empirical Software Engineering Study of Mobility WorkflowsarXiv · 2026
- SciSciGPT: advancing human–AI collaboration in the science of scienceNature Computational Science · 2025