Preprint
Article

This version is not peer-reviewed.

Cost-Aware Skin-Lesion Triage with Reinforcement Learning on PAD-UFES-20

Submitted:

29 November 2026

Posted:

02 December 2026

You are already at the latest version

Abstract
Triage of a skin lesion starts from clinical findings that cost nothing to collect, and a photograph adds information at a cost. We asked whether a reinforcement-learning agent that chooses, per lesion, to discharge, to refer, or to acquire the photograph first is worth having over simple tuned policies. Under a protocol frozen before any model was evaluated on the data, we trained an ensemble of Double deep Q-networks on PAD-UFES-20 and evaluated it on a held-out 30% of the patients at seven cost settings, with 95% patient-cluster bootstrap intervals. The agent was non-inferior to a two-stage logistic regression at all five primary settings and decided 0.808 [0.773, 0.840] of lesions without a photograph, but it was not shown to be cheaper than its own metadata-only ablation (+0.005 [−0.012, +0.027]). In the primary analysis the savings were accounted for by a missing-data pattern, not by triage skill. A block of patient-level variables is blank for 712 lesions, none of which is a cancer. A rule that discharges those lesions and refers the rest, using no clinical finding, was as cheap as the agent or cheaper, and among lesions with the block recorded the agent was not shown to do better; in a second partition of the patients the agent outperformed the rule at the lowest miss cost only. Therefore, models that use these variables should report a missingness-only baseline and complete-case results.
Keywords: 
;  ;  ;  ;  ;  ;  ;  ;  

1. Introduction

Skin cancers, melanoma and the keratinocyte carcinomas taken together, are among the most frequently diagnosed cancers worldwide [1]. Most suspicious lesions are first seen outside dermatology, where the task is triage; decide which lesions need a specialist and which to discharge. Triage begins with findings that cost nothing to collect, such as the age of the patient, the body site, and whether the lesion has grown, bled or itched. A photograph, read by an algorithm or sent for a teledermatology opinion, adds information, but it takes time, equipment and a reader. A referral costs more, and a missed cancer costs most. The decision is therefore sequential. For each lesion the clinician can discharge, refer, or acquire the image first and then decide.
The parts of this problem have been studied separately. Deep networks trained on large image collections classify skin lesions with accuracy comparable to that of dermatologists in reader studies [2], although their performance drops on images and skin tones unlike those they were trained on [3]. Patient information helps; combining clinical metadata with smartphone images improved skin cancer detection in data from the programme that later released PAD-UFES-20 [4,5]. These models assume that the image is always available. The question of whether to acquire a feature at all has been treated as classification with costly features, in which an agent trained by deep reinforcement learning (RL) pays for each feature it requests before it classifies [6,7]. Older and simpler tools address the same decision. A classifier with a reject option abstains when its confidence is low [8]. Value of information compares the expected gain from an observation with its price [9]. Cost-sensitive learning moves the decision threshold to reflect unequal error costs [10]. Learning to defer trains a model to pass selected cases to an expert [11,12]. For a single acquirable feature, all of these reduce to something close to a logistic model with two thresholds; discharge below the lower one, refer above the upper one, and photograph in between.
The gap is plain. It is not established that a deep RL agent is worth having over two tuned thresholds on a logistic model when the dataset holds fewer than two thousand lesions. Deep RL results are sensitive to random seeds and implementation details, and comparisons based on a few runs are often unreliable [13,14].
A second hazard is specific to clinical data. Flexible models learn whatever predicts the label, including signals that reflect how the data were collected and not the disease [15]. Radiograph classifiers have relied on features of the source hospital [16,17], a melanoma classifier was affected by surgical skin markings [18], and aggregate performance can hide subgroups in which a model fails [19]. Missing data carry the same risk. Whether a variable was recorded often depends on the care process, so the pattern of recording can predict the outcome without any clinical content [20], and a missing-value indicator, or an encoding that plays the same role, hands that pattern to the model [21,22]. This study runs into exactly this hazard.
We trained an ensemble of Double deep Q-networks (DQN), RL-Triage, on PAD-UFES-20 [5] to choose for each lesion whether to discharge, refer or photograph first, and compared it with tuned simple policies. The protocol was frozen on 28 November 2026 (hash 3094e40052af2cdb), before any model had been evaluated on the data. It was not registered externally. It specifies one patient-level hold-out (557 test lesions), 20 training seeds, seven cost settings, and three hypotheses; that the agent is non-inferior in expected cost to a two-stage logistic regression (LR) with a deferral band (H1), that it is cheaper than simpler policies, including its own metadata-only ablation (H2), and that it decides most lesions without the photograph and without losing sensitivity beyond a stated margin (H3). Every claim is decided by a 95% patient-cluster bootstrap interval against a pre-specified margin, with no p-values. The protocol also specifies a complete-case sensitivity analysis and a second partition of the patients. After seeing the primary results we added one analysis of the missing-data pattern, which we report as post hoc throughout (Section 2.8).
At the central setting ( c R = 10 , c M = 100 ) the agent cost 6.70 [6.06, 7.40] per lesion against 7.74 [6.71, 8.87] for the two-stage LR, a difference of −1.04 [−1.90, −0.30], and it decided a fraction 0.808 [0.773, 0.840] of lesions without the photograph. It was not shown to be cheaper than its metadata-only ablation (normalised cost difference +0.005 [−0.012, +0.027]), so the photograph action bought nothing measurable. In the primary analysis, however, the savings are accounted for by a missing-data pattern, not by triage skill. A block of seven patient-level variables is blank for 712 of 1,891 lesions, none of the 712 is a cancer, and a blank is encoded as “absent”, so every model can see the pattern. In the pre-specified complete-case analysis the agent cost 9.78 [9.58, 9.96] against 10 for referring every lesion, and H1 was not supported. In the post hoc analysis, the rule “discharge if the block is blank, otherwise refer”, which uses no clinical finding, cost 6.19 per lesion; the agent was not shown to be cheaper than this rule at any setting (central setting, agent minus rule: +0.51 [+0.10, +1.04]). On test lesions with the block present it was not shown to be cheaper than referring all of them (+0.24 [−0.36, +1.09]). In the second partition of the patients the same analysis is less one-sided: there the agent is cheaper than the rule at the lowest miss cost ( c M = 20 ) and is not shown to differ from it at five of the other six settings.
This paper makes three contributions. The first is a pre-specified evaluation of an RL triage agent against tuned simple policies, in which a small ensemble DQN proved a stable learner that matched or beat tuned thresholds. The second is evidence that the image acquisition action adds no measurable value on this dataset. The third is the identification and quantification of a missing-data artefact in PAD-UFES-20 that accounts for the pre-specified savings of the primary analysis, with practical recommendations; audit missingness against the label, report complete-case results, and report a missingness-only baseline.

2. Materials and Methods

2.1. Data and Preprocessing

We used PAD-UFES-20 [5]: 2,298 smartphone photographs of skin lesions from 1,373 patients, with diagnosis and clinical metadata. The unit of analysis is the lesion, keyed on patient and lesion identifier, because the lesion identifier alone is not unique in the released file (250 values are shared by two patients). This gives 1,891 lesions, where the data paper counts 1,641. A lesion takes the metadata of its first image row (by image identifier); no lesion had rows that disagreed. The label is cancer (basal cell carcinoma, squamous cell carcinoma, melanoma) against non-cancer (actinic keratosis, naevus, seborrhoeic keratosis); prevalence is 0.441 per lesion.
The metadata form 19 input columns; eleven binary variables (itch, grew, hurt, changed, bleed, elevation, smoking, alcohol, pesticide exposure, skin-cancer history, cancer history), four numeric variables (age, two diameters, Fitzpatrick phototype), three indicators of body site (head and neck; trunk; limbs) and an indicator of female gender. We excluded the biopsy flag (a proxy for the label), the diagnosis, the identifiers, parental background, piped water and sewage.
A binary variable is coded 1 only when the file records it as true; false, UNK and blank are coded 0 (absent), as is a blank gender. A missing numeric value takes the training-set median. No missingness indicator is added. These rules matter later: seven patient-level columns (smoking, alcohol, pesticide exposure, gender, the two cancer-history columns and phototype) are all blank for 712 lesions and not for the other 1,179, so a blank block is a recognisable input pattern (Table 1).
Each image was passed once through a frozen ResNet-50 [23] with ImageNet weights [24] (torchvision IMAGENET1K_V2), without its classification layer. A logistic regression (inverse regularisation strength 0.5) on the standardised embeddings, reduced to 128 principal components, gives the image score. Training images are scored out of sample: the training set is cut into five disjoint parts of whole patients and each part is scored by a model fitted on the other four. Test images are scored by the model fitted on the whole training set. The score of a lesion is the mean over its images.

2.2. Cost Model

Metadata are free, a photograph costs 1, a referral c R and a discharged cancer c M , in ordinal units of burden. For a lesion with label y ∈ { 0 , 1 } the cost of a decision is
C = 1 [ photographed ] + c R 1 [ referred ] + c M y 1 [ discharged ] .
Referral is the cheaper decision when the probability of cancer exceeds c R / c M  [10]. Table 2 lists the seven settings, fixed in advance. The best constant policy refers all lesions or discharges all, whichever is cheaper on the training set; it is the reference level for all three hypotheses.

2.3. Decision Process and Agent

