Articulating assumptions in AI-generated scientific analyses through task decomposition
Ahmed Hammad, Mihoko M. Nojiri
Key points
From the paper's conclusion- We validate the framework on representative collider physics analyses.
Abstract
Scientific results produced by LLM-generated analysis code must be understandable and reproducible. However, uncertainty can arise at different stages of the process, both in the original natural language specification and in the generated implementation. As a result, even executable code may not provide a clear understanding of which quantities are being computed or which assumptions determine the final results. To address this challenge, we introduce quantity-grounded semantic differencing, a multi-agent framework for analyzing and comparing scientific programs generated by LLMs. The framework assigns code generation, execution, tracing, and validation to separate agents, allowing it to reconstruct how key output quantities are produced and to identify differences between the intended analysis and the implemented code. We also introduce a module that inspects ambiguities in the initial user instruction and suggests alternative rewrites before code generation. Its modular design is intended to facilitate application to different scientific domains by replacing domain-specific resources while preserving the same workflow. We validate the framework on representative collider physics analyses. In the studies HEP cases, the modular task decomposition provides explicit intermediate artifacts for inspection and the complete workflow was operated with substantially smaller models than in the previous implementation.
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
- Designing Collaborative AI-Driven Workflows for Scientific Software EngineeringarXiv · 2026
- Self-verifiable LLM-driven science and why it needs human researchersarXiv · 2026
- Designing reproducible large-language-model-assisted scientific analyses.Patterns (New York, N.Y.) · 2026
- Integrating AI Coding Agents Into Scientific ResearcharXiv · 2026
- AI-Assisted Auto-formalization for Trustworthy Scientific Computing: Case Studies and Lessons LearnedarXiv · 2026