Boundary aware knowledge distillation for lightweight dermoscopy segmentation

Skin diseases are spread over a wide range of conditions and remain a major public health problem for humans. However, the current dermoscopy segmentation models are either too expensive or exhibit limited boundary fidelity for real-time applications. There is little scope for application on low-resource devices. In this work, we present a selective knowledge distillation framework that transfers structural and semantic knowledge from a base model to a lightweight student network. A frozen SAM-Med2D teacher provides per-pixel supervision during training, and knowledge transfer is dynamically modulated using boundary-aware weighting and uncertainty gating to focus on structurally important and reliable regions. During training, the teacher is guided by bounding-box prompts from ground truth masks, whereas the student performs fully prompt-free inference at test time. The proposed method is tested on ISIC-2018 and PH2. It measures the segmentation accuracy (Dice, IoU), boundary quality (Boundary-F1, HD95), and calibration metrics (ECE, Brier score). On ISIC-2018, the model achieves 0.95 Dice, 0.91 IoU, 0.83 BF1, 5.7 HD95, 2.7% ECE, and 0.045 Brier score, with only 2.9M parameters. The proposed student model exhibits a small performance gap compared to prompt-based teacher models, but enables efficient, prompt-free inference while showing promising segmentation accuracy, boundary fidelity, and calibration on the evaluated datasets. The final assessment marks a viable step toward its clinical application.

Authors

Institutions

Publication Details

Journal
Engineering Science and Technology an International Journal
Published
2026-12-02
DOI
https://doi.org/10.1016/j.jestch.2026.102597
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

Boundary aware knowledge distillation for lightweight dermoscopy segmentation

Shajar Abbas, Saima Riasat, Akhtar Jamıl, Mohamed R. Ali et al.
Engineering Science and Technology an International Journal
Cutaneous Melanoma Detection and Management
article

Boundary aware knowledge distillation for lightweight dermoscopy segmentation

Shajar Abbas, Saima Riasat, Akhtar Jamıl, Mohamed R. Ali, Syed Modassir Hussain, Kamran Riasat, Aymen Flah, Sania Zeb
article en

Abstract

Skin diseases are spread over a wide range of conditions and remain a major public health problem for humans. However, the current dermoscopy segmentation models are either too expensive or exhibit limited boundary fidelity for real-time applications. There is little scope for application on low-resource devices. In this work, we present a selective knowledge distillation framework that transfers structural and semantic knowledge from a base model to a lightweight student network. A frozen SAM-Med2D teacher provides per-pixel supervision during training, and knowledge transfer is dynamically modulated using boundary-aware weighting and uncertainty gating to focus on structurally important and reliable regions. During training, the teacher is guided by bounding-box prompts from ground truth masks, whereas the student performs fully prompt-free inference at test time. The proposed method is tested on ISIC-2018 and PH2. It measures the segmentation accuracy (Dice, IoU), boundary quality (Boundary-F1, HD95), and calibration metrics (ECE, Brier score). On ISIC-2018, the model achieves 0.95 Dice, 0.91 IoU, 0.83 BF1, 5.7 HD95, 2.7% ECE, and 0.045 Brier score, with only 2.9M parameters. The proposed student model exhibits a small performance gap compared to prompt-based teacher models, but enables efficient, prompt-free inference while showing promising segmentation accuracy, boundary fidelity, and calibration on the evaluated datasets. The final assessment marks a viable step toward its clinical application.

Engineering Science and Technology an International JournalVol. 85
VSB - Technical University of Ostrava (CZ), Applied Science Private University (JO), National University of Computer and Emerging Sciences (PK), Biruni University (TR), Islamic University of Madinah (SA), Sohar University (OM), Fatima Jinnah Women University (PK), Chitkara University (IN)
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