Triage of one lesion is one episode of classification with costly features [6] with one acquirable feature (Figure 1). The state has 21 entries: the standardised metadata, the standardised logit of the image score (clipped to [ 0.001 , 0.999 ] ; zero until the photograph is taken) and a flag for whether it has been taken. The first actions are DISCHARGE, REFER and PHOTOGRAPH; PHOTOGRAPH reveals the score in state s 1 , where the actions are DISCHARGE and REFER. Rewards are the negative costs of Equation (1) divided by c M : − 1 / c M for PHOTOGRAPH, − c R / c M for REFER and − y for DISCHARGE. There is no discounting.
The learner is a deep Q-network [25] with the Double-DQN target [26]. With online parameters θ and target parameters θ − , the regression target for action a with reward r is
q = r , a ∈ { DISCHARGE , REFER } , r + Q θ − s 1 , arg max a ′ Q θ ( s 1 , a ′ ) , a = PHOTOGRAPH ,
where a ′ is DISCHARGE or REFER. The loss is the squared error. The network has two hidden layers of 32 ReLU units. An epoch is one pass over the training lesions in batches of 32 ε -greedy episodes, each batch followed by one gradient step on a minibatch of 128 transitions drawn uniformly from a replay buffer of capacity 50,000. We trained for 400 epochs, with ε annealed linearly from 1.0 to 0.05 over the first half, AdamW [27] with learning rate 0.001 and decoupled weight decay 1.0, the gradient norm clipped at 10 and the target network copied every 100 gradient steps. These settings are the same for every cost setting and seed and were chosen on the synthetic data of Section 2.9 only.
The agent, RL-Triage, is an ensemble of five such networks. The training set is cut into five disjoint parts of whole patients; member k trains on four parts and keeps the checkpoint, evaluated every five epochs, with the lowest greedy cost on part k. The policy acts greedily on the mean Q-value of the members. One agent was trained per cost setting and training seed (seeds 0 to 19). The seed sets only the initial weights, the exploration and the cut into five parts.
Two ablations were trained in the same way with the same seeds. The metadata-only agent has no PHOTOGRAPH action. The fitted-Q ablation removes exploration: every action of every sampled lesion, in both states, enters the buffer, as in fitted-Q iteration [28].

2.4. Baselines

Table 3 lists the baselines. Each picks its operating point on the training set by minimising the expected cost that the agent is trained on. Thresholds are searched on 41 equally spaced values in [ 0 , 1 ] and band limits on 21. The logistic regressions use standardised inputs and L2 regularisation of unit strength; the trees are CART [29].

2.5. Evaluation

The patients were divided once, at random, into a training set (70%) and a held-out test set (30%), stratified on whether the patient has at least one cancer, with all lesions of a patient on the same side: 1,334 training lesions and 557 test lesions of 412 patients, 242 of them cancers. Every fitted object (image model, imputation medians, standardisation, networks, checkpoints, thresholds) uses the training set only; the test set is used once per trained policy.
The outcome is the expected cost per lesion on the test set. For the agent and its ablations, the cost and the decisions for a lesion are averaged over the 20 seeds first, so an estimate is an expected value over training seeds.
Every estimate carries a 95% percentile interval [30] from a bootstrap that resamples test patients, not lesions, because the lesions of one patient are not independent [31]. The 10,000 resamples are shared by all methods, so differences between methods are paired. We computed no p-values: a claim is decided by whether the two-sided 95% interval excludes its margin, which corresponds to a one-sided test at 2.5% [32].
The intervals are conditional on the training set, the partition of the patients and the 20 seeds drawn; the standard deviation over seeds is reported beside them (Table A2).

2.6. Hypotheses

Let C m be the expected test cost of method m. Three hypotheses were specified in advance as separate claims, with no adjustment across them.
H1
Non-inferiority. At each primary setting the agent keeps at least 80% of the saving of the two-stage LR over the best constant policy:
d = C agent − C LR − 0.2 C const − C LR < 0 .
The agent is non-inferior at a setting if the upper interval limit of d is below zero. A setting where the estimated saving C const − C LR is below 0.1 has no headroom and does not count as non-inferior. H1 is supported only if non-inferiority is shown at all five primary settings, an intersection-union decision [33] that needs no adjustment for multiplicity.
H2
Lower cost than simpler policies. The normalised cost of a method is C m / C const , averaged over the primary settings. H2 is supported only if the upper interval limit of the difference in normalised cost, agent minus comparator, is below zero against each of the cost-sensitive tree on the metadata, the two-stage tree and the metadata-only agent.
H3
Sufficiency of the metadata. At the central setting, (a) the lower interval limit of the fraction of lesions decided without a photograph exceeds 0.50, (b) the estimated sensitivity of the multimodal LR minus that of the agent is at most 0.05, and (c) the upper interval limit of C agent − C const is below zero. All three are required. Criterion (b) is descriptive, judged on the estimate alone, so H3 as a whole does not carry the error rate of (a) and (c).

2.7. Secondary and Sensitivity Analyses

These analyses were pre-specified without a hypothesis. The agent is compared by paired cost differences with its ablations at every setting (Table A1) and with every method at the central setting (Figure 3). Net benefit [34] is reported at the threshold probability c R / c M of each primary setting, with the photograph counted as a harm; with test prevalence π it equals ( c M π − C m ) / ( c M − c R ) , the expected cost on another scale and no new comparison (Table A3).
Two analyses repeat the whole experiment. The complete-case analysis keeps only the lesions whose patient-level block is present and divides their patients in the same way; it was specified because blank-as-absent coding and median imputation can turn the way the data were collected into a signal. The second partition divides all patients again in the same proportions with another random seed. The first partition remains the primary analysis whatever these two show, and their hypothesis verdicts are descriptive.
The permutation sensitivity of the first action is the fraction of test lesions whose first action changes when one metadata variable is permuted across lesions (Figure A1).

2.8. Post Hoc Analysis

One analysis was added after the primary results had been seen. It is not part of the protocol and changes no pre-specified result. The data audit showed no cancer among lesions with a blank block and the complete-case analysis showed little saving, so we asked how much of the primary saving is due to the pattern of blanks. The blank-block rule discharges a lesion if the block is blank and refers it otherwise. From the stored decisions and the same bootstrap we computed, for six policies (the agent, the metadata-only agent, the two-stage LR, the metadata LR, the multimodal LR and the cost-sensitive tree on the metadata), the paired cost difference to the rule and the expected cost on the block-present test lesions minus c R , the cost of referring them all; and, for the agent, the fractions of blank-block test lesions referred and photographed. The same script was run on the second partition.

2.9. Recovery Check on Synthetic Data

Before the real data were used, we tested the learner on synthetic data with the PAD-UFES-20 schema and a planted structure (2,281 lesions of 1,400 patients, prevalence 0.51). Lesions that bled or carry a skin-cancer history are cancers with probability 0.90; of the others, those that neither grew nor changed are cancers with probability 0.04 and the rest with probability 0.40. The image separates the classes only in this last, middle stratum. The planted policy is the best member, on training cost, of the family that refers or discharges each outer stratum and refers, discharges or photographs the middle one with a threshold on the image score.
The synthetic patients were divided as in Section 2.5 and the agent was trained with 10 seeds at the five primary settings. Four criteria apply at every setting. Fit: the mean training-cost gap to the planted policy is at most 0.10 and at least 75% of the seeds are within 0.10. Generalise: the estimated test-cost gap is at most 0.10. Non-trivial: where the planted policy is cheaper than the best constant policy on the test set, the upper interval limit of the agent’s cost minus the best constant policy’s is below zero. Selective: where the planted policy photographs between 5% and 95% of the test lesions, at least half of the agent’s seeds do too.
The check was not passed (Table 4): at c M = 200 the agent misses the generalisation limit and is not shown to be cheaper than the best constant policy. By protocol the check does not gate the study; we left criteria and learner unchanged and carry the outcome as a limitation (Section 4.5).

2.10. Protocol, Implementation and Reporting

The protocol was frozen on 28 November 2026 (hash 3094e40052af2cdb), before any model had been evaluated on PAD-UFES-20, and was not registered externally. Freezing records the hashes of the protocol, the experiment code and the analysis code in a lock file, without which experiments on the real data do not start. There were no deviations. On 27 November 2026, before freezing, the released metadata file was read for its structure (columns, missingness, identifiers), and to test the code on the real column formats the smoke profile was run once on that file with the diagnosis permuted across lesions and random numbers in place of the image embeddings; that run was deleted, and no result on the true labels or on any image had been computed when the protocol was frozen.
The Q-networks and their optimiser are written in NumPy; regressions, principal components and trees use scikit-learn [35]; PyTorch and torchvision serve only to extract the embeddings. The code requires NumPy 1.26, pandas 2.1 and scikit-learn 1.4 or later and ran under Python 3.13.9. The 20 runs of the main experiment took 2,563 seconds in parallel on a laptop processor (Intel Core Ultra 5 235U, 14 logical cores, no GPU). Reporting follows TRIPOD+AI [36].

3. Results

3.1. Study Sample and Discrimination of the Scores

The clinical metadata alone discriminate cancer better than the image score. The hold-out gave 1,334 training lesions and 557 test lesions of 412 patients, 242 of them cancers (Table 1). On the test set the image score has an AUROC of 0.822 and an average precision of 0.740, the metadata LR 0.910 and 0.859, and the multimodal LR 0.924 and 0.884. Adding the image score to the metadata therefore raises the AUROC by little. These are point estimates and do not depend on the training seed.

3.2. Expected Cost

