Ayush Deshmukh Home

Cascaded Atrous Group Attention for Mpox

A Cascaded Dilated Convolution Approach for Mpox Lesion Classification · DAGM GCPR 2025

Ayush Deshmukh

TL;DR I designed a small attention module (CAGA) and added it to EfficientViT-L1. The result classifies Mpox skin lesions at 98% accuracy on MCSI with 37.5% fewer parameters than the original backbone, and it is the most accurate model on all three datasets I tested.

98%accuracy on MCSI
37.5%fewer parameters than EfficientViT-L1
4.86GFLOPs, 3.5× less than ViT-Base
3/3datasets where it's the most accurate

The problem

Mpox lesions look a lot like chickenpox, measles and even acne, and lab tests are slow. Deep learning can help, but when I read the existing Mpox papers two things kept bothering me. Most were tested on a single dataset, and most compared attention models against a handful of CNNs. So I set two goals: a model that is accurate and small, and an evaluation that is actually fair, with three datasets, 10-fold cross-validation and strong CNN, ViT and hybrid baselines.

Accuracy versus parameters and FLOPs for CAGA and six baseline models on three datasets.
Accuracy vs. size. EfficientViT-CAGA (★) is the most accurate model on MCSI, MSID and MSLD, while using fewer parameters (left) and FLOPs (right) than most of the alternatives.

What I built

Architecture: CAGA inside the EfficientViT network, and the cascaded group attention with atrous attention per head.
CAGA inside EfficientViT. Where the network normally uses attention, I swap in CAGA (left). Inside it, every attention head runs Cascaded Atrous Attention, and each head's output is passed on to the next head (right).
Diagram of cascaded atrous attention across three dilation rates.
Cascaded Atrous Attention. Attention at each dilation rate feeds the next, and all three are merged back at the original resolution.

Results

Accuracy on MCSI is the mean of 10-fold cross-validation. Parameters are for the MCSI model.

ModelParamsMCSI acc.MSLD acc.
ResNet-10147.4M0.8925 ± 0.0490.9593
MobileNetV3-Large7.6M0.9375 ± 0.0540.9781
DeiT3-Medium41.5M0.9575 ± 0.0330.9938
ViT-Base88.7M0.9575 ± 0.0350.9938
CoAtNet-141.7M0.9675 ± 0.0370.9906
EfficientViT-L158.9M0.9725 ± 0.0180.9875
EfficientViT-CAGA (mine)36.8M0.9800 ± 0.0230.9969

Full results on all three datasets

The complete tables from the paper (Tables I, II and IV). Bold is the best value in a column and underline the second best; for parameters the smallest counts as best.

MCSI mean over 10-fold cross-validation, ± std underneath

ModelParamsOverallClasswise accuracy
AccuracyPrecisionRecallF1MpoxNormalChickenpoxAcne
ResNet-10147.4M0.8925± 0.0490.8908± 0.0560.891± 0.0590.884± 0.0600.8667± 0.1160.8326± 0.1310.8639± 0.1261.0± 0.0
MobileNetV3-Large7.6M0.9375± 0.0540.9433± 0.0520.9473± 0.0500.9391± 0.0530.9063± 0.1220.9205± 0.1300.9468± 0.0931.0± 0.0
DeiT3-Medium41.5M0.9575± 0.0330.960± 0.0310.958± 0.0330.956± 0.0350.9538± 0.0650.9707± 0.0640.9188± 0.1201.0± 0.0
ViT-Base88.7M0.9575± 0.0350.9578± 0.0330.9562± 0.0360.9542± 0.0360.9180± 0.0810.9923± 0.0240.9207± 0.1181.0± 0.0
EfficientViT-L158.9M0.9725± 0.0180.9727± 0.0170.9744± 0.0200.9714± 0.0190.9517± 0.0660.9718± 0.0620.9675± 0.07071.0± 0.0
CoAtNet-141.7M0.9675± 0.0370.971± 0.0350.9671± 0.0370.967± 0.0370.9700± 0.0510.9818± 0.0570.9325± 0.1011.0± 0.0
EfficientViT-CAGA (mine)36.8M0.98± 0.02290.9789± 0.0250.9795± 0.0260.9781± 0.0250.9690± 0.0650.9789± 0.0450.9675± 0.0711.0± 0.0

