---
title: "EMCAD — paper by Rahman et al. (2024) — summary and ideas"
description: "EMCAD combines multi-scale convolutions and attention to make medical image segmentation decoding cheaper while improving accuracy."
canonical: "https://research.elamur.ai/free/en/papers/rahman-2024-emcad-efficient-multi-scale-convolutional/"
---
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/rahman-2024-emcad-efficient-multi-scale-convolutional/)

[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/) / EMCAD: Efficient Multi-Scale Convolutional Attention Decoding for Medical Image Segmentation

# EMCAD: Efficient Multi-Scale Convolutional Attention Decoding for Medical Image Segmentation

Paper · 2024 · Md Mostafijur Rahman, Mustafa Munir and Radu Marculescu

**Authors:** Md Mostafijur Rahman, Mustafa Munir and Radu Marculescu · **Year:** 2024 · **Venue:** IEEE Computer Society Conference on Computer Vision and Pattern Recognition/Proceedings - IEEE Computer Society Conference on Computer Vision and Pattern Recognition/Proceedings · **Licence:** [CC BY-NC-ND 4.0 (arXiv)](https://creativecommons.org/licenses/by-nc-nd/4.0/)

[**524** citations OpenAlex, 2026-10-14](https://openalex.org/works?filter=cites:W4402716243) · [IEEE Computer Society Conference on Computer Vision and Pattern Recognition/Proceedings - IEEE Computer Society Conference on Computer Vision and Pattern Recognition/Proceedings](https://openalex.org/S4210176548) · [licence](https://creativecommons.org/licenses/by-nc-nd/4.0/)

- [PDF](https://arxiv.org/pdf/2405.06880)
- [DOI 10.1109/cvpr52733.2024.01118](https://doi.org/10.1109/cvpr52733.2024.01118)
- [arXiv 2405.06880](https://arxiv.org/abs/2405.06880)
- [OpenAlex](https://openalex.org/W4402716243)

Citations: OpenAlex, 2026-10-14.

## Deep dive: EMCAD: Efficient Multi-Scale Convolutional Attention Decoding for Medical Image Segmentation

EMCAD combines multi-scale convolutions and attention to make medical image segmentation decoding cheaper while improving accuracy. · about 33 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 a category to each image location so that a system can outline a polyp, distinguish an organ from surrounding tissue, or separate a lesion from its background. Producing these outlines requires both an understanding of the larger image and sensitivity to small spatial details. EMCAD addresses the computational cost of bringing those kinds of information together. Its contribution is a decoder: the part of a segmentation network that turns features extracted from an image into detailed predictions. The authors ask whether this stage can become substantially cheaper while also improving segmentation quality.

The proposed decoder combines several mechanisms with distinct jobs. Channel attention emphasizes useful feature channels, spatial attention emphasizes useful locations, and grouped attention gates regulate information passing through skip connections. Its main feature-processing block examines several neighborhood sizes through depth-wise convolutions, which process channels separately. Point-wise convolutions and channel shuffling provide interaction between channels. These choices let the decoder gather local information at several scales without relying on the expensive conventional convolution blocks used by its principal predecessor, CASCADE.

The experiments attach EMCAD to the tiny and standard versions of the PVTv2 encoder, producing PVT-EMCAD-B0 and PVT-EMCAD-B2. Across 12 datasets covering six medical segmentation tasks, the larger architecture obtains strong results for polyps, skin lesions, biological structures, breast ultrasound images, abdominal organs, and cardiac structures. Its average DICE score across the 10 binary segmentation datasets is 91.10%. On Synapse abdominal segmentation it reaches 83.63%, and on ACDC cardiac segmentation it reaches 92.12%. The results are not uniformly best on every dataset: on EM, its DICE score of 95.53% falls slightly below AttnUNet’s 95.55%.

The efficiency claim needs a clear boundary. With the standard encoder’s feature widths, EMCAD itself uses 1.91M parameters and 0.381G FLOPs. The complete PVT-EMCAD-B2 architecture is reported with 26.76M parameters and 5.6G FLOPs in the binary segmentation comparison. In the controlled decoder comparison against CASCADE, EMCAD reduces decoder parameters by 79.4% and decoder FLOPs by 80.3%, while improving DICE. These are reductions in the decoder, rather than equivalent reductions in every part of the complete network.

The paper therefore supports a practical architectural conclusion: local refinement and multi-scale processing can remain useful even when their implementation becomes much lighter. Its ablations connect the gains to complementary attention components, a selected mixture of convolution sizes, pretrained encoders, and supervision at intermediate decoding stages. The evidence concerns benchmark segmentation accuracy and theoretical computation. It does not establish clinical reliability, measured performance on a point-of-care device, or universal superiority under every training protocol.

### Ideas worth borrowing

Separate spatial processing from channel mixing. EMCAD repeatedly gives these operations different places in the architecture. Depth-wise convolutions gather information from nearby locations within each channel, while point-wise convolutions combine channels. This division is useful because a dense convolution couples both operations even when the task may not need that coupling everywhere. An engineer can borrow the principle when a feature-refinement stage is expensive: identify which operations need spatial context and which need communication between feature types, then evaluate whether lighter components can serve those purposes separately.

Use different neighborhood sizes for different evidence. The multi-scale block processes the same features with kernels selected from `[1,3,5]`. Those branches offer different spatial views before their outputs are added. The ablations make this idea more specific than a general preference for large receptive fields: mixing scales helps, repeating a scale can hurt, and adding still larger kernels also hurts in the tested settings. The reusable lesson is to treat the collection of receptive fields as a design choice to validate. Similar reasoning could guide other systems that must combine fine detail with broader context, without assuming that the same kernel selection will transfer unchanged.

Give each attention mechanism a clear role. Channel attention asks which feature channels deserve emphasis; spatial attention asks which locations deserve emphasis; the grouped gate controls how features interact during fusion. Their separation makes the architecture easier to reason about than an undifferentiated attention block. It also supports useful ablations, because each component can be removed or substituted. This principle applies beyond image segmentation whenever several forms of selection occur in a pipeline: define the information each selector receives, the axis along which it acts, and the transformation it controls.

Make fusion selective. Skip connections preserve information from earlier encoder stages, but EMCAD does more than pass those features directly into the expanding path. Its gate derives spatial weights from both participating feature maps before fusion. The underlying idea is that retained information should be admitted according to its relevance to the current computation. A different application could use the same principle when combining detailed local evidence with a more abstract representation. What transfers is the question of relevance at the interface; the particular image-based gate would still require adaptation.

Measure the component you replace. The paper reports both complete-network costs and decoder-only comparisons. That distinction makes the efficiency argument assessable: a reduction attributed to a decoder should be measured against another decoder under a comparable encoder. This is a useful experimental habit for any modular system. A large improvement in a small subsystem can matter, but it should not be presented as an equal improvement in the entire application. Keeping component and system measurements separate also helps reveal where the remaining cost lies.

Spend the budget on detail when appropriate. The input-resolution study shows that a smaller encoder with larger images can be competitive with a larger encoder receiving smaller images. For Synapse, the authors favor the tiny architecture when allocating computation to higher resolution. The transferable idea is to compare ways of spending a fixed resource budget rather than treating network size as the only adjustable variable. More spatial detail, more feature capacity, and a more elaborate decoder address different bottlenecks. Their relative value needs an experiment tied to the target task.

Supervise useful intermediate representations. EMCAD produces segmentation predictions at several decoder stages and includes those predictions in training. The deep-supervision ablation shows small benefits on most of the evaluated datasets, with the largest effect on Synapse. An engineer can borrow the broader strategy of giving intermediate stages an explicit task-related objective when those stages should already contain meaningful information. The benefit is an empirical question, however. The paper supports this choice for its segmentation architecture; it does not establish that every additional training head will improve another system.

### How Mova uses it

For Mova, a small transparent language system implemented in Rust, EMCAD is most relevant as an architectural example and an evaluation discipline. The paper concerns image features and pixel labels. It supplies no experiment involving language processing, Rust implementation, or Mova itself. There is therefore no basis for claiming that EMCAD is already part of Mova or that its reported medical segmentation gains predict a language-processing improvement.

A plausible use is to separate inexpensive local processing from interaction between feature channels. In a language system, the analogous design question would concern information within nearby text positions and information exchanged between different internal features. EMCAD suggests investigating those responsibilities separately. That would be a new experiment for Mova, not a direct application of the paper’s medical results. Text positions also do not provide the same spatial structure as an image, so the convolution sizes and attention layout should not be transferred without testing.

The paper also offers a useful way to think about transparency. Each EMCAD component has an identifiable function: selecting channels, selecting locations, incorporating neighboring evidence, adjusting resolution, or controlling fusion. Mova could adopt the same discipline when introducing a component: state its role, expose its inputs and outputs, and compare behavior with that component removed. This would make architectural choices easier to inspect. Attention weights alone would not establish an explanation of the system’s decisions, and EMCAD does not test such an interpretability claim.

The most immediately transferable practice is the accounting. A Rust implementation could report the cost of a proposed module separately from the cost of the complete language system, then evaluate whether that module earns its complexity on the intended tasks. The decoder comparison illustrates why this matters: an impressive component reduction and a complete-system reduction are different claims. Mova could use that distinction when assessing a replacement representation stage, feature mixer, or output component.

These are prospective uses. Establishing an actual connection would require an implementation, a defined language task, a comparison against Mova’s existing behavior, and measurements appropriate to that implementation. Until then, EMCAD contributes a set of testable design questions: where should local context enter, where should features mix, which information should pass through an interface, and how much quality does each unit of computation buy?

### The problem and its context

#### Why decoding matters

Medical segmentation is a dense prediction task. Rather than assigning a category to an entire image, the system must preserve enough spatial information to classify individual locations. A useful representation of an abdominal scan might indicate that an organ is present, yet still be insufficient to trace its outline. The decoder must turn the encoder’s increasingly abstract features into predictions that remain sensitive to location, size, and boundaries.

This creates a tension between context and detail. Broader context helps distinguish structures that look similar locally. Fine spatial evidence helps determine where one structure ends and another begins. The paper presents efficient decoding as the problem of combining these sources of information without making the refinement stage prohibitively expensive. That concern is especially relevant to the authors’ intended setting of restricted computational resources.

An encoder and decoder divide this task. The encoder extracts feature maps at several stages. These maps differ in resolution and channel count, giving the decoder access to different forms of information. The decoder progressively restores spatial resolution and incorporates features retained through skip connections. EMCAD leaves the hierarchical encoder concept intact and changes how the decoder refines and combines its outputs.

The paper belongs to the broader subject of [efficient architectures and compression](https://md.research.elamur.ai/free/en/topics/efficient-models/), but its efficiency mechanism is architectural. It replaces costly processing blocks with depth-wise and grouped operations. The central comparison is therefore about the design of feature processing, rather than removing parameters after training or reducing numerical precision.

#### The U-shaped approach

The authors describe U-shaped segmentation networks as a central foundation of the field. UNet connects stages of an encoding path to corresponding stages of a decoding path. Those skip connections let the expanding path recover information from earlier representations while working towards a detailed output.

Several predecessors modify this arrangement. UNet++ adds nested pathways and dense connections. UNet 3+ incorporates features across resolutions through more comprehensive skip pathways. DC-UNet brings multi-resolution convolution and residual paths into the design. In the paper’s account, these developments share an interest in improving the flow and combination of information at different spatial scales.

Other architectures address related reconstruction problems through different mechanisms. The DeepLab family uses atrous convolution and spatial pyramid processing to incorporate multi-scale information. SegNet carries pooling indices into its upsampling process to help retain boundary information. nnU-Net selects its configuration according to dataset characteristics while using standard U-shaped architectures.

These precedents matter because EMCAD does not introduce the basic idea of restoring resolution or connecting encoder stages to decoder stages. It takes that established structure as a starting point. Its contribution concerns the processing performed along the expanding path and at the points where representations meet.

#### Global relationships and local evidence

The paper contrasts convolutional encoders with [transformers and attention](https://md.research.elamur.ai/free/en/concepts/transformer/). Convolutional networks build representations from local neighborhoods. The authors describe their limited direct access to distant image relationships as a motivation for vision transformers, which use self-attention to connect information across an image.

The related-work discussion traces several changes to convolutional design. ResNet introduces residual connections to support deeper networks. MobileNet uses depth-wise separable convolution to reduce computational demands. EfficientNet provides a coordinated scaling approach. These are relevant ancestors because EMCAD’s decoder borrows the principle of economical convolutional processing instead of discarding convolution altogether.

Among transformers, the paper discusses hierarchical designs that produce features useful for dense prediction. Swin organizes attention through windows. PVT introduces spatial reduction within attention, while PVTv2 adds overlapping patch embedding and changes to attention computation. MaxViT combines convolutional processing with multi-axis attention. The shared importance for EMCAD is their ability to provide features from several stages.

The authors also argue that a representation capable of global interaction may still need help with local spatial relationships. A segmentation decoder has to determine small spatial distinctions even when its encoder already captures broad context. The proposed response is to combine a transformer encoder with local convolutional refinement, choosing inexpensive operations for that refinement.

This is a complementary arrangement. The paper does not show that convolution universally handles local structure better than every attention alternative, nor does it attempt to replace the encoder’s global reasoning. It tests whether a specific local decoder can improve the final segmentation while controlling additional cost.

#### Attention before EMCAD

Earlier segmentation systems already used attention to refine predictions. The paper describes PraNet as using reverse attention, and PolypPVT as combining a PVTv2 backbone with convolutional channel and spatial attention in the decoding process. Attention UNet provides an important precedent for gating information during feature fusion.

CASCADE is the closest decoder reference. It combines channel and spatial attention with a cascaded decoding structure, refining features obtained from an encoder and producing a detailed segmentation. EMCAD shares that broad progression, making CASCADE a more informative comparator than an unrelated complete architecture.

The authors identify two restrictions in CASCADE’s implementation. Its decoding stages rely on repeated conventional convolutions with `3×3` kernels, making them computationally demanding. Its spatial convolution is also single-scale. EMCAD addresses these concerns together by using several depth-wise kernel sizes and by redesigning the gate and upsampling blocks around cheaper operations.

The research question is consequently quite precise. Can a decoder preserve useful attention and progressive fusion, expand its access to local scales, and still require substantially fewer parameters and operations? The experiments compare complete architectures, while the ablations and decoder-only comparison examine that question more directly.

### The method, step by step

#### Follow the feature pyramid

EMCAD receives features from a hierarchical image encoder. The paper denotes its stage outputs as X1, X2, X3, and X4. X4 enters the initial decoding path, while the other stage outputs arrive through skip connections. The decoder works through the hierarchy, refining features and progressively matching the resolution and channel structure of the next stage.

At each decoder stage, a multi-scale convolutional attention module improves the current representation. A segmentation head turns that representation into a prediction map. Between stages, an efficient up-convolution block increases spatial resolution, while a grouped attention gate controls feature interaction before fusion.

From hierarchical image features to segmentation The steps in order.

The diagram describes the progression at a high level. Within the actual decoder, refinement and fusion recur as the expanding path moves through the encoder hierarchy. The architecture therefore uses both multi-resolution information from different encoder stages and multi-scale processing inside each refinement block. Those are related but distinct sources of context.

The implementation is released as EMCAD. The paper’s main instantiated architectures use ImageNet-pretrained PVTv2-B0 and PVTv2-B2 encoders. Their corresponding decoder inputs have channel widths `[32, 64, 160, 256]` and `[64, 128, 320, 512]`. The decoder is designed for hierarchical features more generally, although these PVTv2 variants provide the principal experimental evidence.

#### Select channels, select locations, then refine

The multi-scale convolutional attention module, abbreviated MSCAM, applies its components in a fixed order:

```
MSCAM(x) = MSCB(SAB(CAB(x)))
```

Here, x is the incoming feature tensor. CAB denotes the channel attention block, SAB the spatial attention block, and MSCB the multi-scale convolution block. The parentheses specify the order: channel selection precedes spatial selection, and multi-scale convolution processes the result.

A feature tensor contains information at different image locations across multiple channels. The attention stages multiply that tensor by learned weights. The convolution block then transforms the weighted features. This distinction helps explain why attention and convolution coexist: weighting changes emphasis, while convolution builds new features from the available evidence.

The module does not perform transformer self-attention over every pair of image positions. Its attention mechanisms are constructed from pooling, convolution, and element-wise multiplication. That design is central to the authors’ aim of maintaining inexpensive local refinement.

#### Channel attention

Channel attention summarizes each feature channel in complementary ways. Adaptive maximum pooling extracts its strongest spatial response, while adaptive average pooling captures its overall activity. These summaries pass through point-wise convolutional transformations, are combined, and yield channel weights.

```
CAB(x) = σ(C₂(R(C₁(Pₘ(x)))) + C₂(R(C₁(Pₐ(x))))) ⊙ x
```

In this expression, Pₘ is adaptive maximum pooling over the spatial dimensions, and Pₐ is adaptive average pooling over those dimensions. C₁ and C₂ are point-wise convolutions. R is the ReLU activation, σ is the sigmoid function, and ⊙ denotes element-wise multiplication with the original tensor x.

The intermediate channel width is reduced using the factor `r=1/16` before being restored. The sigmoid supplies weights that are applied across the locations of each channel. A channel can therefore receive less influence throughout the feature map even if its values remain available in the representation.

Maximum and average pooling ask different questions of the same channel. One captures a strong response somewhere in the image; the other captures the channel’s broader spatial activity. The paper follows the CBAM approach in combining these summaries. EMCAD’s novel efficiency argument lies primarily in the surrounding decoder and convolution design, rather than in inventing this channel-attention operation.

#### Spatial attention

The next block computes weights for locations. It first pools across channels, obtaining a map of maximum responses and a map of average responses. A convolution then processes those maps together.

```
SAB(x) = σ(LKC([Chₘₐₓ(x), Chₐᵥg(x)])) ⊙ x
```

Here, Chₘₐₓ selects the maximum value across channels at each spatial position, and Chₐᵥg computes the corresponding average. Square brackets indicate concatenation of the pooled maps. LKC is the large-kernel convolution, σ is sigmoid, and ⊙ multiplies the resulting spatial weights into x.

The convolution uses a `7×7` kernel. Its role is to use a neighborhood around each location when estimating spatial importance. This differs from the channel block, whose pooling removes spatial variation from its summaries. Spatial attention preserves the question of where evidence occurs.

The order also matters conceptually. Spatial attention receives features already reweighted by channel importance. The multi-scale convolution then receives features that have passed through both selections. The paper tests the complete arrangement and broader component choices; it does not establish that this ordering is the best possible ordering among every permutation.

#### Expand, process several scales, and project back

The MSCB follows the general pattern of the inverted residual block associated with MobileNetV2, but changes its spatial processing. It first expands the channel dimension, applies multi-scale depth-wise convolution, shuffles channels, and returns to the original channel width.

```
MSCB(x) = BN(PWC₂(CS(MSDC(R6(BN(PWC₁(x)))))))
```

PWC₁ is the first point-wise convolution and expands the channels with `expansion_factor = 2`. BN denotes batch normalization. R6 is ReLU6, MSDC is the multi-scale depth-wise operation, CS is channel shuffling, and PWC₂ is the point-wise projection back to the original channel count.

This structure gives the spatial branches a wider internal representation without carrying that expanded width into the next decoder stage. The final point-wise convolution also allows information from different channels to interact. That interaction is necessary because a depth-wise convolution processes each channel independently.

Channel shuffling rearranges channels between grouped portions of the representation. The authors use it to support exchange across channels around operations that otherwise restrict such exchange. It should be understood alongside the point-wise projections: the efficiency of depth-wise spatial processing does not mean channel relationships can be ignored throughout the block.

The formula expresses the block’s transformation. Though the paper relates its design to an inverted residual structure, the displayed MSCB equation does not contain an outer addition of x. That distinction matters when reading formulas as implementation specifications. A general architectural analogy should not substitute for the operations explicitly written.

#### The parallel multi-scale operation

The selected MSDC arrangement runs depth-wise branches in parallel and sums their outputs:

```
MSDC(x) = ∑ₖₛ∈KS DWCBₖₛ(x)
```

KS is the set of kernel sizes, and ks identifies a member of that set. DWCBₖₛ is the depth-wise convolution block using that kernel size. The summation combines the branches element by element, so their outputs must have compatible dimensions.

Each branch includes normalization and activation:

```
DWCBₖₛ(x) = R6(BN(DWCₖₛ(x)))
```

DWCₖₛ is a depth-wise convolution with kernel size ks. BN is batch normalization, R6 is ReLU6, and x is the branch input. The branch therefore contributes a transformed response rather than an unactivated convolution result.

The chosen kernels are `[1,3,5]`. A `1×1` branch has no surrounding spatial neighborhood, while the other branches include progressively broader local areas. Adding their responses gives the next operation information derived from different extents of the feature map.

The authors also define a sequential alternative:

```
x = x + DWCBₖₛ(x)
```

Here, x on the right is the current representation, and x on the left is its updated value. DWCBₖₛ applies the branch for the current kernel size. The residual addition means that later branches receive a representation already modified by earlier processing.

This is an update rule rather than an equation asserting that a tensor equals itself plus an arbitrary non-zero tensor. The distinction separates the sequential alternative from the selected parallel arrangement, where branches start from the same input. The ablation finds only a small advantage for parallel processing, together with more stable behavior across runs.

#### Gate the interaction between stages

The large-kernel grouped attention gate, LGAG, receives feature maps denoted g and x. In the methodological description, g comes from the skip connection and x is the upsampled feature map. Separate grouped convolutions process the inputs before their evidence is combined.

The paper prints the gate’s intermediate transformation with nested normalization:

```
qₐₜₜ(g, x) = R(BN(GC_g(g) + BN(GC_x(x))))
```

GC_g and GC_x are the grouped convolutions for the respective inputs. BN denotes batch normalization, R denotes ReLU, and qₐₜₜ is the intermediate attention feature map. Both grouped convolutions use `3×3` kernels.

The surrounding prose describes normalized branches being added, whereas the printed expression places one normalization around the sum and another around the x branch. Those descriptions are not exactly equivalent. The shared architectural point is clear—combine locally processed evidence from both inputs—but the precise normalization placement requires care when reproducing the gate.

The intermediate representation is reduced to a spatial coefficient map and used to weight x:

```
LGAG(g, x) = x ⊙ σ(BN(C(qₐₜₜ(g, x))))
```

C is a `1×1` convolution producing a single-channel map. BN normalizes that map, σ applies sigmoid, and ⊙ multiplies the resulting coefficients into x. The gate therefore changes the strength of the input features according to evidence derived from both participating tensors.

The authors contrast this design with the point-wise processing used in the earlier attention gate. A `3×3` kernel allows the coefficient calculation to depend on neighboring locations. Grouping limits the computation needed for that spatial processing. The gate ablation tests the resulting accuracy and cost together, rather than assuming that a larger kernel must be more expensive overall.

#### Restore resolution efficiently

Between decoder stages, the EUCB increases spatial dimensions and adjusts the channel count:

```
EUCB(x) = C₁×₁(ReLU(BN(DWC(Up(x)))))
```

Up upsamples x with scale factor 2. DWC is a `3×3` depth-wise convolution, BN is batch normalization, and ReLU is the activation. C₁×₁ is the point-wise convolution that changes the number of channels to match the following stage.

Upsampling and feature enhancement are separate operations here. The spatial enlargement provides the required resolution, the depth-wise convolution refines the enlarged map, and the point-wise projection prepares its channel structure for fusion. This avoids using a dense spatial convolution for every part of the transition.

The decoder adds its upsampled refined features to the outputs associated with the corresponding grouped gates. Repeating this process lets information travel from the initial deep representation toward higher-resolution features. The cascaded structure is itself one of the choices examined in the component ablation.

#### Produce predictions at intermediate stages

Each decoder stage has a segmentation head:

```
SH(x) = Conv₁×₁(x)
```

SH denotes the head, x is the refined stage tensor, and Conv₁×₁ is a point-wise convolution. For binary segmentation, its output has 1 channel. For multi-class segmentation, the output channel count matches the number of target classes.

The heads produce maps p₁, p₂, p₃, and p₄. These maps have a training role even when they are not all used directly at inference. They allow losses to act on intermediate decoding stages, rather than placing every supervisory signal only at the end.

For multi-class segmentation, the authors use MUTATION, the combinatorial supervision approach associated with MERIT. Losses are computed for all nonempty combinations of the head predictions:

```
2⁴ − 1 = 15
```

The exponent 4 corresponds to the number of prediction heads. The subtraction excludes the empty combination, leaving 15 combinations whose losses are summed. This is a count of supervised prediction combinations, not an increase in the number of separately trained encoders.

For binary segmentation, the objective combines individual predictions and their sum:

```
ℒtotal = αℒp₁ + βℒp₂ + γℒp₃ + ζℒp₄ + δℒp₁₊p₂₊p₃₊p₄
```

ℒtotal is the total training loss. Each ℒp term evaluates the indicated prediction, while the final term evaluates the sum of all stage maps. The weights α, β, γ, ζ, and δ are each set to `1.0`.

The paper contains an important ambiguity about the final output. Its initial decoder description says the stage maps are added to form the output. The later subsection devoted to output aggregation instead identifies p₄, described as the final decoder-stage prediction, as the selected segmentation map. Sigmoid is then used for binary segmentation and softmax for multi-class segmentation. The latter subsection provides the more explicit inference rule, while the earlier statement should not be silently treated as equivalent.

#### Train under task-specific settings

Training uses PyTorch 1.11.0 on a single NVIDIA RTX A6000 with 48GB memory. AdamW is the optimizer, and the stated learning rate and weight decay are both `1e-4`. The usual schedule is 200 epochs with batches of 16. Synapse instead uses 300 epochs and batch size 6; ACDC uses 400 epochs and batch size 12.

For the polyp datasets and the skin-lesion datasets, images are resized to `352×352`. Training includes scale choices `{0.75, 1.0, 1.25}` and a gradient-clipping limit of 0.5. BUSI, EM, and DSB18 use `256×256` images. Synapse and ACDC use `224×224` images, with random rotation and flipping.

The loss also depends on the task. Binary segmentation combines weighted binary cross-entropy with weighted IoU loss. Synapse and ACDC combine cross-entropy weighted by 0.3 with DICE loss weighted by 0.7. Checkpoint selection is based on DICE. These procedures are part of the experimental package; the reported accuracy is not attributable to the decoder architecture independently of pretraining, augmentation, supervision, and selection.

### Experiments and results

#### What the evaluation measures

The evaluation spans different image types and target structures, giving the decoder several opportunities to fail. Polyps vary in size and appearance, abdominal segmentation distinguishes several organs, and biological imaging includes both nuclei and cellular structure. This breadth strengthens the claim that the design is useful across medical segmentation settings, while leaving open how well it transfers outside the tested protocols.

The principal measure is DICE, an overlap score comparing predicted foreground with annotated foreground:

```
DSC(Y, P) = (2 × |Y ∩ P| / (|Y| + |P|)) × 100
```

Y denotes the reference segmentation and P the prediction. The intersection Y ∩ P contains locations assigned to the target by both. Vertical bars indicate the size of a set. Larger DICE values indicate better overlap.

DICE emphasizes agreement in the segmented region, but it does not directly express every kind of boundary error. The Synapse evaluation therefore also includes mean intersection over union, abbreviated mIoU, and HD95, a boundary-distance measure.

```
IoU(Y, P) = (|Y ∩ P| / |Y ∪ P|) × 100
```

Y and P again denote reference and predicted segmentations. Their union Y ∪ P contains locations included by either map. The score compares their shared region with that combined region. The paper reports mIoU as an additional Synapse measure, although its available narrative does not give the complete comparative mIoU results.

The printed distance expression is:

```
D_H(Y, P) = max{maxᵧ∈Y minₚ∈P d(y, p), maxₚ∈P minᵧ∈Y d(y, p)}
```

Here, y and p are points from Y and P, and d measures their distance. Each inner minimum finds a point’s nearest counterpart; the maxima select the largest nearest-point separation in either direction.

The paper labels its reported measure HD95, but this displayed formula expresses a maximum-based Hausdorff distance without an explicit percentile operation. That discrepancy limits the equation’s usefulness as an exact specification of the reported metric. The results can still be described as the authors’ HD95 results, while keeping the equation and its label distinct.

#### The binary datasets and their splits

The polyp experiments use Kvasir with 1,000 images and ClinicDB with 612 images. Additional polyp datasets are ColonDB with 379 images, ETIS with 196 images, and BKAI with 1,000 images. The authors emphasize variation in image source and in polyp appearance, size, and shape.

Skin-lesion segmentation uses ISIC17 and ISIC18. The former has official partitions containing 2,000 training images, 150 validation images, and 600 testing images. ISIC18 contributes 2,594 images and follows the study’s own partitioning procedure.

For ultrasound breast segmentation, BUSI contributes 647 images, including 437 benign cases and 210 malignant cases. DSB18 supplies 670 images for nuclei segmentation, while EM supplies 30 images for cellular-structure segmentation. These task labels describe what the network segments; the experiment does not evaluate a separate diagnostic decision about malignancy.

The study uses an `80:10:10` training-validation-testing division for its binary datasets other than ISIC17, which retains its official split. This distinction matters when comparing its results with results from another publication. The same dataset name does not ensure that the same images were used for training and testing.

For the main binary comparison, the authors rerun competing methods from their public implementations using their chosen splits. Results are averaged across five runs. The comparison includes convolutional and transformer-based approaches, with systems such as UNeXt, TransFuse, PolypPVT, and PVT-CASCADE discussed in the results.

The operation counts in that comparison are evaluated at `256×256`, except for Swin-UNet, which uses `224×224`. Those accounting resolutions differ from some training image sizes. Readers should therefore interpret FLOPs as measurements under the stated calculation conditions, rather than assuming they describe every training or deployment input.

#### The overall binary result

PVT-EMCAD-B2 obtains an average DICE of 91.10% across the 10 binary datasets. Its complete-network cost is reported as 26.76M parameters and 5.6G FLOPs. PVT-EMCAD-B0 uses 3.92M parameters and 0.84G FLOPs, offering a much smaller complete architecture.

The paper presents the larger variant as the strongest average performer among the compared methods. That average is useful for assessing breadth, but it does not establish equal performance across tasks. Each dataset has its own target, partition, and difficulty, and a high aggregate result can coexist with individual exceptions.

The tiny architecture is important to the paper’s engineering argument. The authors do not only attach a cheaper decoder to a large encoder; they also demonstrate that the decoder can operate with smaller feature widths and a smaller backbone. This makes the efficiency discussion relevant at more than one capacity level.

However, the complete architecture’s costs should remain separate from the decoder’s costs. The 1.91M parameter figure refers to EMCAD at the standard feature widths. It is not the parameter count of PVT-EMCAD-B2. Similarly, the smaller decoder’s 0.506M parameters and 0.11G FLOPs describe the decoder configured for the tiny encoder.

#### Polyps and skin lesions

The authors report that PVT-EMCAD-B2 leads their comparison on every polyp dataset. Relative to PolypPVT, the stated DICE improvements are 1.08% for ClinicDB and 0.78% for ColonDB. The corresponding improvements are 2.36% for ETIS, 1.19% for Kvasir, and 1.79% for BKAI.

These comparisons are accompanied by a cost qualification: the complete PVT-EMCAD-B2 architecture has slightly more parameters and FLOPs than PolypPVT. Its polyp result therefore supports an accuracy advantage under the study’s conditions, rather than a claim that it dominates that particular baseline on every resource measure.

PVT-EMCAD-B0 is also competitive, but the authors identify exceptions to its advantage over earlier methods. PVT-CASCADE performs better on Kvasir and BKAI, while SSFormer-L performs better on ColonDB. This is a useful boundary on the small-architecture claim: a light decoder can support strong results without making the tiny configuration universally best.

For skin lesions, PVT-EMCAD-B2 reaches DICE scores of 85.95% on ISIC17 and 90.96% on ISIC18. The paper reports improvements over DeepLabV3+ of 2.11% and 2.32%, respectively. Against PVT-CASCADE, its stated advantages are 0.45% on ISIC17 and 0.55% on ISIC18.

These gains are relevant to the decoder comparison because PVT-CASCADE uses the earlier cascaded attention approach. They support the claim that cheaper local refinement need not reduce segmentation quality. They do not isolate every training or architectural factor as cleanly as a decoder-only substitution, which the ablation section addresses more directly.

#### Biological images and breast ultrasound

On DSB18, the paper reports the highest nuclei-segmentation performance among its comparison methods, including DeepLabv3+, TransFuse, and PVT-CASCADE. The narrative does not state an exact DSB18 DICE score, so an exact value should not be inferred from the overall binary average or from the claim of leading performance.

EM provides the clearest numerical exception to universal superiority. PVT-EMCAD-B2 attains 95.53% DICE, while AttnUNet reaches 95.55%. The authors emphasize that their architecture uses substantially less computation than this leading comparator.

EM cellular-structure segmentation, DICE EMCAD is close to AttnUNet but does not lead this dataset.

**The numbers**

| System or setting | DICE % |
| --- | --- |
| AttnUNet | 95.55 |
| PVT-EMCAD-B2 (this paper) | 95.53 |

The chart is a comparison of segmentation overlap, not a statistical significance assessment. The paper’s narrative supplies the scores but does not establish that their separation is meaningful relative to run-to-run uncertainty.

On BUSI, PVT-EMCAD-B2 obtains 80.25% DICE and leads the reported breast-ultrasound comparison. The tiny architecture also exceeds UNeXt by a stated 5.54%. The authors identify UNeXt as computationally similar, making that comparison relevant to performance in a smaller resource range.

#### Abdominal organs on Synapse

Synapse contains 30 abdominal CT scans comprising 3,779 axial slices. The study follows the TransUNet partition: 18 scans, containing 2,212 slices, are used for training, and 12 scans are described as validation. The original slices have `512×512` pixels, with 85-198 slices per scan.

The target set includes the aorta and gallbladder, both kidneys, the liver and pancreas, and the spleen and stomach. The experiment segments eight organs instead of every possible anatomical structure visible in the scans. That scope matters when interpreting an average organ score.

PVT-EMCAD-B2 reaches an average DICE of 83.63%. In the main comparison, the authors report an advantage over PVT-CASCADE of 2.57% DICE and an improvement of 4.55 in HD95 distance. They also state that EMCAD leads the individual-organ comparison for six of the eight targets.

The complete numerical results for each organ are not given in the narrative. The qualitative analysis highlights errors around the left kidney and pancreas in competing outputs and describes more accurate delineation by the EMCAD variants. These examples help connect aggregate overlap to visible segmentation behavior, but they remain selected cases.

Some Synapse baseline results are taken from earlier reported comparisons rather than regenerated under the binary experiment’s common-split procedure. This makes the provenance of the abdominal comparison different from the main binary benchmark. The results support the authors’ reported ranking, while leaving methodological differences between sources relevant to a careful reading.

#### Cardiac structures on ACDC

ACDC contains 100 cardiac MRI cases. Its target structures are the right ventricle, myocardium, and left ventricle. The training partition uses 70 cases with 1,930 axial slices; validation uses 10 cases, and testing uses 20 cases.

PVT-EMCAD-B2 achieves an average DICE of 92.12%. The authors describe this as about 0.27% above Cascaded MERIT while using substantially less computation. They also report higher DICE for each of the cardiac targets in the comparison.

As with the abdominal task, the narrative provides a strong aggregate result without all individual target values. It is therefore appropriate to report the stated average and comparative conclusion, but not to reconstruct per-structure scores. A claim about every individual target should remain tied to the authors’ comparison rather than expanded into an untested clinical interpretation.

### What the ablations show

#### The components contribute together

The component study uses the PVTv2-B2 encoder on Synapse. It begins with the encoder and progressively introduces the cascaded structure, the grouped gate, and the multi-scale attention module. This design helps distinguish the contribution of a decoder pathway from the contribution of its attention and refinement components.

The cascaded structure improves performance relative to the non-cascaded alternative. Both LGAG and MSCAM add further benefit, with MSCAM contributing more in the reported comparison. Using the gate and the multi-scale module together produces the strongest DICE result, 83.63%.

The authors describe the full addition as an improvement of about 3.53% DICE, accompanied by 1.91M parameters and 0.381G FLOPs. This connects quality and cost at the component level. It also suggests that selective fusion and local feature refinement address complementary problems rather than serving as interchangeable additions.

The evidence does not isolate every internal part of MSCAM. In particular, its contribution combines channel attention, spatial attention, and the multi-scale convolution block. The component result supports that module as a package, while more specific claims about its internal operations depend on the other ablations.

#### Scale diversity matters more than simply adding kernels

The kernel study evaluates Synapse and ClinicDB with the PVTv2-B2 encoder. Moving from a `1×1` kernel to `3×3` improves performance. Combining those kernel sizes improves it further, indicating value in retaining more than one spatial extent.

Using repeated `3×3` kernels does not produce the same benefit. Performance instead declines in that tested setting. This is an important control because it weakens the explanation that improvement comes merely from adding another convolution branch.

Adding `5×5` to the `1×1` and `3×3` branches gives the strongest result on both datasets. Additional `7×7` and `9×9` branches reduce performance. The selected `[1,3,5]` configuration is therefore an empirical choice supported by the study, not an assertion that larger spatial context is always beneficial.

This result also limits how the paper’s multi-scale argument should be generalized. Different receptive fields can provide complementary information, but more scales can introduce unhelpful processing. The study establishes the selected mixture for its tested settings instead of a universal kernel recipe.

#### The direct comparison with CASCADE

The decoder-only comparison is the clearest test of the efficiency claim. With PVTv2-B2, EMCAD uses 79.4% fewer decoder parameters and 80.3% fewer decoder FLOPs than CASCADE. The associated DICE improvement is 0.85%.

With PVTv2-B0, the reported decoder reductions are 78.1% in parameters and 74.9% in FLOPs, accompanied by a DICE improvement of 1.43%. The benefit therefore appears with both tested encoder sizes instead of depending entirely on the standard encoder’s capacity.

The 0.85% result belongs to this controlled decoder comparison. The main Synapse results describe a 2.57% advantage over PVT-CASCADE in their broader comparison. Those are separate reported comparisons and should not be treated as interchangeable measurements of a single substitution.

The practical conclusion is strong but bounded: under the decoder comparison’s conditions, the lighter implementation improves segmentation rather than merely preserving it. It does not follow that the same parameter reductions apply to the entire encoder-decoder architecture.

#### Parallel processing is a modest preference

The authors compare parallel depth-wise branches with the sequential residual arrangement on Synapse and ClinicDB. Parallel processing produces improvements ranging from 0.03% to 0.15%, while the sequential alternative has higher standard deviations across runs.

They describe the arrangement choice as having no major impact. The preference for parallel processing is therefore based on a small accuracy advantage and more stable repeated results. The larger architectural finding is the usefulness of multi-scale depth-wise processing, rather than a dramatic superiority of parallel execution.

This distinction is valuable when deciding what to borrow. A reader should not assign the main performance gains to branch arrangement when the study itself presents that effect as modest.

#### The redesigned gate reduces its own cost

The gate study substitutes LGAG for the earlier attention gate. For PVT-EMCAD-B0, the reported parameter reduction is 82.57%, and the FLOP reduction is 67.06%. For PVT-EMCAD-B2, those reductions are 91.17% and 83.03%, respectively.

These figures concern the gates under comparison. They are neither complete-decoder reductions nor complete-network reductions. The study reports the combined cost of the gate instances at `256×256` input resolution.

The new gate also improves DICE in the reported study. Its larger spatial kernel therefore does not imply greater overall cost than the point-wise predecessor, because grouping changes the channel computation. The larger relative savings with the standard encoder support the authors’ claim that the design scales favorably as feature widths grow.

#### Pretraining and intermediate supervision matter

On Synapse, ImageNet-pretrained encoders improve the tiny architecture by 4.5% DICE and 5.92% mIoU, with a reported HD95 improvement of 2.54. For the standard architecture, the corresponding improvements are 3.45%, 4.44%, and 3.15.

The authors interpret transfer as having a greater relative effect on the smaller architecture. They also report improvements across individual organs except the gallbladder. These observations establish that the final results depend materially on the pretrained representation; they are not evidence for the decoder operating equally well from scratch.

Removing deep supervision produces slightly worse DICE on six of the seven evaluated datasets. Its largest effect appears on Synapse. This supports keeping intermediate prediction losses in the training procedure, while showing that their effect is neither uniform nor described as large everywhere.

#### Resolution changes the resource decision

The resolution study reports improving Synapse DICE as input size increases, accompanied by higher FLOPs. At `512×512`, PVT-EMCAD-B0 obtains 85.52% DICE with 3.36G FLOPs. PVT-EMCAD-B2 reaches 86.53% with 22.39G FLOPs at that resolution.

Synapse segmentation at 512×512, DICE The standard architecture scores higher at the same large input resolution.

**The numbers**

| System or setting | DICE % |
| --- | --- |
| PVT-EMCAD-B0 | 85.52 |
| PVT-EMCAD-B2 (this paper) | 86.53 |

The authors also compare the larger architecture at `256×256`, using 5.60G FLOPs, with the tiny architecture at `512×512`. The former has a stated 1.05% lower DICE. This supports their preference for the tiny architecture when allocating resources to larger images.

That conclusion concerns a particular tradeoff on Synapse. It does not establish that smaller encoders are always preferable. It shows that preserving spatial detail can be a better investment than increasing encoder capacity under some of the tested conditions.

### Limitations

#### Boundaries in the authors’ claims

The authors explicitly position EMCAD as a decoder for 2D medical segmentation. Their experiments operate on images or axial slices, even when the underlying datasets contain CT or MRI scans. The paper does not evaluate a volumetric decoder that reasons directly across the full scan.

The conclusion presents broader semantic segmentation and point-of-care use as promising directions. Those statements describe potential applications. The demonstrated evidence consists of segmentation benchmarks, parameter counts, and FLOP estimates, rather than a deployed medical workflow.

The paper does not contain a separate, developed limitations discussion. Its scope must therefore be read from the architecture, experiments, and stated application goals. The distinctions below are conclusions a careful reader can draw from that setup.

#### Resource estimates do not establish deployment performance

Parameters and FLOPs are useful accounting measures, but neither directly reports response time on a target device. The experiments use an RTX A6000 for training. They do not provide measured latency, energy use, or end-to-end memory requirements for a point-of-care installation.

This matters because the efficiency story includes depth-wise convolution, grouping, pooling, shuffling, and upsampling. A practical implementation must execute the whole sequence. The paper demonstrates lower counted computation; it does not measure how every intended runtime handles those operations.

The favorable decoder reductions also leave the encoder in place. A complete system can therefore remain much larger than its decoder. The authors supply enough separate figures to recognize this distinction, and deployment conclusions should preserve it.

#### Benchmark breadth has methodological boundaries

Evaluating several tasks is stronger evidence than evaluating a single target, but the tasks share a dense image-prediction setting. They do not establish transfer to unrelated data structures or to every medical imaging modality. Similarly, the stated compatibility with hierarchical encoders is broader than the main empirical coverage, which centers on the PVTv2 variants.

The binary study uses its own partitions for most datasets. This makes its reproduced-baseline comparison useful internally, while limiting direct comparison with scores obtained under other splits. The polyp datasets contain images from different sources, but the experiment does not describe training on selected centers and holding an entirely separate center out as the central protocol.

The dataset description also does not fully establish patient-level or acquisition-level independence for every binary split. It would be inappropriate to infer such independence solely from the `80:10:10` ratio. That is a reporting boundary, not evidence that leakage occurred.

Synapse is described using training and validation scans, while the reported comparative performance is discussed as the main benchmark outcome. The narrative does not describe a further independent partition beyond those scans. Claims about unseen clinical deployment should therefore remain separate from performance on that evaluation arrangement.

#### Not every reported advantage has uncertainty attached

Many results are averaged across five runs, which helps reduce dependence on a single training run. However, the narrative does not supply uncertainty or significance evidence for every comparison. Small numerical advantages should consequently remain descriptive.

The EM result illustrates this issue particularly well. The reported scores identify the higher mean, but they do not show that the ordering is stable enough to support a broad superiority claim. The same caution applies to the modest parallel-versus-sequential improvements.

Selected qualitative images provide additional insight into errors, especially around abdominal structures and polyps. They do not measure how frequently those errors occur across the evaluation set. Visual examples complement the metrics rather than replacing a systematic failure analysis.

#### Some specifications require reconciliation

The output description alternates between adding stage maps and selecting p₄. The gate’s written equation and prose differ in normalization placement. The metric section names HD95 while displaying a maximum-based Hausdorff expression.

These are distinct ambiguities, and none requires dismissing the empirical results. They do mean that the mathematical presentation alone is insufficient for an exact reproduction of every implementation detail. A careful implementation should resolve each discrepancy rather than silently choosing whichever version is most convenient.

Finally, the paper’s attention mechanisms are designed to improve segmentation. Their weights are not evaluated as explanations for clinicians, and the study does not establish calibrated confidence, diagnostic validity, or safety in treatment decisions. Those are separate questions from whether a predicted mask overlaps an annotation accurately.

### What came after

A specific lineage of later studies building on EMCAD is not established in this account. It would be unjustified to attribute a later architecture, application, or improvement to the decoder without evidence of that connection.

The paper itself closes by proposing that its decoder could support additional medical and semantic segmentation tasks. That is a research direction instead of a demonstrated subsequent result. The clearest questions for future evaluation follow from its existing evidence: whether the same component savings hold with other hierarchical encoders, whether they produce measured benefits on constrained hardware, and whether the chosen multi-scale processing remains useful under different data conditions.

EMCAD leaves a concrete contribution to investigate: a decoder can retain progressive fusion, several forms of attention, and multiple spatial scales while replacing much of its expensive convolutional processing. Its experiments establish the value of that combination within the tested segmentation setting. Later uptake, broader applicability, and deployment performance require their own evidence.

## Cite

Cite as Md Mostafijur Rahman, Mustafa Munir and Radu Marculescu. 2024. EMCAD: Efficient Multi-Scale Convolutional Attention Decoding for Medical Image Segmentation. IEEE Computer Society Conference on Computer Vision and Pattern Recognition/Proceedings - IEEE Computer Society Conference on Computer Vision and Pattern Recognition/Proceedings.

The paper itself, not this page. BibTeX from the library's record of the work. [DOI 10.1109/cvpr52733.2024.01118](https://doi.org/10.1109/cvpr52733.2024.01118) · [arXiv 2405.06880](https://arxiv.org/abs/2405.06880)

```bibtex
@inproceedings{rahman2024emcad,
  title = {{EMCAD: Efficient Multi-Scale Convolutional Attention Decoding for Medical Image Segmentation}},
  author = {Md Mostafijur Rahman, Mustafa Munir and Radu Marculescu},
  booktitle = {IEEE Computer Society Conference on Computer Vision and Pattern Recognition/Proceedings - IEEE Computer Society Conference on Computer Vision and Pattern Recognition/Proceedings},
  year = {2024},
  doi = {10.1109/cvpr52733.2024.01118},
  eprint = {2405.06880},
  archivePrefix = {arXiv},
  url = {https://doi.org/10.1109/cvpr52733.2024.01118}
}
```

> 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)