RL-Triage has the lowest estimated cost of all methods other than its own ablations at six of the seven cost settings, and at the central setting it is cheaper than every baseline. Table 5 gives the expected cost per lesion of every method at every setting and Figure 2 shows the main methods across the miss cost. At the central setting the agent costs 6.70 [6.06, 7.40], the two-stage LR 7.74 [6.71, 8.87] and the best constant policy, which refers every lesion, 10.00. At ( c R = 10 , c M = 20 ) the metadata LR (5.94 [5.33, 6.56]) and the two-stage LR (5.97 [5.36, 6.59]) have slightly lower estimates than the agent (6.01 [5.42, 6.61]). The intervals of the individual costs overlap widely between the learned policies at every setting, so the comparisons rest on the paired differences.
Paired differences were pre-specified at the central setting (Figure 3). The difference, agent minus method, is −1.04 [−1.90, −0.30] against the two-stage LR and −3.30 [−3.94, −2.60] against the best constant policy. The interval lies below zero against every other baseline as well; the smallest of these differences is the one to the two-stage LR and the largest the one to the fixed clinical rule ( − 15.740 [ − 19.267 , − 12.422 ]). It does not exclude zero against the metadata-only agent ( − 0.131 [ − 0.495 , + 0.277 ]) or the fitted-Q ablation ( − 0.088 [ − 0.289 , + 0.220 ]). The metadata-only agent costs 6.83 [6.18, 7.51] at the central setting and has a lower estimate than the agent at four of the seven settings (Table 5).
Policies that always photograph have higher estimated costs than their metadata counterparts at every setting. At the central setting the multimodal LR costs 8.50 [7.52, 9.59] against 8.13 [7.22, 9.17] for the metadata LR, and the cost-sensitive tree with the image costs 8.86 [7.93, 9.87] against 7.77 [7.25, 8.34] without it. The image-score threshold costs 11.00 [10.12, 12.00], more than referring every lesion.

3.3. Clinical Outcomes at the Central Setting

At the central setting the agent has about the estimated specificity of the two-stage LR and a higher estimated sensitivity (Table 6). Its sensitivity is 0.991 [0.978, 0.999] and its specificity 0.681 [0.621, 0.741]. Per 1,000 lesions it photographs 192 [160, 227], refers 611 [558, 660] and misses 4.0 [0.4, 9.5] cancers. The two-stage LR reaches a sensitivity of 0.963 [0.938, 0.984] and a specificity of 0.679 [0.619, 0.740], photographs 129 [100, 161], refers 600 [548, 649] and misses 16.2 [7.0, 27.2] cancers per 1,000. The metadata-only agent, which cannot photograph, has a sensitivity of 0.989 [0.977, 0.997] and a specificity of 0.639 [0.577, 0.701]. The cost-sensitive tree on the metadata is at least as sensitive as the agent (0.996 [0.987, 1.000]) but refers 759 [716, 802] per 1,000. The fixed clinical rule misses 192.1 [155.7, 231.0] cancers per 1,000 at a sensitivity of 0.558 [0.487, 0.628].

3.4. Pre-Specified Hypotheses

Of the three pre-specified hypotheses, H1 and H3 are supported and H2 is not (Table 7). Here “supported” has the meaning fixed in Section 2.6: the two-sided 95% interval of each required contrast lies on the favourable side of its margin. No p-value was computed, and a contrast whose interval includes its margin is reported as “not shown”, not as evidence of no difference.
H1 required non-inferiority to the two-stage LR at all five primary settings, with a margin of 20% of that policy’s saving over the best constant policy. The contrast, which is negative when the agent is within the margin, is − 0.504 [ − 0.728 , − 0.279 ] at c M = 20 , − 0.928 [ − 1.181 , − 0.673 ] at c M = 30 , − 1.013 [ − 1.330 , − 0.721 ] at c M = 50 , − 1.491 [ − 2.184 , − 0.892 ] at c M = 100 and − 2.076 [ − 3.121 , − 1.269 ] at c M = 200 . Every upper limit is below zero, so H1 is supported. The difference in cost itself, agent minus two-stage LR, runs from + 0.039 at c M = 20 to − 1.868 at c M = 200 .
H2 required a lower normalised expected cost than three simpler policies. The agent (0.673) is lower than the cost-sensitive tree on the metadata (0.737; difference − 0.064 [ − 0.106 , − 0.019 ]) and the two-stage tree (0.729; − 0.056 [ − 0.098 , − 0.012 ]). It is not shown to be lower than the metadata-only agent (0.668): the difference is +0.005 [−0.012, +0.027], with a point estimate that favours the ablation. H2 needed all three comparisons, so it is not supported. The agent that can photograph is not measurably cheaper than the same agent without that action.
H3 had three criteria at the central setting. The fraction of lesions decided without a photograph is 0.808 [0.773, 0.840], with a lower limit above 0.50. The sensitivity lost against the multimodal LR is − 0.024 [ − 0.044 , − 0.007 ], that is, the agent is the more sensitive of the two; this criterion was judged on the estimate against a margin of 0.05 and is descriptive. The cost difference to the best constant policy is −3.30 [−3.94, −2.60], with an upper limit below zero. All three hold, so H3 is supported.

3.5. Ablations and Seed Variability

At six of the seven settings neither the photograph action nor exploration changes the cost measurably, and the agent is stable over training seeds. The per-setting difference between the agent and the metadata-only agent has an interval that includes zero at six settings; at ( c R = 10 , c M = 20 ) it is + 0.127 [ + 0.030 , + 0.227 ], in favour of the metadata-only agent (Table A1). Against the fitted-Q ablation the interval includes zero at six settings and favours the agent at ( c R = 10 , c M = 20 ), with − 0.090 [ − 0.158 , − 0.023 ]. The agent’s test cost exceeds its mean training cost at every setting, for example 6.70 against 6.23 at the central setting and 13.03 against 11.86 at ( c R = 20 , c M = 100 ).
The standard deviation of the test cost over the 20 seeds is 0.148 at the central setting (range 6.540 to 7.050) and lies between 0.055 and 0.211 over all settings (Table A2), small beside the width of the bootstrap intervals. Every seed is selective at every setting, that is, it photographs between 5% and 95% of the test lesions. Averaged over seeds, the agent photographs between 0.12 and 0.26 of the test lesions depending on the setting (primary settings in Figure 4a). The seed at the median test cost (seed 14, cost 6.64) discharges 0.30 of the lesions at once, photographs 0.20 and refers 0.50.
The first action of the agent is most sensitive to permuting gender (0.194 of test lesions change, range over seeds 0.174 to 0.223), elevation (0.173), cancer history (0.151), region (0.142), skin cancer history (0.130) and pesticide exposure (0.122) (Figure A1). This is a property of the agent and not an account of how it decides. Gender, cancer history and pesticide exposure are not lesion findings: they belong to the patient-level block examined in Section 3.7.

3.6. Sensitivity Analyses

The second partition of the patients reproduces all three verdicts, and the complete-case experiment does not (Table 7, Figure 5). Both experiments were pre-specified as sensitivity analyses. The package labels their reports exploratory and their verdicts descriptive, because only the experiment on the first partition of all lesions is the frozen primary analysis.
In the second partition (1,306 training and 585 test lesions) the agent costs 6.93 [6.24, 7.69] at the central setting and − 3.070 [ − 3.763 , − 2.313 ] relative to the best constant policy. The H1 contrast is below zero at all five settings, from − 0.609 [ − 0.813 , − 0.394 ] at c M = 20 to − 1.522 [ − 2.567 , − 0.711 ] at c M = 200 . The H2 difference to the metadata-only agent is + 0.018 [ − 0.005 , + 0.045 ], again not shown. The fraction decided without a photograph is 0.774 [0.735, 0.811]. One result of the main experiment is not repeated: at the central setting the agent is not shown to be cheaper than the two-stage LR ( − 0.458 [ − 1.263 , + 0.246 ]).
The complete-case experiment keeps the 1,179 lesions whose patient-level block is present (844 training and 335 test lesions; prevalence 0.707). Here the savings nearly vanish. The agent costs 9.78 [9.58, 9.96] at the central setting, − 0.224 [ − 0.419 , − 0.044 ] relative to referring every lesion, and the interval of its cost includes the cost of referring every lesion at c M = 20 , 30 and 50 and at ( c R = 20 , c M = 100 ). H1 is not supported: non-inferiority is not shown at c M = 20 ( − 0.101 [ − 0.336 , + 0.127 ]) or c M = 30 ( + 0.228 [ − 0.036 , + 0.507 ]), and at the other three settings the two-stage LR saves less than 0.1 over the best constant policy, so there is no headroom. H2 is not supported ( + 0.005 [ − 0.001 , + 0.012 ] against the metadata-only agent). H3 is formally supported, with 0.920 [0.894, 0.943] of lesions decided without a photograph, but the agent then refers 967 [947, 984] per 1,000 lesions at a specificity of 0.119 [0.061, 0.186]. The permutation sensitivities of gender, cancer history and pesticide exposure fall to 0.022, 0.024 and 0.026.

3.7. Post Hoc Analysis: The Blank Patient-Level Block

