HLE-ViT: a hierarchical lesion-enhanced global context vision transformer for multi-class skin lesion classification
Caijian Hua, Caorong Xiang, Liuying Li, Hanlin Wang
Key points
From the paper's conclusion- Method To address these challenges, we propose HLE-ViT, a stage-matched hierarchical lesion enhancement framework built on a local–global context Vision Transformer.
Abstract
Introduction Accurate skin lesion classification is central to computer-aided dermatological diagnosis. However, reliable classification remains challenging because different lesion categories often share similar visual appearances, whereas lesions within the same category can vary substantially. Although existing deep learning methods can extract discriminative representations from dermoscopic images, they often fail to adequately capture and integrate low-level, fine-grained lesion cues with high-level semantic relationships and spatial structure. Method To address these challenges, we propose HLE-ViT, a stage-matched hierarchical lesion enhancement framework built on a local–global context Vision Transformer. HLE-ViT deploys distinct enhancement modules according to the representational characteristics of different network stages. Specifically, the Shallow Saliency Enhancement Module (SSEM) performs neuron-wise recalibration of shallow feature responses through a parameter-free attention mechanism, whereas the Deep Semantic-Coordinate Module (DSCM) combines multi-token attention-response mixing with height- and width-dependent feature recalibration in deep stages. By integrating SSEM and DSCM, HLE-ViT provides stage-matched enhancement of shallow and deep feature representations. Results We evaluated HLE-ViT on three publicly available dermoscopic image datasets, HAM10000, ISIC 2019, and Derm7pt. HLE-ViT achieved accuracies of 93.55%, 90.08%, and 80.30%, with corresponding macro-F1 scores of 92.14%, 89.72%, and 74.45%, respectively, outperforming several representative comparison models across the principal evaluation metrics. Component ablation and stage-position ablation experiments support both the effectiveness of the proposed enhancement modules and the rationale for their stage-matched deployment. Stage-wise feature-response analysis further indicates that SSEM and DSCM are associated with more spatially coherent responses in shallow and deep stages, respectively, while deep-representation separability analysis shows lower intra-class dispersion and improved overall separability of the final deep representations. Conclusion These findings indicate that tailoring feature enhancement to the representational characteristics of different network stages can improve multi-class skin lesion classification. By applying differentiated processing to shallow and deep feature representations within a unified framework, HLE-ViT provides a stage-matched design strategy for dermoscopic image classification.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Spotting the Spot: Deep Transformer-Attention Networks for Skin Lesion AnalysisBioengineering · 2026
- Hybrid vision transformer and graph neural network model with region-adaptive attention for enhanced skin cancer predictionScientific Reports · 2026
- A Hybrid Vision Transformer Based Edge‐Guided Boundary Attention U‐Net for Skin Lesion SegmentationInternational Journal of Imaging Systems and Technology · 2026
- DermaScanAI an explainable hybrid deep learning framework for automated skin lesion classification using dual attention and metadata fusionScientific Reports · 2026
- Foundation-Model-Driven Skin Lesion Segmentation and Classification Using SAM-Adapters and Vision TransformersDiagnostics · 2026
- Transformer-Based Foundation Learning for Robust and Data-Efficient Skin Disease ImagingDiagnostics · 2026