Simple Agents Outperform Experts in Biomedical Imaging Workflow Optimization.
Xuefei Julie Wang, Kai A Horstmann, Ethan Lin, Jonathan Chen, Alexander R Farhang, Sophia Stiles, Atharva Sehgal, Jonathan Light,
Caltech. · Cornell.
Key points
From the paper's conclusion- We introduce a systematic evaluation framework for agentic code optimization and use it to study three production-level biomedical imaging pipelines.
Abstract
Adapting production-level computer vision tools to bespoke scientific datasets is a critical "last mile" bottleneck. Current solutions are impractical: fine-tuning requires large annotated datasets scientists often lack, while manual code adaptation costs scientists weeks to months of effort. We consider using AI agents to automate this manual coding, and focus on the open question of optimal agent design for this targeted task. We introduce a systematic evaluation framework for agentic code optimization and use it to study three production-level biomedical imaging pipelines. We demonstrate that a simple agent framework consistently generates adaptation code that outperforms human-expert solutions. Our analysis reveals that common, complex agent architectures are not universally beneficial, leading to a practical roadmap for agent design. We open-source our framework and validate our approach by deploying agent-generated functions into a production pipeline, demonstrating a clear pathway for real-world impact.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Agentic Superoptimization of Bioimaging Analysis Workflows.... Conference on Language Modeling · 2025
- Can Coding Agents Build Robust Baselines? A Skill-Based Approach for Automating the Medical Imaging Model-Development PipelinearXiv · 2026
- Medical Image Segmentation Is Now Just Another Coding TaskarXiv · 2026
- Publications as benchmarks: auditing AI agents on spatial transcriptomics alignmentarXiv · 2026
- Is manual software optimization a thing of the past?arXiv · 2026
- Designing Collaborative AI-Driven Workflows for Scientific Software EngineeringarXiv · 2026