Articulating Assumptions in AI-Generated Scientific Analyses through Task Decomposition

· Source: cs.SE updates on arXiv.org · Field: Science & Research — Artificial Intelligence & Machine Learning, Mathematics & Computational Sciences, Physical Sciences & Chemistry · Depth: Expert, extended

Summary

A multi-agent framework called "quantity grounded semantic differencing" addresses transparency and reproducibility issues in LLM-generated scientific analysis code. This framework decomposes the code generation process into distinct agents responsible for helper selection, code generation, execution-based repair, implementation tracing, and post-generation critique. It also introduces a Golden Axe Oracle module to inspect and clarify ambiguities in initial user instructions before code generation. Validated on representative collider physics analyses within the LHCO domain, the modular task decomposition significantly enhances both transparency and reliability. This approach enables substantially smaller models, such as Qwen family 14B and 32B parameter models, to execute the complete workflow effectively, a notable improvement over previous methods requiring approximately 70B parameter models.

Key takeaway

For AI Scientists or Research Engineers focused on generating reliable scientific analysis code with LLMs, you should adopt a multi-agent framework that explicitly decomposes code generation, execution, tracing, and validation. This approach, especially with pre-generation ambiguity clarification and post-generation semantic critique, significantly improves reproducibility and allows for the use of smaller, more accessible LLMs (e.g., 14B parameter models), reducing computational overhead and increasing auditability of scientific workflows.

Key insights

Multi-agent task decomposition improves LLM-generated scientific code transparency and enables smaller models.

Principles

Method

The framework uses specialized agents for helper selection, code generation, execution-based repair, implementation tracing, and post-generation critique, complemented by an ambiguity clarification module.

In practice

Topics

Code references

Best for: AI Scientist, Research Scientist, AI Engineer

Related on AIssential

Open in AIssential →

Editorial summary, takeaway, and curation by AIssential. Original article published by cs.SE updates on arXiv.org.