Can AI Design a Better nnU-Net? A Hypothesis-Driven Architecture Discovery Loop from Failures to Design Rules
Songtao Jiang, Yuan Wang, Fucheng Niu, Hualiang Wang, Jian Wu, Zuozhu Liu
Abstract
Neural architecture search and LLM-driven evolution often reduce evaluation to a scalar fitness score, discarding failures that could explain why designs succeed or fail. We present a hypothesis-driven architecture discovery loop in which LLM agents diagnose structured error patterns, formulate falsifiable hypotheses, test counterfactual controls under a frozen nnU-Net pipeline, and distill validated mechanisms into executable trigger-to-action rules. Across eight search waves, the loop identifies two principles for 3D medical image segmentation. First, reallocating computation from high-resolution decoders to the mid-encoder preserves thin-anatomy boundaries while reducing cost. Second, support-confined region contrast addresses errors between nested anatomical compartments, with anatomy-dependent triggers selecting when the rule applies. These principles produce LeanNeXt (0.78 MACs and 0.92 training-step time relative to nnU-Net; +1.63 Dice points on four-fold KiTS23 cross-validation) and trigger-routed LeanNeXt+. The latter improves all 15 evaluated CT/MRI settings over nnU-Net and exceeds the 3.3 larger ResEnc-M on 12 of 15 benchmarks at 0.30 its parameter count. Relative to random sampling, one-shot LLM generation, and score-selected agent search, the loop shows how failure analysis can yield reusable design rules across modalities.
Create a lesson
Metadata
- Categories
- cs.AI, cs.LG
- Comments
- 15 Pages; 10 figures
Related papers
Monitorable-by-design architectures for a post-Astra world: a compartmentalization-based approach
Shared title terminologycs.AIJake Watts, Joel Sokol
RubikSQL-HB: Agentic Text-to-SQL with Knowledge in the Loop
Shared title terminologycs.AIHaorui Jia, Zihan Qu, Yundi Dong et al.
RecurSciBench: Benchmarking Recursive Self-Improvement in Data-Driven Scientific Research
Shared title terminologycs.AIWenxi Xu, Chuan Qin, Zihan Wang et al.
FigmaEval: A Benchmark for Evaluating AI Agents in Professional UI Design
Shared title terminologycs.AIXinyue Huang, Yongyong Gao, Zhengyuan Pan et al.
From Rule-based to Agentic: LLM Agent based Real-time Control of Urban Drainage Systems for Flooding and Sewer Overflow Mitigation
Shared title terminologycs.AIWenchong Tian, Shixun Li, Ruozhou Lin et al.
How Much Dependency Can a Marginal Rule See? Total Correlation in Diffusion LM Parallel Decoding
Shared title terminologycs.AIDovud Asadov, Rustambek Urokov, Qobiljon Toshnazarov et al.