Papers › UNeXt: MLP-based Rapid Medical Image Segmentation Network

UNeXt: MLP-based Rapid Medical Image Segmentation Network

9 Mar 2022arXiv:2203.04967archive 2025-07-28

Jeya Maria Jose Valanarasu, Vishal M. Patel

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

PaperPDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2203.04967")

Code

Syntology Ran 6 of 26 code samples harvested from 2 repositories linked to this paper; 20 have no recorded run. Of those that ran: 1 ran · honoured contract; 3 ran · our draft was wrong; 2 ran with no contract checked.

By repository: official repository: 7 samples from 1 repository, 1 ran; community (archive-listed): 19 samples from 1 repository, 5 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

jeya-maria-jose/unext-pytorch officialmentioned in papermentioned on GitHubpytorchMIT report
jeya-maria-jose/Medical-Transformer mentioned on GitHubpytorchMIT report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

26 samples harvested; 6 ran; 1 honoured the contract we drafted; 20 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

1ran · honoured contract
3ran · our draft was wrong
2ran
20unverified

Licence: 0 of the 26 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from 2 repositories linked to this paper, official or community; each sample names its own and says which. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

count_params jeya-maria-jose/unext-pytorch/utils.py official repository ran · honoured contract MIT (permissive) · 616b5e82dd2a38f9 · report
conv1x1 jeya-maria-jose/unext-pytorch/archs.py official repository unverified MIT (permissive) · 88d8920bc9d995f6 · report
dice_coef jeya-maria-jose/unext-pytorch/metrics.py official repository unverified MIT (permissive) · fc0365a30b108850 · report
get_config jeya-maria-jose/unext-pytorch/config.py official repository unverified MIT (permissive) · 5b11c8193755906a · report
iou_score jeya-maria-jose/unext-pytorch/metrics.py official repository unverified MIT (permissive) · 14b6fae92a98329f · report
shift jeya-maria-jose/unext-pytorch/archs.py official repository unverified MIT (permissive) · 000b07edf24001b4 · report
str2bool jeya-maria-jose/unext-pytorch/utils.py official repository unverified MIT (permissive) · 8b9a62f72ecd14a7 · report
cross_entropy_for_onehot jeya-maria-jose/Medical-Transformer/lib/utils.py community (archive-listed) ran · our draft was wrong fingerprinted MIT (permissive) · e4df01238c9e5ba5 · report
conv1x1 jeya-maria-jose/Medical-Transformer/lib/models/axialnet.py community (archive-listed) ran · our draft was wrong MIT (permissive) · d9def42110729a85 · report
conv3x3 jeya-maria-jose/Medical-Transformer/lib/models/resnet.py community (archive-listed) ran · our draft was wrong MIT (permissive) · 160bb14bd76201b4 · report
conv3x3 jeya-maria-jose/Medical-Transformer/extractors.py community (archive-listed) ran MIT (permissive) · 48f5a5ec1d5dd2ef · report
to_long_tensor jeya-maria-jose/Medical-Transformer/utils.py community (archive-listed) ran MIT (permissive) · 1f565d043b253a06 · report
adjust_learning_rate jeya-maria-jose/Medical-Transformer/lib/utils.py community (archive-listed) unverified MIT (permissive) · 9d1a2a8f3cd2f263 · report
axial26s jeya-maria-jose/Medical-Transformer/lib/models/model_codes.py community (archive-listed) unverified MIT (permissive) · 946f264b8237be73 · report
axial50s jeya-maria-jose/Medical-Transformer/lib/models/model_codes.py community (archive-listed) unverified MIT (permissive) · c5c8c16bf6032b72 · report
axialunet jeya-maria-jose/Medical-Transformer/lib/models/axialnet.py community (archive-listed) unverified MIT (permissive) · b44a1d3a0190256d · report
build_optimizer jeya-maria-jose/Medical-Transformer/lib/build_optimizer.py community (archive-listed) unverified MIT (permissive) · 57c57f81551ed227 · report
classwise_f1 jeya-maria-jose/Medical-Transformer/metrics.py community (archive-listed) unverified MIT (permissive) · 23e3645b57111011 · report
classwise_iou jeya-maria-jose/Medical-Transformer/metrics.py community (archive-listed) unverified MIT (permissive) · 0000f4908d2309ef · report
densenet jeya-maria-jose/Medical-Transformer/extractors.py community (archive-listed) unverified MIT (permissive) · d424c563d915d012 · report
gated jeya-maria-jose/Medical-Transformer/lib/models/axialnet.py community (archive-listed) unverified MIT (permissive) · e90a4014d74c1fa1 · report
imagenet1k jeya-maria-jose/Medical-Transformer/lib/datasets/imagenet1k.py community (archive-listed) unverified MIT (permissive) · d951f27a92264740 · report
label_smoothing jeya-maria-jose/Medical-Transformer/lib/utils.py community (archive-listed) unverified MIT (permissive) · 5c9e8b037a72dcd8 · report
make_weighted_metric jeya-maria-jose/Medical-Transformer/metrics.py community (archive-listed) unverified MIT (permissive) · a0dd9f41120c5917 · report
resnet18 jeya-maria-jose/Medical-Transformer/lib/models/resnet.py community (archive-listed) unverified MIT (permissive) · 72e76034eb3a8502 · report
squeezenet jeya-maria-jose/Medical-Transformer/extractors.py community (archive-listed) unverified MIT (permissive) · 2522f45181a337ce · report

Tasks

DecoderImage SegmentationMedical Image SegmentationSegmentationSemantic Segmentation

Results from the paper archive 2025-07-28

TaskDatasetModelMetricValueRank at snapshotLeaderboardReport
Medical Image Segmentation ISIC 2018 UNeXt DSC 89.70 #4 of 5 Archive leaderboard report

Ranks are positions in the archive's leaderboards as they stood at the 2025-07-28 snapshot. Results published since then are not among these rows, so a rank here is not a current standing.

Methods

SPEED

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections