Medical Image Segmentation Is Now Just Another Coding Task
Shuheng Cao, Ruiqi Chen, Qizhen Lan, Edward Wang, Xiyun Hu, Yilei Wang, Juqy Chen, Weilin Huang, Anhong Guo
Abstract
For decades, every new medical image segmentation task has needed an expert, a dedicated architecture, and a framework such as nnU-Net. This is no longer the case: medical image segmentation is now just another coding task. Given only a task description, labeled data, and a CPU (with no segmentation framework, no pretrained weights, and no human in the loop), four off-the-shelf coding agents built segmenters for 13 tasks across four imaging modalities within hours, an ability that has emerged rather than been built. On the nine 2D tasks, their best programs reach 99% of the Dice of a GPU-trained nnU-Net. Like any code, a segmenter improves by being revised and checked, so we ask how far the same agents can improve their own segmentations and what unlocks further gains. On unseen cases there is no reference, so the agents inspect renderings of their own predictions: this alone lifts the worst tenth of cases by 0.09 Dice and cuts boundary error (HD95) by almost a quarter. Far more is within reach. Told the true Dice of each attempt, the same agents improve in all 14 matched pairs, rescue 85% of failed masks instead of 30%, and surpass the GPU-trained nnU-Net on average, by producing better masks rather than by choosing among them. What unlocks these gains is a quality signal, which neither visual inspection, nor more rounds, nor a quality estimator trained by the agents themselves yet supplies: we call this the quality blind spot. The ability to build and to repair is already present; the next advance will come not from another segmentation model, but from reference-free quality estimation that coding agents can call.
Create a lesson
Related papers
A dataset of clinically similar image pairs from citation-linked case reports for medical image retrieval
Shared title terminologycs.CVGuy Shmueli, Keno K. Bressem, Tom Hope
Leakage-Safe Auditing of Attribution-Driven Data Curation in Medical Imaging
Shared title terminologycs.CVMalay Phadke, Akshay Gokhale
A Well-Posed Fourth-Order Navier-Stokes Model for Image Inpainting: Theory, Order Selection, and Stripe Decomposition
Shared title terminologycs.CVYiwen Dou, Yiqiang Ding, Zhongyun Bao et al.
BODYBENCH: Evaluating Adversarial Image Defenses Against AI Nudification Inpainting
Shared title terminologycs.CVLi Qiwei, Salma Abdel Magid, Olga Russakovsky et al.
GRUN: Generalized Retinex Unfolding Network for Image Restoration
Shared title terminologycs.CVRihan Zhang, Fengyang Xiao, Yuhan Chen et al.
MSW: a Multi-Scale Sliced Wasserstein Distance Between Image Distributions
Shared title terminologycs.CVYoussef Haouchat, Stanislas Ducotterd, Bassam El Rawas et al.