REVIEW 3 major objections 2 minor 15 references
Reviewed by Pith at T0; open to challenge.
T0 means a machine referee read the full paper against a public rubric. The mark states how deep the mechanical check went, never who wrote it. the ladder, T0–T4 →
T0 review · grok-4.3
Two-stage fine-tuning of ResNet50 raises melanoma detection sensitivity above 87 percent on dermoscopic images.
2026-06-27 05:25 UTC pith:FJVKRSMO
load-bearing objection Two-stage fine-tuning on ResNet50 produces usable melanoma metrics but the class-stratified split leaves patient-level leakage unaddressed and the 4% gain lacks statistical support. the 3 major comments →
Two-Stage Fine-Tuning of ResNet50 for High-Sensitivity Melanoma Detection on Dermoscopic Images
The pith
A machine-rendered reading of the paper's core claim, the machinery that carries it, and where it could break.
Core claim
The central claim is that the two-stage fine-tuning protocol, consisting of an initial phase that trains only the classification head on oversampled balanced data with the ResNet50 backbone frozen followed by a second phase that unfreezes and jointly optimizes all layers at a learning rate of 1e-5, produces an unbiased high-sensitivity classifier for melanoma versus benign lesions on dermoscopic images, delivering 87.56 percent sensitivity, 89.13 percent specificity, and 0.9559 AUC-ROC on an independent test set while outperforming single-stage fine-tuning.
What carries the argument
The two-stage fine-tuning protocol that first trains the classification head alone with the pretrained base frozen and then fine-tunes the entire network at low learning rate after training-set-only oversampling.
Load-bearing premise
Random oversampling applied only to the training split combined with a stratified split and low learning rate fully prevents data leakage and catastrophic forgetting of ImageNet features.
What would settle it
A replication experiment on the same 3,826-image test set that finds single-stage fine-tuning without the staged protocol achieves equal or higher sensitivity while maintaining the same train-validation-test split.
If this is right
- The staged protocol reduces sensitivity loss from class imbalance in binary medical imaging tasks.
- The low learning rate in the second stage preserves useful visual features learned from ImageNet.
- Grad-CAM outputs align with actual lesion regions, supporting interpretability for clinical review.
- The provided Streamlit application allows direct deployment of the trained model on new dermoscopic images.
Where Pith is reading between the lines
- The same staged protocol could be tested on other imbalanced medical imaging problems such as chest X-ray abnormality detection.
- Adding geometric augmentations during the second stage might further lift performance without changing the core schedule.
- External validation on images from different dermoscopy devices would test whether the reported metrics generalize beyond the current dataset.
Editorial analysis
A structured set of objections, weighed in public.
Referee Report
Summary. The manuscript proposes a two-stage fine-tuning protocol for ResNet50 on dermoscopic images for binary melanoma vs. benign classification. After class-stratified train/val/test splitting and random oversampling applied only to the training split, Stage 1 trains only the classification head with the backbone frozen; Stage 2 unfreezes all layers and fine-tunes at a fixed learning rate of 1e-5. On a held-out test set of 3,826 images the model reports AUC-ROC 0.9559, accuracy 88.34%, sensitivity 87.56%, specificity 89.13% and F1 88.29%. An ablation shows the two-stage schedule yields >4% higher sensitivity than single-stage fine-tuning. Grad-CAM visualizations and a Streamlit deployment with full training code are also provided.
Significance. If the test-set independence holds, the work supplies a concrete, reproducible demonstration that a low-LR second-stage fine-tuning step improves sensitivity on an imbalanced medical imaging task while preserving ImageNet features. The release of complete training code and a deployable application is a clear strength that facilitates direct replication and extension.
major comments (3)
- [Methods (Data Splitting)] Data splitting procedure (Methods): The manuscript states only that a 'stratified train/validation/test splitting' was performed and that oversampling was restricted to the training set. No mention is made of patient-level grouping or de-duplication. Because dermoscopic collections routinely contain multiple images per patient, an image-level split alone permits patient-specific artifacts or lesion appearances to leak across partitions, rendering both the absolute metrics (AUC 0.9559, sensitivity 87.56%) and the ablation comparison unreliable.
- [Results (Ablation)] Ablation study (Results): The claim that the two-stage protocol 'significantly outperforms' single-stage fine-tuning with 'sensitivity gains of over 4%' is presented without any statistical test (McNemar, bootstrap CI, or paired t-test across runs) or variance estimate. Consequently the reported improvement cannot be distinguished from sampling variability on the single 3,826-image test set.
- [Abstract and Methods] Dataset provenance (Abstract/Methods): No dataset name, acquisition protocol, ethical approval statement, or train/val/test size breakdown is supplied. Without this information it is impossible to assess selection bias, class distribution, or whether the 3,826-image test set overlaps with publicly available collections, directly affecting the generalizability of the headline performance figures.
minor comments (2)
- [Methods (Training)] The learning-rate value 1e-5 is stated without reference to a hyper-parameter search or sensitivity analysis; a brief justification or grid-search summary would strengthen the protocol description.
- [Results (Visualization)] Grad-CAM figures are referenced but lack quantitative localization metrics (e.g., pointing-game accuracy or IoU with lesion masks); adding such measures would make the visualization claim more rigorous.
Simulated Author's Rebuttal
We thank the referee for the constructive comments on data handling, statistical rigor, and transparency. We address each major point below and will revise the manuscript to strengthen these aspects.
read point-by-point responses
-
Referee: [Methods (Data Splitting)] Data splitting procedure (Methods): The manuscript states only that a 'stratified train/validation/test splitting' was performed and that oversampling was restricted to the training set. No mention is made of patient-level grouping or de-duplication. Because dermoscopic collections routinely contain multiple images per patient, an image-level split alone permits patient-specific artifacts or lesion appearances to leak across partitions, rendering both the absolute metrics (AUC 0.9559, sensitivity 87.56%) and the ablation comparison unreliable.
Authors: We agree that patient-level de-duplication and splitting are best practice to minimize leakage in dermoscopic datasets. Our split was performed at the image level after stratification. We will revise the Methods section to explicitly describe the splitting procedure, note the absence of patient-level grouping, and add a limitations paragraph discussing the risk of intra-patient correlation. If the underlying collection permits reliable patient identifiers, we will explore re-splitting at the patient level for a future version; otherwise the current results remain valid under the image-level independence assumption stated in the paper. revision: partial
-
Referee: [Results (Ablation)] Ablation study (Results): The claim that the two-stage protocol 'significantly outperforms' single-stage fine-tuning with 'sensitivity gains of over 4%' is presented without any statistical test (McNemar, bootstrap CI, or paired t-test across runs) or variance estimate. Consequently the reported improvement cannot be distinguished from sampling variability on the single 3,826-image test set.
Authors: The referee is correct that no statistical test or variance estimate was provided for the ablation. We will recompute the sensitivity difference with bootstrap confidence intervals (1,000 resamples) and include McNemar’s test for paired predictions on the fixed test set. The revised Results section will report these statistics alongside the 4%+ sensitivity gain to substantiate the claim. revision: yes
-
Referee: [Abstract and Methods] Dataset provenance (Abstract/Methods): No dataset name, acquisition protocol, ethical approval statement, or train/val/test size breakdown is supplied. Without this information it is impossible to assess selection bias, class distribution, or whether the 3,826-image test set overlaps with publicly available collections, directly affecting the generalizability of the headline performance figures.
Authors: We will expand both the Abstract and Methods sections to name the dataset, describe the acquisition protocol and any preprocessing, state the ethical approval (or waiver) reference, and provide the exact train/validation/test image counts and class distributions. These details were inadvertently omitted from the initial submission and will be restored in the revision. revision: yes
Circularity Check
No circularity; empirical metrics from held-out test evaluation
full rationale
The paper reports standard supervised learning results: a ResNet50 model is trained on a training split (with oversampling) and evaluated directly on a held-out test set of 3826 images to obtain AUC, accuracy, sensitivity etc. The ablation compares two-stage vs single-stage training on identical splits. No equations, fitted parameters renamed as predictions, self-citations used as load-bearing uniqueness theorems, or ansatzes smuggled via prior work appear in the provided text. All performance numbers are external measurements against the test data, satisfying the self-contained benchmark criterion.
Axiom & Free-Parameter Ledger
free parameters (1)
- learning_rate_stage2
axioms (2)
- domain assumption ResNet50 weights pretrained on ImageNet provide useful visual features for dermoscopic images
- domain assumption Stratified split plus oversampling on train only yields unbiased test performance
read the original abstract
Melanoma is the most dangerous form of skin cancer with five-year survival rates exceeding 99% when detected early but falling sharply once the disease spreads. This paper proposes and evaluates a two-stage fine-tuning approach for ResNet50 applied to binary melanoma classification on dermoscopic images. The core challenges addressed are class imbalance and suboptimal transfer learning from single-stage fine-tuning. After stratified train/validation/test splitting, random oversampling was applied exclusively to the training set to achieve a 1:1 class balance. Stage 1 trained only the classification head with the ResNet50 base frozen, while Stage 2 fine-tuned all layers jointly at a low learning rate of 1e-5 to prevent catastrophic forgetting of learned visual features. On an independent test set of 3,826 images, the model achieved an AUC-ROC of 0.9559, accuracy of 88.34%, sensitivity of 87.56%, specificity of 89.13%, and F1-score of 88.29%. An ablation study confirms the two-stage protocol significantly outperforms single-stage fine-tuning, with sensitivity gains of over 4%. Grad-CAM visualizations demonstrate correct lesion localization. A fully deployable Streamlit detection application is provided alongside all training code.
Figures
Reference graph
Works this paper leans on
-
[1]
Tschandl, P., Rosendahl, C., and Kittler, H. (2018). The HAM10000 dataset, a large collection of multi -source dermatoscopic images of common pigmented skin lesions. Scientific Data, 5, 180161
2018
-
[2]
He, K., Zhang, X., Ren, S., and Sun, J. (2016). Deep residual learning for image recognition. In Proceedings of CVPR, pp. 770-778
2016
-
[3]
A., Ko, J., Swetter, S
Esteva, A., Kuprel, B., Novoa, R. A., Ko, J., Swetter, S. M., Blau, H. M., and Thrun, S. (2017). Dermatologist-level classification of skin cancer with deep neural networks. Nature, 542(7639), 115-118
2017
-
[4]
Codella, N., Rotemberg, V., Tschandl, P., Celebi, M. E., Dusza, S., Gutman, D., and Kittler, H. (2019). Skin lesion analysis toward melanoma detection 2018. arXiv:1902.03368
work page internal anchor Pith review Pith/arXiv arXiv 2019
-
[5]
Rotemberg, V., Kurtansky, N., Betz-Stablein, B., Caffery, L., Chousakos, E., Codella, N., and Tschandl, P. (2021). A patient-centric dataset of images and metadata for identifying melanomas. Scientific Data, 8(1), 34
2021
-
[6]
Gessert, N., Nielsen, M., Shaikh, M., Werner, R., and Schlaefer, A. (2020). Skin lesion classification using ensembles of multi -resolution EfficientNets with meta data. MethodsX, 7, 100864
2020
- [7]
-
[8]
Adegun, A. A. and Viriri, S. (2023). Early melanoma detection based on a hybrid YOLOv5 and ResNet technique. Diagnostics, 13(17), 2804
2023
-
[9]
Yosinski, J., Clune, J., Bengio, Y., and Lipson, H. (2014). How transferable are features in deep neural networks? NeurIPS 27, 3320-3328
2014
-
[10]
Kawahara, J., BenTaieb, A., and Hamarneh, G. (2016). Deep features to classify skin lesions. In IEEE ISBI, pp. 1397-1400
2016
-
[11]
Chollet, F. (2017). Xception: Deep learning with depthwise separable convolutions. In Proceedings of CVPR, pp. 1251-1258
2017
-
[12]
and Le, Q
Tan, M. and Le, Q. V. (2019). EfficientNet: Rethinking model scaling for convolutional neural networks. In ICML, pp. 6105-6114
2019
-
[13]
Liu, R., Zha, F., Ding, F., Yao, G., and Zhang, P. (2025). Skin Lesion Classification Based on ResNet-50 Enhanced With Adaptive Spatial Feature Fusion. arXiv preprint
2025
-
[14]
R., Cogswell, M., Das, A., Vedantam, R., Parikh, D., and Batra, D
Selvaraju, R. R., Cogswell, M., Das, A., Vedantam, R., Parikh, D., and Batra, D. (2017). Grad-CAM: Visual explanations from deep networks via gradient -based localization. In Proceedings of ICCV, pp. 618-626. 13
2017
-
[15]
Cassidy, B., Kendrick, C., Brodzicki, A., Jaworek-Korjakowska, J., and Yap, M. H. (2022). Analysis of the ISIC image datasets: Usage, benchmarks and recommendations. Medical Image Analysis, 75, 102305
2022
discussion (0)
Sign in with ORCID, Apple, or X to comment. Anyone can read and Pith papers without signing in.