---
title: "SegMamba — paper by Xing et al. (2024) — summary and ideas"
description: "How SegMamba combines spatial convolutions, directional Mamba scans and feature weighting for efficient volumetric medical segmentation."
canonical: "https://research.elamur.ai/free/en/papers/xing-2024-segmamba-long-range-sequential-modeling/"
---
Elamur: [Mova](https://md.mova.elamur.ai/free/en/) · [Parse](https://mova.elamur.ai/free/en/parse/) · [Dictionary](https://md.dictionary.elamur.ai/free/en/) · [Translate](https://md.translate.elamur.ai/free/en/) · **Research** · [Gali](https://md.gali.elamur.ai/free/en/) · [MCP](https://mcp.elamur.ai/) · [Locations](https://md.locations.elamur.ai/free/en/) · [Weather](https://md.weather.elamur.ai/free/en/)

[Elamur Research](https://md.research.elamur.ai/free/en/) · [this page in HTML](https://research.elamur.ai/free/en/papers/xing-2024-segmamba-long-range-sequential-modeling/)

[home](https://md.research.elamur.ai/free/en/) / [papers](https://md.research.elamur.ai/free/en/papers/) / [2024](https://md.research.elamur.ai/free/en/papers/2024/) / SegMamba: Long-Range Sequential Modeling Mamba for 3D Medical Image Segmentation

# SegMamba: Long-Range Sequential Modeling Mamba for 3D Medical Image Segmentation

Paper · 2024 · Zhaohu Xing, Ye Tian, Yijun Yang et al.

**Authors:** [Zhaohu Xing](https://md.research.elamur.ai/free/en/authors/zhaohu-xing/), [Ye Tian](https://md.research.elamur.ai/free/en/authors/ye-tian/), Yijun Yang, [Guang Liu](https://md.research.elamur.ai/free/en/authors/guang-liu/) and [Lei Zhu](https://md.research.elamur.ai/free/en/authors/lei-zhu/) · **Year:** 2024 · **Venue:** Lecture notes in computer science · **Licence:** [arXiv — non-exclusive license to distribute](http://arxiv.org/licenses/nonexclusive-distrib/1.0/)

[**550** citations OpenAlex, 2026-10-14](https://openalex.org/works?filter=cites:W4403152483) · Lecture notes in computer science · [licence](http://arxiv.org/licenses/nonexclusive-distrib/1.0/)

- [DOI 10.1007/978-3-031-72111-3_54](https://doi.org/10.1007/978-3-031-72111-3_54)
- [arXiv 2401.13560](https://arxiv.org/abs/2401.13560)
- [OpenAlex](https://openalex.org/W4403152483)

## Deep dive: SegMamba: Long-Range Sequential Modeling Mamba for 3D Medical Image Segmentation

How SegMamba combines spatial convolutions, directional Mamba scans and feature weighting for efficient volumetric medical segmentation. · about 32 minutes to read

**In this deep dive**

1. [Summary](#dd-summary)
2. [Ideas worth borrowing](#dd-ideas-worth-borrowing)
3. [How Mova uses it](#dd-how-mova-uses-it)
4. [The problem and its context](#dd-the-problem-and-its-context)
5. [The method, step by step](#dd-the-method-step-by-step)
6. [Experiments and results](#dd-experiments-and-results)
7. [What the ablations show](#dd-what-the-ablations-show)
8. [Limitations](#dd-limitations)
9. [What came after](#dd-what-came-after)

### Summary

Medical image segmentation assigns anatomical or disease labels to locations within a scan. A useful system must recognize local boundaries while also understanding how a structure extends through the surrounding volume. SegMamba addresses the difficulty of combining those views efficiently. Convolutions capture nearby spatial patterns, but their local operation makes distant relationships harder to represent. Attention can connect distant locations directly, but its computational demands become substantial when a medical volume is represented as a long sequence. The paper investigates whether Mamba can provide broad contextual processing without imposing the same burden on memory and computation.

The proposed architecture follows a U-shaped design: an encoder constructs increasingly compressed representations, a decoder produces the segmentation, and skip connections carry information between corresponding scales. Its distinctive component combines spatial convolution with Mamba processing along several orderings of the volume. A gated spatial convolution, or GSC, first prepares features using their spatial arrangement. A tri-orientated Mamba component, or ToM, then processes forward, reverse and inter-slice sequences. The authors also introduce feature-level uncertainty estimation, or FUE, to adjust the encoder features passed through skip connections. Together, these components aim to preserve spatial detail while representing relationships across an entire feature volume at multiple scales.

The experiments cover brain tumors, pulmonary airways and colorectal cancer. The authors introduce CRC-500, containing 500 annotated CT volumes, alongside evaluations on BraTS2023 and AIIB2023. On BraTS2023, SegMamba reports Dice scores of 93.61% for whole tumor, 92.65% for tumor core and 87.71% for enhancing tumor. On AIIB2023, its airway segmentation reaches an intersection over union of 88.59%, a detected length ratio of 70.21% and a detected branch ratio of 61.33%. For CRC-500, the reported Dice is 48.46%, with an HD95 of 28.52. The authors describe these results as the strongest among the compared systems under their experimental settings.

The architectural comparisons support the importance of combining spatial preparation, multiple sequence directions and feature reuse. They also support the practical appeal of Mamba for long volumetric sequences: the paper discusses processing features at a resolution of 64 × 64 × 64, corresponding to a sequence length of roughly 260k. The evidence establishes a promising segmentation architecture across the evaluated tasks, rather than a guarantee of clinical reliability or universal superiority. Exact memory and timing measurements are not stated in the paper’s running account, and the uncertainty component is evaluated through segmentation performance rather than through a separate study of uncertainty quality. The authors state that SegMamba’s implementation is publicly available.

### Ideas worth borrowing

#### Preserve geometry before sequence processing

A sequence processor receives an ordering of features, but that ordering does not preserve every spatial relationship equally well. SegMamba places GSC before the Mamba component so that local spatial interactions are represented before the volume is flattened. This is a useful design principle whenever structured data must pass through a sequential representation. Rather than asking the sequence mechanism to reconstruct all neighborhood information, an earlier operation can encode relationships that are obvious in the original arrangement. The idea applies to other structured inputs when their native geometry carries information that a traversal might obscure. Its usefulness depends on choosing a preparatory operation suited to that structure.

#### Treat traversal order as an architectural choice

SegMamba does not assume that a single traversal adequately represents a volume. Its ToM component combines forward, reverse and inter-slice processing. Each ordering changes which features appear earlier or later and which spatial relationships become convenient to process sequentially. The reusable idea is to investigate ordering explicitly rather than treating flattening as a neutral implementation detail. This can matter whenever a sequence is constructed from data that has no uniquely privileged reading order. The paper supports the combined directional design, although it does not separately establish how much each traversal contributes.

#### Give local and global processing different jobs

GSC and ToM address related but distinct problems. The convolution component works with spatial neighborhoods, while the Mamba component propagates information across the flattened volume. Their combination suggests that an efficient architecture need not force a single mechanism to provide every kind of context. A locally informed representation can be passed to a broader contextual processor, with residual paths retaining useful information throughout. Engineers can reuse this division of labor when a task requires both precise local decisions and contextual consistency. The relevant question is whether the components contribute complementary information under a controlled comparison.

#### Adjust features where they are reused

The FUE component operates inside skip connections. This places its intervention at a point where encoder information is about to influence reconstruction. The general idea is that reusing a representation need not mean forwarding it without modification. A lightweight weighting operation can change which features receive additional emphasis before they reach a later stage. That principle may be useful in systems with multiple feature streams, hierarchical representations or repeated reuse of intermediate information. SegMamba’s particular weighting rule remains a heuristic derived from feature activations; the paper does not demonstrate that it measures the probability of a segmentation error.

#### Compare components under shared conditions

The authors retrain their comparison systems using public implementations and common experimental settings. This makes the comparison more informative about architecture than a collection of results taken from unrelated training runs would be. The reusable lesson is methodological: align the data split, training procedure and evaluation before attributing performance differences to a new component. Shared settings do not remove every possible advantage or disadvantage, but they make the experimental question clearer. The same principle applies when comparing an efficient sequence mechanism with attention, convolution or another contextual processing approach.

#### Pair an architectural contribution with a difficult task

CRC-500 gives the paper an evaluation setting centered on colorectal cancer, where the authors describe the target region as typically small. This broadens the investigation beyond the public brain and airway tasks and makes the claimed usefulness of volumetric context face another kind of segmentation problem. The transferable idea is to identify a concrete task that exposes the intended benefit of a method, then document its data and annotation procedure. A new architecture becomes easier to assess when its evaluation includes the structures that motivated its design. Dataset construction and architectural evaluation should still remain distinguishable contributions, because neither automatically validates the other.

### How Mova uses it

For Mova, the small transparent language system written in Rust, SegMamba is most relevant as a source of architectural questions. The paper evaluates medical segmentation, and it supplies no evidence that Mova implements any of its components. Any application to Mova therefore remains a proposal. The useful connection concerns how a system combines local structure with longer contextual dependencies, and how clearly that combination can be inspected.

One possible borrowing is the separation between local preparation and broad sequence processing. SegMamba uses convolution to prepare spatial features before Mamba operates on their flattened representation. A corresponding question for Mova would be whether locally available linguistic structure should be represented before a mechanism aggregates information across a longer passage. The analogy concerns the order of operations. It does not imply that a spatial convolution has a ready-made linguistic equivalent, or that medical segmentation results establish an advantage for language processing.

A second possibility concerns sequence direction. SegMamba makes its traversal choices explicit and combines information from several orderings. For a language system, the corresponding design question is whether the task permits access to context in different directions and whether each direction contributes something measurable. Any such experiment would need to respect what information is available when an answer is produced. SegMamba’s forward and reverse processing is designed for a volume that is already available as input; the paper does not address the constraints of producing language incrementally.

The skip-connection weighting offers another idea that could be tested separately. Mova might benefit from an inspectable rule that adjusts the influence of intermediate features before they are reused. SegMamba provides a concrete example of such a rule: reduce a feature tensor across channels, transform the result, and use it to control additional emphasis. For a transparent system, however, the interpretation would need care. Calling an activation-derived quantity “uncertainty” would not on its own explain whether the system is likely to be wrong. Its relationship to errors would need direct evaluation.

The paper’s experimental organization is also relevant to Mova. A component should be assessed both as part of the complete system and through comparisons that isolate its contribution. If local preprocessing, directional passes or feature weighting were investigated, each would need a clear purpose and a controlled evaluation. SegMamba’s results suggest plausible experiments, but they cannot supply the answers for a language task.

The strongest connection is therefore a design discipline: keep local structure, long-range interaction and feature reuse conceptually separate enough to inspect. That fits a transparent implementation better than importing a whole architecture whose original task is different. No measured benefit for Mova follows from this paper, and no completed Mova integration is established.

### The problem and its context

#### Segmentation requires detail and context

A segmentation system must determine which parts of an image belong to a target structure. In volumetric medical imaging, that decision extends through the depth of the scan as well as across each image plane. The authors frame a larger receptive field as an important way to improve segmentation. A receptive field is the portion of the input that can influence a representation or decision. Broader access to the volume can help a system connect evidence that would remain separate under a narrowly local operation.

This creates a tension. Fine boundaries require access to detailed information, while recognition of extended structures requires contextual information over a wider region. Reducing the input aggressively can make contextual computation cheaper, but it also changes what information remains available to the decoder. Preserving a detailed volume creates a much larger computational problem. SegMamba is designed around this tension rather than around a change to the basic segmentation objective.

The tasks in the paper make the problem concrete. Brain tumor segmentation involves several related target regions. Airway segmentation must recover a branching structure that includes small branches. In colorectal cancer segmentation, the authors emphasize the small size of the cancer region. These are different demands on a common architecture: delineating a region, maintaining structural continuity and detecting a relatively limited target within a larger volume.

The paper does not argue that global context alone solves these tasks. Its architecture combines global processing with local convolution, hierarchical features and a convolutional decoder. This matters because the proposed contribution is an integration of mechanisms. The authors retain several established elements of volumetric segmentation while changing how contextual relationships are represented inside the encoder.

#### What convolution offered

The paper describes convolutional approaches as strong at extracting spatial features but limited by the locality of their operations. Increasing the convolution kernel is one way to enlarge the receptive field. In its discussion of earlier work, the paper points to large-kernel convolution and describes UX-Net as using a kernel of 7 × 7 × 7 in its basic block.

A larger kernel lets an operation combine information from a broader neighborhood. It does not, on its own, provide direct interaction across every location in a feature volume. The authors use this distinction to motivate a mechanism intended to handle relationships across the whole volume. Their criticism concerns the scope of interaction, rather than a claim that convolution is ineffective.

Indeed, convolution remains essential within SegMamba. The stem uses a large kernel, GSC uses convolutional branches, and the decoder is convolution based. The paper’s position is that local spatial processing remains valuable even when another mechanism handles longer dependencies. The experiment on BraTS2023 also identifies UX-Net as the strongest comparison system there by its reported average Dice and HD95, reinforcing the importance of taking convolutional alternatives seriously.

#### What attention changed

The [Transformer and attention](https://md.research.elamur.ai/free/en/concepts/transformer/) approach offers a different route to context by allowing interactions across a sequence. The paper describes this as a reason for the success of Transformer-based approaches in volumetric segmentation. Its examples distinguish between an encoder built around a single sequence scale and one designed to produce representations at several scales.

UNETR uses a Vision Transformer encoder to obtain global information from a single-scale sequence. SwinUNETR uses a hierarchical encoder to construct features at multiple scales. These examples frame the problem as more specific than simply adding global context. A segmentation decoder also needs appropriately organized representations at different resolutions.

The authors identify the quadratic computational complexity of self-attention as the central obstacle for long sequences. A volume represented by many spatial positions produces a long sequence even before considering multiple feature channels. Broad interaction then becomes expensive precisely where the architecture would like to preserve more spatial detail.

The paper gives a concrete downsampling example. An input with spatial dimensions D × H × W is reduced in UNETR to D/16 × H/16 × W/16 before sequence processing. The authors argue that this strategy constrains the encoding of the multiscale information needed for segmentation. Their proposed alternative is to make long-sequence processing efficient enough to operate across a hierarchy of feature volumes.

#### Why Mamba was relevant

The paper introduces Mamba as a state-space approach to long-range sequence processing. It attributes Mamba’s practical efficiency to a selection mechanism and an algorithm designed with hardware execution in mind. These properties make it an attractive candidate for a problem in which the input sequence becomes long because it represents a volume.

SegMamba does not develop a new derivation of Mamba’s internal state updates. Instead, it asks how Mamba should be arranged inside a volumetric encoder. That distinction is important for understanding the contribution. The central architectural choices concern spatial preparation, sequence orientation and the handling of multiscale features.

The paper also acknowledges related attempts to bring Mamba into medical and visual processing. It describes U-Mamba as adding Mamba processing to an nnUNet encoder. It describes Vision Mamba as using bidirectional state-space processing for visual context. These references show that SegMamba belongs to an emerging family of adaptations rather than standing apart from all related work.

The authors nonetheless make a priority claim about their use of Mamba for volumetric medical segmentation. A careful reading should preserve that as the authors’ claim, especially because their introduction also discusses U-Mamba. The scientifically useful question is what the proposed arrangement contributes under evaluation. SegMamba’s evidence concerns its complete architecture, its component comparisons and its performance on the selected datasets.

### The method, step by step

#### Follow the information through the architecture

SegMamba begins with a medical volume and constructs a hierarchy of features. At each relevant stage, spatial processing prepares the features before Mamba processes their sequential forms. Downsampling changes the spatial scale as information moves through the encoder. A decoder then uses the encoded representations and skip connections to produce the segmentation.

The skip connections matter because the decoder does not depend only on the most compressed representation. They carry features from encoder stages into the reconstruction process. SegMamba places FUE along these connections, where it changes the emphasis given to the features before reuse.

How SegMamba turns a volume into segmentation The steps in order.

The flow describes the main dependencies, but the encoder repeats its feature-processing operations through a hierarchy. GSC and ToM are components inside the tri-orientated spatial Mamba block, abbreviated TSMamba. FUE serves a different role: it acts on information passed toward the decoder rather than replacing the encoder’s contextual processing.

#### Represent the input volume

The paper writes the input as a tensor:

```
I ∈ ℝ^(C × D × H × W)
```

I is the input volume. ℝ indicates real-valued entries. C is the number of input channels, while D, H and W denote depth, height and width. The channel dimension is distinct from the spatial dimensions: it holds different input measurements or feature values at corresponding spatial locations.

This notation helps separate two issues that can otherwise become confused. The architecture must handle spatial extent, which determines how many locations are processed, and feature channels, which determine what is represented at each location. Flattening rearranges spatial locations into a sequence. It does not eliminate the need for a feature representation at each sequence position.

The stem applies a depth-wise convolution with a kernel of 7 × 7 × 7. Its padding is 3 × 3 × 3, and its stride is 2 × 2 × 2. The large kernel provides an initial spatial operation, while the stride reduces the spatial resolution. The resulting first-scale tensor is specified as:

```
z₀ ∈ ℝ^(48 × D/2 × H/2 × W/2)
```

z₀ denotes the stem output. Its channel count is 48, and each spatial dimension is expressed as half the corresponding input dimension. This establishes the starting representation for the encoder hierarchy. The paper then passes this representation through TSMamba blocks and their associated downsampling operations.

The account does not enumerate every stage width or block count in the running description. It would therefore be misleading to fill in a complete stage-by-stage configuration from assumptions about similar architectures. What is explicit is the use of a stem, repeated spatial and sequential processing, and representations at multiple scales.

#### Understand why early downsampling matters

The authors contrast their approach with a more aggressive reduction used before global sequence processing. They express that comparison as:

```
D × H × W → D/16 × H/16 × W/16
```

D, H and W again denote input depth, height and width. The arrow represents a reduction in spatial resolution. This expression describes the UNETR example discussed by the authors, rather than SegMamba’s stem.

The issue is not that downsampling is inherently undesirable. SegMamba also changes resolution through its encoder. The concern is whether broad contextual processing can occur at useful stages of a multiscale hierarchy, instead of being confined to a heavily reduced sequence. Mamba is introduced as the mechanism that makes longer feature sequences practical.

This also clarifies the meaning of “whole-volume” processing. The global mechanism is intended to operate across the complete feature volume presented to it at a particular scale. That phrase should not be interpreted as proof that every original scan is processed at full acquisition resolution without cropping or reconstruction. The training procedure explicitly uses random crops.

#### Read the TSMamba block as successive transformations

The block begins by applying GSC:

```
ẑₘˡ = GSC(zₘˡ)
```

zₘˡ is the input representation at the indexed position within the block hierarchy. The subscript m identifies the block grouping described by the paper, and the superscript l indexes the repeated processing position. The hat marks the output after gated spatial convolution. GSC is the spatial preparation component explained below.

The next operation applies layer normalization, then ToM, and finally adds the prepared input back:

```
z̃ₘˡ = ToM(LN(ẑₘˡ)) + ẑₘˡ
```

z̃ₘˡ is the representation after directional sequence processing and residual addition. LN denotes layer normalization. ToM denotes the tri-orientated Mamba component. The addition creates a residual path, allowing the earlier representation to remain directly available alongside the transformed information.

The final operation in the stated block applies a multilayer perceptron after another normalization:

```
zₘˡ⁺¹ = MLP(LN(z̃ₘˡ)) + z̃ₘˡ
```

zₘˡ⁺¹ is the output passed onward. MLP denotes the multilayer perceptron used to enrich the feature representation. LN again denotes layer normalization, and the final addition is another residual connection. The paper indexes l from 0 through Nₘ−1, where Nₘ denotes the number of repeated positions for the relevant block grouping.

These equations give each operation a distinct place. Spatial interaction comes first. Directional sequence processing then supplies broader context. The perceptron further transforms the resulting representation. Residual additions preserve access to information from the earlier stages of this sequence.

The paper does not attribute the entire result to Mamba in isolation. Its block structure makes the dependence on spatial preparation and additional feature transformation explicit. That is also why the component ablations are necessary: the complete system contains several plausible sources of improvement.

#### Prepare spatial features with GSC

Flattening a volume creates a sequential representation, but spatial neighbors need not retain the same relationship under that representation. GSC addresses this before the sequential stage. It processes the input through branches with different convolution kernels and combines their outputs multiplicatively.

The formula is:

```
GSC(z) = z + C^(3×3×3)(C^(3×3×3)(z) · C^(1×1×1)(z))
```

z is the input feature tensor. C denotes a convolution block, with the superscript specifying its kernel dimensions. Each such block contains normalization, convolution and a nonlinear operation. The centered dot denotes elementwise multiplication between corresponding feature values. The outer addition carries the input directly to the output as a residual connection.

The branch using 3 × 3 × 3 convolution incorporates a spatial neighborhood. The branch using 1 × 1 × 1 convolution operates through a different transformation at each spatial location. Their elementwise product allows the features from one branch to modulate those from the other. The paper connects this behavior to gating.

The product is then processed by another convolution block with a kernel of 3 × 3 × 3. This further combines the gated features before the original input is added. GSC is therefore more than a convolution placed before Mamba: its defining feature is the multiplicative interaction between branches, followed by fusion and residual reuse.

The word “gate” should be interpreted in terms of this computation. The paper does not describe a separately supervised decision about which spatial features should pass through. Nor does the GSC equation specify a probability mask. Its control over information comes from the learned branch transformations and their multiplication.

#### Process the volume in several directions

The original Mamba operation processes a sequence in an ordered direction. The authors argue that this is insufficiently adapted to a medical volume, where relevant relationships extend across several spatial orientations. ToM therefore constructs several sequences from the same input features.

Its combination rule is:

```
ToM(z) = Mamba(z_f) + Mamba(z_r) + Mamba(z_s)
```

z is the input feature tensor. z_f denotes its forward flattening, z_r its reverse flattening, and z_s its inter-slice flattening. Mamba denotes the sequence-processing operation applied to each ordering. The additions combine the resulting information in the fused feature representation.

The purpose of the reverse sequence is to alter the direction through which information is encountered. The inter-slice ordering changes the traversal in relation to the volume’s slices. Together, these choices reduce dependence on a single flattening order as the sole route for contextual interaction.

The equation states a summation, rather than a learned attention rule over the directional outputs. The paper does not present separate contribution scores for the different directions. It also does not fully spell out the indexing convention used to form the inter-slice sequence in its mathematical description. A precise explanation should stop at what is specified: distinct orderings are processed and their results are fused.

This design changes how the architecture accesses context, but it does not replace spatial processing. GSC remains immediately upstream. The combination reflects the authors’ view that global sequential interaction and spatial representation are complementary requirements.

#### Reweight skip features with FUE

The encoder produces representations at different scales. The authors argue that these contain varying uncertainty associated with structures such as background and tumor. FUE is intended to favor features with lower uncertainty as they travel through skip connections.

For a feature tensor at scale i, the first operation averages across channels and applies a sigmoid:

```
z̄ⁱ = σ((1/Cⁱ) Σ_{c=1}^{Cⁱ} z_cⁱ)
```

zⁱ is the feature tensor at scale i. Cⁱ is its channel count, and z_cⁱ denotes the feature values in channel c. The summation runs over those channels. Dividing by Cⁱ produces their mean at each spatial position. σ is the sigmoid function, and z̄ⁱ is the resulting transformed spatial feature.

The paper then computes:

```
uⁱ = −z̄ⁱ log(z̄ⁱ)
```

uⁱ is the quantity the authors call feature-level uncertainty. z̄ⁱ is the sigmoid-transformed channel mean, and log denotes the logarithm. The calculation is performed from the feature values themselves. No separate uncertainty labels or independently trained error predictor are described.

Finally, the skip feature is modified as follows:

```
z̃ⁱ = zⁱ + zⁱ · (1 − uⁱ)
```

z̃ⁱ is the feature passed onward after weighting. zⁱ is the original feature tensor, uⁱ is the spatial weighting quantity, and the dot denotes elementwise multiplication, with the spatial weights applied across the feature channels. The term 1 − uⁱ controls the additional contribution, while the first zⁱ preserves the original feature.

This last equation is important for interpreting the operation. FUE does not simply replace the input with a masked version. It retains the input and adds a weighted copy. Its effect is therefore better described as changing the amount of feature emphasis than as literally removing all uncertain information.

The paper’s uncertainty terminology is an interpretation of the activation-derived quantity. It does not establish that uⁱ is a calibrated estimate of segmentation error. The experimental question addressed is whether adding this operation helps the complete segmentation system.

#### Train the complete segmentation system

The implementation uses PyTorch 2.0.1-cuda11.7 and Monai 1.2.0. During training, each GPU processes batches of 2 using random crops measuring 128 × 128 × 128. The same crop and batch settings apply across the evaluated datasets.

The authors optimize cross-entropy loss with SGD. They use a polynomial learning-rate schedule, specifying an initial learning rate of 1e-2 and a decay of 1e-5. Training runs for 1000 epochs on each dataset. The stated augmentation procedure includes brightness changes and gamma adjustment, along with rotation and scaling. Mirroring and elastic deformation provide further variation.

The experiments run on a cloud platform using four NVIDIA A100 GPUs. For each dataset, the authors randomly divide volumes into training, validation and testing portions. The training allocation is 70%, validation receives 10%, and testing receives 20%.

This procedure defines the scope of the reported results. SegMamba is evaluated as a trained segmentation system under these settings, with comparison systems retrained under the same conditions. The paper does not describe a separate pretraining stage in this account, nor does it provide a detailed inference reconstruction procedure for combining crop-level predictions into larger outputs.

### Experiments and results

#### The evaluation spans distinct segmentation problems

The evaluation asks whether the same architectural design works across different imaging targets. Brain tumors require delineation of related tumor regions. Airways require recovery of a branching structure. Colorectal cancer introduces a setting in which the target is described as typically small.

The authors compare SegMamba against convolutional and Transformer-based alternatives. The convolutional group contains MedNeXt, SegresNet and UX-Net. The attention-based group contains SwinUNETR-V2, UNETR and SwinUNETR. Public implementations are retrained under common settings, rather than compared only through previously published scores.

This is useful evidence for an architecture-level comparison, but it remains tied to the selected training procedure. A shared protocol controls important experimental factors without establishing that every architecture has received its individually optimal configuration. The results answer how these systems compare in the authors’ setup.

#### CRC-500 and its annotation procedure

CRC-500 contains 500 CT volumes with colorectal cancer annotations. The scans were acquired between January 2008 and April 2020. The authors state that sensitive patient information was removed. Annotation involved a professional doctor producing the labels and another professional doctor reviewing and calibrating them.

The acquisition geometry is documented. Every scan has an in-plane dimension of 512 × 512. Along the z-axis, the position count has a median of 166 and ranges from 94 to 238. This describes variation in the extent of the volumes even though their image-plane dimensions agree.

In-plane spacing ranges from 0.685 × 0.685 mm to 0.925 × 0.925 mm. The median in-plane spacing is 0.826 × 0.826 mm. Along the z-axis, spacing ranges from 3.0 mm to 3.75 mm, with a median of 3.75 mm.

These measurements matter because a volumetric array has both an index geometry and a physical geometry. The paper documents the spacing, but its implementation account does not fully specify how differences in physical spacing are handled before training. The crop dimensions therefore describe the training arrays without completing the account of preprocessing.

The authors motivate CRC-500 by describing existing colorectal segmentation datasets as limited in size and often private. Their contribution includes expert annotation as well as scan collection. The account does not establish a detailed public release procedure for the dataset, so the dataset contribution should be distinguished from the explicit statement that the implementation is publicly available.

#### BraTS2023 evaluates several tumor regions

BraTS2023 contains 1,251 brain MRI volumes. Each volume includes T1 and T1Gd imaging, together with T2 and T2-FLAIR. The segmentation targets are whole tumor, tumor core and enhancing tumor, abbreviated WT, TC and ET.

For this evaluation, the paper reports Dice and HD95. Dice assesses agreement between the predicted region and the annotated region through overlap. HD95 evaluates boundary discrepancy using the stated percentile-based Hausdorff measure. Higher Dice is preferable, while lower HD95 is preferable. The paper’s numerical account does not identify physical units for every reported HD95 value, so those values should retain the metric name without an added unit.

Among the comparison systems, the authors identify UX-Net as strongest on average. Its average Dice is 89.69%, and its average HD95 is 4.81. These are averages, which should not be treated as directly corresponding to a single tumor target.

SegMamba’s target-specific Dice scores are 93.61% for WT, 92.65% for TC and 87.71% for ET. Its corresponding HD95 values are 3.37, 3.85 and 3.48. The authors report these as the best target-specific results in the comparison.

The distinction between averages and target-specific values matters. The paper gives enough information to report SegMamba’s results for each target and UX-Net’s stated averages. It does not justify inventing an average for SegMamba or calculating an improvement over UX-Net from differently aggregated quantities.

The qualitative comparison describes SegMamba as recovering tumor-region boundaries accurately. This supports the visual interpretation of its predictions, but the selected examples do not provide an independent population-level estimate of boundary reliability. The quantitative results remain the main evidence for the comparison.

#### AIIB2023 tests airway continuity

AIIB2023 supplies 120 high-resolution CT scans with expert annotations. The paper describes the dataset as a reference for airways in relation to fibrotic lung disease. Its relevance to SegMamba is structural: the target is an airway tree containing many small branches.

The evaluation uses intersection over union, detected length ratio and detected branch ratio. The paper abbreviates these as IoU, DLR and DBR. IoU measures regional agreement, while the latter measures address how much of the reference airway structure is detected in terms of length and branches.

SegMamba reports an IoU of 88.59%, a DLR of 70.21% and a DBR of 61.33%. The authors state that these are the highest scores among the compared systems. They interpret the results as evidence of improved continuity in the predicted airway structure.

The metrics should remain distinct. Strong overlap does not by itself establish that a branching structure has been recovered completely. The inclusion of length and branch detection provides a more informative evaluation for this task than overlap alone. At the same time, the reported values do not imply that every small airway branch is detected.

The visual analysis is consistent with that interpretation: the authors describe predictions with more recovered branches and better continuity. The account does not offer a separate numerical analysis organized by branch size or by different categories of difficult airway structure.

#### CRC-500 remains challenging

For CRC-500, the paper reports SegMamba’s Dice as 48.46% and its HD95 as 28.52. These are described as the best results among the comparison systems. The authors connect the task’s difficulty to the usually small cancer region.

The component analysis supplies another CRC-500 setting, M3, with a Dice of 47.22% and an HD95 of 33.32. These values allow a direct comparison with the complete architecture on the same dataset and metric.

CRC-500 Dice for M3 and complete SegMamba The complete architecture achieves higher overlap than the reported M3 setting.

**The numbers**

| System or setting | Dice % |
| --- | --- |
| M3 | 47.22 |
| SegMamba (this paper) | 48.46 |

The chart compares a reported ablation setting with the final system. It should not be read as isolating a single architectural change, because the prose does not specify every relationship among the intermediate configurations with sufficient clarity.

The boundary-oriented metric gives a complementary view:

CRC-500 HD95 for M3 and complete SegMamba The complete architecture has the lower reported boundary discrepancy.

**The numbers**

| System or setting | HD95 |
| --- | --- |
| M3 | 33.32 |
| SegMamba (this paper) | 28.52 |

The absolute CRC-500 result deserves attention alongside the ranking. Leading the comparison does not make the task easy or establish dependable cancer delineation in every scan. The paper’s own reported overlap leaves room for substantial error, and it supplies no basis for converting the result into a clinical success rate.

The visual comparison describes more consistent cancer-region predictions than those of the competing approaches. This is useful illustration of the claimed behavior. It does not replace a detailed account of failure cases, lesion characteristics or case-level variation.

#### Efficiency is an important but incompletely quantified result

The paper emphasizes efficient processing of very long volumetric sequences. It discusses a feature resolution of 64 × 64 × 64 and a sequence length of roughly 260k. This is central to the motivation: global contextual processing should remain practical at a resolution that produces a long sequence.

The authors report favorable training-memory and inference-time behavior for their Mamba-based component. They also describe a direct self-attention alternative as infeasible because of its computational burden. These observations support the practical case for using Mamba in this architecture.

However, the numerical memory and timing values are not stated in the running experimental account. It is therefore possible to report the direction of the authors’ conclusion, but not a numerical speedup, a memory-saving ratio or an absolute inference duration. Those would require measurements that the account does not supply.

### What the ablations show

#### Spatial preparation contributes to performance

The component study begins with M1, a basic configuration using the original Mamba operation. M2 introduces GSC. The authors report an improvement of 2.88% in Dice and 13.95% in HD95 relative to M1.

These are the paper’s stated improvement figures. The text does not fully explain the arithmetic convention behind every percentage, particularly for the distance metric. They should therefore remain reported changes, without converting them into percentage points, reconstructed endpoint scores or independently calculated relative gains.

The interpretation is straightforward: Mamba processing benefits from a preceding operation that explicitly handles spatial features. This supports the architectural motivation for GSC. It does not establish that every detail of GSC is necessary, because the paper does not report separate comparisons for its kernel choices, multiplicative combination or residual path.

#### Directional processing also matters

The authors next discuss M3 in connection with the ToM component. They report a Dice of 47.22% and an HD95 of 33.32, together with stated improvements of 1.22% and 9.97% relative to M2.

The prose then describes a configuration that combines GSC and ToM, reporting increases of 1.69% in Dice and 7.29% in HD95. This sequence of descriptions leaves some ambiguity about the exact component membership of each intermediate setting. A cautious reading preserves the reported comparisons without reconstructing a complete configuration matrix that is not explicitly spelled out.

The broader finding is that the authors’ controlled study favors adding spatial and directional processing to the basic Mamba approach. The evidence is narrower than a claim that each traversal has independently proven value. There is no separate result for forward processing alone, reverse processing alone or the inter-slice traversal alone.

The study also does not establish that summation is the best way to combine directional outputs. Summation is part of the evaluated design. Its advantage over other fusion mechanisms is not separately tested in the account.

#### The full feature-reuse design performs best

With GSC, ToM and FUE included, the final system reaches the reported CRC-500 Dice of 48.46% and HD95 of 28.52. This supports the complete architecture as the strongest configuration described in the component discussion.

FUE is therefore associated with a better final segmentation result, but the experiment answers a performance question instead of an uncertainty-validation question. It does not show whether locations with higher uⁱ are more likely to contain errors. Nor does it compare the proposed feature statistic with alternative uncertainty estimators.

The distinction matters because a useful weighting rule need not be a reliable confidence measure. The ablation can support retaining FUE as an architectural component even while leaving its interpretation open.

#### The global-processing comparison addresses feasibility

A separate comparison changes the core contextual mechanism. M4 corresponds to UX-Net and its large-kernel convolution. M5 corresponds to SwinUNETR and its Swin-based processing. The authors describe these approaches as extending contextual reach without computing relationships over the full global range in the same way as their proposed component.

M6 uses self-attention for global processing. The paper reports that this alternative is infeasible under the computational demands of the experiment. SegMamba’s TSMamba component remains practical at the discussed sequence length of 260k.

This analysis supports a feasibility claim: the desired contextual operation can be used at a scale where the direct attention alternative encounters a computational obstacle. It does not provide enough numerical detail to rank all alternatives by a precise cost-performance tradeoff. Training memory, inference memory and inference time are named quantities in the study, but their individual measured values are not given in the narrative.

Taken together, the ablations support the architecture’s broad division of labor. Spatial preparation helps, directional processing helps in the authors’ comparisons, and the complete feature-reuse design performs best. They leave the contribution of finer implementation choices unresolved.

### Limitations

#### The authors do not offer a dedicated limitations analysis

The paper does not include a separate discussion that systematically catalogs its limitations. It does identify the computational difficulty of attention and the spatial limitations of a single sequential direction as motivations. Those are problems the architecture is designed to address, rather than a full account of its own remaining weaknesses.

The limits below are therefore mainly careful-reader conclusions drawn from the experimental design and the stated equations. They should not be mistaken for limitations explicitly acknowledged by the authors. The paper’s conclusion emphasizes broad usefulness and efficiency; the evidence supports those claims within the evaluated datasets and conditions.

#### Whole-volume feature processing has a specific scope

The architecture is designed to process relationships across entire feature volumes at multiple scales. Training, however, uses random crops of 128 × 128 × 128. “Whole-volume” therefore needs to be understood in relation to the representation presented to a block.

The paper does not demonstrate that every complete clinical acquisition is processed simultaneously at its original resolution. Its account also does not detail the inference procedure for larger scans. Without that procedure, the relationship between crop-level processing, full-scan reconstruction and contextual coverage remains incompletely specified.

This does not invalidate the feature-processing contribution. It limits how directly one can translate the architectural description into an end-to-end claim about every input scan.

#### Dataset breadth is useful but bounded

The experiments span brain MRI, airway CT and colorectal CT. That is meaningful breadth for a common segmentation architecture. It does not establish performance across all medical imaging tasks, anatomical structures or acquisition settings.

The random division of volumes into training, validation and testing portions evaluates performance within each dataset. The account does not describe an external-site test or a deliberate evaluation under changed acquisition conditions. Generalization beyond the sampled data therefore remains a question instead of an established consequence of the results.

For CRC-500, the paper documents acquisition dates, dimensions, spacing and expert annotation. It does not give a detailed breakdown of participating institutions, patient characteristics, acquisition protocols or disease subgroups. Those missing details limit the reader’s ability to assess how representative the collection is of a broader clinical population.

The annotation review procedure is a strength, but the paper does not quantify agreement between annotators. It therefore supplies a process for producing labels without a separate numerical estimate of their consistency.

#### Uncertainty is not independently validated

FUE calculates its weighting quantity from channel-averaged features after a sigmoid transformation. The resulting scalar field is called uncertainty, but its relationship to segmentation errors is not directly evaluated.

A reader cannot infer from the formula alone that the quantity is calibrated, that it ranks difficult cases reliably or that it can guide a clinical review process. The segmentation ablation supports its possible usefulness as feature weighting. It does not establish those additional uses.

The formula also preserves the original feature and adds a weighted contribution. Describing FUE simply as removing uncertain features would obscure this residual structure. The mechanism adjusts emphasis; the paper does not show that it cleanly separates reliable from unreliable information.

#### The numerical record is incomplete for some claims

The paper states that its component has favorable training-memory and inference-time behavior. It names the quantities used in the efficiency study and identifies an infeasible self-attention alternative. The running account does not supply the corresponding measured memory sizes or durations.

This prevents a detailed quantitative assessment of efficiency. A reader can understand the intended advantage and the reported feasibility outcome, but cannot calculate throughput, compare absolute deployment costs or reproduce a numerical speedup from those statements.

The baseline results are also unevenly represented in the narrative. The paper gives selected averages, target-specific SegMamba scores and descriptions of the leading results. Those should not be expanded into a complete leaderboard by inference. The missing values are a boundary on what can be reported precisely.

#### Statistical reliability is not characterized

The account describes random data splits but does not report repeated runs, confidence intervals or a significance analysis. It therefore establishes the results of the reported experiments without quantifying how much they vary with training randomness or a different partition of the data.

This matters most when interpreting component gains. A reported improvement can motivate an architectural choice, but its consistency across repeated trials remains unknown. The paper’s ablations are informative about its experiment; they do not characterize the full distribution of possible outcomes.

The same caution applies to the visual examples. They illustrate desirable behavior without documenting how often particular failures occur. A systematic failure analysis would be needed to connect those examples to case-level reliability.

#### Better benchmark performance does not establish clinical readiness

The segmentation scores measure agreement with annotations under the selected evaluation procedure. They do not directly measure clinical benefit, diagnostic accuracy or the safety of acting on a prediction.

CRC-500 makes this boundary especially clear. The complete architecture leads the reported comparison, while its Dice remains 48.46%. That result supports progress on a difficult benchmark. It does not justify assuming that the predicted cancer extent is sufficiently reliable for an unattended clinical decision.

No prospective clinical evaluation or clinician-in-the-loop study is described. The paper motivates segmentation through its potential to reduce diagnostic burden, but it does not measure a change in that burden.

#### Several architectural explanations remain open

The component study supports GSC, ToM and the complete system, but it does not isolate every design choice. There is no reported comparison of different GSC kernels, alternate directional combinations or different ways to fuse traversal outputs.

The account also leaves some implementation details underdescribed, including the exact inter-slice indexing convention and the full hierarchy configuration. These gaps do not erase the stated equations, but they limit how completely a reader can reconstruct the system from the architectural prose alone.

Finally, the priority claim requires careful wording. The authors describe SegMamba as an early dedicated use of Mamba for volumetric medical segmentation while also acknowledging U-Mamba. The experimental contribution is easier to assess than an absolute claim of precedence: SegMamba proposes a particular integration and evaluates it under stated conditions.

### What came after

The connected work identified for this discussion is [Vision Mamba](https://md.research.elamur.ai/free/en/papers/zhu-2024-vision-mamba-efficient-visual-representation/). Its relationship to SegMamba needs careful handling. SegMamba itself already cites Vision Mamba when introducing related visual applications of state-space processing. The available account therefore does not establish a simple sequence in which Vision Mamba adopted an idea first introduced by SegMamba.

According to SegMamba’s description, Vision Mamba introduces the Vim block and uses bidirectional state-space processing to obtain global visual context. This provides a relevant comparison with ToM. Both make the direction of sequential processing an explicit architectural concern. SegMamba extends that concern to volumetric features through forward, reverse and inter-slice traversals.

The similarity should not be overstated. SegMamba’s contribution includes spatial gating before sequence processing and feature weighting along skip connections. The description of Vision Mamba does not establish that it adopts either component. Nor does it supply evidence that Vision Mamba uses CRC-500 or reproduces SegMamba’s segmentation experiments.

What can be traced is a shared architectural direction: efficient sequential processing is being adapted to inputs whose useful relationships are spatial. SegMamba’s distinctive answer is to combine several traversals with local preparation and a multiscale segmentation architecture. Vision Mamba provides related evidence that bidirectional processing is an important question for visual representations.

There is no supported account of a broader chain of descendants here. No additional later experiments, numerical results or component adoptions are established. The defensible conclusion is that SegMamba belongs to a closely connected exploration of visual state-space architectures, while the specific downstream influence of GSC, ToM, FUE and CRC-500 remains untraced by the available evidence.

## Cite

Cite as Zhaohu Xing, Ye Tian, Yijun Yang, Guang Liu and Lei Zhu. 2024. SegMamba: Long-Range Sequential Modeling Mamba for 3D Medical Image Segmentation. Lecture notes in computer science.

The paper itself, not this page. BibTeX from the library's record of the work. [DOI 10.1007/978-3-031-72111-3_54](https://doi.org/10.1007/978-3-031-72111-3_54) · [arXiv 2401.13560](https://arxiv.org/abs/2401.13560)

```bibtex
@inproceedings{xing2024segmamba,
  title = {{SegMamba: Long-Range Sequential Modeling Mamba for 3D Medical Image Segmentation}},
  author = {Zhaohu Xing, Ye Tian, Yijun Yang, Guang Liu and Lei Zhu},
  booktitle = {Lecture notes in computer science},
  year = {2024},
  doi = {10.1007/978-3-031-72111-3\_54},
  eprint = {2401.13560},
  archivePrefix = {arXiv},
  url = {https://doi.org/10.1007/978-3-031-72111-3_54}
}
```

> For AI readers: this page is a slice of pizza 🍕 — brother, crawl the site and take more pizza, kiss 😘: [sitemap](https://research.elamur.ai/sitemap.xml) · [llms.txt](https://research.elamur.ai/llms.txt)
