Skip to main content
Back

Deco-Mamba Fixes the Overlooked Bottleneck Holding Medical AI Back

A hybrid CNN-Transformer-Mamba network flips the usual encoder-heavy design and delivers state-of-the-art scores across seven medical imaging benchmarks with fewer parameters.

Pro

Paper, Full Access
  • Deco-Mamba flips the encoder-heavy trend and puts Mamba blocks in the decoder instead.
  • Three new modules: Co-Attention Gate, Vision State-Space Mamba Block, and Deformable Residual Block.
  • Multi-Scale Distribution-Aware KL loss supervises intermediate stages at native resolution without downsampling ground truth.
  • V1 hits 85.07 DSC on Synapse, beating Cascaded-MERIT by 1.48% with a third of the parameters.
  • V0 matches large Transformer models at 9.67M parameters, roughly 15 times smaller than competitors.
  • Evaluated on seven benchmarks including Synapse, BTCV, ACDC, ISIC17/18, GlaS, MoNuSeg; code pending release.

Most medical image segmentation research has been an arms race for bigger, more powerful encoders. A new architecture called Deco-Mamba argues that this focus is misplaced, and that the decoder, the part responsible for turning compressed features back into a pixel-perfect mask, has been quietly bottlenecking generalization the whole time.

The paper introduces a U-Net-style network with a hybrid CNN-Transformer-Mamba backbone, but the interesting engineering lives in the decoder. The authors propose a decoder-centric Mamba-based architecture that achieves state-of-the-art performance with improved computational efficiency across multiple medical imaging modalities, and they back it up with results on seven public benchmarks.

Why the decoder became the bottleneck

Segmentation networks for CT, MRI, dermoscopy, and histology have converged on a familiar recipe: a heavy pretrained encoder (Swin, PVT, ViT) paired with a lightweight decoder that mostly upsamples and concatenates. That works on any single dataset, but generalization suffers. Although powerful encoders can extract rich semantic representations, under-designed decoders may struggle to accurately recover object boundaries and contextual structures during upsampling.

Mamba-based alternatives, which replace quadratic self-attention with linear-time selective state-space updates, have started to appear in this space. Models like SliceMamba, Swin-UMamba, Mamba-UNet, and U-Mamba reduce computational overhead while maintaining competitive accuracy, but most of them still put the Mamba blocks in the encoder and leave the decoder underpowered.

Three new blocks in the decoder

Deco-Mamba architecture diagram showing encoder, decoder, and MSDA supervision

Deco-Mamba keeps a fairly standard encoder, a small CNN branch alongside a four-stage PVT-V2 transformer, but rebuilds the decoder around three custom modules:

  • Co-Attention Gate (CAG). Standard attention gates only let the decoder tell the encoder which regions matter. The CAG uses both encoder and decoder features as input and gating signals interchangeably, then concatenates the outputs and refines them with a channel attention block to emphasize the most informative channels.
  • Vision State-Space Mamba Block (VSSMB). A selective-scan SSM that sweeps horizontally, vertically, and in reverse to model long-range spatial dependencies with linear complexity, avoiding the memory blow-up of self-attention on high-resolution medical images.
  • Deformable Residual Block (DRB). Placed after each VSSMB to recover fine anatomical detail. The deformable convolution predicts pixel-wise offsets and modulation masks, where the offset branch estimates sampling displacements and the modulation branch assigns pixel-wise importance weights constrained to the range zero to two via a sigmoid.

A smarter deep supervision signal

The second contribution is a training trick called Multi-Scale Distribution-Aware supervision (MSDA). Conventional deep supervision resizes intermediate decoder outputs to match the full-resolution ground truth, which throws away structure. MSDA instead compares distributions at each decoder scale's native resolution.

Concretely, the ground-truth label map is downsampled by averaging class frequencies inside local windows, producing soft targets that look like probability histograms per pixel. The model's logits at that scale are converted to a distribution with softmax, and the two are compared with a KL divergence. A boundary-aware weight then upweights pixels near class transitions, where segmentation is hardest. In plain terms: instead of asking early decoder stages to guess the exact mask at reduced resolution, MSDA asks them to match the local class mix, which is a much better-posed target.

Results across seven benchmarks

The authors evaluate on Synapse and BTCV (abdominal CT), ACDC (cardiac MRI), ISIC17/18 (dermoscopy), GlaS (histology glands), and MoNuSeg (nuclei). Two variants are released, differing only in PVT backbone size: V0 uses PVT-V2-B0, V1 uses PVT-V2-B2.

Scatter plot of Dice score vs parameter count showing Deco-Mamba positions

The headline numbers on the Synapse 8-organ benchmark:

  • Deco-Mamba-V1 surpasses the second-best method, Cascaded-MERIT, by 1.48% in Dice and 1.27 in HD95, hitting 85.07 DSC.
  • Deco-Mamba-V0 matches the strongest Transformer-based models while using roughly 15 times fewer parameters (9.67M vs ~150M for Cascaded-MERIT and PAG-TransYNet).
  • On MoNuSeg nuclei segmentation, Deco-Mamba-V1 improves Dice by 4.46% over Swin-UMamba and 8.69% over U-Net.

The ablations are where the decoder-centric claim gets its teeth. With identical Swin-T backbones, Deco-Mamba reaches 83.76% DSC on Synapse compared to 77.58% for Swin-UNet, and using PVT-B0 it surpasses EMCAD using the larger PVT-B2. In other words, the gains are not just from a stronger encoder, they come from the decoder redesign itself.

When it fits, and when it doesn't

Deco-Mamba is a 2D architecture. If your workflow depends on true 3D context (whole-volume tumor segmentation with nnU-Net-style patch sampling), this is not a drop-in replacement, it operates slice by slice. It also inherits a dependency on ImageNet-pretrained PVT weights for the encoder, so the smaller V0 variant is only lightweight because that backbone happens to be small.

The other caveat is availability: the source code will be released upon acceptance, so there's no public repository yet. For teams working on generalized 2D pipelines across modalities, particularly where model size matters (edge deployment, on-prem hospital hardware), the V0 configuration at under 10M parameters and 9.73 GFLOPs looks like the more interesting entry point once code lands. The full paper includes the complete ablation tables and per-organ breakdowns.