Skip to main content

This is a preprint.

It has not yet been peer reviewed by a journal.

The National Library of Medicine is running a pilot to include preprints that result from research funded by NIH in PMC and PubMed.

ArXiv logoLink to ArXiv
[Preprint]. 2026 Sep 8:arXiv:2609.08814v1. [Version 1]

Evaluating the predictive power of pump-probe imaging contrast of melanin for metastatic outcome: A 71-patient study

David Grass a, Emma Bao b, Martin C Fischer a,b, M Angelica Selim c, Georgia M Beasley d,e,f, Warren S Warren a,b,f,g,h,*,*
PMCID: PMC13622873  PMID: 42818553

Abstract

Significance:

Most melanoma deaths arise from metastatic spread, yet current staging imperfectly identifies which primary tumors will progress. Melanin structure is altered during malignant transformation, and pump-probe microscopy (PPM) measures melanin excited-state dynamics in standard biopsy sections, offering molecular contrast that is complementary to morphology-based assessment.

Aim:

To determine whether PPM-derived melanin excited-state dynamics in primary cutaneous melanoma can predict metastatic outcome.

Approach:

We imaged unstained sections from 71 primary cutaneous melanomas and 18 melanoma metastases. Transient absorption curves were fit to a biexponential excited-state model, and the fit parameters were used as features for learning classifiers to predict metastatic outcome.

Results:

Melanin dynamics separated primary from metastatic tissue: both excited-state lifetimes were shorter in primaries, with common-language effect sizes up to 0.26. The same parameters did not separate primary tumors by outcome (effect sizes 0.41–0.61), and univariate logistic regression found no significant association for either the excited-state lifetimes or the ESA/GSB ratio. The best classifier reached 74% patient-level accuracy (AUC 0.73), a plateau reached by several unrelated architectures.

Conclusions:

PPM robustly distinguishes primary from metastatic melanoma tissue, consistent with progressive melanin disaggregation. While it is clear that pump-probe features of melanin thus correlate with tissue differences, melanin dynamics in single sections of the primary tumor, confounded by heterogeneity, do not give robust predictions of metastatic outcome.

1. Introduction

Cutaneous melanoma is the malignancy of melanocytes, the pigment-producing cells of the epidermis. Although the 5-year survival rate of 94.7% is favorable for most patients, outcomes for those with metastatic disease remain poor despite advances in immunotherapy and targeted therapy [1–3]. Because the majority of melanoma deaths arise from metastatic spread, early and accurate identification of metastatic potential from the primary biopsy remains a critical clinical objective.

Current staging and prognosis rely on visual and dermatoscopic inspection, histopathological examination of the primary tumor, and, when necessary, lymph node biopsy [4]. Histopathological features remain the diagnostic gold standard, but they imperfectly identify the most aggressive tumors. Gene expression profiling assays and liquid biomarkers have entered clinical use but still require further development [5–10], and AI- and machine-learning-based approaches trained on dermatoscopic or histopathological images [11–14] rely, like pathologists, on morphology rather than molecular information.

Melanoma tumors are typically heavily pigmented because melanocytes proliferate rapidly and synthesize melanin, a complex, heterogeneous biopolymer whose structure is known to change during malignant transformation [15]. Pump-probe microscopy (PPM) [16] can measure the excited-state dynamics of melanin and provide spatially resolved contrast sensitive to melanin species, aggregation state, and oxidation [17–20]. Prior work by our group and others has used PPM to distinguish nevi from melanoma, to characterize melanin disaggregation, and to show that pump-probe signatures correlate with metastatic potential [21–27]. These observations motivate the hypothesis that the aggressive tumor microenvironment disaggregates melanin from highly assembled protomolecules into smaller subunits, and that this change informs on metastatic potential [19, 20, 25, 26].

In this manuscript we measure transient absorption (TA) with PPM and use machine learning to ask whether the TA dynamics of melanin in primary cutaneous melanoma predict metastatic outcome. We image primary tumor biopsies from 71 patients together with metastatic biopsies from 18 patients. We find that melanin excited-state dynamics reliably separate primary from metastatic tissue at the cohort level: lifetimes are consistently shorter in primaries than in metastases, consistent with the disaggregation hypothesis. However, these same features do not distinguish primary tumors by their eventual metastatic outcome. Univariate predictors proposed in earlier small-cohort work, the excited-state lifetime and the ESA-to-GSB ratio, show no significant association with outcome. We further find by benchmarking six machine learning classifiers under three data-aggregation strategies that prediction plateaus near 74% patient-level accuracy across very different model architectures. We believe this ceiling is caused by intrinsic tissue heterogeneity and signal-to-noise limitations, and we close by discussing the promise and current limitations of the approach, including the likely need for volumetric imaging and larger cohorts to localize the metastatic signal within primary tumors.

2. Material and Methods

2.1. Pump-Probe Microscopy

