Manuscript Offprint

arXiv:2608.23336

Can Coding Agents Build Robust Baselines? A Skill-Based Approach for Automating the Medical Imaging Model-Development Pipeline

Eugenia Moris, José Ignacio Orlando

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Eugenia Moris 1^{1} and José Ignacio Orlando 1,2^{1,2}

1^{1} Arionkoder LLC, Boston, MA 02114, United States

eugenia.moris@arionkoder.com

2^{2} Yatiris, PLADEMA, UNICEN-CONICET, Tandil, Buenos Aires, Argentina

Abstract. Developing competitive deep learning baselines for medical imaging remains a highly iterative process requiring literature review, implementation, experimentation, and expert refinement. Existing automation approaches typically optimize isolated components, such as architecture search or hyperparameter tuning, rather than the complete baseline development process. We present an agentic AI Scientist workflow that combines literature-guided reasoning, automated code generation, and hypothesis-driven experimentation to generate competitive baseline models for medical imaging challenges. The framework is evaluated on four public benchmarks spanning segmentation, classification, and detection. Across all tasks, the Experimentation Pipeline consistently improves validation performance, achieving competitive leaderboard results, including 6th place on both PUMA tracks (15 teams) and 31st place on MILK10k (125 teams). On MIDOG25, the resulting model also demonstrates strong domain generalization across scanners, tumor types, and species. Using the same workflow across all challenges without task-specific redesign, we demonstrate that skill-based, literature-guided agentic workflows can substantially reduce the engineering effort required to develop competitive medical imaging baselines.

Keywords: AI Scientist · Medical Image Analysis · Agentic Workflows

1 Introduction

Deep learning has become the dominant paradigm for medical image analysis, achieving strong performance in segmentation, classification, and detection [12]. However, developing a competitive baseline for a new problem remains an iterative and expertise-intensive process. It requires numerous interdependent decisions spanning preprocessing, model architecture, optimization, data augmentation, loss design, and evaluation [9, 11, 12, 15]. These decisions require both clinical and machine learning expertise, making baseline development costly, time-consuming, and difficult to scale [6, 8, 10].

Previous efforts have addressed isolated stages of this workflow, including hyperparameter optimization [8], neural architecture search [16, 20], and automated data augmentation [4, 5]. More recently, LLM-based agents have extended

Moris and Orlando

automation to literature analysis, code generation, experiment execution, and scientific workflows [3,13,14,17,18]. Nevertheless, existing approaches either optimize isolated stages of model development or provide general-purpose research assistants rather than workflows tailored to medical imaging [4,8,13]. We instead investigate whether literature-guided planning, automated implementation, and evidence-driven experimentation can be integrated into a unified workflow for automatically developing competitive medical imaging baselines with human supervision.

Experienced researchers review the literature before allocating computational resources, using prior evidence to understand the clinical problem, identify promising approaches, and avoid uninformative experiments. Motivated by this process, we propose an agentic AI Scientist workflow that combines literature-guided planning, automated implementation, and hypothesis-driven experimentation through reusable skills. A persistent experiment tree records both positive and negative experimental evidence, improving transparency and reproducibility. We evaluate the framework on four public medical imaging challenges spanning segmentation, classification, and object detection. Without task-specific redesign, the workflow adapts to heterogeneous tasks, achieves competitive leaderboard performance, and produces strong baselines within 2–7 days. Together, these results demonstrate that literature-guided, evidence-driven AI Scientist workflows can rapidly produce competitive and reproducible medical imaging baselines across diverse tasks.

References (15)