Skip to main content
QUICK REVIEW

[Paper Review] UNeXt: MLP-based Rapid Medical Image Segmentation Network

Jeya Maria Jose Valanarasu, Vishal M. Patel|arXiv (Cornell University)|Mar 9, 2022
Advanced Neural Network ApplicationsComputer Science54 citations
TL;DR

UNeXt is a convolutional-stem followed by tokenized MLP blocks for medical image segmentation, achieving state-of-the-art performance with far fewer parameters and much lower compute than TransUNet and UNet variants, enabling faster CPU inference for point-of-care use.

ABSTRACT

UNet and its latest extensions like TransUNet have been the leading medical image segmentation methods in recent years. However, these networks cannot be effectively adopted for rapid image segmentation in point-of-care applications as they are parameter-heavy, computationally complex and slow to use. To this end, we propose UNeXt which is a Convolutional multilayer perceptron (MLP) based network for image segmentation. We design UNeXt in an effective way with an early convolutional stage and a MLP stage in the latent stage. We propose a tokenized MLP block where we efficiently tokenize and project the convolutional features and use MLPs to model the representation. To further boost the performance, we propose shifting the channels of the inputs while feeding in to MLPs so as to focus on learning local dependencies. Using tokenized MLPs in latent space reduces the number of parameters and computational complexity while being able to result in a better representation to help segmentation. The network also consists of skip connections between various levels of encoder and decoder. We test UNeXt on multiple medical image segmentation datasets and show that we reduce the number of parameters by 72x, decrease the computational complexity by 68x, and improve the inference speed by 10x while also obtaining better segmentation performance over the state-of-the-art medical image segmentation architectures. Code is available at https://github.com/jeya-maria-jose/UNeXt-pytorch

Motivation & Objective

  • Motivate point-of-care image segmentation with constrained compute resources.
  • Develop a lightweight encoder-decoder architecture combining convolutional and tokenized MLP components.
  • Introduce Tokenized MLP blocks with axial shifting to model latent representations efficiently.
  • Show substantial reductions in parameters and FLOPs while maintaining or improving segmentation accuracy.

Proposed method

  • Two-stage architecture with an initial convolutional stage followed by a Tokenized MLP stage.
  • Tokenized MLP block projects conv features into tokens and applies shifted MLPs to model local dependencies.
  • Axial shifting (W and H) induces locality before tokenization, with depthwise convolution and GELU activations in the Tok-MLP block.
  • Residual connections and layer normalization are used within the Tokenized MLP blocks.
  • Skip connections between encoder and decoder mirror UNet, while the decoder uses Tokenized MLP blocks followed by conv blocks.

Experimental results

Research questions

  • RQ1Can a convolutional-stem with tokenized MLP in latent space reduce parameters and computation while maintaining segmentation accuracy?
  • RQ2Do axial shifts in Tok-MLP blocks provide locality sufficient for competitive medical image segmentation?
  • RQ3How does UNeXt compare to UNet, UNet++, ResUNet, MedT, and TransUNet in terms of accuracy, parameters, FLOPs, and CPU inference time?

Key findings

  • UNeXt achieves competitive or superior F1 and IoU scores on ISIC and BUSI datasets.
  • UNeXt uses 1.47M parameters and 0.57 GFLOPs, far fewer than TransUNet (105.32M, 38.52 GFLOPs).
  • UNeXt attains 89.70 F1 and 81.70 IoU on ISIC, and 79.37 IoU on BUSI, with a CPU inference time of 25 ms.
  • Across baselines, UNeXt delivers the best balance of accuracy and efficiency, outperforming attention-based models in compute and parameter counts.
  • Ablation studies show shifting Tok-MLP and combining convolutional and MLP stages yield the best performance with minimal complexity growth.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.