Pump-probe microscopy is a combination of pump-probe spectroscopy and laser scanning microscopy [16]. A pump pulse excites electronic and vibrational populations in a sample and a probe pulse is used to monitor these populations relaxing back to thermal equilibrium. Different molecules exhibit different population dynamics, which are further affected by the molecules’ environment. The molecular dynamics are apparent in the measured transient absorption (TA) curves, the change of probe absorption as a function of the pump-probe inter-pulse delay Δt. Many nonlinear interactions between laser pulses and sample can occur, such as multiphoton absorption, stimulated Raman scattering, and excited state absorption. The multiplicity of the physical interactions and variability of the excited state lifetimes are the origin of the high chemical specificity of pump-probe microscopes. The experimental setup is similar to [26] and shown in Figure 1a). Two time-synchronized ultrafast laser pulse trains are used as pump and probe pulses. The color of both laser sources are tunable and throughout this manuscript two wavelength combinations are used: either a pump wavelength of λpump = 770nm and probe wavelength of λprobe = 730nm (labeled as 770/730) or a pump wavelength of λpump = 730nm and probe wavelength of λprobe = 810nm (labeled as 730/810) is used. Both pulse trains have a repetition rate of 80MHz and their pulse widths are around 100fs. To measure temporal population dynamics the path length of the pump pulse can be controlled with a delay stage to introduce a well-defined time delay Δt with respect to the probe laser. The pump beam is switched on and off with an acousto-optical modulator at a frequency of 2MHz before being superimposed with the probe beam on a beam splitter. A half-wave plate (λ/2) is used to control the relative polarization angle between pump and probe beam. The two co-propagating beams enter a laser scanning microscope, are focused on the sample with a NA=0.7 microscope objective, interact with the sample, and the pump beam is rejected with a pump filter before the probe is detected with a photodiode (detector). The difference in absorption of the probe between periods when the pump is turned on or off is measured with a lock-in amplifier as a function of the inter-pulse delay. We chose the lock-in phase such that an increase of probe absorption when the pump is on corresponds to a positive sign and a decrease to a negative sign. A transient absorption curve is measured by sweeping the arrival time Δt between pump and probe pulses. A TA image is measured by raster scanning the laser over the sample and measuring a TA curve at each position. The inset in Figure 1b) displays a projection of a TA image of a primary melanoma and the blue curve represents its average TA curve, which is dominated by transient gain processes as the signal is negative.

Figure 1:

Figure 1:

a) Pump-probe microscope experimental setup with beam splitter (BS), microscope objective (MO), and acousto-optical modulator (AOM). b) Spatially average transient absorption curve of primary melanoma tumor (inset is a image of the integrated signal).

2.2. Melanoma Biopsies and Sample Preparation

Samples were obtained from formalin-fixed, paraffin-embedded tissue blocks of 71 primary cutaneous melanoma tumors and of 18 cutaneous melanoma metastases. Five out of the 71 primary tumors did not have enough melanin for imaging, leaving 34 primary tumors that developed metastasis and 32 primary tumors that did not (with a follow-up time of at least 5 years).

Two consecutive serial sections of 5μm thickness were prepared from each block. The first section was stained with hematoxylin and eosin (H&E) for conventional histopathological assessment, while the second was deparaffinized for PPM imaging by heating in an oven to remove bulk paraffin, followed by immersion in xylene and graded alcohols to remove residual paraffin. The melanoma tumor region was annotated on the H&E-stained section by a board-certified dermatopathologist. The position information of the annotated tumor region was transferred to the unstained serial section by visual alignment of anatomical landmarks. Pigmented areas within the tumor region of the unstained section were used for PPM imaging.

2.3. Data Acquisition

PPM images for the 770/730 wavelength combination were acquired at 64 time delays spanning −15 to 80 ps with parallel pump-probe polarization. For 730/810, each region of interest (ROI) was imaged twice, once with parallel and once with perpendicular polarization, at 25 time delays spanning −5 to 110 ps.

All acquisitions used an average power of 0.3 mW per beam, measured after the objective with a beam waist of w0 ≈ 0.5 μm, and a pixel dimension of 300 nm, slightly undersampling with respect to the optical resolution. For each sample, several ROIs were imaged within the pathologist-annotated tumor region wherever melanin was present, with the field of view matched to the pigmented area. Because the amount of melanin differs between tumors, the number of ROIs varies substantially across the cohort, which motivates using patient weights during machine learning, as described in Section 2.6.

Pulse widths and three-dimensional overlap of pump and probe beams were characterized before every imaging session to ensure consistent temporal and spatial overlap of pump and probe beams across the full acquisition period. Average pulse widths were (77±3) fs for 770/730 and (66±4) fs for 730/810, beam overlap was characterized and optimized with point spread function measurements, a more detailed description can be found in the Supplementary Section S1.

2.4. Data Processing

Raw PPM stacks (sets of images at sthe chosen time delays) were processed as follows. Surgical ink used during surgery to mark excision boundaries occasionally remains in the unstained sections and produces an artificial signal. Therefore, all stacks were visually screened and ink-containing regions manually cropped (Supplementary Section S2). Excited-state dynamics with lifetimes much longer than the 12.5 ns pulse train repetition time manifest as a constant offset, which was removed by subtracting the mean of the images acquired at negative time delays (Δt ≤ −1 ps), so that the resulting TA signal is zero at Δt = 0 (see Figure 1b). In each stack, regions with little or no melanin signal were excluded using an intensity mask at a heuristically chosen threshold that balances background rejection against retention of genuine melanin signal (Supplementary Section S3).

For 730/810 acquisitions, the parallel and perpendicular stacks were decomposed into ground state bleaching (GSB) and excited state absorption (ESA) components, which carry different polarization dependencies in melanin [26]:

