Can Coding Agents Build Robust Baselines? A Skill-Based Approach for Automating the Medical Imaging Model-Development Pipeline
This paper introduces a skill-based, literature-guided agentic AI workflow that automates the entire medical imaging model-development pipeline, successfully generating competitive deep learning baselines across diverse segmentation, classification, and detection benchmarks while significantly reducing engineering effort.
Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer
In the world of medical imaging, computers have become remarkably skilled at looking inside the human body. They can scan photographs of tissues, cells, and organs to spot signs of disease that the human eye might miss. To make these computers work, scientists build digital models that learn from thousands of examples. However, creating a model that is good enough to be trusted is a slow, difficult, and expensive process. It requires a human expert to read countless research papers, write complex computer code, run thousands of tests, and tweak the settings over and over again. This cycle of trial and error is so demanding that it often takes weeks or months just to build a single, reliable starting point for a new medical problem. The question facing researchers today is whether a computer can learn to do this heavy lifting itself, acting as a partner that handles the tedious work while the human expert focuses on the big picture.
A team of researchers has developed a new way to answer this question using a system they call an "AI Scientist." Instead of asking a computer to simply guess the best settings, they built a workflow that mimics how a human researcher thinks. The process begins with the computer reading scientific literature to understand the specific medical problem, much like a student studying for an exam before taking a test. It then uses this knowledge to write the initial computer code needed to train a model. But the system does not stop there. It enters a phase of active experimentation, where it proposes a change, runs a test, and carefully analyzes the result. If the change helps, the system keeps it; if it hurts, the system records that failure as valuable information and tries something else. This cycle repeats, guided by a persistent record of what worked and what did not, until the computer has built a robust model ready for real-world use.
The researchers tested this approach on four different medical challenges, ranging from finding specific types of cells to detecting tumors in tissue samples. They did not redesign the system for each task; instead, they used the same set of skills to tackle problems that were very different from one another. In every case, the computer started with a basic plan derived from existing research and then improved it through its own experiments. The results were striking. On a challenge to identify tissue structures, the system produced a model that ranked sixth out of fifteen teams. On another task involving the classification of samples in the MILK10k challenge, it placed thirty-first out of one hundred and twenty-five submissions. Perhaps most impressively, when tested on a dataset involving different species of animals and various types of medical scanners, the model performed consistently well, showing that it had learned general principles rather than just memorizing the training data.
What makes this achievement significant is not just the final ranking, but the speed and efficiency of the process. The entire workflow, from raw data to a finished model, took between two and seven days. Throughout this time, a human researcher was present to oversee the process, reviewing the computer's plans and launching the experiments, but the computer handled the actual coding and the thousands of small decisions required to optimize the model. The system proved that it could navigate the complex landscape of medical imaging development without getting lost, using evidence from its own experiments to guide its next steps. It successfully avoided unhelpful paths and doubled down on strategies that showed promise, effectively automating the engineering effort that usually consumes the most time.
The study suggests that this skill-based approach represents a practical step toward a future where artificial intelligence supports scientists throughout the entire lifecycle of model development. By taking over the repetitive tasks of implementation and tuning, the system allows human experts to focus on the deeper scientific reasoning, the generation of new hypotheses, and the clinical interpretation of the results. While the system is not yet fully autonomous and still requires human supervision to ensure safety and validity, the results demonstrate that a structured, evidence-driven workflow can substantially reduce the barrier to entry for developing competitive medical imaging tools. The work shows that computers can indeed learn to build robust baselines, turning a process that once required months of expert labor into a matter of days, all while maintaining a high standard of performance across diverse and difficult medical tasks.
Drowning in papers in your field?
Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.