In the primary analysis the agent is not shown to be cheaper at any setting than a rule that looks only at whether the patient-level block is blank, and it is dearer than that rule at four of the seven. This analysis is post hoc and changes no pre-specified verdict (Section 2.8).
The block is blank for 712 of the 1,891 lesions and none of these is a cancer; the cancer rate is 0.707 in the 1,179 lesions where the block is present (Figure 6a). In the test set 212 lesions have a blank block, again with no cancer among them. “Block present” used alone as a score for cancer has an AUROC of 0.837 on the test set, above that of the image score.
The blank-block rule costs 6.19 per lesion at c R = 10 whatever the miss cost, 3.10 at c R = 5 and 12.39 at c R = 20 . The agent is not shown to be cheaper than the rule at any setting (Table 8, Figure 6b). The interval of agent minus rule excludes zero in favour of the rule at four settings: + 0.41 [ + 0.06 , + 0.81 ] at ( c R = 10 , c M = 50 ), +0.51 [+0.10, +1.04] at the central setting, + 0.90 [ + 0.26 , + 1.86 ] at ( c R = 10 , c M = 200 ) and + 0.43 [ + 0.14 , + 0.87 ] at ( c R = 5 , c M = 100 ). It includes zero at the other three: − 0.18 [ − 0.48 , + 0.12 ] at c M = 20 , + 0.15 [ − 0.16 , + 0.47 ] at c M = 30 and + 0.64 [ − 0.05 , + 1.40 ] at ( c R = 20 , c M = 100 ). The two-stage LR, the metadata LR and the multimodal LR are dearer than the rule at the central setting by + 1.55 [ + 0.65 , + 2.59 ], + 1.94 [ + 1.14 , + 2.89 ] and + 2.31 [ + 1.47 , + 3.28 ]. The only contrast against the rule whose interval does not reach above zero is that of the metadata-only agent at c M = 20 , − 0.31 [ − 0.61 , − 0.00 ], with an upper limit that rounds to zero.
On the test lesions whose block is present, the agent is not shown to be cheaper than referring all of them at any setting (Figure 6c). The difference is +0.24 [−0.36, +1.09] at the central setting and ranges from − 0.35 [ − 0.84 , + 0.12 ] at c M = 20 to + 0.80 [ − 0.19 , + 2.33 ] at c M = 200 . Two metadata policies save a little at c M = 20 only: the metadata-only agent ( − 0.55 [ − 1.04 , − 0.07 ]) and the metadata LR ( − 0.58 [ − 1.14 , − 0.03 ]). At the central setting the two-stage LR, the metadata LR and the multimodal LR are dearer than referring all block-present lesions.
The agent discharges most blank-block lesions at once. Across settings it refers between 0.008 and 0.078 of them and photographs between 0.020 and 0.309 (primary settings in Figure 4b); at the central setting these fractions are 0.074 and 0.196. Since no blank-block lesion is a cancer, every such referral or photograph adds cost without preventing a miss. The saving of the primary analysis over the best constant policy is thus accounted for by the pattern of blanks.
The same analysis on the second partition (585 test lesions, 202 with a blank block and no cancer among them; AUROC of “block present” 0.808) is less one-sided. There the rule is cheaper than the agent with an interval that excludes zero only at ( c R = 5 , c M = 100 ) ( + 0.34 [ + 0.02 , + 0.80 ]). At c M = 20 the agent is cheaper than the rule ( − 0.62 [ − 1.01 , − 0.24 ]) and, on the block-present lesions, cheaper than referring all of them ( − 0.95 [ − 1.53 , − 0.37 ]). At the other settings neither difference excludes zero for the agent, so the second partition leaves room for a small saving from clinical findings at c M = 20 and shows none elsewhere.

3.8. Net Benefit

Net benefit gives the same ordering as expected cost, of which it is a rescaling (Table A3). At the central setting (threshold probability 0.10) the agent has a net benefit of 0.408 [0.359, 0.458], the two-stage LR 0.397 [0.347, 0.445], the metadata LR 0.392 [0.343, 0.442] and referring all 0.372 [0.318, 0.425]. At a threshold probability of 0.50 the metadata LR (0.275 [0.215, 0.334]) and the two-stage LR (0.271 [0.212, 0.331]) are marginally above the agent (0.268 [0.211, 0.324]).

4. Discussion

4.1. Principal Findings

The pre-specified analysis gave a formally favourable answer. RL-Triage was non-inferior to the two-stage LR at all five primary settings, so H1 was supported. At the central setting it cost 6.70 [6.06, 7.40] per lesion against 7.74 [6.71, 8.87] for the two-stage LR, a difference of −1.04 [−1.90, −0.30]. H3 was supported: the agent decided 0.808 [0.773, 0.840] of the test lesions without the photograph, and its cost relative to the best constant policy was −3.30 [−3.94, −2.60]. H2 was not supported, because the agent was not shown to be cheaper than its own metadata-only ablation (difference in normalised cost +0.005 [−0.012, +0.027]). A second partition of the patients reproduced all three verdicts (Table 7). The pre-specified complete-case sensitivity analysis changed the reading of these results. Restricted to the 1,179 lesions whose patient-level block is recorded, the agent cost 9.78 [9.58, 9.96] at the central setting, against 10.00 for referring every lesion, and H1 was not supported. The post hoc analysis then showed that the blank-block rule, which uses no clinical finding and costs 6.19 per lesion at c R = 10 , was not beaten by the agent at any of the seven settings (agent minus rule at the central setting: +0.51 [+0.10, +1.04]). The pre-specified savings of the primary analysis are therefore accounted for by the pattern of blanks, not by triage skill. The second partition qualifies this at the lowest miss cost only: there the agent was cheaper than the rule at c M = 20 ( − 0.62 [ − 1.01 , − 0.24 ]).

4.2. What the Agent Learned

None of the 712 lesions with a blank block is a cancer, and the indicator “block present” alone reaches an AUROC of 0.837 on the test set. In the primary analysis a rule that discharges on a blank and refers otherwise was as cheap as the agent or cheaper: the agent was not shown to be cheaper at any setting and was more expensive at four of the seven (Table 8, Figure 6). The agent did not apply the rule cleanly: at the central setting it photographed a fraction 0.196 and referred a fraction 0.074 of the blank-block test lesions, and paid for both. At the same setting the two-stage LR was + 1.55 [ + 0.65 , + 2.59 ] above the rule and the metadata LR + 1.94 [ + 1.14 , + 2.89 ]. The advantage of the agent over the logistic baselines is thus consistent with a closer approximation of the rule; we have no evidence that it reflects better use of clinical findings.
Among lesions whose block is present there was little to save. The cancer rate there is 0.707, above the referral threshold of every primary setting, including the highest (0.50 at c M = 20 ) and far above the others (0.33 to 0.05). On the block-present test lesions the agent was not shown to be cheaper than referring all of them at any setting (central setting: +0.24 [−0.36, +1.09]). Only the metadata-only agent ( − 0.55 [ − 1.04 , − 0.07 ]) and the metadata LR ( − 0.58 [ − 1.14 , − 0.03 ]) were, and only at c M = 20 . In the second partition the agent itself was cheaper than refer-all on these lesions at c M = 20 ( − 0.95 [ − 1.53 , − 0.37 ]) and at no other setting, so a small saving from clinical findings at the highest referral threshold cannot be excluded. In the complete-case experiment, where no model saw the blank pattern, the agent differed from refer-all by − 0.224 [ − 0.419 , − 0.044 ] at the central setting while referring 967 [947, 984] of every 1,000 lesions: a policy close to refer-all.
The PHOTOGRAPH action added nothing measurable. This is consistent with the discrimination of the scores: the metadata LR had an AUROC of 0.910, the image score 0.822 and the multimodal LR 0.924. The order held in the complete cases (0.792, 0.741 and 0.814). The image arm was weak (Section 4.5), so this says little about photographs in general.
We read this as shortcut learning [15]: low loss reached through a feature that reflects how the data were assembled. Examples in medical imaging include data-source cues in chest radiographs [16,17] and surgical skin markings in dermoscopic images [18]; aggregate metrics can hide such failures [19]. Here the shortcut sits in the tabular data, as informative missingness. That the presence of a recorded item can carry more signal than its value is documented for health records [20], and the missing-indicator method is a known source of bias [21]. Missingness may be used for prediction only if the mechanism that produces it will be the same at deployment [22]. Why the block is blank is a property of data collection that we cannot determine from the released file. One plausible reading, which we state as a hypothesis and have not tested, is that the block was recorded on a pathway associated with biopsy or suspected malignancy. The data paper reports that the cancers are biopsy-proven while benign lesions may carry a consensus clinical diagnosis [5], which is compatible with this reading without establishing it. Whatever the cause, a triage system that records these variables for every patient would not have this signal.

4.3. Implications for Work on PAD-UFES-20 and for Reporting

The artefact belongs to the dataset, not to our agent, and every method we evaluated had access to it. Any model, past or future, that uses these seven patient-level variables with a blank read as absent, or with a missing-value indicator, is exposed in the same way. This includes models that combine patient information with images, an approach reported to improve classification [4]. We have not re-analysed any published model and make no claim about any particular one. Our claim is that, on this dataset, a gain attributed to patient metadata cannot be interpreted until the contribution of the blank pattern has been measured.
Four practices follow. Cross-tabulate missingness against the label before fitting any model. Report a baseline that uses only the missingness pattern, such as the blank-block rule here. Report complete-case results beside the main ones. Treat a pre-specified hypothesis test as necessary but not sufficient: H1 and H3 were supported under a frozen protocol and still did not show what they were designed to show. These practices fit the reporting of missing data that TRIPOD+AI asks for [36]. Our protocol named the risk and set the complete-case experiment against it before any model was evaluated on the data, and that experiment exposed the problem. Pre-specifying sensitivity analyses, not only hypotheses, paid off.

4.4. Reinforcement Learning for One-Step Acquisition

The learner itself was stable on these data. Seed variance, a known weak point of deep reinforcement learning [13,14], was low: over the 20 training seeds the test cost at the central setting had a standard deviation of 0.148 and a range of 6.540 to 7.050 (Table A2). The agent was non-inferior to the tuned two-stage LR at every primary setting with one configuration chosen on synthetic data. With checkpoint selection on held-out patients within a five-member ensemble, over-fitting was moderate: training and test cost at the central setting were 6.23 and 6.70 (Table A1).
The case for reinforcement learning as such is weaker. Exploration gave no clear gain over fitted-Q iteration [28] with the same networks: the difference at the central setting was − 0.088 [ − 0.289 , + 0.220 ], and the interval excluded zero only at c M = 20 ( − 0.090 [ − 0.158 , − 0.023 ]). With the acquisition action contributing nothing, the problem reduced to cost-sensitive classification [10], at which the metadata-only agent was not measurably worse. A deep RL agent was not shown to be needed for this problem. Whether it helps when the acquirable feature is informative [6] could not be tested here.

4.5. Limitations