sGSB=32spara−32sperp, (1)
sESA=−12spara+32sperp. (2)

This decomposition turns the two measured bipolar curves into two unipolar component dynamics (Supplementary Figure S3) and is also used to compute the ESA-to-GSB ratio analyzed in Section 3.3.

Finally, each masked stack was partitioned into non-overlapping squares of side length lpx pixels and the TA curves within each square spatially averaged. This procedure improves signal-to-noise ratio at the cost of reduced resolution. The parameter lpx is treated throughout as a free parameter: we use 16, 32, 64, 128, 256, and 512 pixels, corresponding to squares of width 4.9, 9.7, 19.4, 38.7, 77.4, and 154.8 μm.

2.5. Model Fitting

To reduce each binned TA curve to a small set of physically interpretable parameters, we fit it to an analytical excited-state model comprising a superposition of individual pump-probe interactions [26]. Nonlinear interactions populating a real excited state, such as GSB and ESA, contribute an exponential decay with characteristic lifetime τ (delayed processes). Nonlinear interactions involving virtual energy states, such as two-photon absorption or stimulated Raman scattering, are instantaneous on the timescale of the pulse widths and are modeled as a delta function (instantaneous processes). All interactions are convolved with the measured instrument response function, resulting in sdelayed(Δt,τ), its long-lifetime limit s∞(Δt)=sdelayed(Δt,τ→∞), and sinst(Δt) and are explicitly listed in Supplementary Section S4.

For 770/730 acquisitions we fit

s(Δt)=-a1sdelayedΔt,τ1-a2sdelayedΔt,τ2-a3sinst(Δt)-a4s∞(Δt), (3)

comprising two exponential decays {a1, τ1} and {a2, τ2}, one instantaneous component a3, and one long-lived component a4. The instantaneous term accounts for a weak spurious positive signal, most likely two-photon absorption from xylene, surrounding cells, or the microscope slide; its inclusion is favored by the Akaike information criterion over a variant without it.

For 730/810 acquisitions, the decomposed ESA and GSB stacks are each fit independently with the same form:

s(Δt)=-a1sdelayedΔt,τ1-a2sdelayedΔt,τ2-a3s∞(Δt). (4)

Parameters were estimated by nonlinear least-squares fitting with a Levenberg-Marquardt algorithm, yielding 6 parameters (a1, a2, a3, a4, τ1, τ2) per TA curve for 770/730 and 10 parameters (5 per component) for 730/810. Each curve is thus compressed from 64 sampled time delays (770/730) or 2 × 25 delays (730/810) to a physically interpretable set of parameters that serves as the feature vector for classification.

2.6. Classification

We trained common machine learning classifiers to distinguish primary tumors of patients who developed metastatic disease from those who did not, using the fit parameters derived in the previous section as input features. Training was done in python using scikit-learn [28] version 1.7.2. With only 71 patients available, the amount of training data is too small to train convolutional neural network (CNN) architectures, which are the current state of the art for multi-dimensional image classification but require much larger training sets.

A further complication is that only pigmented regions of a tumor produce usable PPM signal, so the number of TA curves obtained per patient varies substantially across the cohort. We addressed this imbalance with three strategies that operate at different levels of data aggregation:

  1. Patient averaged fits: All TA curves from a given patient are spatially averaged into a single TA curve, which is then fit with the model described above. When imaged with 770/730 (730/810), each patient contributes a single feature vector of 6 (10) fit parameters with a well-defined metastatic label.

  2. Patient level pooling: Each TA curve from a patient inherits that patient’s label (0 = non-metastatic, 1 = metastatic), and a classifier is trained on individual ROIs. To prevent patients with many ROIs from dominating the loss, each ROI is assigned a sample weight of 1/Np, with Np the number of ROIs for that patient. A patient’s final label is obtained by combining all ROI predictions: if more than a fraction r of the ROIs are individually classified as metastatic, the patient is labeled metastatic. We heuristically set r = 0.25, reflecting the assumption that metastatic potential may be signaled by only a subset of the tumor. This threshold-based group accuracy is used both as the scoring metric during cross-validation and as the reported test accuracy, and is implemented via scikit-learn’s metadata routing.

  3. Bagged patient level features: This strategy is a simple version of multiple instance learning [29, 30]. All ROI fit parameters from a given patient are grouped into a bag, and per-patient bag statistics are computed as features. Specifically, we compute the minimum, maximum, and mean of the fit parameters. Training and evaluation then proceed as in strategy (1).

We benchmarked six commonly used classifiers on all three strategies: k-nearest neighbors (KNN), histogram-based gradient boosting, logistic regression, Gaussian naive Bayes, random forest, and a support vector classifier (SVC). For each classifier we performed a grid search over its principal hyperparameters (e.g. tree depth and ensemble size for the tree-based models, kernel bandwidth and regularization strength for SVC, number of neighbors and distance metric for KNN). Hyperparameter selection was performed with three-fold cross-validation on the training set, using StratifiedKFold for strategies (1) and (3), where each patient contributes a single sample, and StratifiedGroupKFold for strategy (2) to ensure that all ROIs from a given patient fall in the same fold. Features were standardized inside each pipeline prior to fitting where appropriate. For each combination of classifier and strategy, we repeated the following procedure 20 times to estimate variability: patients were split into training (70%) and test (30%) sets, stratified by metastatic status so that class proportions were preserved; the model was trained and hyperparameter-tuned on the training patients only; and patient-level accuracy was evaluated on the held-out test patients. The reported performance for each classifier is the mean and standard deviation of test accuracy across all repetitions. For strategies (2) and (3), which retain ROI-level information, we repeated this benchmark for square side lengths of lpx ∈ {16, 32, 64, 128, 256, 512} pixels to study how the spatial averaging trades off SNR against the number of samples available for training.

