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 View this paper on Syntology, its page in Syntology's graph. That page adds which of its functions are also present in other papers' code Syntology holds, with dates, and its dated run record as JSON and a README badge. It also lists the repositories linked to the paper, the abstract and the calls for agents.

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

For agents, on Syntology's MCP service (how to connect):

Code

Syntology 26 code samples harvested from 2 repositories linked to this paper: 20 ran (of which 0 constructed an object rather than computing a result; 17 with no instrument failure: 2 honoured, 0 violated, 15 with no contract checked; 3 where Syntology's instrument failed) · 6 unverified. Where Syntology's instrument failed: 3 where our contract draft was wrong; failures of Syntology's instrument, not of the code.

By repository: official repository: 7 samples from 1 repository, 6 ran (6 with no instrument failure; 0 where Syntology's instrument failed); community (archive-listed): 19 samples from 1 repository, 14 ran (11 with no instrument failure; 3 where Syntology's instrument failed). The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

Levels written between 2026-09-24 and 2026-09-25 (UTC): the dates Syntology's graph wrote each sample's verification level, not when the code executed. 4 of the 20 samples that ran have no recorded date.

jeya-maria-jose/unext-pytorch officialmentioned in papermentioned on GitHubpytorchMITSyntology: 7 samples, 6 ran (0 instrument-failed) · 1 unverified report
jeya-maria-jose/Medical-Transformer mentioned on GitHubpytorchMITSyntology: 19 samples, 14 ran (3 instrument-failed) · 5 unverified 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: 20 ran (of which 0 constructed an object rather than computing a result; 17 with no instrument failure: 2 honoured, 0 violated, 15 with no contract checked; 3 where Syntology's instrument failed) · 6 unverified. “Where Syntology's instrument failed” counts failures of Syntology's instrument, not of the code. Syntology's record for this page last changed ; when this build read Syntology's graph is in the build record. That date is not when the samples ran.

2ran · honoured contract
3ran · our draft was wrong
15ran
6unverified

Licence: 6 of the 26 samples are pointer only, meaning Syntology does not serve that copy's text. For 6 of them, this paper's copy is under a permissive licence and cleared, but the stored copy of the same code that Syntology serves is not; the licence label's tooltip gives Syntology's recorded reason. 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; the list below is grouped by repository, each group headed by its name and what it is to the paper. “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. A line beginning “fixture:” under a sample that ran gives the arguments Syntology's fixture called the sample with, each as name:type/rank/element kind (? where none was recorded), and the type of what the fixture's run returned, exactly as the harness recorded them; the arguments and the returned type were recorded by two separate runs of the same fixture. No output value is shown, and a returned type says nothing about whether the output was right. “Level recorded” gives the UTC date when Syntology's graph wrote the sample's verification level, not when the code executed; where the level was written before Syntology's graph kept that date, the row says “level recorded, date not recorded”. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself. “Our draft was wrong” and “the contract check could not run” are failures of Syntology's instrument, not of the code: the sample ran on Syntology's synthesized input, and then the drafted contract did not describe it, or the check itself raised an error (RAISES), lacked a dependency (DEP_MISSING) or ran out of time (TIMEOUT); hover the label for which. A metamorphic tier, where shown, is evidence of the output's shape, not that the sample implements the method.

Each sample ends with its code_sha256. A sample's code_sha256 is Syntology's identity for that exact code. It is printed in full (16 hexadecimal characters for every sample in this build), and get_code(code_sha256="…") takes it exactly as printed. An agent calls it on Syntology's MCP service (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 are grouped by repository: a repository marked official first, then by how directly the repository is tied to the paper, then in the archive's order; never by how many ran. 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 six 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; the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar); this paper's copy was not located, so its licence is not recorded; or this paper's copy is cleared, but the stored copy of the same code that Syntology serves is not. 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.

A function or class name links to its page when the name occurs in the harvested code of at least 5 papers; the name is a string, not an identity. A census tag appears when Syntology's census ran implementations with that name on one shared input per bucket: it gives how many were compared, from how many papers, and how many distinct outputs they produced, and names this sample's bucket when this sample was one of them.

jeya-maria-jose/unext-pytorch official repository 7 samples, 6 ran (0 instrument-failed) · 1 unverified
count_params in 80 papers utils.py ran · honoured contract MIT (permissive) here; the stored copy is pointer only · 616b5e82dd2a38f9 · report fixture: signature model:callable/0/? · returned int · level recorded, date not recorded
conv1x1 in 691 papers archs.py ran MIT (permissive) · 88d8920bc9d995f6 · report fixture: signature in_planes:int/0/int, out_planes:int/0/int, stride:int/0/int · returned Conv2d · level recorded 2026-09-24
dice_coef in 18 papers metrics.py ran fingerprinted MIT (permissive) · fc0365a30b108850 · report fixture: signature output:Tensor/2/float, target:Tensor/2/float · returned float32 · level recorded 2026-09-24
get_config in 203 papers config.py ran MIT (permissive) · 5b11c8193755906a · report fixture: signature args:Args/0/? · returned CfgNode · level recorded 2026-09-24
iou_score metrics.py ran MIT (permissive) · 14b6fae92a98329f · report fixture: signature output:Tensor/2/float, target:Tensor/2/float · returned tuple · level recorded 2026-09-24
str2bool in 533 papers utils.py ran MIT (permissive) · 8b9a62f72ecd14a7 · report fixture: signature v:str/0/str · returned bool · level recorded 2026-09-25
shift in 22 papers
census: 5 implementations from 5 papers, 5 distinct outputs across 4 buckets, one shared input per bucket
archs.py unverified MIT (permissive) here; the stored copy is pointer only · 000b07edf24001b4 · report
jeya-maria-jose/Medical-Transformer community (archive-listed) 19 samples, 14 ran (3 instrument-failed) · 5 unverified
cross_entropy_for_onehot in 5 papers lib/utils.py ran · our draft was wrong fingerprinted MIT (permissive) · e4df01238c9e5ba5 · report fixture: signature pred:Tensor/2/float, target:Tensor/2/float · returned Tensor · level recorded, date not recorded
adjust_learning_rate in 125 papers lib/utils.py ran MIT (permissive) · 9d1a2a8f3cd2f263 · report fixture: signature args:Args/0/?, optimizer:SGD/0/?, epoch:int/0/int, batch_idx:int/0/int, data_nums:int/0/int, type:str/0/str · returned float · level recorded 2026-09-24
build_optimizer in 83 papers lib/build_optimizer.py ran MIT (permissive) · 57c57f81551ed227 · report fixture: signature args:Args/0/?, model:callable/0/? · returned SGD · level recorded 2026-09-24
classwise_f1 metrics.py ran MIT (permissive) · 23e3645b57111011 · report fixture: signature output:Tensor/4/float, gt:Tensor/3/int · returned Tensor · level recorded 2026-09-24
classwise_iou metrics.py ran MIT (permissive) · 0000f4908d2309ef · report fixture: signature output:Tensor/4/float, gt:Tensor/3/int · returned Tensor · level recorded 2026-09-24
conv1x1 in 691 papers lib/models/axialnet.py ran · our draft was wrong MIT (permissive) · d9def42110729a85 · report fixture: signature in_planes:int/0/int, out_planes:int/0/int, stride:int/0/int · returned Conv2d · level recorded, date not recorded
conv3x3 in 1,376 papers lib/models/resnet.py ran · our draft was wrong MIT (permissive) · 160bb14bd76201b4 · report fixture: signature in_planes:int/0/int, out_planes:int/0/int, stride:int/0/int, groups:int/0/int, dilation:int/0/int · returned Conv2d · level recorded, date not recorded
conv3x3 in 1,376 papers extractors.py ran MIT (permissive) here; the stored copy is pointer only · 48f5a5ec1d5dd2ef · report fixture: signature in_planes:int/0/int, out_planes:int/0/int, stride:int/0/int, dilation:int/0/int · returned Conv2d · level recorded 2026-09-24
imagenet1k lib/datasets/imagenet1k.py ran MIT (permissive) · d951f27a92264740 · report fixture: signature args:Args/0/?, distributed:bool/0/bool · returned tuple · level recorded 2026-09-24
label_smoothing in 8 papers lib/utils.py ran MIT (permissive) · 5c9e8b037a72dcd8 · report fixture: signature pred:Tensor/2/float, target:Tensor/1/int, eta:float/0/float · returned Tensor · level recorded 2026-09-24
make_weighted_metric metrics.py ran MIT (permissive) · a0dd9f41120c5917 · report fixture: signature classwise_metric:callable/0/? · returned function · level recorded 2026-09-24
resnet18 in 432 papers lib/models/resnet.py ran MIT (permissive) · 72e76034eb3a8502 · report fixture: signature pretrained:bool/0/bool, progress:bool/0/bool · returned ResNet · level recorded 2026-09-24
squeezenet extractors.py ran MIT (permissive) · 2522f45181a337ce · report fixture: signature pretrained:bool/0/bool · returned SqueezeNet · level recorded 2026-09-24
to_long_tensor utils.py ran · honoured contract MIT (permissive) here; the stored copy is pointer only · 1f565d043b253a06 · report fixture: signature pic:ndarray/2/int · returned Tensor · level recorded 2026-09-24
axial26s lib/models/model_codes.py unverified MIT (permissive) · 946f264b8237be73 · report
axial50s lib/models/model_codes.py unverified MIT (permissive) · c5c8c16bf6032b72 · report
axialunet lib/models/axialnet.py unverified MIT (permissive) here; the stored copy is pointer only · b44a1d3a0190256d · report
densenet extractors.py unverified MIT (permissive) · d424c563d915d012 · report
gated lib/models/axialnet.py unverified MIT (permissive) here; the stored copy is pointer only · e90a4014d74c1fa1 · 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