The study uses one dataset from one programme in Brazil [5], with no external validation and no prospective evaluation. The image score comes from a single frozen ResNet-50 with ImageNet weights [23,24] and was not fine-tuned on skin lesions, so the image was a weak arm and the null result for PHOTOGRAPH should not be generalised. Costs are in ordinal burden units that we set ourselves; they were not elicited from clinicians or patients. There is a single hold-out, so the intervals express test-set uncertainty conditional on the training set, the partition and the 20 seeds drawn. The second partition and the complete-case experiment were pre-specified as sensitivity analyses; they are not the frozen primary analysis and their hypothesis verdicts are descriptive. The analysis of the blank-block rule is post hoc, and on the second partition it agrees less closely with the primary partition at c M = 20 . The recovery check on planted synthetic data was not passed at c M = 200 (Table 4); results at that setting deserve the least weight. The dataset contains few melanomas (Table 1), so sensitivity for that subtype is uncertain. Verification differs by diagnosis [5], and we did not examine how this relates to the blank block.

5. Conclusions

On PAD-UFES-20, a reinforcement-learning agent was non-inferior in expected cost to a tuned two-stage logistic regression and decided most lesions without the photograph, as pre-specified. These results do not show triage skill. A block of patient-level variables is blank for 712 lesions, none of them a cancer, and in the primary analysis a rule that reads only that pattern was as cheap as the agent or cheaper; in a second partition of the patients the agent was cheaper than the rule at the lowest miss cost only. Where the block is recorded the cancer rate is 0.707, and savings over referring every lesion were small or not shown. Acquiring the photograph added no measurable value. Studies that use the patient-level metadata of this dataset should audit missingness against the label and report a missingness-only baseline and complete-case results. The question we set out to answer remains open. Answering it needs a dataset in which the patient-level variables are recorded for every patient, ideally collected prospectively, an image model fine-tuned on skin lesions, and costs elicited from clinicians and patients.

Author Contributions

Conceptualization, Y.A.S. and A.A.I.; methodology, Y.A.S.; writing (original draft), Y.A.S.; writing (review and editing), A.A.I. All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding.

Institutional Review Board Statement

Not applicable. The study used only PAD-UFES-20, a public, de-identified dataset. Its authors report that the collection programme was approved by their university ethics committee (no. 500002/478) and through Plataforma Brasil (no. 4.007.097), and that data were collected with patient consent [5].

Data Availability Statement