We stress that this benchmark is not intended to produce a production-ready diagnostic model as the number of classifiers and hyperparameter combinations explored, relative to the cohort size, carries a substantial risk of overfitting. Our aim is rather to characterize how much of the metastatic signal is accessible from PPM-derived melanin dynamics and to identify the principal methodological bottlenecks.

3. Results

3.1. 770/730 Pump-Probe Microscopy of Melanoma Tumors

Of the 71 primary tumor samples, 5 were amelanotic and did not produce a usable PPM signal, leaving 66 primary tumors and 18 metastatic tumors. Across these 84 samples, 411 ROIs were acquired and processed following the pipeline described in Section 2. Here we compare the fit-parameter distributions between (i) primary and metastatic tumors and (ii) primary tumors from patients who subsequently developed metastases versus those who did not. Kernel density estimates of the six fit parameters (τ1, τ2, a1, a2, a3, a4) for a ROI side length of lpx = 512 pixels are shown in Figure 2. The top row (green vs. red) compares primary tumors with metastases; the bottom row (blue vs. orange) compares primary tumors from patients who did and did not subsequently develop metastatic disease.

Figure 2:

Figure 2:

Kernel density estimates of the six fit parameters for ROIs with lpx = 512 pixels: a) primary tumors (green) versus metastases (red), and b) primary tumors from patients who did not develop metastatic disease (non-metastatic, blue) versus those who did (metastatic, orange). c) Average transient absorption curve of primary non-metastatic tumors (blue), primary tumors that developed metastases (orange), all primary tumors (green dashed) and metastasis (red dashed).

Visually, the lifetimes τ1 and τ2 and their amplitudes a1 and a2 are distributed differently between primary and metastatic tumors: excited-state dynamics in primary tumors are generally faster and of lower amplitude than in metastases. In contrast, the distributions of the same parameters for primary tumors that did and did not subsequently metastasize are visually indistinguishable.

To quantify these differences we computed the common-language effect size f = U/(n1·n2), with U the Mann-Whitney U statistic and n1, n2 the sizes of the two groups. This quantity is equivalent to the area under the ROC curve and provides an intuitive interpretation: the probability that a randomly drawn value from group 1 exceeds a randomly drawn value from group 2. Values close to 0.5 indicate that the parameter cannot separate the two groups; values close to 0 or 1 indicate strong separation, in opposite directions. Table 1 lists f for each fit parameter, together with |f – 0.5| in parentheses, for both comparisons. The primary versus metastasis row is labeled “location” and the metastatic versus non-metastatic row is labeled “metastatic”.

Table 1:

Common-language effect size f = U/(n1n2) for each fit parameter, with |f − 0.5| in parentheses. Top row: primary tumors versus metastases (“location”); bottom row: primary tumors from non-metastatic versus metastatic patients (“metastatic”).

τ 1 τ 2 a 1 a 2 a 3 a 4

location 0.30 (0.20) 0.26 (0.24) 0.30 (0.20) 0.27 (0.23) 0.32 (0.18) 0.52 (0.02)
metastatic 0.41 (0.09) 0.53 (0.03) 0.41 (0.09) 0.61 (0.11) 0.51 (0.01) 0.52 (0.03)

The effect sizes quantify the results displayed in Figure 2. For the location contrast, τ1, τ2, a1 and a2 all deviate substantially from 0.5, indicating that melanin excited-state dynamics differ meaningfully between primary and metastatic lesions. Notably, the amplitude a4 of the long-lived component is indistinguishable between the two populations (f = 0.52), suggesting that the distinguishing information lies in the fast excited-state dynamics rather than in the long-time offset. In contrast, the “metastatic” cohort yields effect sizes that mostly cluster near 0.5, with the largest deviation observed for a2 (f = 0.61). Thus, on a single-parameter distributional level, PPM-derived melanin dynamics reliably distinguishprimary from metastatic tissue, but do not distinguish primary tumors by their eventual metastatic outcome. This is also highlighted by figure 2c) showing that only the metastasis curve (red, dashed) does not significantly overlap with the remaining three curves of non-metastatic tumors, metastatic tumors, and primary tumors. This motivates the classification approach described in Chapter 2, where combinations of parameters are used rather than any single feature.

3.2. 730/810 Polarization-Resolved Pump-Probe Microscopy of Primary Melanoma Tumors

Polarization-resolved PPM was performed on a subset of 27 patients (15 non-metastatic primary tumors, 12 primary tumors that developed metastases), yielding 108 ROIs. For each ROI, two co-registered PPM stacks were acquired: one with parallel and one with perpendicular pump-probe polarization. The stacks were processed and decomposed into ESA and GSB components as described in Section 2. In addition to the six per-component fit parameters, we computed a per-ROI ESA-to-GSB ratio, defined as the ratio of the area under the ESA TA curve to that under the GSB TA curve. Per-patient values were obtained by averaging over ROIs.

