Supplementary material for “Development and validation of NLP models for automated melanoma service-level monitoring”

Published: 7 October 2026| Version 1 | DOI: 10.17632/zbjf2gysc8.1
Contributors:
,
,
,
, Ricard Onieva, Empar Saez, Mireia Sabat Santandreu, Berta Ferrer Fàbrega, Álvaro Gómez Tomàs, Pepi Ródenas, Guillem Caballé Tomàs,
,
,
,
,

Description

Supplementary material associated with the manuscript “Development and validation of NLP models for automated melanoma service-level monitoring.” The Supplementary material provides detailed methodological and analytical information supporting the main manuscript and is intended to facilitate transparency, reproducibility, and interpretation of the reported findings. It includes Supplementary Methods, Supplementary Results, Tables S1–S17, Figures S1–S2, and supplementary references. The methodological section describes the development, adaptation, and selection of candidate approaches for each task of the melanoma natural language processing pipeline. These approaches include deterministic rule-based systems, supervised classical machine-learning classifiers and regressors, and publicly available pretrained transformer-based models. Additional details are provided on TF-IDF feature representation, Synthetic Minority Over-sampling Technique (SMOTE), cross-validation procedures, hyperparameter search spaces, zero-shot natural-language-inference configurations, question formulations for transformer-based question-answering models, and model-selection criteria. The supplementary results provide further characterization of the Parc Taulí development cohort and the Vall d’Hebron external-validation cohort. They include demographic analyses, language distribution, yearly distributions of melanocytic lesions and melanoma cases, melanoma invasiveness, Breslow thickness, and Breslow-based tumor-stage proxies. Historical service-level indicators, including melanoma yield and number needed to treat, are also reported. Additional validation material includes cross-validated model tournaments for the binary routing tasks and numeric Breslow-thickness extraction, final optimized model configurations, selected thresholds and hyperparameters, and prompt and ensemble-construction parameters for question-answering models. These analyses complement the development-set model comparisons and the internal and external validation results reported in the main manuscript. The appendix also includes a proof-of-concept temporal analysis comparing pipeline-derived estimates with reference annotations across the 1996–2019 Parc Taulí series, illustrating the potential use of the pipeline for retrospective service-level monitoring. Finally, it provides a contextual comparison with previously published melanoma-specific, dermatopathology, and broader pathology NLP systems, highlighting similarities and differences in scope, methodology, extracted variables, and intended use.

Files

Steps to reproduce

This record contains the supplementary appendix associated with the manuscript “Development and validation of NLP models for automated melanoma service-level monitoring.” The appendix provides additional methodological details, model configurations, validation analyses, supplementary tables, and figures supporting the main manuscript. The NLP pipeline was implemented in Python and the descriptive analyses and figures were generated in R. Candidate approaches included rule-based methods, supervised classical machine-learning models, and publicly available pretrained transformer-based models. Model development used fixed training, development, and internal-test partitions, with an independent external-validation cohort from Vall d’Hebron University Hospital. Further methodological details, hyperparameter search spaces, model configurations, prompts, thresholds, and evaluation procedures are provided in the supplementary appendix. Code and documentation for the NLP pipeline are publicly available in the associated GitHub repository: https://github.com/DS3-SISCAT/NLP-Melanoma Patient-level pathology data are not included in this repository because the source reports contain clinical information and were processed under the study’s ethical and data-protection framework.

Categories

Artificial Intelligence, Dermatology, Health Informatics, Dermatopathology

Licence