PAD-UFES-20 is available from Mendeley Data (https://doi.org/10.17632/zr7vgbcyr2.1) under a CC BY 4.0 licence [5]. The evaluation protocol, the code and the results of every run are available at https://github.com/Yusuf8297/rl_triage_P1-.

Acknowledgments

The authors thank the Dermatological and Surgical Assistance Programme of the Federal University of Espírito Santo for releasing PAD-UFES-20. During the preparation of this manuscript the authors used Claude (Anthropic) to assist with drafting text and with code for tables and figures. The authors reviewed and edited all output and take full responsibility for the content of this publication.

Conflicts of Interest

The authors declare no conflicts of interest.

Abbreviations

The following abbreviations are used in this manuscript:
ACK Actinic keratosis
AUROC Area under the receiver operating characteristic curve
BCC Basal cell carcinoma
CART Classification and regression trees
DQN Deep Q-network
LR Logistic regression
MEL Melanoma
NEV Naevus
RL Reinforcement learning
SCC Squamous cell carcinoma
SEK Seborrhoeic keratosis
TRIPOD+AI Transparent reporting of a multivariable prediction model for individual prognosis or diagnosis, with artificial intelligence

Appendix A. Additional Results

Table A1. Ablations and learning diagnostic in the primary analysis. Training cost is the mean over the 20 seeds; differences are in test cost with 95% intervals; the last column is the epoch of the selected checkpoint (median over the five members, mean over seeds).
Table A1. Ablations and learning diagnostic in the primary analysis. Training cost is the mean over the 20 seeds; differences are in test cost with 95% intervals; the last column is the epoch of the selected checkpoint (median over the five members, mean over seeds).
( c R , c M ) Train Test Agent minus metadata-only Agent minus fitted-Q Best epoch
(10, 20) 5.28 6.01 +0.127 [+0.030, +0.227] −0.090 [−0.158, −0.023] 134
(10, 30) 5.74 6.34 +0.058 [−0.086, +0.198] −0.060 [−0.132, +0.020] 121
(10, 50) 5.95 6.61 −0.051 [−0.253, +0.139] −0.057 [−0.203, +0.117] 146
(10, 100) 6.23 6.70 −0.131 [−0.495, +0.277] −0.088 [−0.289, +0.220] 196
(10, 200) 6.36 7.10 +0.246 [−0.219, +0.881] +0.008 [−0.353, +0.542] 308
(5, 100) 3.23 3.52 +0.099 [−0.089, +0.364] −0.078 [−0.217, +0.111] 276
(20, 100) 11.86 13.03 −0.283 [−0.732, +0.128] −0.026 [−0.331, +0.328] 135
Table A2. Test cost over the 20 training seeds in the primary analysis (descriptive). A seed is selective if its policy photographs between 5% and 95% of the test lesions.
Table A2. Test cost over the 20 training seeds in the primary analysis (descriptive). A seed is selective if its policy photographs between 5% and 95% of the test lesions.
( c R , c M ) Learner Mean SD Min Max Selective seeds
(10, 20) RL-Triage 6.014 0.055 5.923 6.149 1.00
Metadata-only agent 5.887 0.051 5.799 5.961 0.00
Fitted-Q ablation 6.104 0.045 6.016 6.196 1.00
(10, 30) RL-Triage 6.339 0.064 6.224 6.415 1.00
Metadata-only agent 6.281 0.050 6.176 6.373 0.00
Fitted-Q ablation 6.399 0.073 6.248 6.585 1.00
(10, 50) RL-Triage 6.605 0.113 6.366 6.837 1.00
Metadata-only agent 6.656 0.107 6.463 6.858 0.00
Fitted-Q ablation 6.662 0.109 6.474 6.801 1.00
(10, 100) RL-Triage 6.702 0.148 6.540 7.050 1.00
Metadata-only agent 6.833 0.201 6.589 7.253 0.00
Fitted-Q ablation 6.790 0.100 6.562 6.941 1.00
(10, 200) RL-Triage 7.096 0.211 6.819 7.456 1.00
Metadata-only agent 6.850 0.190 6.589 7.325 0.00
Fitted-Q ablation 7.088 0.196 6.684 7.422 1.00
(5, 100) RL-Triage 3.524 0.088 3.406 3.688 1.00
Metadata-only agent 3.425 0.095 3.294 3.662 0.00
Fitted-Q ablation 3.602 0.082 3.431 3.729 1.00
(20, 100) RL-Triage 13.030 0.206 12.646 13.445 1.00
Metadata-only agent 13.312 0.214 12.926 13.716 0.00
Fitted-Q ablation 13.056 0.185 12.697 13.339 1.00
Table A3. Net benefit per lesion at the threshold probability p t = c R / c M of each primary setting, with the photograph counted as a harm of the policy. Estimates [95% intervals]; higher is better; discharging every lesion has net benefit zero.
Table A3. Net benefit per lesion at the threshold probability p t = c R / c M of each primary setting, with the photograph counted as a harm of the policy. Estimates [95% intervals]; higher is better; discharging every lesion has net benefit zero.
p t 0.50 0.33 0.20 0.10 0.05
RL-Triage 0.268 [0.211, 0.324] 0.335 [0.282, 0.389] 0.378 [0.328, 0.429] 0.408 [0.359, 0.458] 0.420 [0.372, 0.469]
Two-stage LR 0.271 [0.212, 0.331] 0.323 [0.268, 0.378] 0.368 [0.317, 0.419] 0.397 [0.347, 0.445] 0.410 [0.361, 0.459]
Multimodal LR (always photograph) 0.175 [0.115, 0.235] 0.282 [0.229, 0.336] 0.347 [0.297, 0.398] 0.388 [0.339, 0.437] 0.408 [0.359, 0.456]
Metadata LR 0.275 [0.215, 0.334] 0.324 [0.272, 0.376] 0.367 [0.316, 0.418] 0.392 [0.343, 0.442] 0.408 [0.359, 0.456]
Refer all −0.131 [−0.227, −0.034] 0.152 [0.079, 0.224] 0.293 [0.233, 0.354] 0.372 [0.318, 0.425] 0.405 [0.354, 0.456]
Figure A1. Permutation sensitivity of the first action of RL-Triage at the central setting: fraction of test lesions whose first action changes when one metadata variable is permuted across lesions. Points are means over the 20 seeds and bars the range over seeds. This is a property of the agent, not a surrogate model of it.
Figure A1. Permutation sensitivity of the first action of RL-Triage at the central setting: fraction of test lesions whose first action changes when one metadata variable is permuted across lesions. Points are means over the 20 seeds and bars the range over seeds. This is a property of the agent, not a surrogate model of it.
Preprints 247081 g0a1

References

  1. Bray, F.; Laversanne, M.; Sung, H.; Ferlay, J.; Siegel, R.L.; Soerjomataram, I.; Jemal, A. Global cancer statistics 2022: GLOBOCAN estimates of incidence and mortality worldwide for 36 cancers in 185 countries. CA A Cancer J. Clin. 2024, 74, 229–263. [Google Scholar] [CrossRef]
  2. Esteva, A.; Kuprel, B.; Novoa, R.A.; Ko, J.; Swetter, S.M.; Blau, H.M.; Thrun, S. Dermatologist-level classification of skin cancer with deep neural networks. Nature 2017, 542, 115–118. [Google Scholar] [CrossRef]
  3. Daneshjou, R.; Vodrahalli, K.; Novoa, R.A.; Jenkins, M.; Liang, W.; Rotemberg, V.; Ko, J.; Swetter, S.M.; Bailey, E.E.; Gevaert, O.; et al. Disparities in dermatology AI performance on a diverse, curated clinical image set. Sci. Adv. 2022, 8, eabq6147. [Google Scholar] [CrossRef]
  4. Pacheco, A.G.C.; Krohling, R.A. The impact of patient clinical information on automated skin cancer detection. Comput. Biol. Med. 2020, 116, 103545. [Google Scholar] [CrossRef]
  5. Pacheco, A.G.C.; Lima, G.R.; Salomão, A.S.; Krohling, B.; Biral, I.P.; de Angelo, G.G.; Alves, F.C.R., Jr.; Esgario, J.G.M.; Simora, A.C.; Castro, P.B.C.; et al. PAD-UFES-20: A skin lesion dataset composed of patient data and clinical images collected from smartphones. Data Brief. 2020, 32, 106221. [Google Scholar] [CrossRef]
  6. Janisch, J.; Pevný, T.; Lisý, V. Classification with costly features using deep reinforcement learning. Proc. Proc. AAAI Conf. Artif. Intell. 2019, Vol. 33, 3959–3966. [Google Scholar] [CrossRef]
  7. Shim, H.; Hwang, S.J.; Yang, E. Joint active feature acquisition and classification with variable-size set encoding. In Proceedings of the Advances in Neural Information Processing Systems, 2018; Vol. 31. [Google Scholar]
  8. Chow, C.K. On optimum recognition error and reject tradeoff. IEEE Trans. Inf. Theory 1970, 16, 41–46. [Google Scholar] [CrossRef]
  9. Howard, R.A. Information value theory. IEEE Trans. Syst. Sci. Cybern. 1966, 2, 22–26. [Google Scholar] [CrossRef]
  10. Elkan, C. The foundations of cost-sensitive learning. In Proceedings of the Proceedings of the 17th International Joint Conference on Artificial Intelligence, 2001; pp. 973–978. [Google Scholar]
  11. Madras, D.; Pitassi, T.; Zemel, R. Predict responsibly: Improving fairness and accuracy by learning to defer. In Proceedings of the Advances in Neural Information Processing Systems, 2018; Vol. 31. [Google Scholar]
  12. Mozannar, H.; Sontag, D. Consistent estimators for learning to defer to an expert. In Proceedings of the Proceedings of the 37th International Conference on Machine Learning, 2020; pp. 7076–7087. [Google Scholar]
  13. Henderson, P.; Islam, R.; Bachman, P.; Pineau, J.; Precup, D.; Meger, D. Deep reinforcement learning that matters. Proc. Proc. AAAI Conf. Artif. Intell. 2018, Vol. 32, 3207–3214. [Google Scholar] [CrossRef]
  14. Agarwal, R.; Schwarzer, M.; Castro, P.S.; Courville, A.C.; Bellemare, M.G. Deep reinforcement learning at the edge of the statistical precipice. Proc. Adv. Neural Inf. Process. Syst. 2021, Vol. 34, 29304–29320. [Google Scholar]
  15. Geirhos, R.; Jacobsen, J.H.; Michaelis, C.; Zemel, R.; Brendel, W.; Bethge, M.; Wichmann, F.A. Shortcut learning in deep neural networks. Nat. Mach. Intell. 2020, 2, 665–673. [Google Scholar] [CrossRef]
  16. DeGrave, A.J.; Janizek, J.D.; Lee, S.I. AI for radiographic COVID-19 detection selects shortcuts over signal. Nat. Mach. Intell. 2021, 3, 610–619. [Google Scholar] [CrossRef]
  17. Roberts, M.; Driggs, D.; Thorpe, M.; Gilbey, J.; Yeung, M.; Ursprung, S.; Aviles-Rivero, A.I.; Etmann, C.; McCague, C.; Beer, L.; et al. Common pitfalls and recommendations for using machine learning to detect and prognosticate for COVID-19 using chest radiographs and CT scans. Nat. Mach. Intell. 2021, 3, 199–217. [Google Scholar] [CrossRef]
  18. Winkler, J.K.; Fink, C.; Toberer, F.; Enk, A.; Deinlein, T.; Hofmann-Wellenhof, R.; Thomas, L.; Lallas, A.; Blum, A.; Stolz, W.; et al. Association between surgical skin markings in dermoscopic images and diagnostic performance of a deep learning convolutional neural network for melanoma recognition. JAMA Dermatol. 2019, 155, 1135–1141. [Google Scholar] [CrossRef]
  19. Oakden-Rayner, L.; Dunnmon, J.; Carneiro, G.; Ré, C. Hidden stratification causes clinically meaningful failures in machine learning for medical imaging. In Proceedings of the Proceedings of the ACM Conference on Health, Inference, and Learning, 2020; pp. 151–159. [Google Scholar] [CrossRef]
  20. Agniel, D.; Kohane, I.S.; Weber, G.M. Biases in electronic health record data due to processes within the healthcare system: Retrospective observational study. BMJ 2018, 361, k1479. [Google Scholar] [CrossRef]
  21. Groenwold, R.H.H.; White, I.R.; Donders, A.R.T.; Carpenter, J.R.; Altman, D.G.; Moons, K.G.M. Missing covariate data in clinical research: When and when not to use the missing-indicator method for analysis. CMAJ 2012, 184, 1265–1269. [Google Scholar] [CrossRef]
  22. Sperrin, M.; Martin, G.P.; Sisk, R.; Peek, N. Missing data should be handled differently for prediction than for description or causal explanation. J. Clin. Epidemiol. 2020, 125, 183–187. [Google Scholar] [CrossRef]
  23. He, K.; Zhang, X.; Ren, S.; Sun, J. Deep residual learning for image recognition. In Proceedings of the Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, 2016; pp. 770–778. [Google Scholar] [CrossRef]
  24. Deng, J.; Dong, W.; Socher, R.; Li, L.J.; Li, K.; Fei-Fei, L. ImageNet: A large-scale hierarchical image database. In Proceedings of the Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, 2009; pp. 248–255. [Google Scholar] [CrossRef]
  25. Mnih, V.; Kavukcuoglu, K.; Silver, D.; Rusu, A.A.; Veness, J.; Bellemare, M.G.; Graves, A.; Riedmiller, M.; Fidjeland, A.K.; Ostrovski, G.; et al. Human-level control through deep reinforcement learning. Nature 2015, 518, 529–533. [Google Scholar] [CrossRef]
  26. van Hasselt, H.; Guez, A.; Silver, D. Deep reinforcement learning with double Q-learning. Proc. Proc. AAAI Conf. Artif. Intell. 2016, Vol. 30, 2094–2100. [Google Scholar] [CrossRef]
  27. Loshchilov, I.; Hutter, F. Decoupled weight decay regularization. In Proceedings of the International Conference on Learning Representations, 2019. [Google Scholar]
  28. Ernst, D.; Geurts, P.; Wehenkel, L. Tree-based batch mode reinforcement learning. J. Mach. Learn. Res. 2005, 6, 503–556. [Google Scholar]
  29. Breiman, L.; Friedman, J.H.; Olshen, R.A.; Stone, C.J. Classification and Regression Trees; Wadsworth: Belmont, CA, USA, 1984. [Google Scholar]
  30. Efron, B.; Tibshirani, R.J. An Introduction to the Bootstrap; Chapman & Hall: New York, NY, USA, 1993. [Google Scholar]
  31. Field, C.A.; Welsh, A.H. Bootstrapping clustered data. J. R. Stat. Soc. Ser. B 2007, 69, 369–390. [Google Scholar] [CrossRef]
  32. Piaggio, G.; Elbourne, D.R.; Pocock, S.J.; Evans, S.J.W.; Altman, D.G. Reporting of noninferiority and equivalence randomized trials: Extension of the CONSORT 2010 statement. JAMA 2012, 308, 2594–2604. [Google Scholar] [CrossRef]
  33. Berger, R.L.; Hsu, J.C. Bioequivalence trials, intersection-union tests and equivalence confidence sets. Stat. Sci. 1996, 11, 283–319. [Google Scholar] [CrossRef]
  34. Vickers, A.J.; Elkin, E.B. Decision curve analysis: A novel method for evaluating prediction models. Med. Decis. Mak. 2006, 26, 565–574. [Google Scholar] [CrossRef]
  35. Pedregosa, F.; Varoquaux, G.; Gramfort, A.; Michel, V.; Thirion, B.; Grisel, O.; Blondel, M.; Prettenhofer, P.; Weiss, R.; Dubourg, V.; et al. Scikit-learn: Machine learning in Python. J. Mach. Learn. Res. 2011, 12, 2825–2830. [Google Scholar]
  36. Collins, G.S.; Moons, K.G.M.; Dhiman, P.; Riley, R.D.; Beam, A.L.; Van Calster, B.; Ghassemi, M.; Liu, X.; Reitsma, J.B.; van Smeden, M.; et al. TRIPOD+AI statement: Updated guidance for reporting clinical prediction models that use regression or machine learning methods. BMJ 2024, 385, e078378. [Google Scholar] [CrossRef]
Figure 1. Study design. (a) The triage decision process. The agent sees the clinical metadata and discharges, refers, or pays one unit to reveal the image score before deciding. A referral costs c R and a discharged cancer costs c M . (b) Evaluation. Patients are divided once into a training set and a held-out test set; the agent is trained with 20 seeds at seven cost settings, and every estimate carries a 95% interval from a bootstrap that resamples test patients.
Figure 1. Study design. (a) The triage decision process. The agent sees the clinical metadata and discharges, refers, or pays one unit to reveal the image score before deciding. A referral costs c R and a discharged cancer costs c M . (b) Evaluation. Patients are divided once into a training set and a held-out test set; the agent is trained with 20 seeds at seven cost settings, and every estimate carries a 95% interval from a bootstrap that resamples test patients.
Preprints 247081 g001
Figure 2. Expected cost per lesion on the test set at the five primary cost settings (primary analysis). Points are estimates and bars are 95% patient-cluster bootstrap intervals; methods are offset horizontally for legibility. The dashed line is the best constant policy.
Figure 2. Expected cost per lesion on the test set at the five primary cost settings (primary analysis). Points are estimates and bars are 95% patient-cluster bootstrap intervals; methods are offset horizontally for legibility. The dashed line is the best constant policy.
Preprints 247081 g002
Figure 3. Paired differences in expected cost at the central setting ( c R = 10 , c M = 100 ), RL-Triage minus each method, with 95% intervals. Intervals that exclude zero are drawn in blue. The fixed clinical rule is omitted for scale (−15.74 [−19.27, −12.42]).
Figure 3. Paired differences in expected cost at the central setting ( c R = 10 , c M = 100 ), RL-Triage minus each method, with 95% intervals. Intervals that exclude zero are drawn in blue. The fixed clinical rule is omitted for scale (−15.74 [−19.27, −12.42]).
Preprints 247081 g003
Figure 4. Behaviour of RL-Triage on the test set at the primary settings ( c R = 10 ), mean over the 20 training seeds. (a) First action. (b) Fraction of the 212 test lesions whose patient-level block is blank, none of which is a cancer, that the agent photographs and refers (post hoc).
Figure 4. Behaviour of RL-Triage on the test set at the primary settings ( c R = 10 ), mean over the 20 training seeds. (a) First action. (b) Fraction of the 212 test lesions whose patient-level block is blank, none of which is a cancer, that the agent photographs and refers (post hoc).
Preprints 247081 g004
Figure 5. Expected cost per lesion of RL-Triage and the two-stage LR against the best constant policy (dashed) in (a) the primary analysis, (b) the second partition of the patients and (c) the complete-case experiment, which keeps only lesions whose patient-level block is recorded. The gap to the dashed line is the saving. Bars are 95% intervals; c R = 10 .
Figure 5. Expected cost per lesion of RL-Triage and the two-stage LR against the best constant policy (dashed) in (a) the primary analysis, (b) the second partition of the patients and (c) the complete-case experiment, which keeps only lesions whose patient-level block is recorded. The gap to the dashed line is the saving. Bars are 95% intervals; c R = 10 .
Preprints 247081 g005
Figure 6. The blank patient-level block. (a) Cancer rate per lesion by whether the block is recorded (whole dataset). (b) Post hoc: expected cost of each policy minus that of the blank-block rule on the test set; above zero, the rule that uses no clinical finding is cheaper. (c) Post hoc: on the test lesions whose block is recorded, expected cost of each policy minus that of referring all of them; below zero, the policy saves something. Bars are 95% intervals; c R = 10 .
Figure 6. The blank patient-level block. (a) Cancer rate per lesion by whether the block is recorded (whole dataset). (b) Post hoc: expected cost of each policy minus that of the blank-block rule on the test set; above zero, the rule that uses no clinical finding is cheaper. (c) Post hoc: on the test lesions whose block is recorded, expected cost of each policy minus that of referring all of them; below zero, the policy saves something. Bars are 95% intervals; c R = 10 .
Preprints 247081 g006
Table 1. PAD-UFES-20 at the lesion level, by whether the patient-level metadata block (smoking, alcohol, pesticide exposure, gender, skin-cancer history, cancer history, phototype) is recorded. BCC, SCC and MEL are counted as cancer. The hold-out assigns 1,334 lesions to training and 557 lesions of 412 patients (242 cancers) to the test set.
Table 1. PAD-UFES-20 at the lesion level, by whether the patient-level metadata block (smoking, alcohol, pesticide exposure, gender, skin-cancer history, cancer history, phototype) is recorded. BCC, SCC and MEL are counted as cancer. The hold-out assigns 1,334 lesions to training and 557 lesions of 412 patients (242 cancers) to the test set.
Cancer Non-cancer
Patient-level block Lesions Cancer rate BCC SCC MEL ACK NEV SEK
Recorded 1,179 0.707 652 145 36 248 63 35
Blank 712 0.000 0 0 0 396 153 163
All 1,891 0.441 652 145 36 644 216 198
Table 2. Cost settings. The photograph costs 1 throughout.
Table 2. Cost settings. The photograph costs 1 throughout.
Role c R c M Threshold c R / c M
Primary 10 20 0.50
Primary 10 30 0.33
Primary 10 50 0.20
Primary, central 10 100 0.10
Primary 10 200 0.05
Perturbation 5 100 0.05
Perturbation 20 100 0.20
Table 3. Baselines. LR: logistic regression. The middle column gives which lesions are photographed.
Table 3. Baselines. LR: logistic regression. The middle column gives which lesions are photographed.
Method Photograph Description
Refer all, discharge all, best constant policy none Section 2.2
Random policy half Photograph half the lesions at random; refer at random at the training prevalence
Fixed clinical rule none Refer if the lesion bled, or grew in a patient over 60
Metadata LR none LR on the metadata; one tuned threshold
Image-score threshold all One tuned threshold on the image score
Multimodal LR all LR on the metadata and the image score; one tuned threshold
Two-stage LR some Metadata LR with a deferral band [8]: discharge below the band, refer above it, photograph inside it and decide with the multimodal LR; band limits and second threshold tuned jointly
Myopic value of information some Plug-in Bayes rule [9] on the two LR models, no tuned threshold: photograph when the expected cost after acquisition (predicted from the metadata by ridge regression) plus 1 is below the expected cost without it; refer when the probability in hand exceeds c R / c M
Cost-sensitive tree none Tree on the metadata; depth 4, at most 12 leaves, at least 10 lesions per leaf, class weights c R (non-cancer) and c M − c R (cancer); tuned threshold on the leaf probability
Cost-sensitive tree (always photograph) all The same on the metadata and the image score
Two-stage tree some As the two-stage LR, with the two cost-sensitive trees in place of the two LR models
Table 4. Recovery check on synthetic data generated from a known triage policy (10 seeds, c R = 10 ). Gaps are agent minus planted policy in expected cost per lesion; the test gap is given with its 95% interval. The check is not passed at c M = 200 .
Table 4. Recovery check on synthetic data generated from a known triage policy (10 seeds, c R = 10 ). Gaps are agent minus planted policy in expected cost per lesion; the test gap is given with its 95% interval. The check is not passed at c M = 200 .
c M Training gap Test gap Agent minus best constant, upper limit Criteria not met
20 −0.121 +0.024 [−0.108, +0.155] −3.196 none
30 −0.085 +0.041 [−0.100, +0.178] −2.966 none
50 −0.087 +0.100 [−0.115, +0.282] −2.407 none
100 −0.894 +0.056 [−0.283, +0.456] −1.259 none
200 −1.307 +0.410 [−0.733, +1.339] +0.593 generalise, non-trivial
Table 5. Expected cost per lesion on the test set in the primary analysis, by cost setting ( c R , c M ) . Estimates with 95% patient-cluster bootstrap intervals beneath. The first five settings are primary; the last two perturb the referral cost. LR: logistic regression.
Table 5. Expected cost per lesion on the test set in the primary analysis, by cost setting ( c R , c M ) . Estimates with 95% patient-cluster bootstrap intervals beneath. The first five settings are primary; the last two perturb the referral cost. LR: logistic regression.
Method (10, 20) (10, 30) (10, 50) (10, 100) (10, 200) (5, 100) (20, 100)
RL-Triage 6.01 6.34 6.61 6.70 7.10 3.52 13.03
[5.42, 6.61] [5.73, 6.93] [5.97, 7.23] [6.06, 7.40] [6.26, 8.14] [3.13, 4.03] [11.79, 14.24]
Metadata-only agent 5.89 6.28 6.66 6.83 6.85 3.43 13.31
[5.30, 6.47] [5.67, 6.88] [6.02, 7.29] [6.18, 7.51] [6.27, 7.47] [3.13, 3.74] [12.04, 14.57]
Fitted-Q ablation 6.10 6.40 6.66 6.79 7.09 3.60 13.06
[5.50, 6.70] [5.79, 6.98] [6.08, 7.24] [6.21, 7.40] [6.44, 7.86] [3.28, 3.99] [11.91, 14.19]
Two-stage LR 5.97 6.58 7.02 7.74 8.96 4.64 13.92
[5.36, 6.59] [5.97, 7.19] [6.30, 7.74] [6.71, 8.87] [7.57, 10.70] [3.81, 5.63] [12.47, 15.36]
Myopic value of information 6.08 6.65 7.29 8.16 8.63 4.37 14.03
[5.44, 6.70] [5.97, 7.31] [6.49, 8.11] [7.22, 9.21] [7.74, 9.86] [3.93, 4.99] [12.54, 15.53]
Two-stage tree 6.09 6.61 7.04 7.82 7.98 4.06 14.41
[5.42, 6.72] [5.92, 7.29] [6.44, 7.66] [7.04, 8.65] [7.04, 9.18] [3.60, 4.66] [13.18, 15.64]
Cost-sensitive tree (metadata) 6.07 6.57 7.38 7.77 8.13 4.07 14.76
[5.40, 6.71] [5.89, 7.25] [6.80, 7.97] [7.25, 8.34] [7.22, 9.31] [3.61, 4.66] [13.60, 15.95]
Cost-sensitive tree (always photograph) 7.00 7.48 8.07 8.86 9.82 5.41 15.15
[6.42, 7.55] [6.86, 8.09] [7.42, 8.72] [7.93, 9.87] [8.21, 11.66] [4.60, 6.33] [13.85, 16.44]
Metadata LR 5.94 6.55 7.06 8.13 9.39 4.69 14.11
[5.33, 6.56] [5.88, 7.23] [6.32, 7.84] [7.22, 9.17] [7.74, 11.36] [3.87, 5.68] [12.65, 15.68]
Image-score threshold 7.66 8.59 9.26 11.00 11.00 6.00 17.52
[7.05, 8.26] [7.81, 9.37] [8.55, 10.01] [10.12, 12.00] [11.00, 11.00] [6.00, 6.00] [16.10, 19.02]
Multimodal LR (always photograph) 6.94 7.39 7.84 8.50 9.42 5.21 14.68
[6.36, 7.51] [6.77, 7.99] [7.11, 8.59] [7.52, 9.59] [8.17, 11.00] [4.58, 6.00] [13.21, 16.17]
Fixed clinical rule 7.07 8.99 12.84 22.44 41.65 20.83 25.67
[6.32, 7.83] [7.93, 10.10] [11.09, 14.69] [18.89, 26.22] [34.48, 49.30] [17.24, 24.65] [22.17, 29.38]
Best constant policy 8.69 10.00 10.00 10.00 10.00 5.00 20.00
[7.73, 9.66] [10.00, 10.00] [10.00, 10.00] [10.00, 10.00] [10.00, 10.00] [5.00, 5.00] [20.00, 20.00]
Table 6. Clinical outcomes on the test set at the central setting ( c R = 10 , c M = 100 ). Photographed, referred and cancers missed are per 1,000 lesions. Estimates [95% intervals].
Table 6. Clinical outcomes on the test set at the central setting ( c R = 10 , c M = 100 ). Photographed, referred and cancers missed are per 1,000 lesions. Estimates [95% intervals].
Method Sensitivity Specificity Photographed Referred Cancers missed
RL-Triage 0.991 [0.978, 0.999] 0.681 [0.621, 0.741] 192 [160, 227] 611 [558, 660] 4.0 [0.4, 9.5]
Metadata-only agent 0.989 [0.977, 0.997] 0.639 [0.577, 0.701] 0 [0, 0] 634 [583, 682] 4.9 [1.1, 10.0]
Fitted-Q ablation 0.995 [0.986, 1.000] 0.654 [0.591, 0.714] 292 [256, 330] 628 [576, 678] 2.2 [0.1, 6.0]
Two-stage LR 0.963 [0.938, 0.984] 0.679 [0.619, 0.740] 129 [100, 161] 600 [548, 649] 16.2 [7.0, 27.2]
Myopic value of information 0.971 [0.948, 0.991] 0.590 [0.527, 0.654] 364 [318, 412] 654 [604, 700] 12.6 [3.7, 22.5]
Two-stage tree 0.983 [0.966, 0.996] 0.568 [0.506, 0.628] 384 [341, 428] 671 [624, 718] 7.2 [1.7, 14.6]
Cost-sensitive tree (metadata) 0.996 [0.987, 1.000] 0.422 [0.360, 0.484] 0 [0, 0] 759 [716, 802] 1.8 [0.0, 5.5]
Cost-sensitive tree (always photograph) 0.971 [0.948, 0.991] 0.578 [0.516, 0.637] 1000 [1000, 1000] 661 [612, 708] 12.6 [3.7, 22.3]
Metadata LR 0.971 [0.948, 0.991] 0.530 [0.464, 0.596] 0 [0, 0] 688 [639, 735] 12.6 [3.7, 22.7]
Image-score threshold 0.967 [0.943, 0.987] 0.229 [0.184, 0.277] 1000 [1000, 1000] 856 [826, 885] 14.4 [5.4, 25.1]
Multimodal LR (always photograph) 0.967 [0.942, 0.988] 0.670 [0.611, 0.729] 1000 [1000, 1000] 607 [556, 656] 14.4 [5.4, 25.0]
Fixed clinical rule 0.558 [0.487, 0.628] 0.857 [0.811, 0.899] 0 [0, 0] 323 [279, 367] 192.1 [155.7, 231.0]
Best constant policy 1.000 [1.000, 1.000] 0.000 [0.000, 0.000] 0 [0, 0] 1000 [1000, 1000] 0.0 [0.0, 0.0]
Table 7. Pre-specified hypotheses in the primary analysis and in the two pre-specified sensitivity analyses. Estimates [95% intervals]. Only the first column is the frozen primary analysis; verdicts in the other two are descriptive. †No headroom: the two-stage LR saves less than 0.1 over the best constant policy, so the setting cannot count as non-inferior.
Table 7. Pre-specified hypotheses in the primary analysis and in the two pre-specified sensitivity analyses. Estimates [95% intervals]. Only the first column is the frozen primary analysis; verdicts in the other two are descriptive. †No headroom: the two-stage LR saves less than 0.1 over the best constant policy, so the setting cannot count as non-inferior.
Primary analysis Second partition Complete cases
557 test lesions 585 test lesions 335 test lesions
H1: non-inferiority contrast d (non-inferior if upper limit < 0 )
    c M = 20 −0.50 [−0.73, −0.28] −0.61 [−0.81, −0.39] −0.10 [−0.34, 0.13]
    c M = 30 −0.93 [−1.18, −0.67] −0.86 [−1.11, −0.60] 0.23 [−0.04, 0.51]
    c M = 50 −1.01 [−1.33, −0.72] −0.88 [−1.28, −0.50] −0.15 [−0.57, 0.20]†
    c M = 100 −1.49 [−2.18, −0.89] −0.98 [−1.66, −0.34] −0.15 [−0.32, 0.01]†
    c M = 200 −2.08 [−3.12, −1.27] −1.52 [−2.57, −0.71] −0.07 [−0.16, −0.01]†
   H1 supported supported not supported
H2: difference in normalised cost, agent minus comparator (lower if upper limit < 0 )
   Cost-sensitive tree (metadata) −0.064 [−0.106, −0.019] −0.087 [−0.144, −0.033] −0.028 [−0.053, −0.004]
   Two-stage tree −0.056 [−0.098, −0.012] −0.090 [−0.148, −0.039] −0.052 [−0.113, −0.005]
   Metadata-only agent 0.005 [−0.012, 0.027] 0.018 [−0.005, 0.045] 0.005 [−0.001, 0.012]
   H2 not supported not supported not supported
H3: sufficiency of the metadata at the central setting
   (a) fraction decided without photograph ( > 0.50 ) 0.808 [0.773, 0.840] 0.774 [0.735, 0.811] 0.920 [0.894, 0.943]
   (b) sensitivity lost against multimodal LR ( ≤ 0.05 ) −0.024 [−0.044, −0.007] −0.004 [−0.022, 0.011] 0.000 [0.000, 0.001]
   (c) cost minus best constant policy ( < 0 ) −3.30 [−3.94, −2.60] −3.07 [−3.76, −2.31] −0.22 [−0.42, −0.04]
   H3 supported supported supported
Table 8. Post hoc analysis of the blank patient-level block (not pre-specified). Differences in expected cost per lesion on the test set, by cost setting ( c R , c M ) , estimates [95% intervals]. The blank-block rule discharges a lesion whose block is blank and refers every other lesion; it costs 6.19 per lesion at c R = 10 , 3.10 at c R = 5 and 12.39 at c R = 20 .
Table 8. Post hoc analysis of the blank patient-level block (not pre-specified). Differences in expected cost per lesion on the test set, by cost setting ( c R , c M ) , estimates [95% intervals]. The blank-block rule discharges a lesion whose block is blank and refers every other lesion; it costs 6.19 per lesion at c R = 10 , 3.10 at c R = 5 and 12.39 at c R = 20 .
( c R , c M ) RL-Triage Metadata-only agent Two-stage LR Cost-sensitive tree (metadata)
All test lesions: policy minus blank-block rule (above zero: the rule is cheaper)
   (10, 20) −0.18 [−0.48, +0.12] −0.31 [−0.61, −0.00] −0.22 [−0.58, +0.15] −0.13 [−0.55, +0.29]
   (10, 30) +0.15 [−0.16, +0.47] +0.09 [−0.23, +0.43] +0.39 [+0.03, +0.77] +0.38 [+0.02, +0.76]
   (10, 50) +0.41 [+0.06, +0.81] +0.46 [+0.10, +0.87] +0.83 [+0.32, +1.38] +1.18 [+0.71, +1.69]
   (10, 100) +0.51 [+0.10, +1.04] +0.64 [+0.22, +1.15] +1.55 [+0.65, +2.59] +1.58 [+1.20, +2.02]
   (10, 200) +0.90 [+0.26, +1.86] +0.66 [+0.30, +1.14] +2.77 [+1.43, +4.46] +1.94 [+1.15, +3.02]
   (5, 100) +0.43 [+0.14, +0.87] +0.33 [+0.15, +0.57] +1.54 [+0.74, +2.51] +0.97 [+0.58, +1.51]
   (20, 100) +0.64 [−0.05, +1.40] +0.92 [+0.20, +1.75] +1.53 [+0.52, +2.63] +2.37 [+1.42, +3.39]
Test lesions with the block recorded: policy minus refer all (below zero: the policy saves)
   (10, 20) −0.35 [−0.84, +0.12] −0.55 [−1.04, −0.07] −0.53 [−1.09, +0.03] −0.35 [−1.02, +0.30]
   (10, 30) +0.05 [−0.44, +0.57] −0.02 [−0.51, +0.52] +0.11 [−0.43, +0.67] +0.58 [−0.03, +1.20]
   (10, 50) +0.29 [−0.26, +0.91] +0.36 [−0.20, +0.99] +0.60 [−0.18, +1.46] −0.03 [−0.60, +0.63]
   (10, 100) +0.24 [−0.36, +1.09] +0.33 [−0.27, +1.10] +1.62 [+0.20, +3.26] +0.23 [−0.00, +0.72]
   (10, 200) +0.80 [−0.19, +2.33] +0.09 [−0.33, +0.78] +2.36 [+0.19, +5.04] +1.01 [−0.09, +2.71]
   (5, 100) +0.33 [−0.09, +1.05] +0.04 [−0.17, +0.39] +1.66 [+0.36, +3.21] +0.51 [−0.05, +1.36]
   (20, 100) +0.30 [−0.75, +1.48] +0.72 [−0.40, +1.99] +1.12 [−0.45, +2.84] −0.06 [−1.21, +1.25]
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.
Copyright: This open access article is published under a Creative Commons CC BY 4.0 license, which permit the free download, distribution, and reuse, provided that the author and preprint are cited in any reuse.