3.3. Univariate Logistic Regression

As a simple baseline, we tested whether individual fit parameters predict metastatic outcome using logistic regression at the patient level, prior to the classification benchmarks. Two models were fitted: one using the two excited-state lifetimes τ1 and τ2 from the 770/730 acquisitions (all 66 pigmented primary tumors), and one using the ESA-to-GSB ratio derived from the 730/810 polarization-resolved acquisitions (the 27-patient subset).

The lifetime model was not statistically significant relative to the null model, χ2(2) = 3.73, p = 0.15, and explained essentially none of the variance in outcome (McFadden’s pseudo-R2 = 0.04). Neither τ1 (b = 0.57, SE = 0.31, z = 1.83, p = 0.07; OR = 1.78, 95% CI [0.96, 3.29]) nor τ2 (b = −0.3, SE = 0.31, z = −0.98, p = 0.33; OR = 0.74, 95% CI [0.40, 1.35]) was significantly associated with metastatic outcome. The ESA-to-GSB-ratio model was likewise not statistically significant relative to the null model, χ2(1) = 1.15, p = 0.28, with McFadden’s pseudo-R2 = 0.031. The ratio was not significantly associated with metastatic outcome (b = 0.65, SE = 0.63, z = 1.05, p = 0.30; OR = 1.92, 95% CI [0.56, 6.55]).

Taken together, these univariate analyses provide no evidence that the two excited-state lifetimes or the ESA-to-GSB ratio carry outcome information on their own. This is consistent with the distributional overlap observed in Figure 2 and motivates the multivariate classification approach in the following section, where the joint information across multiple fit parameters is exploited.

3.4. 770/730 based Classifier

As described in Section 2, we benchmarked the six classifiers with three data-aggregation strategies: patient-averaged fits, region-level classification with patient-level pooling (referred to as “majority vote” in the figure), and bagged patient-level features. For the two ROI-based strategies we swept the ROI side length over lpx ∈ {16, 32, 64, 128, 256, 512} pixels; lpx = 64 pixels was the best-performing size and is shown in Figure 3. Results for the remaining sizes are provided in the Supplementary Material S6. Each classifier was retrained on 20 stratified 70/30 patient-level train–test splits; points and error bars in the figure show the mean and standard deviation of patient-level test accuracy across these repetitions. The dashed grey line marks chance-level performance.

Figure 3:

Figure 3:

Patient-level test accuracy of the six classifiers under the three aggregation strategies on the 770/730 dataset: patient-averaged fits (blue), classification with patient-level threshold pooling (“majority vote”, orange), and bagged patient-level features (green). Points and error bars show the mean and standard deviation over 20 train–test split iterations; the dashed grey line indicates chance performance. Results shown for lpx = 64 pixels, other bin sizes are provided in the Supplementary Material S6

Several trends are apparent. First, the patient-averaged strategy (blue) performs poorly across all classifiers, with accuracies of 50–65%, only marginally above chance. This is consistent with the distributional analysis in figure 2, where individual fit parameters showed little separation between metastatic and non-metastatic primaries. Second, the majority-vote strategy performs generally poor with the exception of the Random Forest classifier reaching 70% classification accuracy at a ROI size of 32. The bagged approach (green) reaches higher accuracies and performing best for every classifier tested. The best-performing model is KNN with 74% accuracy followed closely by histogram gradient boosting and random forest at 73%. Across the ROI-based strategies, accuracy improves as lpx decreases from 512 to 64 pixels, peaks at 64 pixels, and degrades again for smaller sizes (see Supplementary Material S6). This is consistent with a bias-variance trade-off: larger bins yield too few samples per patient for the pooling and bagging strategies to add information, while smaller bins average too few pixels to overcome noise in the fits. Notably, across very different model architectures and pooling schemes, performance appears to plateau near 74% on held-out test patients, suggesting that this level reflects a ceiling imposed by cohort size and signal-to-noise limitations of the fitting procedure.

Note that we trained all models at all sizes with and without parameter a3, the fit amplitude of the instantaneous process parameterizing a weak spurious positive signal, most likely two-photon absorption from xylene, surrounding cells, or the microscope slide. Models including a3 either perform worse or equally compared with models trained without a3. All model performances are listed in detail in the supplementary information S6.

3.5. 730/810 Polarization-Resolved Classifier

For the polarization-resolved 730/810 acquisitions, we repeated the classification benchmark described above using the ESA and GSB fit parameters as input features. Because polarization-resolved data were acquired for only 27 patients, this analysis is more susceptible to sampling variability than the 770/730 benchmark on 66 patients. The main results are summarized in Figure 4, which shows the best-performing ROI side length (lpx = 128 pixels).

Figure 4:

Figure 4:

Patient-level test accuracy of the six classifiers on the 730/810 polarization-resolved dataset under the three aggregation strategies: patient-averaged fits (blue), classification with patient-level threshold pooling (“majority vote”, orange), and bagged patient-level features (green). Points and error bars show the mean and standard deviation over 20 train–test split iterations; the dashed grey line indicates chance performance. Results shown for the best-performing bin size of (lpx = 128 pixels), other bin sizes are provided in the Supplementary Material S6

