Competing with AI Scientists: Agent-Driven Approach to Astrophysics Research
Organizations: Cavendish Astrophysics, University of Cambridge, Madingley Road, Cambridge CB3 0HA, UK · Kavli Institute for Cosmology, University of Cambridge, Madingley Road, Cambridge CB3 0HA, UK · Institute of Astronomy, University of Cambridge, Madingley Road, Cambridge CB3 0HA, UK · Laboratoire de Physique de l’École normale supérieure, ENS, Université PSL, CNRS, Sorbonne Université, Université Paris Cité, F-75005 Paris, France ·
Abstract
We present an agent-driven approach to the construction of parameter inference pipelines for scientific data analysis. Our method leverages a multi-agent system, Cmbagent (the analysis system of the AI scientist Denario), in which specialized agents collaborate to generate research ideas, write and execute code, evaluate results, and iteratively refine the overall pipeline. As a case study, we apply this approach to the FAIR Universe Weak Lensing Uncertainty Challenge, a competition under time constraints focused on robust cosmological parameter inference with realistic observational uncertainties. While the fully autonomous exploration initially did not reach expert-level performance, the integration of human intervention enabled our agent-driven workflow to achieve a first-place result in the challenge. This demonstrates that semi-autonomous agentic systems can compete with, and in some cases surpass, expert solutions. We describe our workflow in detail, including both the autonomous and semi-autonomous exploration by Cmbagent. Our final inference pipeline utilizes parameter-efficient convolutional neural networks, likelihood calibration over a known parameter grid, and multiple regularization techniques. Our results suggest that agent-driven research workflows can provide a scalable framework to rapidly explore and construct pipelines for inference problems.
Figures & tables
| Score | MSE | Coverage |
| 11.70 | 0.10 | 0.70 |
| Category | First surfaced in autonomous search | First surfaced after human redirection |
|---|---|---|
| CNN backbone | ResNet (18/34/50) | BaseCNN, Inception, InceptionSE |
| Inference method | MCMC, direct moments prediction | Grid likelihood over known cosmology points |
| Augmentation | Flips, rotations | Full symmetries with test-time averaging |
| Agents/LLMs | Model | Inference | Augmentation | Score |
|---|---|---|---|---|
| Cmbagent - P&C | ResNet-18/34/50 | MCMC | Flips/rotations | |
| + Cmbagent - One-Shot | BaseCNN | MCMC | No | 11.02 |
| + GPT-5 | BaseCNN | Grid | No | 11.42 |
| + Gemini-2.5-Pro | Inception + InceptionSE | Grid | Flips/rotations/transpose | 11.72 |
Appendix figures & tables2 assets
Supplementary material from the paper’s appendix.
Appendix
| Inception | InceptionSE | ||
|---|---|---|---|
| Operation | Output size | Operation | Output size |
| Conv. ( , ) MaxPool ( ) | Conv. ( , ) MaxPool ( ) | ||
| Inception : Conv. ( ) Conv. ( ) Conv. ( ) MaxPool ( ) + Conv. ( ) MaxPool ( ) | Inception : Conv. ( ) Conv. ( ) Conv. ( ) MaxPool ( ) + Conv. ( ) SE : MaxPool ( ) | ||
| Inception : Conv. ( ) Conv. ( ) Conv. ( ) MaxPool ( ) + Conv. ( ) MaxPool ( ) | Inception : Conv. ( ) Conv. ( ) Conv. ( ) MaxPool ( ) + Conv. ( ) SE : MaxPool ( ) | ||
| Inception : Conv. ( ) Conv. ( ) Conv. ( ) MaxPool ( ) + Conv. ( ) MaxPool ( ) | Inception : Conv. ( ) Conv. ( ) Conv. ( ) MaxPool ( ) + Conv. ( ) SE : MaxPool ( ) | ||
| AdaptiveAvgPool ( ) | AdaptiveAvgPool ( ) | ||
Scientific Workflow Automation
Scientific workflow automation uses software, AI agents, and laboratory systems to plan, execute, validate, and reproduce research tasks.
See all 161 papers