NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

MedNeXt: Transformer-Driven Scaling of ConvNets for Medical Image Segmentation

Saikat Roy, Gregor Köhler, Constantin Ulrich, Michael Baumgartner, Jens Petersen, Fabian Isensee, Paul F. Jäger, Klaus H. Maier-Hein

Introduction

In the rapidly evolving landscape of computer vision, Transformers have emerged as a dominant force, primarily due to their capacity for modeling long-range spatial dependencies. However, their application to medical imaging is often hindered by "data hunger"—a requirement for massive datasets to compensate for a lack of inherent inductive biases like locality. Medical datasets, by contrast, are frequently small and sparsely annotated.

MedNeXt addresses this challenge by modernizing the 3D Convolutional Neural Network (ConvNet). By integrating Transformer-inspired design principles into a scalable 3D U-Net framework, MedNeXt achieves state-of-the-art performance across diverse medical imaging tasks without the massive data requirements typically associated with Transformer-based architectures.

Architectural Innovations

MedNeXt introduces several key structural changes to the standard 3D U-Net to enhance its representational power and efficiency.

1. The MedNeXt Block

The core of the architecture is the MedNeXt block, which utilizes Depthwise Convolutions to mimic the spatial attention mechanisms of Transformers. This is followed by an Inverted Bottleneck—a design that expands the number of channels before compressing them. This approach allows the network to scale in width while maintaining manageable computational costs.

2. Residual Inverted Bottlenecks for Resampling

Traditional U-Nets often use simple strided convolutions for downsampling. MedNeXt replaces these with specialized blocks featuring residual connections. This ensures that "semantic richness" is preserved as spatial resolution changes throughout the network.

3. UpKern: Iterative Kernel Scaling

Large kernels (e.g., $5 \times 5 \times 5$) are known to capture broader context but often lead to performance saturation or training instability when trained from scratch on limited data. MedNeXt introduces UpKern, a technique where a large-kernel model is initialized with weights from a pre-trained small-kernel model via trilinear interpolation. This method acts as a form of knowledge transfer, unlocking the benefits of large receptive fields in data-scarce environments.

4. Compound Scaling

To accommodate varying computational budgets, the authors propose four configurations: S (Small), B (Base), M (Medium), and L (Large). These versions are created by systematically scaling depth (number of blocks), width (expansion ratio), and kernel size.

Experimental Evaluation

The efficacy of MedNeXt was validated across four major medical segmentation benchmarks:

  • BTCV: Abdominal CT organ segmentation (30 volumes).
  • AMOS22: Large-scale abdominal CT organ segmentation (200 volumes).
  • KiTS19: Kidney and kidney tumor segmentation in CT (210 volumes).
  • BraTS21: Brain tumor segmentation in MRI (1251 volumes).

Key Results

MedNeXt consistently outperformed established baselines, including the industry-standard nnUNet and Transformer-hybrid models like UNETR and SwinUNETR.

  • State-of-the-Art Performance: MedNeXt-L (with kernel size 5) achieved the top rank on the AMOS22 leaderboard at the time of publication.
  • Quantitative Improvements: On the BTCV dataset, MedNeXt-L reached a Dice Similarity Coefficient (DSC) of 88.76, a significant leap over nnUNet’s 83.56.
  • Robustness: The model demonstrated superior performance across different modalities (CT and MRI) and varying dataset sizes, proving its versatility.

Discussion and Future Directions

The success of MedNeXt suggests that convolutions remain highly effective in medical imaging, particularly when modernized with Transformer-inspired designs. The "UpKern" technique, in particular, highlights how architectural scaling can be decoupled from training instability, allowing models to benefit from larger receptive fields even when data is scarce.

While the "Large" configuration is computationally intensive—requiring approximately 500 GFLOPs—it sets a new benchmark for accuracy. Future research may explore even larger kernel sizes (e.g., $7 \times 7 \times 7$), the integration of self-supervised pre-training, and further optimization for real-time clinical inference.

Conclusion

MedNeXt represents a significant step forward in medical image segmentation. By proving that modernized ConvNets can match or exceed the performance of Transformers while retaining the efficiency and inductive biases of convolutions, it provides a robust, scalable framework for high-precision medical AI.

Summary updated

BibTeX
@inproceedings{roy2023mednext,
  author = {Saikat Roy and Gregor Köhler and Constantin Ulrich and Michael Baumgartner and Jens Petersen and Fabian Isensee and Paul F. Jäger and Klaus H. Maier-Hein},
  title = {{MedNeXt: Transformer-Driven Scaling of ConvNets for Medical Image Segmentation}},
  booktitle = {International Conference on Medical Image Computing and Computer-Assisted Intervention},
  year = {2023},
  url = {https://openreview.net/forum?id=SAjez4NQLc},
}
Figure