In contrast to the 770/730 benchmark, no classifier–strategy combination achieves accuracy clearly above chance on the 730/810 polarization-resolved data. Most points cluster around 0.5, and the error bars for the patient-averaged strategy are very wide, reflecting the fact that a 30% test split of 27 patients yields only about eight held-out patients per repetition. The one apparent outlier is Gaussian naive Bayes, which reaches approximately 0.64–0.65 under bagged strategies for the two largest ROI sizes; however, given that naive Bayes performed at chance level in the 770/730 benchmark (Figure 3) and given the small cohort size, we interpret this result with caution rather than as evidence of a robust signal. Taken together, the 730/810 polarization-resolved data as currently available do not provide evidence that the ESA/GSB-decomposed excited-state dynamics carry information to identify metastatic melanoma.

4. Discussion and Conclusion

Identifying which primary cutaneous melanomas will progress to metastatic disease remains a central clinical challenge, since it determines which patients are candidates for immunotherapy or targeted therapy. In this manuscript we asked whether melanin excited-state dynamics measured by PPM in primary biopsies carry information about metastatic outcome, and we benchmarked several machine learning approaches to quantify that information.

The working hypothesis is that the aggressive tumor microenvironment subtly alters melanin structure, and that these alterations can be used to predict subsequent metastatic behavior. Specifically, the harsh intra- and extracellular environment is thought to disaggregate melanin from highly assembled protomolecules into smaller subunits [20, 25]. A large body of work on synthetic and natural melanin models [19, 20, 25] indicates that intact, aggregated melanin exhibits faster excited-state decay which is consistent with its photoprotective role of rapidly converting absorbed light into heat, whereas disaggregated melanin generally show slower excited-state dynamics. From a biological standpoint, a melanocyte must accumulate many alterations before it can separate from the primary lesion, travel through lymphatic or blood vessels, and survive and replicate at a distant, non-physiological site. This picture presents two coupled challenges: identifying the molecular melanin features that predict metastasis, and localizing them within the primary tumor. The metastatic origin within a primary lesion may occupy only a small part of the full tumor volume, and the relevant molecular signature must additionally be distinguished from unrelated sources of melanin heterogeneity such as sun exposure, metal chelation, trauma, and melanin digested by melanophages, all of which modify melanin signals [19, 26]. To avoid the localization problem, we began by imaging melanin in metastatic lesions themselves because these lesions should show metastatic features most clearly.

Consistent with this hypothesis, the distributional analysis in Figure 2 and the effect-size analysis in Section 3.1 show that excited-state dynamics of melanin in primary tumors differ substantially from those in metastases. In particular, both lifetimes are shorter in primaries than in metastases, consistent with the model in which primary tumor melanin is more aggregated and metastatic tumor melanin more disaggregated. However, the same features that separate primary from metastatic tissue at the cohort level fail to predict metastatic outcome at the individual patient level. The most straightforward interpretation is a needle-in-the-haystack effect: the metastatic-origin region within a primary tumor may be small relative to the total pigmented area, so its distinguishing features are diluted by the surrounding “bulk” primary tumor melanin or the imaged sections may not have contained the origin at all. Alternative explanations we cannot exclude are that the molecular signal predictive of metastasis is not acquired until the disaggregation process is well underway at the metastatic site, or that our fit-parameter representation does not capture the relevant features even when they are present. Distinguishing these possibilities will likely require volumetric imaging of the entire tumor and/or substantially larger patient cohorts.

This background clarifies why the simple univariate approaches suggested in earlier small-cohort work [25, 26], namely the excited-state lifetime for 770/730 imaging and the ESA-to-GSB ratio for 730/810 polarization-resolved imaging fail here. The logistic regression analyses in Section 3.3 found no statistically significant association between either predictor and metastatic outcome in our cohort. Given the small sample sizes involved (66 and 27 patients respectively), we interpret this as evidence that these single features are insufficient rather than uninformative in an absolute sense, but the practical implication is that univariate PPM-derived predictors are unlikely to be clinically useful on their own.

When applied a suite of common machine learning classifiers, using three data-aggregation strategies to accommodate the variable number of ROIs per patient, the best-performing classifiers reached approximately 74% patient-level accuracy on a nearly balanced cohort (34 metastatic versus 32 non-metastatic), with the bagged approach performing best. Extensive hyperparameter tuning and comparison across model families gave similar peak performance, suggesting that 74% represents a ceiling imposed by the current dataset rather than by model capacity. At the same time, we observed substantial variation in the optimal hyperparameters across train–test splits, which we interpret as indicating that the classifiers have not fully generalized and that a larger cohort would likely stabilize them and increase classification accuracy.

A further clinical application suggested by our findings is distinguishing primary from metastatic melanoma in diagnostically ambiguous biopsies. Some pigmented lesions cannot be confidently classified as primary or metastatic by histopathology alone, most often when a dermal-based melanocytic proliferation lacks a clear epidermal component, and such cases are sometimes reported as “primary melanoma, metastasis cannot be excluded.” This is not rare: melanoma of unknown primary accounts for roughly 13–18% of patients presenting with regional or distant metastatic disease and is commonly attributed to complete regression at the primary site [31], a mechanism that could plausibly produce exactly this kind of ambiguous lesion. The distinction matters clinically, separating a curable primary managed by excision from systemic metastatic disease eligible for adjuvant therapy. Our finding that melanin dynamics robustly separate primary from metastatic tissue at the cohort level (Section 3.1) suggests PPM could in principle assist in this setting.

