HLE-ViT: a hierarchical lesion-enhanced global context vision transformer for multi-class skin lesion classification

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.

Authors

Institutions

Publication Details

Journal
Frontiers in Medicine
Published
2026-11-25
DOI
https://doi.org/10.3389/fmed.2026.1970213
Primary Topic
Cutaneous Melanoma Detection and Management
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
article

HLE-ViT: a hierarchical lesion-enhanced global context vision transformer for multi-class skin lesion classification

Caijian Hua, Caorong Xiang, Liuying Li, Hanlin Wang
Frontiers in Medicine
Cutaneous Melanoma Detection and Management
article

HLE-ViT: a hierarchical lesion-enhanced global context vision transformer for multi-class skin lesion classification

Caijian Hua, Caorong Xiang, Liuying Li, Hanlin Wang
article en

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.

Frontiers in MedicineVol. 13
Zigong First People's Hospital (CN), Sichuan University of Science and Engineering (CN)
Cutaneous Melanoma Detection and Management
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon