# Can AI Design a Better nnU-Net? A Hypothesis-Driven Architecture Discovery Loop from Failures to Design Rules

> Jiang et al. turn architecture search into a falsifiable loop that distills lessons from failures into rules under a frozen nnU-Net recipe. LeanNeXt wins all eight KiTS23 fold-seed pairs; both LeanNeXt variants occupy the accuracy-speed frontier within nnU-Net's step budget.

- arXiv: https://arxiv.org/abs/2611.32384
- Authors: Songtao Jiang, Yuan Wang, Fucheng Niu, Hualiang Wang, Jian Wu, Zuozhu Liu
- Published: 2026-11-26
- Topic: Architectures
- Visual carousel: https://instaxiv.com/p/2611.32384
- Explanation by InstaXiv, a secondary educational summary. Cite the original paper for exact results. InstaXiv is not affiliated with or endorsed by arXiv or Cornell University.

## Can architecture failures become design rules?

**8/8** LeanNeXt: KiTS23 fold-seed wins vs nnU-Net

## Why keep a failure?

**Score-led search:** Architectures are ranked by validation score and weaker trials discarded, even when their anatomical errors could diagnose a design flaw.

**Hypothesis-led discovery:** LLM agents read compute profiles and error strata, then test predicted changes instead of keeping only the top score.

Some lower-scoring ancestors later seeded the rules behind LeanNeXt.

## A hypothesis must risk being wrong

1. **Observe**: Profile stage-wise compute and split errors by anatomy, boundary, precision and recall.
2. **Predict**: Before training, commit to predicted gains, regressions, a compute bound and a falsification test.
3. **Audit**: An independent reviewer checks premise and budget; only topology varies in 1,000-epoch runs under a frozen nnU-Net recipe.
4. **Distill**: Replicated mechanisms become trigger-to-action rules.

## The loop turns experiments into rules

![Figure 1](https://cdn.instaxiv.com/figures/2611.32384/figure1.webp)

Panels (a-d) map the recipe-frozen nnU-Net testbed, audited four-stage loop, ex-ante hypothesis card and distilled cross-modality rules. (Figure 1)

## Reallocate 3D compute, don't just add it

1. **R1: Slim the decoder**: Replace decoder concatenation plus two 3³ convolutions with one 3³ convolution and an additive skip, freeing compute.
2. **R2: Reinvest in depth**: High boundary share means more ground-truth voxels lie on the 3D surface; reinvest savings in mid-encoder depth.
3. **R3: Mix at coarse scales**: Place four 7³ ConvNeXtV2 blocks at the coarsest stages, where large kernels cost less.

## Thin organs reveal the decoder trade-off

![Figure 7](https://cdn.instaxiv.com/figures/2611.32384/figure7.webp)

Across AMOS22 folds 1-4, per-organ Dice shows decoder slimming hurts high-boundary-share organs; added mid-encoder depth recovers them. (Figure 7)

## A large kernel needs a deeper partner

**R1 + R3, no R2:** Adding coarse 7³ blocks to R1 alone lowered KiTS23 Dice.

**Add R2 first:** With mid-encoder depth in place, R3 improved KiTS23, AMOS22 and ACDC.

The result is an interaction, not a stand-alone kernel win.

## Fresh seeds expose selection bias

![Figure 2](https://cdn.instaxiv.com/figures/2611.32384/figure2.webp)

KiTS23 fold-0, seed-0 screening is compared with fresh seeds 1-2: selected designs regress on average, while LeanNeXt and R1+R3 retain gains. (Figure 2)

## A candidate must survive repeat runs

**Screen:** A single-seed KiTS23 fold-0 score can reflect run-to-run noise.

**Four folds, two seeds:** LeanNeXt beat nnU-Net in all eight paired runs across KiTS23 folds 1-4.

## Give local kernels region-wide clues

1. **Diagnose**: Nested compartments can share 3³ boundary texture; on KiTS23, tumour Dice tracked precision more than recall, with false positives in cyst-bearing kidneys.
2. **Pool contrast**: Gather mask-confined intensity moments and anatomy-conditioned core-rim-host contrast from detached coarse predictions, using native CT/MRI normalization.
3. **Inject cues**: Feed these features to decoder stages through zero-initialized 1³ projections.
4. **Route by topology**: Pre-training labels trigger R4 only for nested or dense scenes; the rulebook was tested zero-shot on eight unseen CT/MRI benchmarks.

## LeanNeXt shifts the accuracy-speed frontier

![Figure 9](https://cdn.instaxiv.com/figures/2611.32384/figure9.webp)

Across three design datasets, 4-fold Dice vs native-plan step time puts LeanNeXt variants on the upper-left frontier within nnU-Net's 1× budget; ResEnc-M takes 1.34-1.50× the steps and 3.3× nnU-Net's parameter count. (Figure 9)

## A constant control isolates the cue

**Constant inputs:** On KiTS23, replacing region statistics with constants at matched topology and parameter count removed R4's gain over LeanNeXt.

**Real contrast:** LeanNeXt+ gains with actual contrast support the physical cue, not extra parameters alone, as the active signal.

This supports the mechanism in the tested setup, not a universal benefit.

## Where the evidence stops

- **One pipeline**: Tests vary topology inside nnU-Net's frozen 3D segmentation recipe; they do not establish gains in arbitrary pipelines.
- **Selective R4**: R4 is reserved for nested or dense multi-compartment labels and stays off for single-target or non-nested tasks.
- **Missing values**: Several primary Dice gains, resource ratios, total evaluation counts and confidence intervals remain unresolved.

Best used when: Useful for 3D CT/MRI segmentation when labeled anatomy exposes boundary or compartment errors and the recipe can be frozen.

## Key takeaways

- A predicted failure can reveal which anatomical structures need more capacity.
- For 3D segmentation, reallocate saved decoder compute to mid-encoder depth; add coarse large kernels only afterward.
- Open question: will these trigger-action rules transfer beyond recipe-frozen nnU-Net and the tested CT/MRI tasks?

## Links

- arXiv: https://arxiv.org/abs/2611.32384
- PDF: https://arxiv.org/pdf/2611.32384

## Citation

```bibtex
@article{jiang2026can,
  title   = {Can AI Design a Better nnU-Net? A Hypothesis-Driven Architecture Discovery Loop from Failures to Design Rules},
  author  = {Jiang, Songtao and Wang, Yuan and Niu, Fucheng and Wang, Hualiang and Wu, Jian and Liu, Zuozhu},
  journal = {arXiv preprint arXiv:2611.32384},
  year    = {2026},
  url     = {https://arxiv.org/abs/2611.32384}
}
```