Given current trends in medical image classification, the ideal architecture for this type of data would probably be a convolutional neural network with a multiple-instance-learning aggregation layer, which could exploit spatial structure that we discarded by binning and averaging. Training such a model from scratch is not feasible at our current cohort size. Models for skin cancer classification, trained on dermoscopic or clinical photographs, have been reported to achieve AUCs of 0.834–0.964 for metastatic melanoma prediction [11–14], significantly higher than our best performing model with AUC=0.73 (corresponding to 74% accuracy). These photograph-based models rely on tumor morphology, while our approach, in which we deliberately average away morphology, uses only molecular information about the melanin itself. We speculate that the two sources of information are complementary, and that a combined molecular-plus-morphological predictor could outperform either modality alone. Testing this directly would be a natural next step. Beyond outcome prediction, the robust separation of primary from metastatic melanin dynamics observed here raises the prospect of PPM as an ancillary tool for diagnostically indeterminate primary-versus-metastatic biopsies, a clinically consequential scenario our current cohort was not designed to test.

Supplementary Material

1

4.3. Funding

This work was supported by the National Institutes of Health (NIH) under award 1R21-CA280272-01A1 and by the U.S. Department of Defense through the U.S. Army Medical Research Acquisition Activity (USAMRAA) under award ME220082.

Footnotes

4.1

Disclosures

This manuscript was prepared using Overleaf including its built-in research writing toolkit that offers LaTeX code generation, error troubleshooting, and context-aware language editing directly inside the editor. Furthermore Claude Opus 4.8 chat interface was used for grammar and spell checking.

4.2. Code, Data, and Materials Availability

The imaging data supporting this study contain patient-derived specimen information and are therefore not publicly available due to privacy restrictions. De-identified transient absorption datasets, extracted fit parameters, and the analysis and classification code are available from the corresponding author upon reasonable request, subject to institutional data-use agreement and IRB approval.

