Skip to content
DraconiticResearch
Search Sources API
181,716 studies31 sourcesUpdated 7 min ago
PreprintCC BY-NCbioRxiv

MaxCAT-Net: Hybrid Transformer-Based Skin Lesion Classification and Lightweight Segmentation with Calibration and Cross-Dataset Validation

  1. 1International Islamic University Chittagong

Abstract

Class imbalance, poor confidence calibration, and limited generalization under varying imaging conditions are major challenges in automated dermoscopic skin lesion analysis. We propose a hybrid classifier, MaxCAT-Net (MaxViT + CBAM + Attention Transformer), consisting of a pretrained MaxViT-Tiny backbone combined with CBAM and a lightweight two-layer Transformer encoder. We also evaluate four encoder-decoder networks for lesion segmentation as a separate task using ISIC 2018 Task 1. After removing exact and near-duplicate images, the remaining 10,012 images were divided into lesion-wise training, validation, and test sets using a 72/14/14 split, ensuring that images from the same lesion did not appear across multiple subsets. On the test set (n = 1,405), MaxCAT-Net outperformed the ResNet152-CBAM, MobileNetV3-CBAM, GhostNet-hybrid, and standalone MaxViT-Tiny-CBAM baselines, achieving an accuracy of 0.869 (95% CI: 0.847-0.890), balanced accuracy of 0.742, macro-F1 of 0.751, and macro-AUC of 0.944. However, ablation-related macro-F1 improvements (0.017-0.022) were not statistically conclusive. Temperature scaling reduced the expected calibration error (ECE) from 0.099 to 0.038. On the PAD-UFES-20 dataset, accuracy decreased to 0.341 and melanoma recall to 0.096, while melanoma recall on HAM10000 was only 0.587. For segmentation, a Swin-T-encoder U-Net achieved a Dice score of 0.903 on 520 test images, whereas a FasterNet-T0 U-Net, with approximately one-tenth the number of parameters, achieved a Dice score of 0.901 (Holm-adjusted p < 0.002). A standard U-Net achieved a significantly lower Dice score of 0.888. All results are based on a single random seed and should therefore be interpreted as preliminary trends rather than definitive evidence of improvement.

Related

  1. A lightweight privacy-aware federated vision transformer for tomato leaf disease classification
    Debangana Ram, Manasi Gyanchandani, Akhtar Rasool +1
    Scientific ReportsPeer-reviewedCC BY-NC-ND 4.0Full textPlant biologyCrossref
  2. Lightweight frequency-aware hybrid vision transformer for fine-grained plant disease recognition
    Kun Li, Li Dong, Jing Qian +3
    Frontiers in Plant SciencePeer-reviewedCC BY 4.0Full textPlant biologyCrossrefPMC
  3. Lightweight CNN and transformer detectors for real-time single-fruit date-variety recognition on edge GPU hardware
    Adnan Miski, Moayad Alshangiti
    PLOS OnePeer-reviewedCC BY 4.0Full textGalaxiesNeurosciencePLOSPMC
  4. Automatic bridge crack detections: A lightweight segmentation model for UAV inspection
    Xuwei Dong, Zhibing Yu, Jiashuo Yuan +1
    PLOS OnePeer-reviewedCC BY 4.0Full textNeurosciencePLOS
  5. GAMPoint: Geometry-augmented vision transformer with a multimodal-ready interface for 3D point-cloud segmentation
    Xinyu Mu, Xuan He, Ziqi Huang +1
    PLOS OnePeer-reviewedCC BYFull textBiophysicsNeurosciencePLOSEurope PMC
BibTeX
@misc{prince2026maxcatnet,
  title = {{MaxCAT-Net: Hybrid Transformer-Based Skin Lesion Classification and Lightweight Segmentation with Calibration and Cross-Dataset Validation}},
  author = {S. A. Prince and I. F. Shorna},
  howpublished = {bioRxiv},
  year = {2026},
  month = nov,
  doi = {10.64898/2026.11.01.763389},
  url = {https://www.biorxiv.org/content/10.64898/2026.11.01.763389v1},
  note = {CC BY-NC},
}
RIS
TY  - UNPB
TI  - MaxCAT-Net: Hybrid Transformer-Based Skin Lesion Classification and Lightweight Segmentation with Calibration and Cross-Dataset Validation
AU  - S. A. Prince
AU  - I. F. Shorna
PY  - 2026
DA  - 2026/11/01
PB  - bioRxiv
DO  - 10.64898/2026.11.01.763389
UR  - https://www.biorxiv.org/content/10.64898/2026.11.01.763389v1
AB  - Class imbalance, poor confidence calibration, and limited generalization under varying imaging conditions are major challenges in automated dermoscopic skin lesion analysis. We propose a hybrid classifier, MaxCAT-Net (MaxViT + CBAM + Attention Transformer), consisting of a pretrained MaxViT-Tiny backbone combined with CBAM and a lightweight two-layer Transformer encoder. We also evaluate four encoder-decoder networks for lesion segmentation as a separate task using ISIC 2018 Task 1. After removing exact and near-duplicate images, the remaining 10,012 images were divided into lesion-wise training, validation, and test sets using a 72/14/14 split, ensuring that images from the same lesion did not appear across multiple subsets. On the test set (n = 1,405), MaxCAT-Net outperformed the ResNet152-CBAM, MobileNetV3-CBAM, GhostNet-hybrid, and standalone MaxViT-Tiny-CBAM baselines, achieving an accuracy of 0.869 (95% CI: 0.847-0.890), balanced accuracy of 0.742, macro-F1 of 0.751, and macro-AUC of 0.944. However, ablation-related macro-F1 improvements (0.017-0.022) were not statistically conclusive. Temperature scaling reduced the expected calibration error (ECE) from 0.099 to 0.038. On the PAD-UFES-20 dataset, accuracy decreased to 0.341 and melanoma recall to 0.096, while melanoma recall on HAM10000 was only 0.587. For segmentation, a Swin-T-encoder U-Net achieved a Dice score of 0.903 on 520 test images, whereas a FasterNet-T0 U-Net, with approximately one-tenth the number of parameters, achieved a Dice score of 0.901 (Holm-adjusted p < 0.002). A standard U-Net achieved a significantly lower Dice score of 0.888. All results are based on a single random seed and should therefore be interpreted as preliminary trends rather than definitive evidence of improvement.
ER  -