MSID one 80/20 train–test split, so no ±

ModelParamsOverallClasswise accuracy
AccuracyPrecisionRecallF1ChickenpoxMeaslesMpoxNormal
ResNet-10143.5M0.89610.86330.87820.86860.7620.83330.8750.9831
MobileNetV3-Large5.5M0.94810.940.9270.93270.90470.94440.91071.0
DeiT3-Medium38.8M0.94810.91590.93080.92290.80950.88890.98210.9831
ViT-Base86.5M0.92860.90970.91540.91130.85710.88890.8931.0
EfficientViT-L158.9M0.94810.90820.92730.91650.7610.88890.98211.0
CoAtNet-141.7M0.95450.92010.94540.93170.80950.88890.98211.0
EfficientViT-CAGA (mine)37.8M0.95450.95230.93760.94460.95240.94440.94640.9661

MSLD one evaluation, so no ±

ModelParamsOverallClasswise accuracy
AccuracyPrecisionRecallF1MpoxOthers
ResNet-10147.1M0.95930.95920.95860.95890.9560.960
MobileNetV3-Large6.8M0.97810.97820.97760.97790.9790.9974
DeiT3-Medium38.8M0.99380.99370.99370.99370.9930.994
ViT-Base86.5M0.99380.9930.9940.9940.9861.0
EfficientViT-L142M0.98750.9870.9880.9870.9790.994
CoAtNet-141.7M0.99060.990.990.990.9860.994
EfficientViT-CAGA (mine)36.8M0.99690.9970.9970.9971.00.994

Is it looking at the right thing?

Skin lesion images next to Grad-CAM heatmaps for Mpox and other classes.
Grad-CAM on MSLD. The top row shows Mpox and the bottom row other conditions. The model's attention lands on the lesions, not on the skin or background around them.

How it started

This began as my research internship at the CANDLE Research Lab, IIT Roorkee, working with Prof. Sparsh Mittal. The first version used only cascaded group attention and got 97.5% on MCSI. I then extended it on my own, adding the dilated-convolution cascade inside each head, and that is what turned it into this single-author paper.

Abstract

The global outbreak of the Mpox virus, classified as a Public Health Emergency of International Concern (PHEIC) by the World Health Organization, presents significant diagnostic challenges due to its visual similarity to other skin lesion diseases. Traditional diagnostic methods for Mpox, which rely on clinical symptoms and laboratory tests, are slow and labor intensive. Deep learning-based approaches for skin lesion classification offer a promising alternative. However, developing a model that balances efficiency with accuracy is crucial to ensure reliable and timely diagnosis without compromising performance. This study introduces the Cascaded Atrous Group Attention (CAGA) module to address these challenges, combining the Cascaded Atrous Attention and the Cascaded Group Attention mechanisms. The Cascaded Atrous Attention module utilizes dilated convolutions and cascades the outputs to enhance multi-scale representation. This is integrated into the Cascaded Group Attention mechanism, which reduces redundancy in Multi-Head Self-Attention. By integrating the Cascaded Atrous Group Attention module with EfficientViT-L1 as the backbone architecture, this approach achieves state-of-the-art performance, reaching an accuracy of 98% on the Mpox Close Skin Image (MCSI) dataset while reducing model parameters by 37.5% compared to the original EfficientViT-L1. The model's robustness is demonstrated through extensive validation on two additional benchmark datasets, where it consistently outperforms existing approaches.

BibTeX

@inproceedings{deshmukh2025cascaded,
  title     = {A Cascaded Dilated Convolution Approach for Mpox Lesion
               Classification},
  author    = {Deshmukh, Ayush},
  booktitle = {DAGM German Conference on Pattern Recognition},
  series    = {Lecture Notes in Computer Science},
  publisher = {Springer},
  pages     = {18--27},
  year      = {2025},
  doi       = {10.1007/978-3-032-12840-9_2}
}