References

  • [1].National Cancer Institute, “Cancer stat facts: Melanoma of the skin,” (2026). https://seer.cancer.gov/statfacts/html/melan.html, accessed: 2026-05-29.
  • [2].Boutros Andrea, Croce Elena, Ferrari Marco … Francesco Spagnolo, “The treatment of advanced melanoma: Current approaches and new challenges,” Critical Reviews in Oncology/Hematology 196, 104276 (2024). [DOI] [PubMed] [Google Scholar]
  • [3].Joshi Urvashi Mitbander, Kashani-Sabet Mohammed, and Kirkwood John M., “Cutaneous Melanoma: A Review,” JAMA 334, 2113–2125 (2025). [DOI] [PubMed] [Google Scholar]
  • [4].Keung Emily Z. and Gershenwald Jeffrey E., “The eighth edition American Joint Committee on Cancer (AJCC) melanoma staging system: implications for melanoma treatment and care,” Expert Review of Anticancer Therapy 18, 775–784 (2018). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • [5].Kamińska Paula, Buszka Karolina, Zabel Maciej … Budna-Tukan Joanna, “Liquid Biopsy in Melanoma: Significance in Diagnostics, Prediction and Treatment Monitoring,” International Journal of Molecular Sciences 22, 9714 (2021). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • [6].Chan Wei Yen, Lee Jenny H., Stewart Ashleigh … Rizos Helen, “Circulating tumour DNA dynamics predict recurrence in stage III melanoma patients receiving neoadjuvant immunotherapy,” J Exp Clin Cancer Res 43, 238 (2024). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • [7].Eggermont Alexander M. M., Bellomo Domenico, Arias-Mejias Suzette M. … Meves Alexander, “Identification of stage I/IIA melanoma patients at high risk for disease relapse using a clinicopathologic and gene expression model,” European Journal of Cancer 140, 11–18 (2020). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • [8].Lim Su Yin, Lee Jenny H., Diefenbach Russell J. … Rizos Helen, “Liquid biomarkers in melanoma: detection and discovery,” Molecular Cancer 17, 8 (2018). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • [9].Yousaf Ahmed, Tjien-Fooh Félicia J., Rentroia-Pacheco Barbara … Meves Alexander, “Validation of CP-GEP (Merlin Assay) for predicting sentinel lymph node metastasis in primary cutaneous melanoma patients: A U.S. cohort study,” International Journal of Dermatology 60, 851–856 (2021). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • [10].Marchetti Michael A., Coit Daniel G., Dusza Stephen W. … Bartlett Edmund K., “Performance of Gene Expression Profile Tests for Prognosis in Patients With Localized Cutaneous Melanoma,” JAMA Dermatology 156, 953 (2020). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • [11].Kulkarni Prathamesh M., Robinson Eric J., Pradhan Jaya Sarin … Saenger Yvonne, “Deep learning based on standard H&E images of primary melanoma tumors identifies patients at risk for visceral recurrence and death,” Clin Cancer Res 26, 1126–1134 (2020). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • [12].Yan Siyuan, Yu Zhen, Primiero Clare … Zongyuan Ge, “A multimodal vision foundation model for clinical dermatology,” Nat Med 31, 2691–2702 (2025). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • [13].Lallas Konstantinos, Spyridonos Panagiota, Kittler Harald … Lallas Aimilios, “Prediction of melanoma metastasis using dermatoscopy deep features: an international multicentre cohort study,” Br J Dermatol 191, 847–848 (2024). [DOI] [PubMed] [Google Scholar]
  • [14].Lallas Konstantinos, Kittler Harald, Tschandl Philipp … Lallas Aimilios, “Predictive models of melanoma metastasis based on dermatoscopy in an international retrospective human reader study,” Nat Commun 16, 10940 (2025). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • [15].Wakamatsu Kazumasa and Ito Shosuke, “Recent Advances in Characterization of Melanin Pigments in Biological Samples,” International Journal of Molecular Sciences 24, 8305 (2023). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • [16].Fischer Martin C., Wilson Jesse W, Robles Francisco E … Warren Warren S., “Invited Review Article: Pump-probe microscopy,” Review of Scientific Instruments 87, 031101 (2016). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • [17].Fu Dan, Ye Tong, Matthews Thomas E. … Warren Warren S., “Probing skin pigmentation changes with transient absorption imaging of eumelanin and pheomelanin,” Journal of Biomedical Optics 13(5), 054036 (2008). [DOI] [PubMed] [Google Scholar]
  • [18].Simpson Mary Jane, Wilson Jesse W., Phipps M. Anthony … Warren Warren S., “Nonlinear Microscopy of Eumelanin and Pheomelanin with Subcellular Resolution,” Journal of Investigative Dermatology 133, 1822–1826 (2013). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • [19].Simpson Mary Jane, Wilson Jesse W., Robles Francisco E. … Warren Warren S., “Near-Infrared Excited State Dynamics of Melanins: The Effects of Iron Content, Photo-Damage, Chemical Oxidation, and Aggregate Size,” The Journal of Physical Chemistry A 118, 993–1003 (2014). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • [20].Ju Kuk-Youn, Fischer Martin C., and Warren Warren S., “Understanding the Role of Aggregation in the Broad Absorption Bands of Eumelanin,” ACS Nano 12, 12050–12061 (2018). [DOI] [PubMed] [Google Scholar]
  • [21].Matthews Thomas E., Piletic Ivan R., Selim M. Angelica … Warren Warren S., “Pump-Probe Imaging Differentiates Melanoma from Melanocytic Nevi,” Science Translational Medicine 3, 71ra15–71ra15 (2011). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • [22].Wilson Jesse W., Vajzovic Lejla, Robles Francisco E. … Warren Warren S., “Imaging Microscopic Pigment Chemistry in Conjunctival Melanocytic Lesions Using Pump-Probe Laser Microscopy,” Investigative Ophthalmology & Visual Science 54, 6867–6876 (2013). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • [23].Robles Francisco E, Deb Sanghamitra, Wilson Jesse W. … Warren Warren S., “Pump-probe imaging of pigmented cutaneous melanoma primary lesions gives insight into metastatic potential,” Biomedical Optics Express 6, 3631 (2015). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • [24].Robles Francisco E, Deb Sanghamitra, Fischer Martin C. … Selim M. Angelica, “Label-Free Imaging of Female Genital Tract Melanocytic Lesions with Pump-Probe Microscopy: A Promising Diagnostic Tool,” Journal of Lower Genital Tract Disease 21(2), 137–144 (2017). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • [25].Ju Kuk-Youn, Degan Simone, Fischer Martin C. … Warren Warren S., “Unraveling the molecular nature of melanin changes in metastatic cancer,” Journal of Biomedical Optics 24, 1 (2019). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • [26].Grass David, Beasley Georgia M., Fischer Martin C. … Warren Warren S., “Contrast mechanisms in pump-probe microscopy of melanin,” Optics Express 30, 31852 (2022). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • [27].Zhou Yihui, Lu Wei, and Lee Hyeon Jeong, “Recent advances in nonlinear optical techniques for metastatic melanoma diagnosis and mechanistic studies,” Journal of Innovative Optical Health Sciences, 2544002 (2025). [Google Scholar]
  • [28].Pedregosa F., Varoquaux G., Gramfort A. … Duchesnay E., “Scikit-learn: Machine learning in Python,” Journal of Machine Learning Research 12, 2825–2830 (2011). [Google Scholar]
  • [29].Dietterich Thomas G., Lathrop Richard H., and Lozano-Pérez Tomás, “Solving the multiple instance problem with axis-parallel rectangles,” Artificial Intelligence 89, 31–71 (1997). [Google Scholar]
  • [30].Carbonneau Marc-André, Cheplygina Veronika, Granger Eric … Gagnon Ghyslain, “Multiple instance learning: A survey of problem characteristics and applications,” Pattern Recognition 77, 329–353 (2018). [Google Scholar]
  • [31].Tarhini Ahmad A., Lee Sandra J., Tan Aik-Choon … Kirkwood John M., “Improved prognosis and evidence of enhanced immunogenicity in tumor and circulation of high-risk melanoma patients with unknown primary,” Journal for ImmunoTherapy of Cancer 10 (2022). [DOI] [PMC free article] [PubMed] [Google Scholar]

Associated Data

This section collects any data citations, data availability statements, or supplementary materials included in this article.

Supplementary Materials

1

Articles from ArXiv are provided here courtesy of arXiv

RESOURCES